summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Config.c325
-rw-r--r--src/config/ConfigurationInterfaces.c6494
-rw-r--r--src/config/GSettingsEngine.c2750
3 files changed, 5065 insertions, 4504 deletions
diff --git a/src/config/Config.c b/src/config/Config.c
index 7008805..7dd8334 100644
--- a/src/config/Config.c
+++ b/src/config/Config.c
@@ -1,4 +1,4 @@
-/* Config.c generated by valac 0.36.6, the Vala compiler
+/* Config.c generated by valac 0.40.4, the Vala compiler
* generated from Config.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -15,6 +15,7 @@
* the preconfigure() method, implement it, and ensure in init() that it's been called.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -60,6 +61,11 @@ typedef struct _Dimensions Dimensions;
typedef struct _ConfigFacade ConfigFacade;
typedef struct _ConfigFacadeClass ConfigFacadeClass;
typedef struct _ConfigFacadePrivate ConfigFacadePrivate;
+enum {
+ CONFIG_FACADE_0_PROPERTY,
+ CONFIG_FACADE_NUM_PROPERTIES
+};
+static GParamSpec* config_facade_properties[CONFIG_FACADE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define TYPE_GSETTINGS_CONFIGURATION_ENGINE (gsettings_configuration_engine_get_type ())
@@ -84,9 +90,9 @@ typedef struct _ConfigurationEngineIface ConfigurationEngineIface;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
enum {
CONFIG_FACADE_COLORS_CHANGED_SIGNAL,
- CONFIG_FACADE_LAST_SIGNAL
+ CONFIG_FACADE_NUM_SIGNALS
};
-static guint config_facade_signals[CONFIG_FACADE_LAST_SIGNAL] = {0};
+static guint config_facade_signals[CONFIG_FACADE_NUM_SIGNALS] = {0};
struct _Dimensions {
gint width;
@@ -422,9 +428,6 @@ GType raw_developer_get_type (void) G_GNUC_CONST;
GType fuzzy_property_state_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
#define CONFIG_FACADE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CONFIG_TYPE_FACADE, ConfigFacadePrivate))
-enum {
- CONFIG_FACADE_DUMMY_PROPERTY
-};
#define CONFIG_FACADE_WIDTH_DEFAULT 1024
#define CONFIG_FACADE_HEIGHT_DEFAULT 768
#define CONFIG_FACADE_SIDEBAR_MIN_POSITION 180
@@ -448,24 +451,37 @@ GType gsettings_configuration_engine_get_type (void) G_GNUC_CONST;
GType configurable_property_get_type (void) G_GNUC_CONST;
GQuark configuration_error_quark (void);
GType configuration_engine_get_type (void) G_GNUC_CONST;
-ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine);
+ConfigurationFacade* configuration_facade_construct (GType object_type,
+ ConfigurationEngine* engine);
static void config_facade_on_color_name_changed (ConfigFacade* self);
-static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender, gpointer self);
-static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender, gpointer self);
-static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed (ConfigurationFacade* _sender, gpointer self);
+static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender,
+ gpointer self);
+static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender,
+ gpointer self);
+static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed (ConfigurationFacade* _sender,
+ gpointer self);
ConfigFacade* config_facade_get_instance (void);
-static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color);
+static void config_facade_set_text_colors (ConfigFacade* self,
+ GdkRGBA* bg_color);
static void config_facade_get_colors (ConfigFacade* self);
gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self);
gboolean is_color_parsable (const gchar* spec);
-void parse_color (const gchar* spec, GdkRGBA* result);
-void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result);
+void parse_color (const gchar* spec,
+ GdkRGBA* result);
+void config_facade_get_bg_color (ConfigFacade* self,
+ GdkRGBA* result);
gboolean is_string_empty (const gchar* s);
-void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, GdkRGBA* result);
-void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result);
-void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result);
-void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color);
-void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name);
+void config_facade_get_selected_color (ConfigFacade* self,
+ gboolean in_focus,
+ GdkRGBA* result);
+void config_facade_get_unselected_color (ConfigFacade* self,
+ GdkRGBA* result);
+void config_facade_get_border_color (ConfigFacade* self,
+ GdkRGBA* result);
+void config_facade_set_bg_color (ConfigFacade* self,
+ GdkRGBA* color);
+void configuration_facade_set_bg_color_name (ConfigurationFacade* self,
+ const gchar* color_name);
void config_facade_commit_bg_color (ConfigFacade* self);
static void config_facade_finalize (GObject * obj);
void config_preconfigure (void);
@@ -473,28 +489,39 @@ void config_init (GError** error);
void config_terminate (void);
-static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender, gpointer self) {
+static void
+_config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender,
+ gpointer self)
+{
#line 49 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_on_color_name_changed ((ConfigFacade*) self);
-#line 480 "Config.c"
+#line 499 "Config.c"
}
-static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender, gpointer self) {
+static void
+_config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender,
+ gpointer self)
+{
#line 50 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_on_color_name_changed ((ConfigFacade*) self);
-#line 487 "Config.c"
+#line 509 "Config.c"
}
-static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed (ConfigurationFacade* _sender, gpointer self) {
+static void
+_config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed (ConfigurationFacade* _sender,
+ gpointer self)
+{
#line 51 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_on_color_name_changed ((ConfigFacade*) self);
-#line 494 "Config.c"
+#line 519 "Config.c"
}
-static ConfigFacade* config_facade_construct (GType object_type) {
+static ConfigFacade*
+config_facade_construct (GType object_type)
+{
ConfigFacade * self = NULL;
GSettingsConfigurationEngine* _tmp0_;
GSettingsConfigurationEngine* _tmp1_;
@@ -514,25 +541,31 @@ static ConfigFacade* config_facade_construct (GType object_type) {
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), "transparent-background-color-changed", (GCallback) _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed, self, 0);
#line 46 "/home/jens/Source/shotwell/src/config/Config.vala"
return self;
-#line 518 "Config.c"
+#line 545 "Config.c"
}
-static ConfigFacade* config_facade_new (void) {
+static ConfigFacade*
+config_facade_new (void)
+{
#line 46 "/home/jens/Source/shotwell/src/config/Config.vala"
return config_facade_construct (CONFIG_TYPE_FACADE);
-#line 525 "Config.c"
+#line 554 "Config.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 58 "/home/jens/Source/shotwell/src/config/Config.vala"
return self ? g_object_ref (self) : NULL;
-#line 532 "Config.c"
+#line 563 "Config.c"
}
-ConfigFacade* config_facade_get_instance (void) {
+ConfigFacade*
+config_facade_get_instance (void)
+{
ConfigFacade* result = NULL;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp2_;
@@ -541,7 +574,7 @@ ConfigFacade* config_facade_get_instance (void) {
_tmp0_ = config_facade_instance;
#line 55 "/home/jens/Source/shotwell/src/config/Config.vala"
if (_tmp0_ == NULL) {
-#line 545 "Config.c"
+#line 578 "Config.c"
ConfigFacade* _tmp1_;
#line 56 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp1_ = config_facade_new ();
@@ -549,7 +582,7 @@ ConfigFacade* config_facade_get_instance (void) {
_g_object_unref0 (config_facade_instance);
#line 56 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_instance = _tmp1_;
-#line 553 "Config.c"
+#line 586 "Config.c"
}
#line 58 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp2_ = config_facade_instance;
@@ -559,20 +592,25 @@ ConfigFacade* config_facade_get_instance (void) {
result = _tmp3_;
#line 58 "/home/jens/Source/shotwell/src/config/Config.vala"
return result;
-#line 563 "Config.c"
+#line 596 "Config.c"
}
-static void config_facade_on_color_name_changed (ConfigFacade* self) {
+static void
+config_facade_on_color_name_changed (ConfigFacade* self)
+{
#line 61 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 62 "/home/jens/Source/shotwell/src/config/Config.vala"
g_signal_emit (self, config_facade_signals[CONFIG_FACADE_COLORS_CHANGED_SIGNAL], 0);
-#line 572 "Config.c"
+#line 607 "Config.c"
}
-static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color) {
+static void
+config_facade_set_text_colors (ConfigFacade* self,
+ GdkRGBA* bg_color)
+{
GdkRGBA _tmp0_;
gdouble _tmp1_;
#line 65 "/home/jens/Source/shotwell/src/config/Config.vala"
@@ -585,7 +623,7 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color
_tmp1_ = _tmp0_.red;
#line 69 "/home/jens/Source/shotwell/src/config/Config.vala"
if (_tmp1_ > CONFIG_FACADE_BLACK_THRESHOLD) {
-#line 589 "Config.c"
+#line 627 "Config.c"
gchar* _tmp2_;
gchar* _tmp3_;
gchar* _tmp4_;
@@ -614,7 +652,7 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color
_g_free0 (self->priv->border_color);
#line 73 "/home/jens/Source/shotwell/src/config/Config.vala"
self->priv->border_color = _tmp5_;
-#line 618 "Config.c"
+#line 656 "Config.c"
} else {
gchar* _tmp6_;
gchar* _tmp7_;
@@ -644,17 +682,18 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color
_g_free0 (self->priv->border_color);
#line 78 "/home/jens/Source/shotwell/src/config/Config.vala"
self->priv->border_color = _tmp9_;
-#line 648 "Config.c"
+#line 686 "Config.c"
}
}
-static void config_facade_get_colors (ConfigFacade* self) {
+static void
+config_facade_get_colors (ConfigFacade* self)
+{
gchar* _tmp0_;
const gchar* _tmp1_;
- gboolean _tmp2_;
- const gchar* _tmp4_;
- GdkRGBA _tmp5_ = {0};
+ const gchar* _tmp3_;
+ GdkRGBA _tmp4_ = {0};
#line 82 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 83 "/home/jens/Source/shotwell/src/config/Config.vala"
@@ -666,177 +705,173 @@ static void config_facade_get_colors (ConfigFacade* self) {
#line 85 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp1_ = self->priv->bg_color;
#line 85 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp2_ = is_color_parsable (_tmp1_);
-#line 85 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (!_tmp2_) {
-#line 673 "Config.c"
- gchar* _tmp3_;
+ if (!is_color_parsable (_tmp1_)) {
+#line 710 "Config.c"
+ gchar* _tmp2_;
#line 86 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp3_ = g_strdup (CONFIG_FACADE_DEFAULT_BG_COLOR);
+ _tmp2_ = g_strdup (CONFIG_FACADE_DEFAULT_BG_COLOR);
#line 86 "/home/jens/Source/shotwell/src/config/Config.vala"
_g_free0 (self->priv->bg_color);
#line 86 "/home/jens/Source/shotwell/src/config/Config.vala"
- self->priv->bg_color = _tmp3_;
-#line 681 "Config.c"
+ self->priv->bg_color = _tmp2_;
+#line 718 "Config.c"
}
#line 88 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp4_ = self->priv->bg_color;
+ _tmp3_ = self->priv->bg_color;
#line 88 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp4_, &_tmp5_);
+ parse_color (_tmp3_, &_tmp4_);
#line 88 "/home/jens/Source/shotwell/src/config/Config.vala"
- config_facade_set_text_colors (self, &_tmp5_);
-#line 689 "Config.c"
+ config_facade_set_text_colors (self, &_tmp4_);
+#line 726 "Config.c"
}
-void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result) {
+void
+config_facade_get_bg_color (ConfigFacade* self,
+ GdkRGBA* result)
+{
const gchar* _tmp0_;
- gboolean _tmp1_;
- const gchar* _tmp2_;
- GdkRGBA _tmp3_ = {0};
+ const gchar* _tmp1_;
+ GdkRGBA _tmp2_ = {0};
#line 91 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 92 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp0_ = self->priv->bg_color;
#line 92 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp1_ = is_string_empty (_tmp0_);
-#line 92 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp1_) {
+ if (is_string_empty (_tmp0_)) {
#line 93 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_get_colors (self);
-#line 708 "Config.c"
+#line 745 "Config.c"
}
#line 95 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp2_ = self->priv->bg_color;
+ _tmp1_ = self->priv->bg_color;
#line 95 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp2_, &_tmp3_);
+ parse_color (_tmp1_, &_tmp2_);
#line 95 "/home/jens/Source/shotwell/src/config/Config.vala"
- *result = _tmp3_;
+ *result = _tmp2_;
#line 95 "/home/jens/Source/shotwell/src/config/Config.vala"
return;
-#line 718 "Config.c"
+#line 755 "Config.c"
}
-void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, GdkRGBA* result) {
- gboolean _tmp0_;
+void
+config_facade_get_selected_color (ConfigFacade* self,
+ gboolean in_focus,
+ GdkRGBA* result)
+{
#line 98 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 99 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp0_ = in_focus;
-#line 99 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp0_) {
-#line 730 "Config.c"
+ if (in_focus) {
+#line 768 "Config.c"
+ const gchar* _tmp0_;
const gchar* _tmp1_;
- gboolean _tmp2_;
- const gchar* _tmp3_;
- GdkRGBA _tmp4_ = {0};
-#line 100 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp1_ = self->priv->selected_color;
+ GdkRGBA _tmp2_ = {0};
#line 100 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp2_ = is_string_empty (_tmp1_);
+ _tmp0_ = self->priv->selected_color;
#line 100 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp2_) {
+ if (is_string_empty (_tmp0_)) {
#line 101 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_get_colors (self);
-#line 743 "Config.c"
+#line 778 "Config.c"
}
#line 103 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp3_ = self->priv->selected_color;
+ _tmp1_ = self->priv->selected_color;
#line 103 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp3_, &_tmp4_);
+ parse_color (_tmp1_, &_tmp2_);
#line 103 "/home/jens/Source/shotwell/src/config/Config.vala"
- *result = _tmp4_;
+ *result = _tmp2_;
#line 103 "/home/jens/Source/shotwell/src/config/Config.vala"
return;
-#line 753 "Config.c"
+#line 788 "Config.c"
} else {
- const gchar* _tmp5_;
- gboolean _tmp6_;
- const gchar* _tmp7_;
- GdkRGBA _tmp8_ = {0};
-#line 105 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp5_ = self->priv->unfocused_selected_color;
+ const gchar* _tmp3_;
+ const gchar* _tmp4_;
+ GdkRGBA _tmp5_ = {0};
#line 105 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp6_ = is_string_empty (_tmp5_);
+ _tmp3_ = self->priv->unfocused_selected_color;
#line 105 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp6_) {
+ if (is_string_empty (_tmp3_)) {
#line 106 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_get_colors (self);
-#line 767 "Config.c"
+#line 799 "Config.c"
}
#line 108 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp7_ = self->priv->unfocused_selected_color;
+ _tmp4_ = self->priv->unfocused_selected_color;
#line 108 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp7_, &_tmp8_);
+ parse_color (_tmp4_, &_tmp5_);
#line 108 "/home/jens/Source/shotwell/src/config/Config.vala"
- *result = _tmp8_;
+ *result = _tmp5_;
#line 108 "/home/jens/Source/shotwell/src/config/Config.vala"
return;
-#line 777 "Config.c"
+#line 809 "Config.c"
}
}
-void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result) {
+void
+config_facade_get_unselected_color (ConfigFacade* self,
+ GdkRGBA* result)
+{
const gchar* _tmp0_;
- gboolean _tmp1_;
- const gchar* _tmp2_;
- GdkRGBA _tmp3_ = {0};
+ const gchar* _tmp1_;
+ GdkRGBA _tmp2_ = {0};
#line 112 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 113 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp0_ = self->priv->unselected_color;
#line 113 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp1_ = is_string_empty (_tmp0_);
-#line 113 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp1_) {
+ if (is_string_empty (_tmp0_)) {
#line 114 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_get_colors (self);
-#line 797 "Config.c"
+#line 829 "Config.c"
}
#line 116 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp2_ = self->priv->unselected_color;
+ _tmp1_ = self->priv->unselected_color;
#line 116 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp2_, &_tmp3_);
+ parse_color (_tmp1_, &_tmp2_);
#line 116 "/home/jens/Source/shotwell/src/config/Config.vala"
- *result = _tmp3_;
+ *result = _tmp2_;
#line 116 "/home/jens/Source/shotwell/src/config/Config.vala"
return;
-#line 807 "Config.c"
+#line 839 "Config.c"
}
-void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result) {
+void
+config_facade_get_border_color (ConfigFacade* self,
+ GdkRGBA* result)
+{
const gchar* _tmp0_;
- gboolean _tmp1_;
- const gchar* _tmp2_;
- GdkRGBA _tmp3_ = {0};
+ const gchar* _tmp1_;
+ GdkRGBA _tmp2_ = {0};
#line 119 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
#line 120 "/home/jens/Source/shotwell/src/config/Config.vala"
_tmp0_ = self->priv->border_color;
#line 120 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp1_ = is_string_empty (_tmp0_);
-#line 120 "/home/jens/Source/shotwell/src/config/Config.vala"
- if (_tmp1_) {
+ if (is_string_empty (_tmp0_)) {
#line 121 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_get_colors (self);
-#line 826 "Config.c"
+#line 858 "Config.c"
}
#line 123 "/home/jens/Source/shotwell/src/config/Config.vala"
- _tmp2_ = self->priv->border_color;
+ _tmp1_ = self->priv->border_color;
#line 123 "/home/jens/Source/shotwell/src/config/Config.vala"
- parse_color (_tmp2_, &_tmp3_);
+ parse_color (_tmp1_, &_tmp2_);
#line 123 "/home/jens/Source/shotwell/src/config/Config.vala"
- *result = _tmp3_;
+ *result = _tmp2_;
#line 123 "/home/jens/Source/shotwell/src/config/Config.vala"
return;
-#line 836 "Config.c"
+#line 868 "Config.c"
}
-void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color) {
+void
+config_facade_set_bg_color (ConfigFacade* self,
+ GdkRGBA* color)
+{
guint8 col_tmp = 0U;
GdkRGBA _tmp0_;
gdouble _tmp1_;
@@ -867,11 +902,13 @@ void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color) {
_tmp4_ = *color;
#line 132 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_set_text_colors (self, &_tmp4_);
-#line 871 "Config.c"
+#line 906 "Config.c"
}
-void config_facade_commit_bg_color (ConfigFacade* self) {
+void
+config_facade_commit_bg_color (ConfigFacade* self)
+{
const gchar* _tmp0_;
#line 135 "/home/jens/Source/shotwell/src/config/Config.vala"
g_return_if_fail (CONFIG_IS_FACADE (self));
@@ -879,11 +916,13 @@ void config_facade_commit_bg_color (ConfigFacade* self) {
_tmp0_ = self->priv->bg_color;
#line 136 "/home/jens/Source/shotwell/src/config/Config.vala"
CONFIGURATION_FACADE_CLASS (config_facade_parent_class)->set_bg_color_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp0_);
-#line 883 "Config.c"
+#line 920 "Config.c"
}
-static void config_facade_class_init (ConfigFacadeClass * klass) {
+static void
+config_facade_class_init (ConfigFacadeClass * klass)
+{
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_parent_class = g_type_class_peek_parent (klass);
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
@@ -892,11 +931,13 @@ static void config_facade_class_init (ConfigFacadeClass * klass) {
G_OBJECT_CLASS (klass)->finalize = config_facade_finalize;
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
config_facade_signals[CONFIG_FACADE_COLORS_CHANGED_SIGNAL] = g_signal_new ("colors-changed", CONFIG_TYPE_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 896 "Config.c"
+#line 935 "Config.c"
}
-static void config_facade_instance_init (ConfigFacade * self) {
+static void
+config_facade_instance_init (ConfigFacade * self)
+{
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
self->priv = CONFIG_FACADE_GET_PRIVATE (self);
#line 36 "/home/jens/Source/shotwell/src/config/Config.vala"
@@ -909,11 +950,13 @@ static void config_facade_instance_init (ConfigFacade * self) {
self->priv->unfocused_selected_color = NULL;
#line 40 "/home/jens/Source/shotwell/src/config/Config.vala"
self->priv->border_color = NULL;
-#line 913 "Config.c"
+#line 954 "Config.c"
}
-static void config_facade_finalize (GObject * obj) {
+static void
+config_facade_finalize (GObject * obj)
+{
ConfigFacade * self;
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, CONFIG_TYPE_FACADE, ConfigFacade);
@@ -929,11 +972,13 @@ static void config_facade_finalize (GObject * obj) {
_g_free0 (self->priv->border_color);
#line 18 "/home/jens/Source/shotwell/src/config/Config.vala"
G_OBJECT_CLASS (config_facade_parent_class)->finalize (obj);
-#line 933 "Config.c"
+#line 976 "Config.c"
}
-GType config_facade_get_type (void) {
+GType
+config_facade_get_type (void)
+{
static volatile gsize config_facade_type_id__volatile = 0;
if (g_once_init_enter (&config_facade_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ConfigFacadeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) config_facade_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ConfigFacade), 0, (GInstanceInitFunc) config_facade_instance_init, NULL };
@@ -945,15 +990,21 @@ GType config_facade_get_type (void) {
}
-void config_preconfigure (void) {
+void
+config_preconfigure (void)
+{
}
-void config_init (GError** error) {
+void
+config_init (GError** error)
+{
}
-void config_terminate (void) {
+void
+config_terminate (void)
+{
}
diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c
index e5bfa56..2750b10 100644
--- a/src/config/ConfigurationInterfaces.c
+++ b/src/config/ConfigurationInterfaces.c
@@ -1,4 +1,4 @@
-/* ConfigurationInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* ConfigurationInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from ConfigurationInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -29,9 +30,9 @@ typedef struct _ConfigurationEngine ConfigurationEngine;
typedef struct _ConfigurationEngineIface ConfigurationEngineIface;
enum {
CONFIGURATION_ENGINE_PROPERTY_CHANGED_SIGNAL,
- CONFIGURATION_ENGINE_LAST_SIGNAL
+ CONFIGURATION_ENGINE_NUM_SIGNALS
};
-static guint configuration_engine_signals[CONFIGURATION_ENGINE_LAST_SIGNAL] = {0};
+static guint configuration_engine_signals[CONFIGURATION_ENGINE_NUM_SIGNALS] = {0};
#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
@@ -56,6 +57,11 @@ typedef struct _Dimensions Dimensions;
#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ())
#define TYPE_RAW_DEVELOPER (raw_developer_get_type ())
+enum {
+ CONFIGURATION_FACADE_0_PROPERTY,
+ CONFIGURATION_FACADE_NUM_PROPERTIES
+};
+static GParamSpec* configuration_facade_properties[CONFIGURATION_FACADE_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
@@ -70,9 +76,9 @@ enum {
CONFIGURATION_FACADE_EVENTS_SORT_ASCENDING_CHANGED_SIGNAL,
CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL,
CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL,
- CONFIGURATION_FACADE_LAST_SIGNAL
+ CONFIGURATION_FACADE_NUM_SIGNALS
};
-static guint configuration_facade_signals[CONFIGURATION_FACADE_LAST_SIGNAL] = {0};
+static guint configuration_facade_signals[CONFIGURATION_FACADE_NUM_SIGNALS] = {0};
typedef enum {
CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE,
@@ -393,27 +399,90 @@ 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);
+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);
@@ -424,308 +493,542 @@ 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);
+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);
+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);
+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);
+void configuration_facade_set_bg_color_name (ConfigurationFacade* self,
+ const gchar* color_name);
+static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self,
+ const gchar* color_name);
gchar* configuration_facade_get_transparent_background_type (ConfigurationFacade* self);
static gchar* configuration_facade_real_get_transparent_background_type (ConfigurationFacade* self);
-void configuration_facade_set_transparent_background_type (ConfigurationFacade* self, const gchar* type);
-static void configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self, const gchar* type);
+void configuration_facade_set_transparent_background_type (ConfigurationFacade* self,
+ const gchar* type);
+static void configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self,
+ const gchar* type);
gchar* configuration_facade_get_transparent_background_color (ConfigurationFacade* self);
static gchar* configuration_facade_real_get_transparent_background_color (ConfigurationFacade* self);
-void configuration_facade_set_transparent_background_color (ConfigurationFacade* self, const gchar* color_name);
-static void configuration_facade_real_set_transparent_background_color (ConfigurationFacade* self, const gchar* color_name);
+void configuration_facade_set_transparent_background_color (ConfigurationFacade* self,
+ const gchar* color_name);
+static void configuration_facade_real_set_transparent_background_color (ConfigurationFacade* self,
+ const gchar* color_name);
gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self);
static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self);
-void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata);
-static void configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+void configuration_facade_set_printing_print_titles (ConfigurationFacade* self,
+ gboolean print_titles);
+static void configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self,
+ gboolean print_titles);
gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self);
static gint configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self);
GType resources_unit_system_get_type (void) G_GNUC_CONST;
ResourcesUnitSystem resources_get_default_measurement_unit (void);
-void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code);
-static void configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, gint size_code);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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);
+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) {
+GQuark
+configuration_error_quark (void)
+{
return g_quark_from_static_string ("configuration_error-quark");
}
-GType fuzzy_property_state_get_type (void) {
+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}};
@@ -737,13 +1040,15 @@ GType fuzzy_property_state_get_type (void) {
}
-gchar* configurable_property_to_string (ConfigurableProperty self) {
+gchar*
+configurable_property_to_string (ConfigurableProperty self)
+{
gchar* result = NULL;
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
switch (self) {
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY:
-#line 747 "ConfigurationInterfaces.c"
+#line 1052 "ConfigurationInterfaces.c"
{
gchar* _tmp0_;
#line 101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -752,11 +1057,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp0_;
#line 101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 756 "ConfigurationInterfaces.c"
+#line 1061 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_BG_COLOR_NAME:
-#line 760 "ConfigurationInterfaces.c"
+#line 1065 "ConfigurationInterfaces.c"
{
gchar* _tmp1_;
#line 104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -765,11 +1070,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp1_;
#line 104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 769 "ConfigurationInterfaces.c"
+#line 1074 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE:
-#line 773 "ConfigurationInterfaces.c"
+#line 1078 "ConfigurationInterfaces.c"
{
gchar* _tmp2_;
#line 107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -778,11 +1083,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp2_;
#line 107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 782 "ConfigurationInterfaces.c"
+#line 1087 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR:
-#line 786 "ConfigurationInterfaces.c"
+#line 1091 "ConfigurationInterfaces.c"
{
gchar* _tmp3_;
#line 110 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -791,11 +1096,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp3_;
#line 110 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 795 "ConfigurationInterfaces.c"
+#line 1100 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS:
-#line 799 "ConfigurationInterfaces.c"
+#line 1104 "ConfigurationInterfaces.c"
{
gchar* _tmp4_;
#line 113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -804,11 +1109,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp4_;
#line 113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 808 "ConfigurationInterfaces.c"
+#line 1113 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE:
-#line 812 "ConfigurationInterfaces.c"
+#line 1117 "ConfigurationInterfaces.c"
{
gchar* _tmp5_;
#line 116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -817,11 +1122,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp5_;
#line 116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 821 "ConfigurationInterfaces.c"
+#line 1126 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE:
-#line 825 "ConfigurationInterfaces.c"
+#line 1130 "ConfigurationInterfaces.c"
{
gchar* _tmp6_;
#line 119 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -830,11 +1135,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp6_;
#line 119 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 834 "ConfigurationInterfaces.c"
+#line 1139 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SCREENSAVER_FILE:
-#line 838 "ConfigurationInterfaces.c"
+#line 1143 "ConfigurationInterfaces.c"
{
gchar* _tmp7_;
#line 122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -843,11 +1148,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp7_;
#line 122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 847 "ConfigurationInterfaces.c"
+#line 1152 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SCREENSAVER_MODE:
-#line 851 "ConfigurationInterfaces.c"
+#line 1156 "ConfigurationInterfaces.c"
{
gchar* _tmp8_;
#line 125 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -856,11 +1161,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp8_;
#line 125 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 860 "ConfigurationInterfaces.c"
+#line 1165 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN:
-#line 864 "ConfigurationInterfaces.c"
+#line 1169 "ConfigurationInterfaces.c"
{
gchar* _tmp9_;
#line 128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -869,11 +1174,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp9_;
#line 128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 873 "ConfigurationInterfaces.c"
+#line 1178 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM:
-#line 877 "ConfigurationInterfaces.c"
+#line 1182 "ConfigurationInterfaces.c"
{
gchar* _tmp10_;
#line 131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -882,11 +1187,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp10_;
#line 131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 886 "ConfigurationInterfaces.c"
+#line 1191 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT:
-#line 890 "ConfigurationInterfaces.c"
+#line 1195 "ConfigurationInterfaces.c"
{
gchar* _tmp11_;
#line 134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -895,11 +1200,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp11_;
#line 134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 899 "ConfigurationInterfaces.c"
+#line 1204 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE:
-#line 903 "ConfigurationInterfaces.c"
+#line 1208 "ConfigurationInterfaces.c"
{
gchar* _tmp12_;
#line 137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -908,11 +1213,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp12_;
#line 137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 912 "ConfigurationInterfaces.c"
+#line 1217 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH:
-#line 916 "ConfigurationInterfaces.c"
+#line 1221 "ConfigurationInterfaces.c"
{
gchar* _tmp13_;
#line 140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -921,11 +1226,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp13_;
#line 140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 925 "ConfigurationInterfaces.c"
+#line 1230 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES:
-#line 929 "ConfigurationInterfaces.c"
+#line 1234 "ConfigurationInterfaces.c"
{
gchar* _tmp14_;
#line 143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -934,11 +1239,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp14_;
#line 143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 938 "ConfigurationInterfaces.c"
+#line 1243 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES:
-#line 942 "ConfigurationInterfaces.c"
+#line 1247 "ConfigurationInterfaces.c"
{
gchar* _tmp15_;
#line 146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -947,11 +1252,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp15_;
#line 146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 951 "ConfigurationInterfaces.c"
+#line 1256 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR:
-#line 955 "ConfigurationInterfaces.c"
+#line 1260 "ConfigurationInterfaces.c"
{
gchar* _tmp16_;
#line 149 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -960,11 +1265,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp16_;
#line 149 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 964 "ConfigurationInterfaces.c"
+#line 1269 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR:
-#line 968 "ConfigurationInterfaces.c"
+#line 1273 "ConfigurationInterfaces.c"
{
gchar* _tmp17_;
#line 152 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -973,11 +1278,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp17_;
#line 152 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 977 "ConfigurationInterfaces.c"
+#line 1282 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR:
-#line 981 "ConfigurationInterfaces.c"
+#line 1286 "ConfigurationInterfaces.c"
{
gchar* _tmp18_;
#line 155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -986,11 +1291,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp18_;
#line 155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 990 "ConfigurationInterfaces.c"
+#line 1295 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS:
-#line 994 "ConfigurationInterfaces.c"
+#line 1299 "ConfigurationInterfaces.c"
{
gchar* _tmp19_;
#line 158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -999,11 +1304,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp19_;
#line 158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1003 "ConfigurationInterfaces.c"
+#line 1308 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS:
-#line 1007 "ConfigurationInterfaces.c"
+#line 1312 "ConfigurationInterfaces.c"
{
gchar* _tmp20_;
#line 161 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1012,11 +1317,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp20_;
#line 161 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1016 "ConfigurationInterfaces.c"
+#line 1321 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES:
-#line 1020 "ConfigurationInterfaces.c"
+#line 1325 "ConfigurationInterfaces.c"
{
gchar* _tmp21_;
#line 164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1025,11 +1330,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp21_;
#line 164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1029 "ConfigurationInterfaces.c"
+#line 1334 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS:
-#line 1033 "ConfigurationInterfaces.c"
+#line 1338 "ConfigurationInterfaces.c"
{
gchar* _tmp22_;
#line 167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1038,11 +1343,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp22_;
#line 167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1042 "ConfigurationInterfaces.c"
+#line 1347 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS:
-#line 1046 "ConfigurationInterfaces.c"
+#line 1351 "ConfigurationInterfaces.c"
{
gchar* _tmp23_;
#line 170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1051,11 +1356,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp23_;
#line 170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1055 "ConfigurationInterfaces.c"
+#line 1360 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING:
-#line 1059 "ConfigurationInterfaces.c"
+#line 1364 "ConfigurationInterfaces.c"
{
gchar* _tmp24_;
#line 173 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1064,11 +1369,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp24_;
#line 173 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1068 "ConfigurationInterfaces.c"
+#line 1373 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY:
-#line 1072 "ConfigurationInterfaces.c"
+#line 1377 "ConfigurationInterfaces.c"
{
gchar* _tmp25_;
#line 176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1077,11 +1382,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp25_;
#line 176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1081 "ConfigurationInterfaces.c"
+#line 1386 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING:
-#line 1085 "ConfigurationInterfaces.c"
+#line 1390 "ConfigurationInterfaces.c"
{
gchar* _tmp26_;
#line 179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1090,11 +1395,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp26_;
#line 179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1094 "ConfigurationInterfaces.c"
+#line 1399 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT:
-#line 1098 "ConfigurationInterfaces.c"
+#line 1403 "ConfigurationInterfaces.c"
{
gchar* _tmp27_;
#line 182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1103,11 +1408,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp27_;
#line 182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1107 "ConfigurationInterfaces.c"
+#line 1412 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE:
-#line 1111 "ConfigurationInterfaces.c"
+#line 1416 "ConfigurationInterfaces.c"
{
gchar* _tmp28_;
#line 185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1116,11 +1421,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp28_;
#line 185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1120 "ConfigurationInterfaces.c"
+#line 1425 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA:
-#line 1124 "ConfigurationInterfaces.c"
+#line 1429 "ConfigurationInterfaces.c"
{
gchar* _tmp29_;
#line 188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1129,11 +1434,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp29_;
#line 188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1133 "ConfigurationInterfaces.c"
+#line 1438 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT:
-#line 1137 "ConfigurationInterfaces.c"
+#line 1442 "ConfigurationInterfaces.c"
{
gchar* _tmp30_;
#line 191 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1142,11 +1447,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp30_;
#line 191 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1146 "ConfigurationInterfaces.c"
+#line 1451 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_QUALITY:
-#line 1150 "ConfigurationInterfaces.c"
+#line 1455 "ConfigurationInterfaces.c"
{
gchar* _tmp31_;
#line 194 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1155,11 +1460,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp31_;
#line 194 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1159 "ConfigurationInterfaces.c"
+#line 1464 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXPORT_SCALE:
-#line 1163 "ConfigurationInterfaces.c"
+#line 1468 "ConfigurationInterfaces.c"
{
gchar* _tmp32_;
#line 197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1168,11 +1473,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp32_;
#line 197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1172 "ConfigurationInterfaces.c"
+#line 1477 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP:
-#line 1176 "ConfigurationInterfaces.c"
+#line 1481 "ConfigurationInterfaces.c"
{
gchar* _tmp33_;
#line 200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1181,11 +1486,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp33_;
#line 200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1185 "ConfigurationInterfaces.c"
+#line 1490 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP:
-#line 1189 "ConfigurationInterfaces.c"
+#line 1494 "ConfigurationInterfaces.c"
{
gchar* _tmp34_;
#line 203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1194,11 +1499,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp34_;
#line 203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1198 "ConfigurationInterfaces.c"
+#line 1503 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED:
-#line 1202 "ConfigurationInterfaces.c"
+#line 1507 "ConfigurationInterfaces.c"
{
gchar* _tmp35_;
#line 206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1207,11 +1512,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp35_;
#line 206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1211 "ConfigurationInterfaces.c"
+#line 1516 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_IMPORT_DIR:
-#line 1215 "ConfigurationInterfaces.c"
+#line 1520 "ConfigurationInterfaces.c"
{
gchar* _tmp36_;
#line 209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1220,11 +1525,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp36_;
#line 209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1224 "ConfigurationInterfaces.c"
+#line 1529 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY:
-#line 1228 "ConfigurationInterfaces.c"
+#line 1533 "ConfigurationInterfaces.c"
{
gchar* _tmp37_;
#line 212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1233,11 +1538,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp37_;
#line 212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1237 "ConfigurationInterfaces.c"
+#line 1542 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT:
-#line 1241 "ConfigurationInterfaces.c"
+#line 1546 "ConfigurationInterfaces.c"
{
gchar* _tmp38_;
#line 215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1246,11 +1551,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp38_;
#line 215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1250 "ConfigurationInterfaces.c"
+#line 1555 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE:
-#line 1254 "ConfigurationInterfaces.c"
+#line 1559 "ConfigurationInterfaces.c"
{
gchar* _tmp39_;
#line 218 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1259,11 +1564,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp39_;
#line 218 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1263 "ConfigurationInterfaces.c"
+#line 1568 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH:
-#line 1267 "ConfigurationInterfaces.c"
+#line 1572 "ConfigurationInterfaces.c"
{
gchar* _tmp40_;
#line 221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1272,11 +1577,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp40_;
#line 221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1276 "ConfigurationInterfaces.c"
+#line 1581 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE:
-#line 1280 "ConfigurationInterfaces.c"
+#line 1585 "ConfigurationInterfaces.c"
{
gchar* _tmp41_;
#line 224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1285,11 +1590,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp41_;
#line 224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1289 "ConfigurationInterfaces.c"
+#line 1594 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE:
-#line 1293 "ConfigurationInterfaces.c"
+#line 1598 "ConfigurationInterfaces.c"
{
gchar* _tmp42_;
#line 227 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1298,11 +1603,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp42_;
#line 227 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1302 "ConfigurationInterfaces.c"
+#line 1607 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING:
-#line 1306 "ConfigurationInterfaces.c"
+#line 1611 "ConfigurationInterfaces.c"
{
gchar* _tmp43_;
#line 230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1311,11 +1616,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp43_;
#line 230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1315 "ConfigurationInterfaces.c"
+#line 1620 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY:
-#line 1319 "ConfigurationInterfaces.c"
+#line 1624 "ConfigurationInterfaces.c"
{
gchar* _tmp44_;
#line 233 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1324,11 +1629,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp44_;
#line 233 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1328 "ConfigurationInterfaces.c"
+#line 1633 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT:
-#line 1332 "ConfigurationInterfaces.c"
+#line 1637 "ConfigurationInterfaces.c"
{
gchar* _tmp45_;
#line 236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1337,11 +1642,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp45_;
#line 236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1341 "ConfigurationInterfaces.c"
+#line 1646 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE:
-#line 1345 "ConfigurationInterfaces.c"
+#line 1650 "ConfigurationInterfaces.c"
{
gchar* _tmp46_;
#line 239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1350,11 +1655,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp46_;
#line 239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1354 "ConfigurationInterfaces.c"
+#line 1659 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH:
-#line 1358 "ConfigurationInterfaces.c"
+#line 1663 "ConfigurationInterfaces.c"
{
gchar* _tmp47_;
#line 242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1363,11 +1668,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp47_;
#line 242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1367 "ConfigurationInterfaces.c"
+#line 1672 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS:
-#line 1371 "ConfigurationInterfaces.c"
+#line 1676 "ConfigurationInterfaces.c"
{
gchar* _tmp48_;
#line 245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1376,11 +1681,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp48_;
#line 245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1380 "ConfigurationInterfaces.c"
+#line 1685 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE:
-#line 1384 "ConfigurationInterfaces.c"
+#line 1689 "ConfigurationInterfaces.c"
{
gchar* _tmp49_;
#line 248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1389,11 +1694,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp49_;
#line 248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1393 "ConfigurationInterfaces.c"
+#line 1698 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE:
-#line 1397 "ConfigurationInterfaces.c"
+#line 1702 "ConfigurationInterfaces.c"
{
gchar* _tmp50_;
#line 251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1402,11 +1707,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp50_;
#line 251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1406 "ConfigurationInterfaces.c"
+#line 1711 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT:
-#line 1410 "ConfigurationInterfaces.c"
+#line 1715 "ConfigurationInterfaces.c"
{
gchar* _tmp51_;
#line 254 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1415,11 +1720,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp51_;
#line 254 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1419 "ConfigurationInterfaces.c"
+#line 1724 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT:
-#line 1423 "ConfigurationInterfaces.c"
+#line 1728 "ConfigurationInterfaces.c"
{
gchar* _tmp52_;
#line 257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1428,11 +1733,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp52_;
#line 257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1432 "ConfigurationInterfaces.c"
+#line 1737 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI:
-#line 1436 "ConfigurationInterfaces.c"
+#line 1741 "ConfigurationInterfaces.c"
{
gchar* _tmp53_;
#line 260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1441,11 +1746,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp53_;
#line 260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1445 "ConfigurationInterfaces.c"
+#line 1750 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS:
-#line 1449 "ConfigurationInterfaces.c"
+#line 1754 "ConfigurationInterfaces.c"
{
gchar* _tmp54_;
#line 263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1454,11 +1759,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp54_;
#line 263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1458 "ConfigurationInterfaces.c"
+#line 1763 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH:
-#line 1462 "ConfigurationInterfaces.c"
+#line 1767 "ConfigurationInterfaces.c"
{
gchar* _tmp55_;
#line 266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1467,11 +1772,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp55_;
#line 266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1471 "ConfigurationInterfaces.c"
+#line 1776 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE:
-#line 1475 "ConfigurationInterfaces.c"
+#line 1780 "ConfigurationInterfaces.c"
{
gchar* _tmp56_;
#line 269 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1480,11 +1785,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp56_;
#line 269 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1484 "ConfigurationInterfaces.c"
+#line 1789 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO:
-#line 1488 "ConfigurationInterfaces.c"
+#line 1793 "ConfigurationInterfaces.c"
{
gchar* _tmp57_;
#line 272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1493,11 +1798,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp57_;
#line 272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1497 "ConfigurationInterfaces.c"
+#line 1802 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES:
-#line 1501 "ConfigurationInterfaces.c"
+#line 1806 "ConfigurationInterfaces.c"
{
gchar* _tmp58_;
#line 275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1506,11 +1811,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp58_;
#line 275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1510 "ConfigurationInterfaces.c"
+#line 1815 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION:
-#line 1514 "ConfigurationInterfaces.c"
+#line 1819 "ConfigurationInterfaces.c"
{
gchar* _tmp59_;
#line 278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1519,11 +1824,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp59_;
#line 278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1523 "ConfigurationInterfaces.c"
+#line 1828 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT:
-#line 1527 "ConfigurationInterfaces.c"
+#line 1832 "ConfigurationInterfaces.c"
{
gchar* _tmp60_;
#line 281 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1532,11 +1837,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp60_;
#line 281 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1536 "ConfigurationInterfaces.c"
+#line 1841 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT:
-#line 1540 "ConfigurationInterfaces.c"
+#line 1845 "ConfigurationInterfaces.c"
{
gchar* _tmp61_;
#line 284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1545,11 +1850,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp61_;
#line 284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1549 "ConfigurationInterfaces.c"
+#line 1854 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG:
-#line 1553 "ConfigurationInterfaces.c"
+#line 1858 "ConfigurationInterfaces.c"
{
gchar* _tmp62_;
#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1558,11 +1863,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp62_;
#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1562 "ConfigurationInterfaces.c"
+#line 1867 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION:
-#line 1566 "ConfigurationInterfaces.c"
+#line 1871 "ConfigurationInterfaces.c"
{
gchar* _tmp63_;
#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1571,11 +1876,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp63_;
#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1575 "ConfigurationInterfaces.c"
+#line 1880 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY:
-#line 1579 "ConfigurationInterfaces.c"
+#line 1884 "ConfigurationInterfaces.c"
{
gchar* _tmp64_;
#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1584,11 +1889,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp64_;
#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1588 "ConfigurationInterfaces.c"
+#line 1893 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY:
-#line 1592 "ConfigurationInterfaces.c"
+#line 1897 "ConfigurationInterfaces.c"
{
gchar* _tmp65_;
#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1597,11 +1902,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp65_;
#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1601 "ConfigurationInterfaces.c"
+#line 1906 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID:
-#line 1605 "ConfigurationInterfaces.c"
+#line 1910 "ConfigurationInterfaces.c"
{
gchar* _tmp66_;
#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1610,11 +1915,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp66_;
#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1614 "ConfigurationInterfaces.c"
+#line 1919 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE:
-#line 1618 "ConfigurationInterfaces.c"
+#line 1923 "ConfigurationInterfaces.c"
{
gchar* _tmp67_;
#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1623,11 +1928,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp67_;
#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1627 "ConfigurationInterfaces.c"
+#line 1932 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME:
-#line 1631 "ConfigurationInterfaces.c"
+#line 1936 "ConfigurationInterfaces.c"
{
gchar* _tmp68_;
#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1636,11 +1941,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp68_;
#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1640 "ConfigurationInterfaces.c"
+#line 1945 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES:
-#line 1644 "ConfigurationInterfaces.c"
+#line 1949 "ConfigurationInterfaces.c"
{
gchar* _tmp69_;
#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1649,11 +1954,11 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp69_;
#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1653 "ConfigurationInterfaces.c"
+#line 1958 "ConfigurationInterfaces.c"
}
#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE:
-#line 1657 "ConfigurationInterfaces.c"
+#line 1962 "ConfigurationInterfaces.c"
{
gchar* _tmp70_;
#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1662,20 +1967,22 @@ gchar* configurable_property_to_string (ConfigurableProperty self) {
result = _tmp70_;
#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 1666 "ConfigurationInterfaces.c"
+#line 1971 "ConfigurationInterfaces.c"
}
default:
{
#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_error ("ConfigurationInterfaces.vala:314: unknown ConfigurableProperty enumera" \
"tion value");
-#line 1672 "ConfigurationInterfaces.c"
+#line 1977 "ConfigurationInterfaces.c"
}
}
}
-GType configurable_property_get_type (void) {
+GType
+configurable_property_get_type (void)
+{
static volatile gsize configurable_property_type_id__volatile = 0;
if (g_once_init_enter (&configurable_property_type_id__volatile)) {
static const GEnumValue values[] = {{CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, "CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY", "auto-import-from-library"}, {CONFIGURABLE_PROPERTY_BG_COLOR_NAME, "CONFIGURABLE_PROPERTY_BG_COLOR_NAME", "bg-color-name"}, {CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE, "CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE", "transparent-background-type"}, {CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, "CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR", "transparent-background-color"}, {CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, "CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS", "commit-metadata-to-masters"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE", "desktop-background-file"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE", "desktop-background-mode"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, "CONFIGURABLE_PROPERTY_SCREENSAVER_FILE", "screensaver-file"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "CONFIGURABLE_PROPERTY_SCREENSAVER_MODE", "screensaver-mode"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN", "directory-pattern"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM", "directory-pattern-custom"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT", "direct-window-height"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE", "direct-window-maximize"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH", "direct-window-width"}, {CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES", "display-basic-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS", "display-event-comments"}, {CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES", "display-extended-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, "CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR", "display-sidebar"}, {CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, "CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR", "display-toolbar"}, {CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, "CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR", "display-search-bar"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS", "display-photo-ratings"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS", "display-photo-tags"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES", "display-photo-titles"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS", "display-photo-comments"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING", "event-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY", "event-photos-sort-by"}, {CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING", "events-sort-ascending"}, {CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, "CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT", "export-constraint"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE", "export-export-format-mode"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA", "export-export-metadata"}, {CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, "CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT", "export-photo-file-format"}, {CONFIGURABLE_PROPERTY_EXPORT_QUALITY, "CONFIGURABLE_PROPERTY_EXPORT_QUALITY", "export-quality"}, {CONFIGURABLE_PROPERTY_EXPORT_SCALE, "CONFIGURABLE_PROPERTY_EXPORT_SCALE", "export-scale"}, {CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP", "external-photo-app"}, {CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP", "external-raw-app"}, {CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, "CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED", "hide-photos-already-imported"}, {CONFIGURABLE_PROPERTY_IMPORT_DIR, "CONFIGURABLE_PROPERTY_IMPORT_DIR", "import-dir"}, {CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, "CONFIGURABLE_PROPERTY_KEEP_RELATIVITY", "keep-relativity"}, {CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, "CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT", "last-crop-height"}, {CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, "CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE", "last-crop-menu-choice"}, {CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, "CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH", "last-crop-width"}, {CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_SERVICE", "last-used-service"}, {CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE", "last-used-dataimports-service"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING", "library-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY", "library-photos-sort-by"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT", "library-window-height"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE", "library-window-maximize"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH", "library-window-width"}, {CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, "CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS", "modify-originals"}, {CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, "CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE", "photo-thumbnail-scale"}, {CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, "CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE", "pin-toolbar-state"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT", "printing-content-height"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT", "printing-content-layout"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI", "printing-content-ppi"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS", "printing-content-units"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH", "printing-content-width"}, {CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, "CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE", "printing-images-per-page"}, {CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, "CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO", "printing-match-aspect-ratio"}, {CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, "CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES", "printing-print-titles"}, {CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, "CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION", "printing-size-selection"}, {CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, "CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT", "printing-titles-font"}, {CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, "CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT", "raw-developer-default"}, {CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, "CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG", "show-welcome-dialog"}, {CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, "CONFIGURABLE_PROPERTY_SIDEBAR_POSITION", "sidebar-position"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY", "slideshow-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY", "slideshow-transition-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID", "slideshow-transition-effect-id"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, "CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE", "slideshow-show-title"}, {CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, "CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME", "use-24-hour-time"}, {CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, "CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES", "use-lowercase-filenames"}, {CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, "CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE", "video-interpreter-state-cookie"}, {CONFIGURABLE_PROPERTY_NUM_PROPERTIES, "CONFIGURABLE_PROPERTY_NUM_PROPERTIES", "num-properties"}, {0, NULL, NULL}};
@@ -1687,205 +1994,314 @@ GType configurable_property_get_type (void) {
}
-gchar* configuration_engine_get_name (ConfigurationEngine* self) {
+gchar*
+configuration_engine_get_name (ConfigurationEngine* self)
+{
#line 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL);
#line 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_name (self);
-#line 1695 "ConfigurationInterfaces.c"
+#line 2004 "ConfigurationInterfaces.c"
}
-gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) {
+gint
+configuration_engine_get_int_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ GError** error)
+{
#line 324 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0);
#line 324 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_int_property (self, p, error);
-#line 1704 "ConfigurationInterfaces.c"
+#line 2017 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) {
+void
+configuration_engine_set_int_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ gint val,
+ GError** error)
+{
#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_int_property (self, p, val, error);
-#line 1713 "ConfigurationInterfaces.c"
+#line 2031 "ConfigurationInterfaces.c"
}
-gint configuration_engine_get_enum_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) {
+gint
+configuration_engine_get_enum_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ GError** error)
+{
#line 327 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0);
#line 327 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_enum_property (self, p, error);
-#line 1722 "ConfigurationInterfaces.c"
+#line 2044 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_enum_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) {
+void
+configuration_engine_set_enum_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ gint val,
+ GError** error)
+{
#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_enum_property (self, p, val, error);
-#line 1731 "ConfigurationInterfaces.c"
+#line 2058 "ConfigurationInterfaces.c"
}
-gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) {
+gchar*
+configuration_engine_get_string_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ GError** error)
+{
#line 330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL);
#line 330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_string_property (self, p, error);
-#line 1740 "ConfigurationInterfaces.c"
+#line 2071 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error) {
+void
+configuration_engine_set_string_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ const gchar* val,
+ GError** error)
+{
#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_string_property (self, p, val, error);
-#line 1749 "ConfigurationInterfaces.c"
+#line 2085 "ConfigurationInterfaces.c"
}
-gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) {
+gboolean
+configuration_engine_get_bool_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ GError** error)
+{
#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE);
#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_bool_property (self, p, error);
-#line 1758 "ConfigurationInterfaces.c"
+#line 2098 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_bool_property (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error) {
+void
+configuration_engine_set_bool_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ gboolean val,
+ GError** error)
+{
#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_bool_property (self, p, val, error);
-#line 1767 "ConfigurationInterfaces.c"
+#line 2112 "ConfigurationInterfaces.c"
}
-gdouble configuration_engine_get_double_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) {
+gdouble
+configuration_engine_get_double_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ GError** error)
+{
#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0);
#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_double_property (self, p, error);
-#line 1776 "ConfigurationInterfaces.c"
+#line 2125 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_double_property (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error) {
+void
+configuration_engine_set_double_property (ConfigurationEngine* self,
+ ConfigurableProperty p,
+ gdouble val,
+ GError** error)
+{
#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_double_property (self, p, val, error);
-#line 1785 "ConfigurationInterfaces.c"
+#line 2139 "ConfigurationInterfaces.c"
}
-gboolean configuration_engine_get_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) {
+gboolean
+configuration_engine_get_plugin_bool (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def)
+{
#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE);
#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_bool (self, domain, id, key, def);
-#line 1794 "ConfigurationInterfaces.c"
+#line 2154 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) {
+void
+configuration_engine_set_plugin_bool (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val)
+{
#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_bool (self, domain, id, key, val);
-#line 1803 "ConfigurationInterfaces.c"
+#line 2169 "ConfigurationInterfaces.c"
}
-gdouble configuration_engine_get_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) {
+gdouble
+configuration_engine_get_plugin_double (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def)
+{
#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0);
#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_double (self, domain, id, key, def);
-#line 1812 "ConfigurationInterfaces.c"
+#line 2184 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) {
+void
+configuration_engine_set_plugin_double (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val)
+{
#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_double (self, domain, id, key, val);
-#line 1821 "ConfigurationInterfaces.c"
+#line 2199 "ConfigurationInterfaces.c"
}
-gint configuration_engine_get_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def) {
+gint
+configuration_engine_get_plugin_int (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def)
+{
#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0);
#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_int (self, domain, id, key, def);
-#line 1830 "ConfigurationInterfaces.c"
+#line 2214 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val) {
+void
+configuration_engine_set_plugin_int (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val)
+{
#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_int (self, domain, id, key, val);
-#line 1839 "ConfigurationInterfaces.c"
+#line 2229 "ConfigurationInterfaces.c"
}
-gchar* configuration_engine_get_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) {
+gchar*
+configuration_engine_get_plugin_string (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def)
+{
#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL);
#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_string (self, domain, id, key, def);
-#line 1848 "ConfigurationInterfaces.c"
+#line 2244 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) {
+void
+configuration_engine_set_plugin_string (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val)
+{
#line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_string (self, domain, id, key, val);
-#line 1857 "ConfigurationInterfaces.c"
+#line 2259 "ConfigurationInterfaces.c"
}
-void configuration_engine_unset_plugin_key (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key) {
+void
+configuration_engine_unset_plugin_key (ConfigurationEngine* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key)
+{
#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->unset_plugin_key (self, domain, id, key);
-#line 1866 "ConfigurationInterfaces.c"
+#line 2273 "ConfigurationInterfaces.c"
}
-FuzzyPropertyState configuration_engine_is_plugin_enabled (ConfigurationEngine* self, const gchar* id) {
+FuzzyPropertyState
+configuration_engine_is_plugin_enabled (ConfigurationEngine* self,
+ const gchar* id)
+{
#line 349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0);
#line 349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_ENGINE_GET_INTERFACE (self)->is_plugin_enabled (self, id);
-#line 1875 "ConfigurationInterfaces.c"
+#line 2285 "ConfigurationInterfaces.c"
}
-void configuration_engine_set_plugin_enabled (ConfigurationEngine* self, const gchar* id, gboolean enabled) {
+void
+configuration_engine_set_plugin_enabled (ConfigurationEngine* self,
+ const gchar* id,
+ gboolean enabled)
+{
#line 350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_ENGINE (self));
#line 350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_enabled (self, id, enabled);
-#line 1884 "ConfigurationInterfaces.c"
+#line 2298 "ConfigurationInterfaces.c"
}
-static void configuration_engine_base_init (ConfigurationEngineIface * iface) {
+static void
+configuration_engine_base_init (ConfigurationEngineIface * iface)
+{
#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
static gboolean initialized = FALSE;
#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -1894,12 +2310,14 @@ static void configuration_engine_base_init (ConfigurationEngineIface * iface) {
initialized = TRUE;
#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
configuration_engine_signals[CONFIGURATION_ENGINE_PROPERTY_CHANGED_SIGNAL] = g_signal_new ("property-changed", TYPE_CONFIGURATION_ENGINE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_CONFIGURABLE_PROPERTY);
-#line 1897 "ConfigurationInterfaces.c"
+#line 2313 "ConfigurationInterfaces.c"
}
}
-GType configuration_engine_get_type (void) {
+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 };
@@ -1912,160 +2330,162 @@ GType configuration_engine_get_type (void) {
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return self ? g_object_ref (self) : NULL;
-#line 1918 "ConfigurationInterfaces.c"
+#line 2338 "ConfigurationInterfaces.c"
}
-static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self) {
+static void
+_configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender,
+ ConfigurableProperty p,
+ gpointer self)
+{
#line 368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
configuration_facade_on_property_changed ((ConfigurationFacade*) self, p);
-#line 1925 "ConfigurationInterfaces.c"
+#line 2349 "ConfigurationInterfaces.c"
}
-ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine) {
+ConfigurationFacade*
+configuration_facade_construct (GType object_type,
+ ConfigurationEngine* engine)
+{
ConfigurationFacade * self = NULL;
ConfigurationEngine* _tmp0_;
- ConfigurationEngine* _tmp1_;
- ConfigurationEngine* _tmp2_;
#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_ENGINE (engine), NULL);
#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
self = (ConfigurationFacade*) g_object_new (object_type, NULL);
#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = engine;
-#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (engine);
#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (self->priv->engine);
#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- self->priv->engine = _tmp1_;
-#line 368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = engine;
+ self->priv->engine = _tmp0_;
#line 368 "/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);
+ g_signal_connect_object (engine, "property-changed", (GCallback) _configuration_facade_on_property_changed_configuration_engine_property_changed, self, 0);
#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return self;
-#line 1952 "ConfigurationInterfaces.c"
+#line 2373 "ConfigurationInterfaces.c"
}
-static void configuration_facade_on_property_changed (ConfigurationFacade* self, ConfigurableProperty p) {
- ConfigurableProperty _tmp0_;
+static void
+configuration_facade_on_property_changed (ConfigurationFacade* self,
+ ConfigurableProperty p)
+{
+ gchar* _tmp0_;
gchar* _tmp1_;
- gchar* _tmp2_;
- ConfigurableProperty _tmp3_;
#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = p;
+ _tmp0_ = configurable_property_to_string (p);
#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp1_ = configurable_property_to_string (_tmp0_);
-#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = _tmp1_;
+ _tmp1_ = _tmp0_;
#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_debug ("ConfigurationInterfaces.vala:372: ConfigurationFacade: engine reports " \
-"property '%s' changed.", _tmp2_);
+"property '%s' changed.", _tmp1_);
#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp2_);
+ _g_free0 (_tmp1_);
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = p;
-#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- switch (_tmp3_) {
+ switch (p) {
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY:
-#line 1979 "ConfigurationInterfaces.c"
+#line 2397 "ConfigurationInterfaces.c"
{
#line 376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_AUTO_IMPORT_FROM_LIBRARY_CHANGED_SIGNAL], 0);
#line 377 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 1985 "ConfigurationInterfaces.c"
+#line 2403 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_BG_COLOR_NAME:
-#line 1989 "ConfigurationInterfaces.c"
+#line 2407 "ConfigurationInterfaces.c"
{
#line 380 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_BG_COLOR_NAME_CHANGED_SIGNAL], 0);
#line 381 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 1995 "ConfigurationInterfaces.c"
+#line 2413 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE:
-#line 1999 "ConfigurationInterfaces.c"
+#line 2417 "ConfigurationInterfaces.c"
{
#line 384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_TYPE_CHANGED_SIGNAL], 0);
#line 385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2005 "ConfigurationInterfaces.c"
+#line 2423 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR:
-#line 2009 "ConfigurationInterfaces.c"
+#line 2427 "ConfigurationInterfaces.c"
{
#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_COLOR_CHANGED_SIGNAL], 0);
#line 389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2015 "ConfigurationInterfaces.c"
+#line 2433 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS:
-#line 2019 "ConfigurationInterfaces.c"
+#line 2437 "ConfigurationInterfaces.c"
{
#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_COMMIT_METADATA_TO_MASTERS_CHANGED_SIGNAL], 0);
#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2025 "ConfigurationInterfaces.c"
+#line 2443 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING:
-#line 2029 "ConfigurationInterfaces.c"
+#line 2447 "ConfigurationInterfaces.c"
{
#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_EVENTS_SORT_ASCENDING_CHANGED_SIGNAL], 0);
#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2035 "ConfigurationInterfaces.c"
+#line 2453 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP:
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP:
-#line 2041 "ConfigurationInterfaces.c"
+#line 2459 "ConfigurationInterfaces.c"
{
#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL], 0);
#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2047 "ConfigurationInterfaces.c"
+#line 2465 "ConfigurationInterfaces.c"
}
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
case CONFIGURABLE_PROPERTY_IMPORT_DIR:
-#line 2051 "ConfigurationInterfaces.c"
+#line 2469 "ConfigurationInterfaces.c"
{
#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL], 0);
#line 406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2057 "ConfigurationInterfaces.c"
+#line 2475 "ConfigurationInterfaces.c"
}
default:
#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
break;
-#line 2062 "ConfigurationInterfaces.c"
+#line 2480 "ConfigurationInterfaces.c"
}
}
-ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self) {
+ConfigurationEngine*
+configuration_facade_get_engine (ConfigurationFacade* self)
+{
ConfigurationEngine* result = NULL;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
@@ -2079,105 +2499,94 @@ ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self)
result = _tmp1_;
#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2081 "ConfigurationInterfaces.c"
+#line 2501 "ConfigurationInterfaces.c"
}
-void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err) {
- GError* _tmp0_;
+void
+configuration_facade_on_configuration_error (ConfigurationFacade* self,
+ GError* err)
+{
#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = err;
-#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (g_error_matches (_tmp0_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) {
-#line 2093 "ConfigurationInterfaces.c"
- ConfigurationEngine* _tmp1_;
+ if (g_error_matches (err, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) {
+#line 2513 "ConfigurationInterfaces.c"
+ ConfigurationEngine* _tmp0_;
+ gchar* _tmp1_;
gchar* _tmp2_;
- gchar* _tmp3_;
- GError* _tmp4_;
- const gchar* _tmp5_;
-#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp1_ = self->priv->engine;
+ const gchar* _tmp3_;
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = configuration_engine_get_name (_tmp1_);
+ _tmp0_ = self->priv->engine;
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = _tmp2_;
+ _tmp1_ = configuration_engine_get_name (_tmp0_);
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = err;
+ _tmp2_ = _tmp1_;
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = _tmp4_->message;
+ _tmp3_ = err->message;
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_message ("ConfigurationInterfaces.vala:416: configuration engine '%s' reports PR" \
-"OPERTY_HAS_NO_VALUE error: %s", _tmp3_, _tmp5_);
+"OPERTY_HAS_NO_VALUE error: %s", _tmp2_, _tmp3_);
#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp3_);
-#line 2113 "ConfigurationInterfaces.c"
+ _g_free0 (_tmp2_);
+#line 2530 "ConfigurationInterfaces.c"
} else {
- GError* _tmp6_;
-#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (g_error_matches (_tmp6_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) {
-#line 2120 "ConfigurationInterfaces.c"
- ConfigurationEngine* _tmp7_;
- gchar* _tmp8_;
- gchar* _tmp9_;
- GError* _tmp10_;
- const gchar* _tmp11_;
-#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = self->priv->engine;
+ if (g_error_matches (err, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) {
+#line 2534 "ConfigurationInterfaces.c"
+ ConfigurationEngine* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ const gchar* _tmp7_;
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = configuration_engine_get_name (_tmp7_);
+ _tmp4_ = self->priv->engine;
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = _tmp8_;
+ _tmp5_ = configuration_engine_get_name (_tmp4_);
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = err;
+ _tmp6_ = _tmp5_;
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = _tmp10_->message;
+ _tmp7_ = err->message;
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_critical ("ConfigurationInterfaces.vala:420: configuration engine '%s' reports EN" \
-"GINE_ERROR: %s", _tmp9_, _tmp11_);
+"GINE_ERROR: %s", _tmp6_, _tmp7_);
#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp9_);
-#line 2140 "ConfigurationInterfaces.c"
+ _g_free0 (_tmp6_);
+#line 2551 "ConfigurationInterfaces.c"
} else {
- ConfigurationEngine* _tmp12_;
- gchar* _tmp13_;
- gchar* _tmp14_;
- GError* _tmp15_;
- const gchar* _tmp16_;
-#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp12_ = self->priv->engine;
+ ConfigurationEngine* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
+ const gchar* _tmp11_;
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp13_ = configuration_engine_get_name (_tmp12_);
+ _tmp8_ = self->priv->engine;
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp14_ = _tmp13_;
+ _tmp9_ = configuration_engine_get_name (_tmp8_);
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp15_ = err;
+ _tmp10_ = _tmp9_;
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp16_ = _tmp15_->message;
+ _tmp11_ = err->message;
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_critical ("ConfigurationInterfaces.vala:423: configuration engine '%s' reports un" \
-"known error: %s", _tmp14_, _tmp16_);
+"known error: %s", _tmp10_, _tmp11_);
#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp14_);
-#line 2161 "ConfigurationInterfaces.c"
+ _g_free0 (_tmp10_);
+#line 2569 "ConfigurationInterfaces.c"
}
}
}
-static gboolean configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2185,18 +2594,16 @@ static gboolean configuration_facade_real_get_auto_import_from_library (Configur
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, &_inner_error_);
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2191 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 2598 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2195 "ConfigurationInterfaces.c"
+#line 2602 "ConfigurationInterfaces.c"
goto __catch91_configuration_error;
}
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2204,35 +2611,35 @@ static gboolean configuration_facade_real_get_auto_import_from_library (Configur
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 2204 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 2611 "ConfigurationInterfaces.c"
}
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2210 "ConfigurationInterfaces.c"
+#line 2617 "ConfigurationInterfaces.c"
}
goto __finally91;
__catch91_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2231 "ConfigurationInterfaces.c"
+#line 2638 "ConfigurationInterfaces.c"
}
__finally91:
#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2240,41 +2647,43 @@ static gboolean configuration_facade_real_get_auto_import_from_library (Configur
#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 2240 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 2647 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_auto_import_from_library (ConfigurationFacade* self)
+{
#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_auto_import_from_library (self);
-#line 2249 "ConfigurationInterfaces.c"
+#line 2658 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = auto_import;
-#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, auto_import, &_inner_error_);
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2273 "ConfigurationInterfaces.c"
+#line 2682 "ConfigurationInterfaces.c"
goto __catch92_configuration_error;
}
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2283,27 +2692,27 @@ static void configuration_facade_real_set_auto_import_from_library (Configuratio
g_clear_error (&_inner_error_);
#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2282 "ConfigurationInterfaces.c"
+#line 2691 "ConfigurationInterfaces.c"
}
}
goto __finally92;
__catch92_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2302 "ConfigurationInterfaces.c"
+#line 2711 "ConfigurationInterfaces.c"
}
__finally92:
#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2314,21 +2723,26 @@ static void configuration_facade_real_set_auto_import_from_library (Configuratio
g_clear_error (&_inner_error_);
#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2313 "ConfigurationInterfaces.c"
+#line 2722 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) {
+void
+configuration_facade_set_auto_import_from_library (ConfigurationFacade* self,
+ gboolean auto_import)
+{
#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_auto_import_from_library (self, auto_import);
-#line 2323 "ConfigurationInterfaces.c"
+#line 2735 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_bg_color_name (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -2354,7 +2768,7 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade*
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2353 "ConfigurationInterfaces.c"
+#line 2767 "ConfigurationInterfaces.c"
goto __catch93_configuration_error;
}
#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2363,7 +2777,7 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2362 "ConfigurationInterfaces.c"
+#line 2776 "ConfigurationInterfaces.c"
}
#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -2375,7 +2789,7 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade*
_g_free0 (_tmp0_);
#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2374 "ConfigurationInterfaces.c"
+#line 2788 "ConfigurationInterfaces.c"
}
goto __finally93;
__catch93_configuration_error:
@@ -2399,7 +2813,7 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade*
_g_error_free0 (err);
#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2398 "ConfigurationInterfaces.c"
+#line 2812 "ConfigurationInterfaces.c"
}
__finally93:
#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2408,43 +2822,45 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2407 "ConfigurationInterfaces.c"
+#line 2821 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_bg_color_name (ConfigurationFacade* self)
+{
#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_bg_color_name (self);
-#line 2416 "ConfigurationInterfaces.c"
+#line 2832 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (color_name != NULL);
-#line 2424 "ConfigurationInterfaces.c"
+#line 2843 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = color_name;
-#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, color_name, &_inner_error_);
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2443 "ConfigurationInterfaces.c"
+#line 2859 "ConfigurationInterfaces.c"
goto __catch94_configuration_error;
}
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2453,27 +2869,27 @@ static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* se
g_clear_error (&_inner_error_);
#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2452 "ConfigurationInterfaces.c"
+#line 2868 "ConfigurationInterfaces.c"
}
}
goto __finally94;
__catch94_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2472 "ConfigurationInterfaces.c"
+#line 2888 "ConfigurationInterfaces.c"
}
__finally94:
#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2484,21 +2900,26 @@ static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* se
g_clear_error (&_inner_error_);
#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2483 "ConfigurationInterfaces.c"
+#line 2899 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) {
+void
+configuration_facade_set_bg_color_name (ConfigurationFacade* self,
+ const gchar* color_name)
+{
#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_bg_color_name (self, color_name);
-#line 2493 "ConfigurationInterfaces.c"
+#line 2912 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_transparent_background_type (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_transparent_background_type (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -2524,7 +2945,7 @@ static gchar* configuration_facade_real_get_transparent_background_type (Configu
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2523 "ConfigurationInterfaces.c"
+#line 2944 "ConfigurationInterfaces.c"
goto __catch95_configuration_error;
}
#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2533,7 +2954,7 @@ static gchar* configuration_facade_real_get_transparent_background_type (Configu
g_clear_error (&_inner_error_);
#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2532 "ConfigurationInterfaces.c"
+#line 2953 "ConfigurationInterfaces.c"
}
#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -2545,7 +2966,7 @@ static gchar* configuration_facade_real_get_transparent_background_type (Configu
_g_free0 (_tmp0_);
#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2544 "ConfigurationInterfaces.c"
+#line 2965 "ConfigurationInterfaces.c"
}
goto __finally95;
__catch95_configuration_error:
@@ -2569,7 +2990,7 @@ static gchar* configuration_facade_real_get_transparent_background_type (Configu
_g_error_free0 (err);
#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2568 "ConfigurationInterfaces.c"
+#line 2989 "ConfigurationInterfaces.c"
}
__finally95:
#line 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2578,43 +2999,45 @@ static gchar* configuration_facade_real_get_transparent_background_type (Configu
g_clear_error (&_inner_error_);
#line 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2577 "ConfigurationInterfaces.c"
+#line 2998 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_transparent_background_type (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_transparent_background_type (ConfigurationFacade* self)
+{
#line 476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_transparent_background_type (self);
-#line 2586 "ConfigurationInterfaces.c"
+#line 3009 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self, const gchar* type) {
+static void
+configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self,
+ const gchar* type)
+{
GError * _inner_error_ = NULL;
#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (type != NULL);
-#line 2594 "ConfigurationInterfaces.c"
+#line 3020 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = type;
-#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE, type, &_inner_error_);
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2613 "ConfigurationInterfaces.c"
+#line 3036 "ConfigurationInterfaces.c"
goto __catch96_configuration_error;
}
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2623,27 +3046,27 @@ static void configuration_facade_real_set_transparent_background_type (Configura
g_clear_error (&_inner_error_);
#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2622 "ConfigurationInterfaces.c"
+#line 3045 "ConfigurationInterfaces.c"
}
}
goto __finally96;
__catch96_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2642 "ConfigurationInterfaces.c"
+#line 3065 "ConfigurationInterfaces.c"
}
__finally96:
#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2654,21 +3077,26 @@ static void configuration_facade_real_set_transparent_background_type (Configura
g_clear_error (&_inner_error_);
#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2653 "ConfigurationInterfaces.c"
+#line 3076 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_transparent_background_type (ConfigurationFacade* self, const gchar* type) {
+void
+configuration_facade_set_transparent_background_type (ConfigurationFacade* self,
+ const gchar* type)
+{
#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_transparent_background_type (self, type);
-#line 2663 "ConfigurationInterfaces.c"
+#line 3089 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_transparent_background_color (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_transparent_background_color (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -2694,7 +3122,7 @@ static gchar* configuration_facade_real_get_transparent_background_color (Config
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2693 "ConfigurationInterfaces.c"
+#line 3121 "ConfigurationInterfaces.c"
goto __catch97_configuration_error;
}
#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2703,7 +3131,7 @@ static gchar* configuration_facade_real_get_transparent_background_color (Config
g_clear_error (&_inner_error_);
#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2702 "ConfigurationInterfaces.c"
+#line 3130 "ConfigurationInterfaces.c"
}
#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -2715,7 +3143,7 @@ static gchar* configuration_facade_real_get_transparent_background_color (Config
_g_free0 (_tmp0_);
#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2714 "ConfigurationInterfaces.c"
+#line 3142 "ConfigurationInterfaces.c"
}
goto __finally97;
__catch97_configuration_error:
@@ -2739,7 +3167,7 @@ static gchar* configuration_facade_real_get_transparent_background_color (Config
_g_error_free0 (err);
#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2738 "ConfigurationInterfaces.c"
+#line 3166 "ConfigurationInterfaces.c"
}
__finally97:
#line 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2748,43 +3176,45 @@ static gchar* configuration_facade_real_get_transparent_background_color (Config
g_clear_error (&_inner_error_);
#line 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 2747 "ConfigurationInterfaces.c"
+#line 3175 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_transparent_background_color (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_transparent_background_color (ConfigurationFacade* self)
+{
#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_transparent_background_color (self);
-#line 2756 "ConfigurationInterfaces.c"
+#line 3186 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_transparent_background_color (ConfigurationFacade* self, const gchar* color_name) {
+static void
+configuration_facade_real_set_transparent_background_color (ConfigurationFacade* self,
+ const gchar* color_name)
+{
GError * _inner_error_ = NULL;
#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (color_name != NULL);
-#line 2764 "ConfigurationInterfaces.c"
+#line 3197 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = color_name;
-#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, color_name, &_inner_error_);
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2783 "ConfigurationInterfaces.c"
+#line 3213 "ConfigurationInterfaces.c"
goto __catch98_configuration_error;
}
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2793,27 +3223,27 @@ static void configuration_facade_real_set_transparent_background_color (Configur
g_clear_error (&_inner_error_);
#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2792 "ConfigurationInterfaces.c"
+#line 3222 "ConfigurationInterfaces.c"
}
}
goto __finally98;
__catch98_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2812 "ConfigurationInterfaces.c"
+#line 3242 "ConfigurationInterfaces.c"
}
__finally98:
#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2824,30 +3254,34 @@ static void configuration_facade_real_set_transparent_background_color (Configur
g_clear_error (&_inner_error_);
#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2823 "ConfigurationInterfaces.c"
+#line 3253 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_transparent_background_color (ConfigurationFacade* self, const gchar* color_name) {
+void
+configuration_facade_set_transparent_background_color (ConfigurationFacade* self,
+ const gchar* color_name)
+{
#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_transparent_background_color (self, color_name);
-#line 2833 "ConfigurationInterfaces.c"
+#line 3266 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2855,18 +3289,16 @@ static gboolean configuration_facade_real_get_commit_metadata_to_masters (Config
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, &_inner_error_);
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2861 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 3293 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2865 "ConfigurationInterfaces.c"
+#line 3297 "ConfigurationInterfaces.c"
goto __catch99_configuration_error;
}
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2874,35 +3306,35 @@ static gboolean configuration_facade_real_get_commit_metadata_to_masters (Config
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 2874 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 3306 "ConfigurationInterfaces.c"
}
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2880 "ConfigurationInterfaces.c"
+#line 3312 "ConfigurationInterfaces.c"
}
goto __finally99;
__catch99_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 2901 "ConfigurationInterfaces.c"
+#line 3333 "ConfigurationInterfaces.c"
}
__finally99:
#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2910,41 +3342,43 @@ static gboolean configuration_facade_real_get_commit_metadata_to_masters (Config
#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 2910 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 3342 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self)
+{
#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_commit_metadata_to_masters (self);
-#line 2919 "ConfigurationInterfaces.c"
+#line 3353 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = commit_metadata;
-#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, commit_metadata, &_inner_error_);
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2943 "ConfigurationInterfaces.c"
+#line 3377 "ConfigurationInterfaces.c"
goto __catch100_configuration_error;
}
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2953,27 +3387,27 @@ static void configuration_facade_real_set_commit_metadata_to_masters (Configurat
g_clear_error (&_inner_error_);
#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2952 "ConfigurationInterfaces.c"
+#line 3386 "ConfigurationInterfaces.c"
}
}
goto __finally100;
__catch100_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2972 "ConfigurationInterfaces.c"
+#line 3406 "ConfigurationInterfaces.c"
}
__finally100:
#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -2984,21 +3418,26 @@ static void configuration_facade_real_set_commit_metadata_to_masters (Configurat
g_clear_error (&_inner_error_);
#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 2983 "ConfigurationInterfaces.c"
+#line 3417 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) {
+void
+configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self,
+ gboolean commit_metadata)
+{
#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_commit_metadata_to_masters (self, commit_metadata);
-#line 2993 "ConfigurationInterfaces.c"
+#line 3430 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_desktop_background (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_desktop_background (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -3024,7 +3463,7 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3023 "ConfigurationInterfaces.c"
+#line 3462 "ConfigurationInterfaces.c"
goto __catch101_configuration_error;
}
#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3033,7 +3472,7 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac
g_clear_error (&_inner_error_);
#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3032 "ConfigurationInterfaces.c"
+#line 3471 "ConfigurationInterfaces.c"
}
#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -3045,7 +3484,7 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac
_g_free0 (_tmp0_);
#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3044 "ConfigurationInterfaces.c"
+#line 3483 "ConfigurationInterfaces.c"
}
goto __finally101;
__catch101_configuration_error:
@@ -3069,7 +3508,7 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac
_g_error_free0 (err);
#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3068 "ConfigurationInterfaces.c"
+#line 3507 "ConfigurationInterfaces.c"
}
__finally101:
#line 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3078,45 +3517,47 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac
g_clear_error (&_inner_error_);
#line 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3077 "ConfigurationInterfaces.c"
+#line 3516 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_desktop_background (ConfigurationFacade* self)
+{
#line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_desktop_background (self);
-#line 3086 "ConfigurationInterfaces.c"
+#line 3527 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename) {
+static void
+configuration_facade_real_set_desktop_background (ConfigurationFacade* self,
+ const gchar* filename)
+{
GError * _inner_error_ = NULL;
#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (filename != NULL);
-#line 3094 "ConfigurationInterfaces.c"
+#line 3538 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = filename;
-#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, filename, &_inner_error_);
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3115 "ConfigurationInterfaces.c"
+#line 3556 "ConfigurationInterfaces.c"
goto __catch102_configuration_error;
}
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3125,21 +3566,21 @@ static void configuration_facade_real_set_desktop_background (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3124 "ConfigurationInterfaces.c"
+#line 3565 "ConfigurationInterfaces.c"
}
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
+ _tmp2_ = configuration_facade_get_engine (self);
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_);
+ configuration_engine_set_string_property (_tmp3_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_);
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3138 "ConfigurationInterfaces.c"
+#line 3579 "ConfigurationInterfaces.c"
goto __catch102_configuration_error;
}
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3148,25 +3589,25 @@ static void configuration_facade_real_set_desktop_background (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3147 "ConfigurationInterfaces.c"
+#line 3588 "ConfigurationInterfaces.c"
}
}
goto __finally102;
__catch102_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 3165 "ConfigurationInterfaces.c"
+#line 3606 "ConfigurationInterfaces.c"
}
__finally102:
#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3177,21 +3618,26 @@ static void configuration_facade_real_set_desktop_background (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3176 "ConfigurationInterfaces.c"
+#line 3617 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename) {
+void
+configuration_facade_set_desktop_background (ConfigurationFacade* self,
+ const gchar* filename)
+{
#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_desktop_background (self, filename);
-#line 3186 "ConfigurationInterfaces.c"
+#line 3630 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_screensaver (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -3217,7 +3663,7 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3216 "ConfigurationInterfaces.c"
+#line 3662 "ConfigurationInterfaces.c"
goto __catch103_configuration_error;
}
#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3226,7 +3672,7 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se
g_clear_error (&_inner_error_);
#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3225 "ConfigurationInterfaces.c"
+#line 3671 "ConfigurationInterfaces.c"
}
#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -3238,7 +3684,7 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se
_g_free0 (_tmp0_);
#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3237 "ConfigurationInterfaces.c"
+#line 3683 "ConfigurationInterfaces.c"
}
goto __finally103;
__catch103_configuration_error:
@@ -3262,7 +3708,7 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se
_g_error_free0 (err);
#line 573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3261 "ConfigurationInterfaces.c"
+#line 3707 "ConfigurationInterfaces.c"
}
__finally103:
#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3271,45 +3717,47 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se
g_clear_error (&_inner_error_);
#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3270 "ConfigurationInterfaces.c"
+#line 3716 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_screensaver (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_screensaver (ConfigurationFacade* self)
+{
#line 567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_screensaver (self);
-#line 3279 "ConfigurationInterfaces.c"
+#line 3727 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename) {
+static void
+configuration_facade_real_set_screensaver (ConfigurationFacade* self,
+ const gchar* filename)
+{
GError * _inner_error_ = NULL;
#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (filename != NULL);
-#line 3287 "ConfigurationInterfaces.c"
+#line 3738 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = filename;
-#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, filename, &_inner_error_);
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3308 "ConfigurationInterfaces.c"
+#line 3756 "ConfigurationInterfaces.c"
goto __catch104_configuration_error;
}
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3318,21 +3766,21 @@ static void configuration_facade_real_set_screensaver (ConfigurationFacade* self
g_clear_error (&_inner_error_);
#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3317 "ConfigurationInterfaces.c"
+#line 3765 "ConfigurationInterfaces.c"
}
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
+ _tmp2_ = configuration_facade_get_engine (self);
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_);
+ configuration_engine_set_string_property (_tmp3_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_);
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3331 "ConfigurationInterfaces.c"
+#line 3779 "ConfigurationInterfaces.c"
goto __catch104_configuration_error;
}
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3341,25 +3789,25 @@ static void configuration_facade_real_set_screensaver (ConfigurationFacade* self
g_clear_error (&_inner_error_);
#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3340 "ConfigurationInterfaces.c"
+#line 3788 "ConfigurationInterfaces.c"
}
}
goto __finally104;
__catch104_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 3358 "ConfigurationInterfaces.c"
+#line 3806 "ConfigurationInterfaces.c"
}
__finally104:
#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3370,21 +3818,26 @@ static void configuration_facade_real_set_screensaver (ConfigurationFacade* self
g_clear_error (&_inner_error_);
#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3369 "ConfigurationInterfaces.c"
+#line 3817 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename) {
+void
+configuration_facade_set_screensaver (ConfigurationFacade* self,
+ const gchar* filename)
+{
#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_screensaver (self, filename);
-#line 3379 "ConfigurationInterfaces.c"
+#line 3830 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_directory_pattern (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -3411,7 +3864,7 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3410 "ConfigurationInterfaces.c"
+#line 3863 "ConfigurationInterfaces.c"
goto __catch105_configuration_error;
}
#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3420,17 +3873,17 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3419 "ConfigurationInterfaces.c"
+#line 3872 "ConfigurationInterfaces.c"
}
#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (g_strcmp0 (s, "") == 0) {
#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp4_ = NULL;
-#line 3425 "ConfigurationInterfaces.c"
+#line 3878 "ConfigurationInterfaces.c"
} else {
#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp4_ = s;
-#line 3429 "ConfigurationInterfaces.c"
+#line 3882 "ConfigurationInterfaces.c"
}
#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = g_strdup (_tmp4_);
@@ -3440,7 +3893,7 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca
_g_free0 (s);
#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3439 "ConfigurationInterfaces.c"
+#line 3892 "ConfigurationInterfaces.c"
}
goto __finally105;
__catch105_configuration_error:
@@ -3464,7 +3917,7 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca
_g_error_free0 (err);
#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3463 "ConfigurationInterfaces.c"
+#line 3916 "ConfigurationInterfaces.c"
}
__finally105:
#line 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3473,49 +3926,48 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3472 "ConfigurationInterfaces.c"
+#line 3925 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_directory_pattern (ConfigurationFacade* self)
+{
#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern (self);
-#line 3481 "ConfigurationInterfaces.c"
+#line 3936 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, const gchar* s) {
+static void
+configuration_facade_real_set_directory_pattern (ConfigurationFacade* self,
+ const gchar* s)
+{
GError * _inner_error_ = NULL;
{
- const gchar* _tmp0_;
+ ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- ConfigurationEngine* _tmp2_;
- const gchar* _tmp3_;
#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = s;
-#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (_tmp0_ == NULL) {
+ if (s == NULL) {
#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
s = "";
-#line 3498 "ConfigurationInterfaces.c"
+#line 3952 "ConfigurationInterfaces.c"
}
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp1_ = configuration_facade_get_engine (self);
-#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = _tmp1_;
+ _tmp0_ = configuration_facade_get_engine (self);
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = s;
+ _tmp1_ = _tmp0_;
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, _tmp3_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, s, &_inner_error_);
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp2_);
+ _g_object_unref0 (_tmp1_);
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3514 "ConfigurationInterfaces.c"
+#line 3966 "ConfigurationInterfaces.c"
goto __catch106_configuration_error;
}
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3524,25 +3976,25 @@ static void configuration_facade_real_set_directory_pattern (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3523 "ConfigurationInterfaces.c"
+#line 3975 "ConfigurationInterfaces.c"
}
}
goto __finally106;
__catch106_configuration_error:
{
GError* err = NULL;
- GError* _tmp4_;
+ GError* _tmp2_;
#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = err;
+ _tmp2_ = err;
#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp4_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 3541 "ConfigurationInterfaces.c"
+#line 3993 "ConfigurationInterfaces.c"
}
__finally106:
#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3553,21 +4005,26 @@ static void configuration_facade_real_set_directory_pattern (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3552 "ConfigurationInterfaces.c"
+#line 4004 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s) {
+void
+configuration_facade_set_directory_pattern (ConfigurationFacade* self,
+ const gchar* s)
+{
#line 602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern (self, s);
-#line 3562 "ConfigurationInterfaces.c"
+#line 4017 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -3593,7 +4050,7 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3592 "ConfigurationInterfaces.c"
+#line 4049 "ConfigurationInterfaces.c"
goto __catch107_configuration_error;
}
#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3602,7 +4059,7 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat
g_clear_error (&_inner_error_);
#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3601 "ConfigurationInterfaces.c"
+#line 4058 "ConfigurationInterfaces.c"
}
#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -3614,7 +4071,7 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat
_g_free0 (_tmp0_);
#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3613 "ConfigurationInterfaces.c"
+#line 4070 "ConfigurationInterfaces.c"
}
goto __finally107;
__catch107_configuration_error:
@@ -3638,7 +4095,7 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat
_g_error_free0 (err);
#line 622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 3637 "ConfigurationInterfaces.c"
+#line 4094 "ConfigurationInterfaces.c"
}
__finally107:
#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3647,43 +4104,45 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat
g_clear_error (&_inner_error_);
#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 3646 "ConfigurationInterfaces.c"
+#line 4103 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self)
+{
#line 616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern_custom (self);
-#line 3655 "ConfigurationInterfaces.c"
+#line 4114 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) {
+static void
+configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self,
+ const gchar* s)
+{
GError * _inner_error_ = NULL;
#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (s != NULL);
-#line 3663 "ConfigurationInterfaces.c"
+#line 4125 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = s;
-#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, s, &_inner_error_);
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3682 "ConfigurationInterfaces.c"
+#line 4141 "ConfigurationInterfaces.c"
goto __catch108_configuration_error;
}
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3692,25 +4151,25 @@ static void configuration_facade_real_set_directory_pattern_custom (Configuratio
g_clear_error (&_inner_error_);
#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3691 "ConfigurationInterfaces.c"
+#line 4150 "ConfigurationInterfaces.c"
}
}
goto __finally108;
__catch108_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 3709 "ConfigurationInterfaces.c"
+#line 4168 "ConfigurationInterfaces.c"
}
__finally108:
#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3721,21 +4180,28 @@ static void configuration_facade_real_set_directory_pattern_custom (Configuratio
g_clear_error (&_inner_error_);
#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3720 "ConfigurationInterfaces.c"
+#line 4179 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) {
+void
+configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self,
+ const gchar* s)
+{
#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern_custom (self, s);
-#line 3730 "ConfigurationInterfaces.c"
+#line 4192 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
gboolean _vala_maximize = FALSE;
Dimensions _vala_dimensions = {0};
GError * _inner_error_ = NULL;
@@ -3743,25 +4209,22 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
_vala_maximize = FALSE;
#line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
dimensions_init (&_vala_dimensions, 1024, 768);
-#line 3742 "ConfigurationInterfaces.c"
+#line 4208 "ConfigurationInterfaces.c"
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
gint w = 0;
+ ConfigurationEngine* _tmp4_;
ConfigurationEngine* _tmp5_;
- ConfigurationEngine* _tmp6_;
- gint _tmp7_;
- gint _tmp8_;
+ gint _tmp6_;
gint h = 0;
- ConfigurationEngine* _tmp9_;
- ConfigurationEngine* _tmp10_;
+ ConfigurationEngine* _tmp7_;
+ ConfigurationEngine* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
gint _tmp11_;
- gint _tmp12_;
- gint _tmp13_;
- gint _tmp14_;
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3769,16 +4232,14 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, &_inner_error_);
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3777 "ConfigurationInterfaces.c"
+#line 4238 "ConfigurationInterfaces.c"
goto __catch109_configuration_error;
}
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3787,27 +4248,25 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3786 "ConfigurationInterfaces.c"
+#line 4247 "ConfigurationInterfaces.c"
}
#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_maximize = _tmp0_;
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = configuration_facade_get_engine (self);
-#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = _tmp5_;
+ _tmp4_ = configuration_facade_get_engine (self);
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_);
+ _tmp5_ = _tmp4_;
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp7_;
+ _tmp6_ = configuration_engine_get_int_property (_tmp5_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_);
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp6_);
+ _g_object_unref0 (_tmp5_);
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- w = _tmp8_;
+ w = _tmp6_;
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3806 "ConfigurationInterfaces.c"
+#line 4265 "ConfigurationInterfaces.c"
goto __catch109_configuration_error;
}
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3816,25 +4275,23 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3815 "ConfigurationInterfaces.c"
+#line 4274 "ConfigurationInterfaces.c"
}
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = configuration_facade_get_engine (self);
-#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = _tmp9_;
+ _tmp7_ = configuration_facade_get_engine (self);
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_);
+ _tmp8_ = _tmp7_;
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp12_ = _tmp11_;
+ _tmp9_ = configuration_engine_get_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_);
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp10_);
+ _g_object_unref0 (_tmp8_);
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- h = _tmp12_;
+ h = _tmp9_;
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3833 "ConfigurationInterfaces.c"
+#line 4290 "ConfigurationInterfaces.c"
goto __catch109_configuration_error;
}
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3843,32 +4300,32 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3842 "ConfigurationInterfaces.c"
+#line 4299 "ConfigurationInterfaces.c"
}
#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp13_ = w;
+ _tmp10_ = w;
#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp14_ = h;
+ _tmp11_ = h;
#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_);
-#line 3850 "ConfigurationInterfaces.c"
+ dimensions_init (&_vala_dimensions, _tmp10_, _tmp11_);
+#line 4307 "ConfigurationInterfaces.c"
}
goto __finally109;
__catch109_configuration_error:
{
GError* err = NULL;
- GError* _tmp15_;
+ GError* _tmp12_;
#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp15_ = err;
+ _tmp12_ = err;
#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp15_);
+ configuration_facade_on_configuration_error (self, _tmp12_);
#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 3867 "ConfigurationInterfaces.c"
+#line 4324 "ConfigurationInterfaces.c"
}
__finally109:
#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3879,64 +4336,69 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3878 "ConfigurationInterfaces.c"
+#line 4335 "ConfigurationInterfaces.c"
}
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (maximize) {
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*maximize = _vala_maximize;
-#line 3884 "ConfigurationInterfaces.c"
+#line 4341 "ConfigurationInterfaces.c"
}
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (dimensions) {
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*dimensions = _vala_dimensions;
-#line 3890 "ConfigurationInterfaces.c"
+#line 4347 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) {
+void
+configuration_facade_get_direct_window_state (ConfigurationFacade* self,
+ gboolean* maximize,
+ Dimensions* dimensions)
+{
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->get_direct_window_state (self, maximize, dimensions);
-#line 3900 "ConfigurationInterfaces.c"
+#line 4361 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (dimensions != NULL);
-#line 3908 "ConfigurationInterfaces.c"
+#line 4373 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
- Dimensions _tmp5_;
- gint _tmp6_;
+ Dimensions _tmp4_;
+ gint _tmp5_;
+ ConfigurationEngine* _tmp6_;
ConfigurationEngine* _tmp7_;
- ConfigurationEngine* _tmp8_;
- Dimensions _tmp9_;
- gint _tmp10_;
+ Dimensions _tmp8_;
+ gint _tmp9_;
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = maximize;
-#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, maximize, &_inner_error_);
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3935 "ConfigurationInterfaces.c"
+#line 4397 "ConfigurationInterfaces.c"
goto __catch110_configuration_error;
}
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3945,25 +4407,25 @@ static void configuration_facade_real_set_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3944 "ConfigurationInterfaces.c"
+#line 4406 "ConfigurationInterfaces.c"
}
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
+ _tmp2_ = configuration_facade_get_engine (self);
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = *dimensions;
+ _tmp4_ = *dimensions;
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = _tmp5_.width;
+ _tmp5_ = _tmp4_.width;
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp6_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp5_, &_inner_error_);
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3962 "ConfigurationInterfaces.c"
+#line 4424 "ConfigurationInterfaces.c"
goto __catch110_configuration_error;
}
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3972,25 +4434,25 @@ static void configuration_facade_real_set_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3971 "ConfigurationInterfaces.c"
+#line 4433 "ConfigurationInterfaces.c"
}
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = configuration_facade_get_engine (self);
+ _tmp6_ = configuration_facade_get_engine (self);
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = *dimensions;
+ _tmp8_ = *dimensions;
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = _tmp9_.height;
+ _tmp9_ = _tmp8_.height;
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp10_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp7_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp9_, &_inner_error_);
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp8_);
+ _g_object_unref0 (_tmp7_);
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3989 "ConfigurationInterfaces.c"
+#line 4451 "ConfigurationInterfaces.c"
goto __catch110_configuration_error;
}
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -3999,25 +4461,25 @@ static void configuration_facade_real_set_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 3998 "ConfigurationInterfaces.c"
+#line 4460 "ConfigurationInterfaces.c"
}
}
goto __finally110;
__catch110_configuration_error:
{
GError* err = NULL;
- GError* _tmp11_;
+ GError* _tmp10_;
#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = err;
+ _tmp10_ = err;
#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp11_);
+ configuration_facade_on_configuration_error (self, _tmp10_);
#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4016 "ConfigurationInterfaces.c"
+#line 4478 "ConfigurationInterfaces.c"
}
__finally110:
#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4028,30 +4490,35 @@ static void configuration_facade_real_set_direct_window_state (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4027 "ConfigurationInterfaces.c"
+#line 4489 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) {
+void
+configuration_facade_set_direct_window_state (ConfigurationFacade* self,
+ gboolean maximize,
+ Dimensions* dimensions)
+{
#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_direct_window_state (self, maximize, dimensions);
-#line 4037 "ConfigurationInterfaces.c"
+#line 4503 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4059,18 +4526,16 @@ static gboolean configuration_facade_real_get_display_basic_properties (Configur
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, &_inner_error_);
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4065 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 4530 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4069 "ConfigurationInterfaces.c"
+#line 4534 "ConfigurationInterfaces.c"
goto __catch111_configuration_error;
}
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4078,35 +4543,35 @@ static gboolean configuration_facade_real_get_display_basic_properties (Configur
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 4078 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 4543 "ConfigurationInterfaces.c"
}
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4084 "ConfigurationInterfaces.c"
+#line 4549 "ConfigurationInterfaces.c"
}
goto __finally111;
__catch111_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4105 "ConfigurationInterfaces.c"
+#line 4570 "ConfigurationInterfaces.c"
}
__finally111:
#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4114,41 +4579,43 @@ static gboolean configuration_facade_real_get_display_basic_properties (Configur
#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4114 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 4579 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_basic_properties (ConfigurationFacade* self)
+{
#line 665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_basic_properties (self);
-#line 4123 "ConfigurationInterfaces.c"
+#line 4590 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, display, &_inner_error_);
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4147 "ConfigurationInterfaces.c"
+#line 4614 "ConfigurationInterfaces.c"
goto __catch112_configuration_error;
}
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4157,25 +4624,25 @@ static void configuration_facade_real_set_display_basic_properties (Configuratio
g_clear_error (&_inner_error_);
#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4156 "ConfigurationInterfaces.c"
+#line 4623 "ConfigurationInterfaces.c"
}
}
goto __finally112;
__catch112_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4174 "ConfigurationInterfaces.c"
+#line 4641 "ConfigurationInterfaces.c"
}
__finally112:
#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4186,30 +4653,34 @@ static void configuration_facade_real_set_display_basic_properties (Configuratio
g_clear_error (&_inner_error_);
#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4185 "ConfigurationInterfaces.c"
+#line 4652 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_basic_properties (ConfigurationFacade* self,
+ gboolean display)
+{
#line 675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_basic_properties (self, display);
-#line 4195 "ConfigurationInterfaces.c"
+#line 4665 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4217,18 +4688,16 @@ static gboolean configuration_facade_real_get_display_extended_properties (Confi
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, &_inner_error_);
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4223 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 4692 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4227 "ConfigurationInterfaces.c"
+#line 4696 "ConfigurationInterfaces.c"
goto __catch113_configuration_error;
}
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4236,35 +4705,35 @@ static gboolean configuration_facade_real_get_display_extended_properties (Confi
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 4236 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 4705 "ConfigurationInterfaces.c"
}
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4242 "ConfigurationInterfaces.c"
+#line 4711 "ConfigurationInterfaces.c"
}
goto __finally113;
__catch113_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4263 "ConfigurationInterfaces.c"
+#line 4732 "ConfigurationInterfaces.c"
}
__finally113:
#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4272,41 +4741,43 @@ static gboolean configuration_facade_real_get_display_extended_properties (Confi
#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4272 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 4741 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_extended_properties (ConfigurationFacade* self)
+{
#line 686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_extended_properties (self);
-#line 4281 "ConfigurationInterfaces.c"
+#line 4752 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, display, &_inner_error_);
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4305 "ConfigurationInterfaces.c"
+#line 4776 "ConfigurationInterfaces.c"
goto __catch114_configuration_error;
}
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4315,25 +4786,25 @@ static void configuration_facade_real_set_display_extended_properties (Configura
g_clear_error (&_inner_error_);
#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4314 "ConfigurationInterfaces.c"
+#line 4785 "ConfigurationInterfaces.c"
}
}
goto __finally114;
__catch114_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4332 "ConfigurationInterfaces.c"
+#line 4803 "ConfigurationInterfaces.c"
}
__finally114:
#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4344,30 +4815,34 @@ static void configuration_facade_real_set_display_extended_properties (Configura
g_clear_error (&_inner_error_);
#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4343 "ConfigurationInterfaces.c"
+#line 4814 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_extended_properties (ConfigurationFacade* self,
+ gboolean display)
+{
#line 696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_extended_properties (self, display);
-#line 4353 "ConfigurationInterfaces.c"
+#line 4827 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_sidebar (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4375,18 +4850,16 @@ static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFaca
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, &_inner_error_);
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4381 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 4854 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4385 "ConfigurationInterfaces.c"
+#line 4858 "ConfigurationInterfaces.c"
goto __catch115_configuration_error;
}
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4394,35 +4867,35 @@ static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFaca
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 4394 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 4867 "ConfigurationInterfaces.c"
}
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4400 "ConfigurationInterfaces.c"
+#line 4873 "ConfigurationInterfaces.c"
}
goto __finally115;
__catch115_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4421 "ConfigurationInterfaces.c"
+#line 4894 "ConfigurationInterfaces.c"
}
__finally115:
#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4430,41 +4903,43 @@ static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFaca
#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4430 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 4903 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_sidebar (ConfigurationFacade* self)
+{
#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_sidebar (self);
-#line 4439 "ConfigurationInterfaces.c"
+#line 4914 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_sidebar (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, display, &_inner_error_);
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4463 "ConfigurationInterfaces.c"
+#line 4938 "ConfigurationInterfaces.c"
goto __catch116_configuration_error;
}
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4473,25 +4948,25 @@ static void configuration_facade_real_set_display_sidebar (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4472 "ConfigurationInterfaces.c"
+#line 4947 "ConfigurationInterfaces.c"
}
}
goto __finally116;
__catch116_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4490 "ConfigurationInterfaces.c"
+#line 4965 "ConfigurationInterfaces.c"
}
__finally116:
#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4502,30 +4977,34 @@ static void configuration_facade_real_set_display_sidebar (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4501 "ConfigurationInterfaces.c"
+#line 4976 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_sidebar (ConfigurationFacade* self,
+ gboolean display)
+{
#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_sidebar (self, display);
-#line 4511 "ConfigurationInterfaces.c"
+#line 4989 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_toolbar (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4533,18 +5012,16 @@ static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFaca
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, &_inner_error_);
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4539 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5016 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4543 "ConfigurationInterfaces.c"
+#line 5020 "ConfigurationInterfaces.c"
goto __catch117_configuration_error;
}
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4552,35 +5029,35 @@ static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFaca
#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 _tmp5_;
-#line 4552 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5029 "ConfigurationInterfaces.c"
}
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4558 "ConfigurationInterfaces.c"
+#line 5035 "ConfigurationInterfaces.c"
}
goto __finally117;
__catch117_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4579 "ConfigurationInterfaces.c"
+#line 5056 "ConfigurationInterfaces.c"
}
__finally117:
#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4588,41 +5065,43 @@ static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFaca
#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4588 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5065 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_toolbar (ConfigurationFacade* self)
+{
#line 730 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 730 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_toolbar (self);
-#line 4597 "ConfigurationInterfaces.c"
+#line 5076 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_toolbar (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, display, &_inner_error_);
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4621 "ConfigurationInterfaces.c"
+#line 5100 "ConfigurationInterfaces.c"
goto __catch118_configuration_error;
}
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4631,25 +5110,25 @@ static void configuration_facade_real_set_display_toolbar (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4630 "ConfigurationInterfaces.c"
+#line 5109 "ConfigurationInterfaces.c"
}
}
goto __finally118;
__catch118_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4648 "ConfigurationInterfaces.c"
+#line 5127 "ConfigurationInterfaces.c"
}
__finally118:
#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4660,30 +5139,34 @@ static void configuration_facade_real_set_display_toolbar (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4659 "ConfigurationInterfaces.c"
+#line 5138 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_toolbar (ConfigurationFacade* self,
+ gboolean display)
+{
#line 740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_toolbar (self, display);
-#line 4669 "ConfigurationInterfaces.c"
+#line 5151 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_search_bar (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_search_bar (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4691,18 +5174,16 @@ static gboolean configuration_facade_real_get_display_search_bar (ConfigurationF
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, &_inner_error_);
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4697 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5178 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4701 "ConfigurationInterfaces.c"
+#line 5182 "ConfigurationInterfaces.c"
goto __catch119_configuration_error;
}
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4710,35 +5191,35 @@ static gboolean configuration_facade_real_get_display_search_bar (ConfigurationF
#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 _tmp5_;
-#line 4710 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5191 "ConfigurationInterfaces.c"
}
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4716 "ConfigurationInterfaces.c"
+#line 5197 "ConfigurationInterfaces.c"
}
goto __finally119;
__catch119_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4737 "ConfigurationInterfaces.c"
+#line 5218 "ConfigurationInterfaces.c"
}
__finally119:
#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4746,41 +5227,43 @@ static gboolean configuration_facade_real_get_display_search_bar (ConfigurationF
#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4746 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5227 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_search_bar (ConfigurationFacade* self)
+{
#line 751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_search_bar (self);
-#line 4755 "ConfigurationInterfaces.c"
+#line 5238 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_search_bar (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, display, &_inner_error_);
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4779 "ConfigurationInterfaces.c"
+#line 5262 "ConfigurationInterfaces.c"
goto __catch120_configuration_error;
}
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4789,25 +5272,25 @@ static void configuration_facade_real_set_display_search_bar (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4788 "ConfigurationInterfaces.c"
+#line 5271 "ConfigurationInterfaces.c"
}
}
goto __finally120;
__catch120_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4806 "ConfigurationInterfaces.c"
+#line 5289 "ConfigurationInterfaces.c"
}
__finally120:
#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4818,30 +5301,34 @@ static void configuration_facade_real_set_display_search_bar (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4817 "ConfigurationInterfaces.c"
+#line 5300 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_search_bar (ConfigurationFacade* self,
+ gboolean display)
+{
#line 761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_search_bar (self, display);
-#line 4827 "ConfigurationInterfaces.c"
+#line 5313 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4849,18 +5336,16 @@ static gboolean configuration_facade_real_get_display_photo_ratings (Configurati
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, &_inner_error_);
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4855 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5340 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4859 "ConfigurationInterfaces.c"
+#line 5344 "ConfigurationInterfaces.c"
goto __catch121_configuration_error;
}
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4868,35 +5353,35 @@ static gboolean configuration_facade_real_get_display_photo_ratings (Configurati
#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 _tmp5_;
-#line 4868 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5353 "ConfigurationInterfaces.c"
}
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4874 "ConfigurationInterfaces.c"
+#line 5359 "ConfigurationInterfaces.c"
}
goto __finally121;
__catch121_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 776 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 776 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 4895 "ConfigurationInterfaces.c"
+#line 5380 "ConfigurationInterfaces.c"
}
__finally121:
#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4904,41 +5389,43 @@ static gboolean configuration_facade_real_get_display_photo_ratings (Configurati
#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 4904 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5389 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_photo_ratings (ConfigurationFacade* self)
+{
#line 772 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 772 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_ratings (self);
-#line 4913 "ConfigurationInterfaces.c"
+#line 5400 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, display, &_inner_error_);
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4937 "ConfigurationInterfaces.c"
+#line 5424 "ConfigurationInterfaces.c"
goto __catch122_configuration_error;
}
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4947,25 +5434,25 @@ static void configuration_facade_real_set_display_photo_ratings (ConfigurationFa
g_clear_error (&_inner_error_);
#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4946 "ConfigurationInterfaces.c"
+#line 5433 "ConfigurationInterfaces.c"
}
}
goto __finally122;
__catch122_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 4964 "ConfigurationInterfaces.c"
+#line 5451 "ConfigurationInterfaces.c"
}
__finally122:
#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -4976,30 +5463,34 @@ static void configuration_facade_real_set_display_photo_ratings (ConfigurationFa
g_clear_error (&_inner_error_);
#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 4975 "ConfigurationInterfaces.c"
+#line 5462 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_photo_ratings (ConfigurationFacade* self,
+ gboolean display)
+{
#line 782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_ratings (self, display);
-#line 4985 "ConfigurationInterfaces.c"
+#line 5475 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5007,18 +5498,16 @@ static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationF
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, &_inner_error_);
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5013 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5502 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5017 "ConfigurationInterfaces.c"
+#line 5506 "ConfigurationInterfaces.c"
goto __catch123_configuration_error;
}
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5026,35 +5515,35 @@ static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationF
#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 _tmp5_;
-#line 5026 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5515 "ConfigurationInterfaces.c"
}
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5032 "ConfigurationInterfaces.c"
+#line 5521 "ConfigurationInterfaces.c"
}
goto __finally123;
__catch123_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5053 "ConfigurationInterfaces.c"
+#line 5542 "ConfigurationInterfaces.c"
}
__finally123:
#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5062,41 +5551,43 @@ static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationF
#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 5062 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5551 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_photo_tags (ConfigurationFacade* self)
+{
#line 793 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 793 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_tags (self);
-#line 5071 "ConfigurationInterfaces.c"
+#line 5562 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, display, &_inner_error_);
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5095 "ConfigurationInterfaces.c"
+#line 5586 "ConfigurationInterfaces.c"
goto __catch124_configuration_error;
}
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5105,25 +5596,25 @@ static void configuration_facade_real_set_display_photo_tags (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5104 "ConfigurationInterfaces.c"
+#line 5595 "ConfigurationInterfaces.c"
}
}
goto __finally124;
__catch124_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5122 "ConfigurationInterfaces.c"
+#line 5613 "ConfigurationInterfaces.c"
}
__finally124:
#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5134,30 +5625,34 @@ static void configuration_facade_real_set_display_photo_tags (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5133 "ConfigurationInterfaces.c"
+#line 5624 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_photo_tags (ConfigurationFacade* self,
+ gboolean display)
+{
#line 803 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 803 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_tags (self, display);
-#line 5143 "ConfigurationInterfaces.c"
+#line 5637 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5165,18 +5660,16 @@ static gboolean configuration_facade_real_get_display_photo_titles (Configuratio
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, &_inner_error_);
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5171 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5664 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5175 "ConfigurationInterfaces.c"
+#line 5668 "ConfigurationInterfaces.c"
goto __catch125_configuration_error;
}
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5184,35 +5677,35 @@ static gboolean configuration_facade_real_get_display_photo_titles (Configuratio
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 5184 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5677 "ConfigurationInterfaces.c"
}
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5190 "ConfigurationInterfaces.c"
+#line 5683 "ConfigurationInterfaces.c"
}
goto __finally125;
__catch125_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5211 "ConfigurationInterfaces.c"
+#line 5704 "ConfigurationInterfaces.c"
}
__finally125:
#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5220,41 +5713,43 @@ static gboolean configuration_facade_real_get_display_photo_titles (Configuratio
#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 5220 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5713 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_photo_titles (ConfigurationFacade* self)
+{
#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_titles (self);
-#line 5229 "ConfigurationInterfaces.c"
+#line 5724 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, display, &_inner_error_);
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5253 "ConfigurationInterfaces.c"
+#line 5748 "ConfigurationInterfaces.c"
goto __catch126_configuration_error;
}
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5263,25 +5758,25 @@ static void configuration_facade_real_set_display_photo_titles (ConfigurationFac
g_clear_error (&_inner_error_);
#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5262 "ConfigurationInterfaces.c"
+#line 5757 "ConfigurationInterfaces.c"
}
}
goto __finally126;
__catch126_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5280 "ConfigurationInterfaces.c"
+#line 5775 "ConfigurationInterfaces.c"
}
__finally126:
#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5292,30 +5787,34 @@ static void configuration_facade_real_set_display_photo_titles (ConfigurationFac
g_clear_error (&_inner_error_);
#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5291 "ConfigurationInterfaces.c"
+#line 5786 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_photo_titles (ConfigurationFacade* self,
+ gboolean display)
+{
#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_titles (self, display);
-#line 5301 "ConfigurationInterfaces.c"
+#line 5799 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5323,18 +5822,16 @@ static gboolean configuration_facade_real_get_display_photo_comments (Configurat
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, &_inner_error_);
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5329 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5826 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5333 "ConfigurationInterfaces.c"
+#line 5830 "ConfigurationInterfaces.c"
goto __catch127_configuration_error;
}
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5342,35 +5839,35 @@ static gboolean configuration_facade_real_get_display_photo_comments (Configurat
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 5342 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 5839 "ConfigurationInterfaces.c"
}
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5348 "ConfigurationInterfaces.c"
+#line 5845 "ConfigurationInterfaces.c"
}
goto __finally127;
__catch127_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 839 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 839 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5369 "ConfigurationInterfaces.c"
+#line 5866 "ConfigurationInterfaces.c"
}
__finally127:
#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5378,41 +5875,43 @@ static gboolean configuration_facade_real_get_display_photo_comments (Configurat
#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 5378 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 5875 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_photo_comments (ConfigurationFacade* self)
+{
#line 835 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 835 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_comments (self);
-#line 5387 "ConfigurationInterfaces.c"
+#line 5886 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, display, &_inner_error_);
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5411 "ConfigurationInterfaces.c"
+#line 5910 "ConfigurationInterfaces.c"
goto __catch128_configuration_error;
}
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5421,25 +5920,25 @@ static void configuration_facade_real_set_display_photo_comments (ConfigurationF
g_clear_error (&_inner_error_);
#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5420 "ConfigurationInterfaces.c"
+#line 5919 "ConfigurationInterfaces.c"
}
}
goto __finally128;
__catch128_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5438 "ConfigurationInterfaces.c"
+#line 5937 "ConfigurationInterfaces.c"
}
__finally128:
#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5450,30 +5949,34 @@ static void configuration_facade_real_set_display_photo_comments (ConfigurationF
g_clear_error (&_inner_error_);
#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5449 "ConfigurationInterfaces.c"
+#line 5948 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_photo_comments (ConfigurationFacade* self,
+ gboolean display)
+{
#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_comments (self, display);
-#line 5459 "ConfigurationInterfaces.c"
+#line 5961 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_display_event_comments (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_display_event_comments (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5481,18 +5984,16 @@ static gboolean configuration_facade_real_get_display_event_comments (Configurat
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, &_inner_error_);
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5487 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 5988 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5491 "ConfigurationInterfaces.c"
+#line 5992 "ConfigurationInterfaces.c"
goto __catch129_configuration_error;
}
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5500,35 +6001,35 @@ static gboolean configuration_facade_real_get_display_event_comments (Configurat
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 5500 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 6001 "ConfigurationInterfaces.c"
}
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5506 "ConfigurationInterfaces.c"
+#line 6007 "ConfigurationInterfaces.c"
}
goto __finally129;
__catch129_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5527 "ConfigurationInterfaces.c"
+#line 6028 "ConfigurationInterfaces.c"
}
__finally129:
#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5536,41 +6037,43 @@ static gboolean configuration_facade_real_get_display_event_comments (Configurat
#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 5536 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 6037 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_display_event_comments (ConfigurationFacade* self)
+{
#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_event_comments (self);
-#line 5545 "ConfigurationInterfaces.c"
+#line 6048 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, gboolean display) {
+static void
+configuration_facade_real_set_display_event_comments (ConfigurationFacade* self,
+ gboolean display)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = display;
-#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, display, &_inner_error_);
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5569 "ConfigurationInterfaces.c"
+#line 6072 "ConfigurationInterfaces.c"
goto __catch130_configuration_error;
}
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5579,25 +6082,25 @@ static void configuration_facade_real_set_display_event_comments (ConfigurationF
g_clear_error (&_inner_error_);
#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5578 "ConfigurationInterfaces.c"
+#line 6081 "ConfigurationInterfaces.c"
}
}
goto __finally130;
__catch130_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5596 "ConfigurationInterfaces.c"
+#line 6099 "ConfigurationInterfaces.c"
}
__finally130:
#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5608,21 +6111,28 @@ static void configuration_facade_real_set_display_event_comments (ConfigurationF
g_clear_error (&_inner_error_);
#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5607 "ConfigurationInterfaces.c"
+#line 6110 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display) {
+void
+configuration_facade_set_display_event_comments (ConfigurationFacade* self,
+ gboolean display)
+{
#line 866 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 866 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_display_event_comments (self, display);
-#line 5617 "ConfigurationInterfaces.c"
+#line 6123 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
gboolean _vala_sort_order = FALSE;
gint _vala_sort_by = 0;
GError * _inner_error_ = NULL;
@@ -5630,18 +6140,16 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade
_vala_sort_order = FALSE;
#line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_sort_by = 2;
-#line 5629 "ConfigurationInterfaces.c"
+#line 6139 "ConfigurationInterfaces.c"
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
- gint _tmp5_ = 0;
+ gint _tmp4_ = 0;
+ ConfigurationEngine* _tmp5_;
ConfigurationEngine* _tmp6_;
- ConfigurationEngine* _tmp7_;
- gint _tmp8_;
- gint _tmp9_;
+ gint _tmp7_;
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5649,16 +6157,14 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, &_inner_error_);
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5657 "ConfigurationInterfaces.c"
+#line 6163 "ConfigurationInterfaces.c"
goto __catch131_configuration_error;
}
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5667,27 +6173,25 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5666 "ConfigurationInterfaces.c"
+#line 6172 "ConfigurationInterfaces.c"
}
#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_sort_order = _tmp0_;
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_facade_get_engine (self);
-#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp5_ = configuration_facade_get_engine (self);
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_);
+ _tmp6_ = _tmp5_;
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = _tmp8_;
+ _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_);
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp7_);
+ _g_object_unref0 (_tmp6_);
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = _tmp9_;
+ _tmp4_ = _tmp7_;
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5686 "ConfigurationInterfaces.c"
+#line 6190 "ConfigurationInterfaces.c"
goto __catch131_configuration_error;
}
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5696,28 +6200,28 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5695 "ConfigurationInterfaces.c"
+#line 6199 "ConfigurationInterfaces.c"
}
#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _vala_sort_by = _tmp5_;
-#line 5699 "ConfigurationInterfaces.c"
+ _vala_sort_by = _tmp4_;
+#line 6203 "ConfigurationInterfaces.c"
}
goto __finally131;
__catch131_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
+ GError* _tmp8_;
#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 885 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = err;
+ _tmp8_ = err;
#line 885 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp10_);
+ configuration_facade_on_configuration_error (self, _tmp8_);
#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5716 "ConfigurationInterfaces.c"
+#line 6220 "ConfigurationInterfaces.c"
}
__finally131:
#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5728,56 +6232,60 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5727 "ConfigurationInterfaces.c"
+#line 6231 "ConfigurationInterfaces.c"
}
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (sort_order) {
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*sort_order = _vala_sort_order;
-#line 5733 "ConfigurationInterfaces.c"
+#line 6237 "ConfigurationInterfaces.c"
}
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (sort_by) {
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*sort_by = _vala_sort_by;
-#line 5739 "ConfigurationInterfaces.c"
+#line 6243 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) {
+void
+configuration_facade_get_event_photos_sort (ConfigurationFacade* self,
+ gboolean* sort_order,
+ gint* sort_by)
+{
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->get_event_photos_sort (self, sort_order, sort_by);
-#line 5749 "ConfigurationInterfaces.c"
+#line 6257 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
- gint _tmp5_;
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = sort_order;
-#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, sort_order, &_inner_error_);
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5776 "ConfigurationInterfaces.c"
+#line 6284 "ConfigurationInterfaces.c"
goto __catch132_configuration_error;
}
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5786,23 +6294,21 @@ static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5785 "ConfigurationInterfaces.c"
+#line 6293 "ConfigurationInterfaces.c"
}
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
+ _tmp2_ = configuration_facade_get_engine (self);
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = sort_by;
+ _tmp3_ = _tmp2_;
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, _tmp5_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, sort_by, &_inner_error_);
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5801 "ConfigurationInterfaces.c"
+#line 6307 "ConfigurationInterfaces.c"
goto __catch132_configuration_error;
}
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5811,25 +6317,25 @@ static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5810 "ConfigurationInterfaces.c"
+#line 6316 "ConfigurationInterfaces.c"
}
}
goto __finally132;
__catch132_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp4_;
#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp4_ = err;
#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 5828 "ConfigurationInterfaces.c"
+#line 6334 "ConfigurationInterfaces.c"
}
__finally132:
#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5840,30 +6346,35 @@ static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5839 "ConfigurationInterfaces.c"
+#line 6345 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_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)
+{
#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_event_photos_sort (self, sort_order, sort_by);
-#line 5849 "ConfigurationInterfaces.c"
+#line 6359 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5871,18 +6382,16 @@ static gboolean configuration_facade_real_get_events_sort_ascending (Configurati
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, &_inner_error_);
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5877 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 6386 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5881 "ConfigurationInterfaces.c"
+#line 6390 "ConfigurationInterfaces.c"
goto __catch133_configuration_error;
}
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5890,35 +6399,35 @@ static gboolean configuration_facade_real_get_events_sort_ascending (Configurati
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 5890 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 6399 "ConfigurationInterfaces.c"
}
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5896 "ConfigurationInterfaces.c"
+#line 6405 "ConfigurationInterfaces.c"
}
goto __finally133;
__catch133_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 5917 "ConfigurationInterfaces.c"
+#line 6426 "ConfigurationInterfaces.c"
}
__finally133:
#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5926,41 +6435,43 @@ static gboolean configuration_facade_real_get_events_sort_ascending (Configurati
#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 5926 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 6435 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_events_sort_ascending (ConfigurationFacade* self)
+{
#line 903 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 903 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_events_sort_ascending (self);
-#line 5935 "ConfigurationInterfaces.c"
+#line 6446 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) {
+static void
+configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self,
+ gboolean sort)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = sort;
-#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, sort, &_inner_error_);
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5959 "ConfigurationInterfaces.c"
+#line 6470 "ConfigurationInterfaces.c"
goto __catch134_configuration_error;
}
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -5969,27 +6480,27 @@ static void configuration_facade_real_set_events_sort_ascending (ConfigurationFa
g_clear_error (&_inner_error_);
#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5968 "ConfigurationInterfaces.c"
+#line 6479 "ConfigurationInterfaces.c"
}
}
goto __finally134;
__catch134_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5988 "ConfigurationInterfaces.c"
+#line 6499 "ConfigurationInterfaces.c"
}
__finally134:
#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6000,21 +6511,26 @@ static void configuration_facade_real_set_events_sort_ascending (ConfigurationFa
g_clear_error (&_inner_error_);
#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 5999 "ConfigurationInterfaces.c"
+#line 6510 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) {
+void
+configuration_facade_set_events_sort_ascending (ConfigurationFacade* self,
+ gboolean sort)
+{
#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_events_sort_ascending (self, sort);
-#line 6009 "ConfigurationInterfaces.c"
+#line 6523 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_external_photo_app (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -6040,7 +6556,7 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6039 "ConfigurationInterfaces.c"
+#line 6555 "ConfigurationInterfaces.c"
goto __catch135_configuration_error;
}
#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6049,7 +6565,7 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac
g_clear_error (&_inner_error_);
#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 6048 "ConfigurationInterfaces.c"
+#line 6564 "ConfigurationInterfaces.c"
}
#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -6061,7 +6577,7 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac
_g_free0 (_tmp0_);
#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6060 "ConfigurationInterfaces.c"
+#line 6576 "ConfigurationInterfaces.c"
}
goto __finally135;
__catch135_configuration_error:
@@ -6085,7 +6601,7 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac
_g_error_free0 (err);
#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6084 "ConfigurationInterfaces.c"
+#line 6600 "ConfigurationInterfaces.c"
}
__finally135:
#line 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6094,43 +6610,45 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac
g_clear_error (&_inner_error_);
#line 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 6093 "ConfigurationInterfaces.c"
+#line 6609 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_external_photo_app (ConfigurationFacade* self)
+{
#line 925 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 925 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_photo_app (self);
-#line 6102 "ConfigurationInterfaces.c"
+#line 6620 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (external_photo_app != NULL);
-#line 6110 "ConfigurationInterfaces.c"
+#line 6631 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = external_photo_app;
-#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, external_photo_app, &_inner_error_);
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6129 "ConfigurationInterfaces.c"
+#line 6647 "ConfigurationInterfaces.c"
goto __catch136_configuration_error;
}
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6139,27 +6657,27 @@ static void configuration_facade_real_set_external_photo_app (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6138 "ConfigurationInterfaces.c"
+#line 6656 "ConfigurationInterfaces.c"
}
}
goto __finally136;
__catch136_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6158 "ConfigurationInterfaces.c"
+#line 6676 "ConfigurationInterfaces.c"
}
__finally136:
#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6170,21 +6688,26 @@ static void configuration_facade_real_set_external_photo_app (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6169 "ConfigurationInterfaces.c"
+#line 6687 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) {
+void
+configuration_facade_set_external_photo_app (ConfigurationFacade* self,
+ const gchar* external_photo_app)
+{
#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_external_photo_app (self, external_photo_app);
-#line 6179 "ConfigurationInterfaces.c"
+#line 6700 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_external_raw_app (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -6210,7 +6733,7 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6209 "ConfigurationInterfaces.c"
+#line 6732 "ConfigurationInterfaces.c"
goto __catch137_configuration_error;
}
#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6219,7 +6742,7 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 6218 "ConfigurationInterfaces.c"
+#line 6741 "ConfigurationInterfaces.c"
}
#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -6231,7 +6754,7 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad
_g_free0 (_tmp0_);
#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6230 "ConfigurationInterfaces.c"
+#line 6753 "ConfigurationInterfaces.c"
}
goto __finally137;
__catch137_configuration_error:
@@ -6255,7 +6778,7 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad
_g_error_free0 (err);
#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6254 "ConfigurationInterfaces.c"
+#line 6777 "ConfigurationInterfaces.c"
}
__finally137:
#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6264,43 +6787,45 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad
g_clear_error (&_inner_error_);
#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 6263 "ConfigurationInterfaces.c"
+#line 6786 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_external_raw_app (ConfigurationFacade* self)
+{
#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_raw_app (self);
-#line 6272 "ConfigurationInterfaces.c"
+#line 6797 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (external_raw_app != NULL);
-#line 6280 "ConfigurationInterfaces.c"
+#line 6808 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = external_raw_app;
-#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, external_raw_app, &_inner_error_);
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6299 "ConfigurationInterfaces.c"
+#line 6824 "ConfigurationInterfaces.c"
goto __catch138_configuration_error;
}
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6309,27 +6834,27 @@ static void configuration_facade_real_set_external_raw_app (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6308 "ConfigurationInterfaces.c"
+#line 6833 "ConfigurationInterfaces.c"
}
}
goto __finally138;
__catch138_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 963 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 963 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 964 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 964 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6328 "ConfigurationInterfaces.c"
+#line 6853 "ConfigurationInterfaces.c"
}
__finally138:
#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6340,21 +6865,26 @@ static void configuration_facade_real_set_external_raw_app (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6339 "ConfigurationInterfaces.c"
+#line 6864 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) {
+void
+configuration_facade_set_external_raw_app (ConfigurationFacade* self,
+ const gchar* external_raw_app)
+{
#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_external_raw_app (self, external_raw_app);
-#line 6349 "ConfigurationInterfaces.c"
+#line 6877 "ConfigurationInterfaces.c"
}
-static ScaleConstraint configuration_facade_real_get_export_constraint (ConfigurationFacade* self) {
+static ScaleConstraint
+configuration_facade_real_get_export_constraint (ConfigurationFacade* self)
+{
ScaleConstraint result = 0;
GError * _inner_error_ = NULL;
{
@@ -6362,7 +6892,6 @@ static ScaleConstraint configuration_facade_real_get_export_constraint (Configur
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6370,16 +6899,14 @@ static ScaleConstraint configuration_facade_real_get_export_constraint (Configur
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, &_inner_error_);
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6378 "ConfigurationInterfaces.c"
+#line 6905 "ConfigurationInterfaces.c"
goto __catch139_configuration_error;
}
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6388,34 +6915,34 @@ static ScaleConstraint configuration_facade_real_get_export_constraint (Configur
g_clear_error (&_inner_error_);
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6387 "ConfigurationInterfaces.c"
+#line 6914 "ConfigurationInterfaces.c"
}
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = (ScaleConstraint) _tmp0_;
#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6393 "ConfigurationInterfaces.c"
+#line 6920 "ConfigurationInterfaces.c"
}
goto __finally139;
__catch139_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 975 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 975 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6414 "ConfigurationInterfaces.c"
+#line 6941 "ConfigurationInterfaces.c"
}
__finally139:
#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6424,40 +6951,42 @@ static ScaleConstraint configuration_facade_real_get_export_constraint (Configur
g_clear_error (&_inner_error_);
#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6423 "ConfigurationInterfaces.c"
+#line 6950 "ConfigurationInterfaces.c"
}
-ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self) {
+ScaleConstraint
+configuration_facade_get_export_constraint (ConfigurationFacade* self)
+{
#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_constraint (self);
-#line 6432 "ConfigurationInterfaces.c"
+#line 6961 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) {
+static void
+configuration_facade_real_set_export_constraint (ConfigurationFacade* self,
+ ScaleConstraint constraint)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- ScaleConstraint _tmp2_;
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = constraint;
-#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, (gint) _tmp2_, &_inner_error_);
+ configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, (gint) constraint, &_inner_error_);
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6456 "ConfigurationInterfaces.c"
+#line 6985 "ConfigurationInterfaces.c"
goto __catch140_configuration_error;
}
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6466,27 +6995,27 @@ static void configuration_facade_real_set_export_constraint (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6465 "ConfigurationInterfaces.c"
+#line 6994 "ConfigurationInterfaces.c"
}
}
goto __finally140;
__catch140_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6485 "ConfigurationInterfaces.c"
+#line 7014 "ConfigurationInterfaces.c"
}
__finally140:
#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6497,21 +7026,26 @@ static void configuration_facade_real_set_export_constraint (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6496 "ConfigurationInterfaces.c"
+#line 7025 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) {
+void
+configuration_facade_set_export_constraint (ConfigurationFacade* self,
+ ScaleConstraint constraint)
+{
#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_constraint (self, constraint);
-#line 6506 "ConfigurationInterfaces.c"
+#line 7038 "ConfigurationInterfaces.c"
}
-static ExportFormatMode configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self) {
+static ExportFormatMode
+configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self)
+{
ExportFormatMode result = 0;
GError * _inner_error_ = NULL;
{
@@ -6519,7 +7053,6 @@ static ExportFormatMode configuration_facade_real_get_export_export_format_mode
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6527,16 +7060,14 @@ static ExportFormatMode configuration_facade_real_get_export_export_format_mode
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, &_inner_error_);
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6535 "ConfigurationInterfaces.c"
+#line 7066 "ConfigurationInterfaces.c"
goto __catch141_configuration_error;
}
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6545,34 +7076,34 @@ static ExportFormatMode configuration_facade_real_get_export_export_format_mode
g_clear_error (&_inner_error_);
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6544 "ConfigurationInterfaces.c"
+#line 7075 "ConfigurationInterfaces.c"
}
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = (ExportFormatMode) _tmp0_;
#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6550 "ConfigurationInterfaces.c"
+#line 7081 "ConfigurationInterfaces.c"
}
goto __finally141;
__catch141_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6571 "ConfigurationInterfaces.c"
+#line 7102 "ConfigurationInterfaces.c"
}
__finally141:
#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6581,40 +7112,42 @@ static ExportFormatMode configuration_facade_real_get_export_export_format_mode
g_clear_error (&_inner_error_);
#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6580 "ConfigurationInterfaces.c"
+#line 7111 "ConfigurationInterfaces.c"
}
-ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self) {
+ExportFormatMode
+configuration_facade_get_export_export_format_mode (ConfigurationFacade* self)
+{
#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_format_mode (self);
-#line 6589 "ConfigurationInterfaces.c"
+#line 7122 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- ExportFormatMode _tmp2_;
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = export_format_mode;
-#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, (gint) _tmp2_, &_inner_error_);
+ configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, (gint) export_format_mode, &_inner_error_);
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6613 "ConfigurationInterfaces.c"
+#line 7146 "ConfigurationInterfaces.c"
goto __catch142_configuration_error;
}
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6623,27 +7156,27 @@ static void configuration_facade_real_set_export_export_format_mode (Configurati
g_clear_error (&_inner_error_);
#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6622 "ConfigurationInterfaces.c"
+#line 7155 "ConfigurationInterfaces.c"
}
}
goto __finally142;
__catch142_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6642 "ConfigurationInterfaces.c"
+#line 7175 "ConfigurationInterfaces.c"
}
__finally142:
#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6654,30 +7187,34 @@ static void configuration_facade_real_set_export_export_format_mode (Configurati
g_clear_error (&_inner_error_);
#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6653 "ConfigurationInterfaces.c"
+#line 7186 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode) {
+void
+configuration_facade_set_export_export_format_mode (ConfigurationFacade* self,
+ ExportFormatMode export_format_mode)
+{
#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_format_mode (self, export_format_mode);
-#line 6663 "ConfigurationInterfaces.c"
+#line 7199 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6685,18 +7222,16 @@ static gboolean configuration_facade_real_get_export_export_metadata (Configurat
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, &_inner_error_);
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6691 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 7226 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6695 "ConfigurationInterfaces.c"
+#line 7230 "ConfigurationInterfaces.c"
goto __catch143_configuration_error;
}
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6704,35 +7239,35 @@ static gboolean configuration_facade_real_get_export_export_metadata (Configurat
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 6704 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 7239 "ConfigurationInterfaces.c"
}
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6710 "ConfigurationInterfaces.c"
+#line 7245 "ConfigurationInterfaces.c"
}
goto __finally143;
__catch143_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6731 "ConfigurationInterfaces.c"
+#line 7266 "ConfigurationInterfaces.c"
}
__finally143:
#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6740,41 +7275,43 @@ static gboolean configuration_facade_real_get_export_export_metadata (Configurat
#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 6740 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 7275 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_export_export_metadata (ConfigurationFacade* self)
+{
#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_metadata (self);
-#line 6749 "ConfigurationInterfaces.c"
+#line 7286 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) {
+static void
+configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self,
+ gboolean export_metadata)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = export_metadata;
-#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, export_metadata, &_inner_error_);
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6773 "ConfigurationInterfaces.c"
+#line 7310 "ConfigurationInterfaces.c"
goto __catch144_configuration_error;
}
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6783,27 +7320,27 @@ static void configuration_facade_real_set_export_export_metadata (ConfigurationF
g_clear_error (&_inner_error_);
#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6782 "ConfigurationInterfaces.c"
+#line 7319 "ConfigurationInterfaces.c"
}
}
goto __finally144;
__catch144_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6802 "ConfigurationInterfaces.c"
+#line 7339 "ConfigurationInterfaces.c"
}
__finally144:
#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6814,21 +7351,26 @@ static void configuration_facade_real_set_export_export_metadata (ConfigurationF
g_clear_error (&_inner_error_);
#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6813 "ConfigurationInterfaces.c"
+#line 7350 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) {
+void
+configuration_facade_set_export_export_metadata (ConfigurationFacade* self,
+ gboolean export_metadata)
+{
#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_metadata (self, export_metadata);
-#line 6823 "ConfigurationInterfaces.c"
+#line 7363 "ConfigurationInterfaces.c"
}
-static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self) {
+static PhotoFileFormat
+configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self)
+{
PhotoFileFormat result = 0;
GError * _inner_error_ = NULL;
{
@@ -6836,8 +7378,6 @@ static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (C
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
- PhotoFileFormat _tmp5_;
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6845,16 +7385,14 @@ static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (C
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, &_inner_error_);
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6853 "ConfigurationInterfaces.c"
+#line 7391 "ConfigurationInterfaces.c"
goto __catch145_configuration_error;
}
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6863,36 +7401,34 @@ static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (C
g_clear_error (&_inner_error_);
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6862 "ConfigurationInterfaces.c"
+#line 7400 "ConfigurationInterfaces.c"
}
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = photo_file_format_unserialize (_tmp0_);
-#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp5_;
+ result = photo_file_format_unserialize (_tmp0_);
#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6870 "ConfigurationInterfaces.c"
+#line 7406 "ConfigurationInterfaces.c"
}
goto __finally145;
__catch145_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp4_;
#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1032 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp4_ = err;
#line 1032 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 6891 "ConfigurationInterfaces.c"
+#line 7427 "ConfigurationInterfaces.c"
}
__finally145:
#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6901,43 +7437,42 @@ static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (C
g_clear_error (&_inner_error_);
#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 6900 "ConfigurationInterfaces.c"
+#line 7436 "ConfigurationInterfaces.c"
}
-PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self) {
+PhotoFileFormat
+configuration_facade_get_export_photo_file_format (ConfigurationFacade* self)
+{
#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_photo_file_format (self);
-#line 6909 "ConfigurationInterfaces.c"
+#line 7447 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- PhotoFileFormat _tmp2_;
- gint _tmp3_;
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = photo_file_format;
-#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = photo_file_format_serialize (_tmp2_);
-#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, _tmp3_, &_inner_error_);
+ configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, photo_file_format_serialize (photo_file_format), &_inner_error_);
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 6936 "ConfigurationInterfaces.c"
+#line 7471 "ConfigurationInterfaces.c"
goto __catch146_configuration_error;
}
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6946,27 +7481,27 @@ static void configuration_facade_real_set_export_photo_file_format (Configuratio
g_clear_error (&_inner_error_);
#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6945 "ConfigurationInterfaces.c"
+#line 7480 "ConfigurationInterfaces.c"
}
}
goto __finally146;
__catch146_configuration_error:
{
GError* err = NULL;
- GError* _tmp4_;
+ GError* _tmp2_;
#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = err;
+ _tmp2_ = err;
#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp4_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6965 "ConfigurationInterfaces.c"
+#line 7500 "ConfigurationInterfaces.c"
}
__finally146:
#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -6977,21 +7512,26 @@ static void configuration_facade_real_set_export_photo_file_format (Configuratio
g_clear_error (&_inner_error_);
#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 6976 "ConfigurationInterfaces.c"
+#line 7511 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format) {
+void
+configuration_facade_set_export_photo_file_format (ConfigurationFacade* self,
+ PhotoFileFormat photo_file_format)
+{
#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_photo_file_format (self, photo_file_format);
-#line 6986 "ConfigurationInterfaces.c"
+#line 7524 "ConfigurationInterfaces.c"
}
-static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFacade* self) {
+static JpegQuality
+configuration_facade_real_get_export_quality (ConfigurationFacade* self)
+{
JpegQuality result = 0;
GError * _inner_error_ = NULL;
{
@@ -6999,7 +7539,6 @@ static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFa
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7007,16 +7546,14 @@ static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFa
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, &_inner_error_);
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7015 "ConfigurationInterfaces.c"
+#line 7552 "ConfigurationInterfaces.c"
goto __catch147_configuration_error;
}
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7025,34 +7562,34 @@ static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 7024 "ConfigurationInterfaces.c"
+#line 7561 "ConfigurationInterfaces.c"
}
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = (JpegQuality) _tmp0_;
#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7030 "ConfigurationInterfaces.c"
+#line 7567 "ConfigurationInterfaces.c"
}
goto __finally147;
__catch147_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7051 "ConfigurationInterfaces.c"
+#line 7588 "ConfigurationInterfaces.c"
}
__finally147:
#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7061,40 +7598,42 @@ static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 7060 "ConfigurationInterfaces.c"
+#line 7597 "ConfigurationInterfaces.c"
}
-JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self) {
+JpegQuality
+configuration_facade_get_export_quality (ConfigurationFacade* self)
+{
#line 1047 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1047 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_quality (self);
-#line 7069 "ConfigurationInterfaces.c"
+#line 7608 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_export_quality (ConfigurationFacade* self, JpegQuality quality) {
+static void
+configuration_facade_real_set_export_quality (ConfigurationFacade* self,
+ JpegQuality quality)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- JpegQuality _tmp2_;
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = quality;
-#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, (gint) _tmp2_, &_inner_error_);
+ configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, (gint) quality, &_inner_error_);
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7093 "ConfigurationInterfaces.c"
+#line 7632 "ConfigurationInterfaces.c"
goto __catch148_configuration_error;
}
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7103,27 +7642,27 @@ static void configuration_facade_real_set_export_quality (ConfigurationFacade* s
g_clear_error (&_inner_error_);
#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7102 "ConfigurationInterfaces.c"
+#line 7641 "ConfigurationInterfaces.c"
}
}
goto __finally148;
__catch148_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7122 "ConfigurationInterfaces.c"
+#line 7661 "ConfigurationInterfaces.c"
}
__finally148:
#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7134,30 +7673,34 @@ static void configuration_facade_real_set_export_quality (ConfigurationFacade* s
g_clear_error (&_inner_error_);
#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7133 "ConfigurationInterfaces.c"
+#line 7672 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality) {
+void
+configuration_facade_set_export_quality (ConfigurationFacade* self,
+ JpegQuality quality)
+{
#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_quality (self, quality);
-#line 7143 "ConfigurationInterfaces.c"
+#line 7685 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_export_scale (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_export_scale (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7165,18 +7708,16 @@ static gint configuration_facade_real_get_export_scale (ConfigurationFacade* sel
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, &_inner_error_);
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7171 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 7712 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7175 "ConfigurationInterfaces.c"
+#line 7716 "ConfigurationInterfaces.c"
goto __catch149_configuration_error;
}
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7184,35 +7725,35 @@ static gint configuration_facade_real_get_export_scale (ConfigurationFacade* sel
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 7184 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 7725 "ConfigurationInterfaces.c"
}
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7190 "ConfigurationInterfaces.c"
+#line 7731 "ConfigurationInterfaces.c"
}
goto __finally149;
__catch149_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7211 "ConfigurationInterfaces.c"
+#line 7752 "ConfigurationInterfaces.c"
}
__finally149:
#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7220,41 +7761,43 @@ static gint configuration_facade_real_get_export_scale (ConfigurationFacade* sel
#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 7220 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 7761 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_export_scale (ConfigurationFacade* self) {
+gint
+configuration_facade_get_export_scale (ConfigurationFacade* self)
+{
#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_scale (self);
-#line 7229 "ConfigurationInterfaces.c"
+#line 7772 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_export_scale (ConfigurationFacade* self, gint scale) {
+static void
+configuration_facade_real_set_export_scale (ConfigurationFacade* self,
+ gint scale)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = scale;
-#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, scale, &_inner_error_);
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7253 "ConfigurationInterfaces.c"
+#line 7796 "ConfigurationInterfaces.c"
goto __catch150_configuration_error;
}
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7263,27 +7806,27 @@ static void configuration_facade_real_set_export_scale (ConfigurationFacade* sel
g_clear_error (&_inner_error_);
#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7262 "ConfigurationInterfaces.c"
+#line 7805 "ConfigurationInterfaces.c"
}
}
goto __finally150;
__catch150_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1080 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1080 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7282 "ConfigurationInterfaces.c"
+#line 7825 "ConfigurationInterfaces.c"
}
__finally150:
#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7294,21 +7837,26 @@ static void configuration_facade_real_set_export_scale (ConfigurationFacade* sel
g_clear_error (&_inner_error_);
#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7293 "ConfigurationInterfaces.c"
+#line 7836 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale) {
+void
+configuration_facade_set_export_scale (ConfigurationFacade* self,
+ gint scale)
+{
#line 1076 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1076 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_export_scale (self, scale);
-#line 7303 "ConfigurationInterfaces.c"
+#line 7849 "ConfigurationInterfaces.c"
}
-static RawDeveloper configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self) {
+static RawDeveloper
+configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self)
+{
RawDeveloper result = 0;
GError * _inner_error_ = NULL;
{
@@ -7317,7 +7865,6 @@ static RawDeveloper configuration_facade_real_get_default_raw_developer (Configu
ConfigurationEngine* _tmp2_;
gchar* _tmp3_;
gchar* _tmp4_;
- RawDeveloper _tmp5_;
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7334,7 +7881,7 @@ static RawDeveloper configuration_facade_real_get_default_raw_developer (Configu
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7333 "ConfigurationInterfaces.c"
+#line 7880 "ConfigurationInterfaces.c"
goto __catch151_configuration_error;
}
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7343,38 +7890,36 @@ static RawDeveloper configuration_facade_real_get_default_raw_developer (Configu
g_clear_error (&_inner_error_);
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 7342 "ConfigurationInterfaces.c"
+#line 7889 "ConfigurationInterfaces.c"
}
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = raw_developer_from_string (_tmp0_);
-#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp5_;
+ result = raw_developer_from_string (_tmp0_);
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_free0 (_tmp0_);
#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7352 "ConfigurationInterfaces.c"
+#line 7897 "ConfigurationInterfaces.c"
}
goto __finally151;
__catch151_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = RAW_DEVELOPER_CAMERA;
#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7373 "ConfigurationInterfaces.c"
+#line 7918 "ConfigurationInterfaces.c"
}
__finally151:
#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7383,48 +7928,50 @@ static RawDeveloper configuration_facade_real_get_default_raw_developer (Configu
g_clear_error (&_inner_error_);
#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return 0;
-#line 7382 "ConfigurationInterfaces.c"
+#line 7927 "ConfigurationInterfaces.c"
}
-RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self) {
+RawDeveloper
+configuration_facade_get_default_raw_developer (ConfigurationFacade* self)
+{
#line 1088 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1088 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_default_raw_developer (self);
-#line 7391 "ConfigurationInterfaces.c"
+#line 7938 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) {
+static void
+configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self,
+ RawDeveloper d)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- RawDeveloper _tmp2_;
+ gchar* _tmp2_;
gchar* _tmp3_;
- gchar* _tmp4_;
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = d;
-#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = raw_developer_to_string (_tmp2_);
+ _tmp2_ = raw_developer_to_string (d);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp4_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp3_, &_inner_error_);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp4_);
+ _g_free0 (_tmp3_);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7423 "ConfigurationInterfaces.c"
+#line 7970 "ConfigurationInterfaces.c"
goto __catch152_configuration_error;
}
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7433,27 +7980,27 @@ static void configuration_facade_real_set_default_raw_developer (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7432 "ConfigurationInterfaces.c"
+#line 7979 "ConfigurationInterfaces.c"
}
}
goto __finally152;
__catch152_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
+ GError* _tmp4_;
#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = err;
+ _tmp4_ = err;
#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp5_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7452 "ConfigurationInterfaces.c"
+#line 7999 "ConfigurationInterfaces.c"
}
__finally152:
#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7464,30 +8011,34 @@ static void configuration_facade_real_set_default_raw_developer (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7463 "ConfigurationInterfaces.c"
+#line 8010 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) {
+void
+configuration_facade_set_default_raw_developer (ConfigurationFacade* self,
+ RawDeveloper d)
+{
#line 1099 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1099 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_default_raw_developer (self, d);
-#line 7473 "ConfigurationInterfaces.c"
+#line 8023 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7495,18 +8046,16 @@ static gboolean configuration_facade_real_get_hide_photos_already_imported (Conf
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, &_inner_error_);
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7501 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 8050 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7505 "ConfigurationInterfaces.c"
+#line 8054 "ConfigurationInterfaces.c"
goto __catch153_configuration_error;
}
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7514,35 +8063,35 @@ static gboolean configuration_facade_real_get_hide_photos_already_imported (Conf
#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 _tmp5_;
-#line 7514 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 8063 "ConfigurationInterfaces.c"
}
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7520 "ConfigurationInterfaces.c"
+#line 8069 "ConfigurationInterfaces.c"
}
goto __finally153;
__catch153_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7541 "ConfigurationInterfaces.c"
+#line 8090 "ConfigurationInterfaces.c"
}
__finally153:
#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7550,41 +8099,43 @@ static gboolean configuration_facade_real_get_hide_photos_already_imported (Conf
#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 7550 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 8099 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self)
+{
#line 1112 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1112 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_hide_photos_already_imported (self);
-#line 7559 "ConfigurationInterfaces.c"
+#line 8110 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#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_ = hide_imported;
-#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, hide_imported, &_inner_error_);
#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7583 "ConfigurationInterfaces.c"
+#line 8134 "ConfigurationInterfaces.c"
goto __catch154_configuration_error;
}
#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7593,25 +8144,25 @@ static void configuration_facade_real_set_hide_photos_already_imported (Configur
g_clear_error (&_inner_error_);
#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7592 "ConfigurationInterfaces.c"
+#line 8143 "ConfigurationInterfaces.c"
}
}
goto __finally154;
__catch154_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 7610 "ConfigurationInterfaces.c"
+#line 8161 "ConfigurationInterfaces.c"
}
__finally154:
#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7622,21 +8173,26 @@ static void configuration_facade_real_set_hide_photos_already_imported (Configur
g_clear_error (&_inner_error_);
#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7621 "ConfigurationInterfaces.c"
+#line 8172 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) {
+void
+configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self,
+ gboolean hide_imported)
+{
#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_hide_photos_already_imported (self, hide_imported);
-#line 7631 "ConfigurationInterfaces.c"
+#line 8185 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_import_dir (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -7662,7 +8218,7 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7661 "ConfigurationInterfaces.c"
+#line 8217 "ConfigurationInterfaces.c"
goto __catch155_configuration_error;
}
#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7671,7 +8227,7 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel
g_clear_error (&_inner_error_);
#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 7670 "ConfigurationInterfaces.c"
+#line 8226 "ConfigurationInterfaces.c"
}
#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -7683,7 +8239,7 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel
_g_free0 (_tmp0_);
#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7682 "ConfigurationInterfaces.c"
+#line 8238 "ConfigurationInterfaces.c"
}
goto __finally155;
__catch155_configuration_error:
@@ -7707,7 +8263,7 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel
_g_error_free0 (err);
#line 1139 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7706 "ConfigurationInterfaces.c"
+#line 8262 "ConfigurationInterfaces.c"
}
__finally155:
#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7716,43 +8272,45 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel
g_clear_error (&_inner_error_);
#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 7715 "ConfigurationInterfaces.c"
+#line 8271 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_import_dir (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_import_dir (ConfigurationFacade* self)
+{
#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_import_dir (self);
-#line 7724 "ConfigurationInterfaces.c"
+#line 8282 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) {
+static void
+configuration_facade_real_set_import_dir (ConfigurationFacade* self,
+ const gchar* import_dir)
+{
GError * _inner_error_ = NULL;
#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (import_dir != NULL);
-#line 7732 "ConfigurationInterfaces.c"
+#line 8293 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = import_dir;
-#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, import_dir, &_inner_error_);
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7751 "ConfigurationInterfaces.c"
+#line 8309 "ConfigurationInterfaces.c"
goto __catch156_configuration_error;
}
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7761,25 +8319,25 @@ static void configuration_facade_real_set_import_dir (ConfigurationFacade* self,
g_clear_error (&_inner_error_);
#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7760 "ConfigurationInterfaces.c"
+#line 8318 "ConfigurationInterfaces.c"
}
}
goto __finally156;
__catch156_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 7778 "ConfigurationInterfaces.c"
+#line 8336 "ConfigurationInterfaces.c"
}
__finally156:
#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7790,30 +8348,34 @@ static void configuration_facade_real_set_import_dir (ConfigurationFacade* self,
g_clear_error (&_inner_error_);
#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7789 "ConfigurationInterfaces.c"
+#line 8347 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) {
+void
+configuration_facade_set_import_dir (ConfigurationFacade* self,
+ const gchar* import_dir)
+{
#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_import_dir (self, import_dir);
-#line 7799 "ConfigurationInterfaces.c"
+#line 8360 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_keep_relativity (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7821,18 +8383,16 @@ static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFaca
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, &_inner_error_);
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7827 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 8387 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7831 "ConfigurationInterfaces.c"
+#line 8391 "ConfigurationInterfaces.c"
goto __catch157_configuration_error;
}
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7840,35 +8400,35 @@ static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFaca
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 7840 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 8400 "ConfigurationInterfaces.c"
}
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7846 "ConfigurationInterfaces.c"
+#line 8406 "ConfigurationInterfaces.c"
}
goto __finally157;
__catch157_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 7867 "ConfigurationInterfaces.c"
+#line 8427 "ConfigurationInterfaces.c"
}
__finally157:
#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7876,41 +8436,43 @@ static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFaca
#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 _tmp7_;
-#line 7876 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 8436 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_keep_relativity (ConfigurationFacade* self)
+{
#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_keep_relativity (self);
-#line 7885 "ConfigurationInterfaces.c"
+#line 8447 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) {
+static void
+configuration_facade_real_set_keep_relativity (ConfigurationFacade* self,
+ gboolean keep_relativity)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = keep_relativity;
-#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, keep_relativity, &_inner_error_);
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7909 "ConfigurationInterfaces.c"
+#line 8471 "ConfigurationInterfaces.c"
goto __catch158_configuration_error;
}
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7919,25 +8481,25 @@ static void configuration_facade_real_set_keep_relativity (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7918 "ConfigurationInterfaces.c"
+#line 8480 "ConfigurationInterfaces.c"
}
}
goto __finally158;
__catch158_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 7936 "ConfigurationInterfaces.c"
+#line 8498 "ConfigurationInterfaces.c"
}
__finally158:
#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7948,30 +8510,34 @@ static void configuration_facade_real_set_keep_relativity (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 7947 "ConfigurationInterfaces.c"
+#line 8509 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) {
+void
+configuration_facade_set_keep_relativity (ConfigurationFacade* self,
+ gboolean keep_relativity)
+{
#line 1164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_keep_relativity (self, keep_relativity);
-#line 7957 "ConfigurationInterfaces.c"
+#line 8522 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7979,18 +8545,16 @@ static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFa
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, &_inner_error_);
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7985 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 8549 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 7989 "ConfigurationInterfaces.c"
+#line 8553 "ConfigurationInterfaces.c"
goto __catch159_configuration_error;
}
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -7998,35 +8562,35 @@ static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFa
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 7998 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 8562 "ConfigurationInterfaces.c"
}
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8004 "ConfigurationInterfaces.c"
+#line 8568 "ConfigurationInterfaces.c"
}
goto __finally159;
__catch159_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8025 "ConfigurationInterfaces.c"
+#line 8589 "ConfigurationInterfaces.c"
}
__finally159:
#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8034,41 +8598,43 @@ static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFa
#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 8034 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 8598 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self)
+{
#line 1175 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1175 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_pin_toolbar_state (self);
-#line 8043 "ConfigurationInterfaces.c"
+#line 8609 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) {
+static void
+configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self,
+ gboolean state)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = state;
-#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, state, &_inner_error_);
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8067 "ConfigurationInterfaces.c"
+#line 8633 "ConfigurationInterfaces.c"
goto __catch160_configuration_error;
}
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8077,25 +8643,25 @@ static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8076 "ConfigurationInterfaces.c"
+#line 8642 "ConfigurationInterfaces.c"
}
}
goto __finally160;
__catch160_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8094 "ConfigurationInterfaces.c"
+#line 8660 "ConfigurationInterfaces.c"
}
__finally160:
#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8106,30 +8672,34 @@ static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8105 "ConfigurationInterfaces.c"
+#line 8671 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) {
+void
+configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self,
+ gboolean state)
+{
#line 1184 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1184 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_pin_toolbar_state (self, state);
-#line 8115 "ConfigurationInterfaces.c"
+#line 8684 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_last_crop_height (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8137,18 +8707,16 @@ static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade*
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, &_inner_error_);
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8143 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 8711 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8147 "ConfigurationInterfaces.c"
+#line 8715 "ConfigurationInterfaces.c"
goto __catch161_configuration_error;
}
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8156,35 +8724,35 @@ static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade*
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 8156 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 8724 "ConfigurationInterfaces.c"
}
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8162 "ConfigurationInterfaces.c"
+#line 8730 "ConfigurationInterfaces.c"
}
goto __finally161;
__catch161_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 1;
#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8183 "ConfigurationInterfaces.c"
+#line 8751 "ConfigurationInterfaces.c"
}
__finally161:
#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8192,41 +8760,43 @@ static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade*
#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 8192 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 8760 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_last_crop_height (ConfigurationFacade* self) {
+gint
+configuration_facade_get_last_crop_height (ConfigurationFacade* self)
+{
#line 1195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_height (self);
-#line 8201 "ConfigurationInterfaces.c"
+#line 8771 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_last_crop_height (ConfigurationFacade* self, gint choice) {
+static void
+configuration_facade_real_set_last_crop_height (ConfigurationFacade* self,
+ gint choice)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = choice;
-#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, choice, &_inner_error_);
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8225 "ConfigurationInterfaces.c"
+#line 8795 "ConfigurationInterfaces.c"
goto __catch162_configuration_error;
}
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8235,25 +8805,25 @@ static void configuration_facade_real_set_last_crop_height (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8234 "ConfigurationInterfaces.c"
+#line 8804 "ConfigurationInterfaces.c"
}
}
goto __finally162;
__catch162_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8252 "ConfigurationInterfaces.c"
+#line 8822 "ConfigurationInterfaces.c"
}
__finally162:
#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8264,30 +8834,34 @@ static void configuration_facade_real_set_last_crop_height (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8263 "ConfigurationInterfaces.c"
+#line 8833 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice) {
+void
+configuration_facade_set_last_crop_height (ConfigurationFacade* self,
+ gint choice)
+{
#line 1204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_height (self, choice);
-#line 8273 "ConfigurationInterfaces.c"
+#line 8846 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8295,18 +8869,16 @@ static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFa
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, &_inner_error_);
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8301 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 8873 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8305 "ConfigurationInterfaces.c"
+#line 8877 "ConfigurationInterfaces.c"
goto __catch163_configuration_error;
}
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8314,35 +8886,35 @@ static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFa
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 8314 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 8886 "ConfigurationInterfaces.c"
}
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8320 "ConfigurationInterfaces.c"
+#line 8892 "ConfigurationInterfaces.c"
}
goto __finally163;
__catch163_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8341 "ConfigurationInterfaces.c"
+#line 8913 "ConfigurationInterfaces.c"
}
__finally163:
#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8350,41 +8922,43 @@ static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFa
#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 8350 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 8922 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self) {
+gint
+configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self)
+{
#line 1215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_menu_choice (self);
-#line 8359 "ConfigurationInterfaces.c"
+#line 8933 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) {
+static void
+configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self,
+ gint choice)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = choice;
-#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, choice, &_inner_error_);
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8383 "ConfigurationInterfaces.c"
+#line 8957 "ConfigurationInterfaces.c"
goto __catch164_configuration_error;
}
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8393,25 +8967,25 @@ static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8392 "ConfigurationInterfaces.c"
+#line 8966 "ConfigurationInterfaces.c"
}
}
goto __finally164;
__catch164_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1232 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1232 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8410 "ConfigurationInterfaces.c"
+#line 8984 "ConfigurationInterfaces.c"
}
__finally164:
#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8422,30 +8996,34 @@ static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8421 "ConfigurationInterfaces.c"
+#line 8995 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) {
+void
+configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self,
+ gint choice)
+{
#line 1228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_menu_choice (self, choice);
-#line 8431 "ConfigurationInterfaces.c"
+#line 9008 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_last_crop_width (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8453,18 +9031,16 @@ static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade*
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, &_inner_error_);
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8459 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 9035 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8463 "ConfigurationInterfaces.c"
+#line 9039 "ConfigurationInterfaces.c"
goto __catch165_configuration_error;
}
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8472,35 +9048,35 @@ static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade*
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 8472 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 9048 "ConfigurationInterfaces.c"
}
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8478 "ConfigurationInterfaces.c"
+#line 9054 "ConfigurationInterfaces.c"
}
goto __finally165;
__catch165_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 1;
#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8499 "ConfigurationInterfaces.c"
+#line 9075 "ConfigurationInterfaces.c"
}
__finally165:
#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8508,41 +9084,43 @@ static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade*
#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 8508 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 9084 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_last_crop_width (ConfigurationFacade* self) {
+gint
+configuration_facade_get_last_crop_width (ConfigurationFacade* self)
+{
#line 1239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_width (self);
-#line 8517 "ConfigurationInterfaces.c"
+#line 9095 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_last_crop_width (ConfigurationFacade* self, gint choice) {
+static void
+configuration_facade_real_set_last_crop_width (ConfigurationFacade* self,
+ gint choice)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = choice;
-#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, choice, &_inner_error_);
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8541 "ConfigurationInterfaces.c"
+#line 9119 "ConfigurationInterfaces.c"
goto __catch166_configuration_error;
}
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8551,25 +9129,25 @@ static void configuration_facade_real_set_last_crop_width (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8550 "ConfigurationInterfaces.c"
+#line 9128 "ConfigurationInterfaces.c"
}
}
goto __finally166;
__catch166_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8568 "ConfigurationInterfaces.c"
+#line 9146 "ConfigurationInterfaces.c"
}
__finally166:
#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8580,21 +9158,26 @@ static void configuration_facade_real_set_last_crop_width (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8579 "ConfigurationInterfaces.c"
+#line 9157 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice) {
+void
+configuration_facade_set_last_crop_width (ConfigurationFacade* self,
+ gint choice)
+{
#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_width (self, choice);
-#line 8589 "ConfigurationInterfaces.c"
+#line 9170 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_last_used_service (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_last_used_service (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -8620,7 +9203,7 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca
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"
+#line 9202 "ConfigurationInterfaces.c"
goto __catch167_configuration_error;
}
#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8629,7 +9212,7 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 8628 "ConfigurationInterfaces.c"
+#line 9211 "ConfigurationInterfaces.c"
}
#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -8641,7 +9224,7 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca
_g_free0 (_tmp0_);
#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8640 "ConfigurationInterfaces.c"
+#line 9223 "ConfigurationInterfaces.c"
}
goto __finally167;
__catch167_configuration_error:
@@ -8665,7 +9248,7 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca
_g_error_free0 (err);
#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8664 "ConfigurationInterfaces.c"
+#line 9247 "ConfigurationInterfaces.c"
}
__finally167:
#line 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8674,43 +9257,45 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 8673 "ConfigurationInterfaces.c"
+#line 9256 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_last_used_service (ConfigurationFacade* self)
+{
#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_service (self);
-#line 8682 "ConfigurationInterfaces.c"
+#line 9267 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (service_name != NULL);
-#line 8690 "ConfigurationInterfaces.c"
+#line 9278 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = service_name;
-#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, service_name, &_inner_error_);
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8709 "ConfigurationInterfaces.c"
+#line 9294 "ConfigurationInterfaces.c"
goto __catch168_configuration_error;
}
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8719,25 +9304,25 @@ static void configuration_facade_real_set_last_used_service (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8718 "ConfigurationInterfaces.c"
+#line 9303 "ConfigurationInterfaces.c"
}
}
goto __finally168;
__catch168_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8736 "ConfigurationInterfaces.c"
+#line 9321 "ConfigurationInterfaces.c"
}
__finally168:
#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8748,21 +9333,26 @@ static void configuration_facade_real_set_last_used_service (ConfigurationFacade
g_clear_error (&_inner_error_);
#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8747 "ConfigurationInterfaces.c"
+#line 9332 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) {
+void
+configuration_facade_set_last_used_service (ConfigurationFacade* self,
+ const gchar* service_name)
+{
#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_service (self, service_name);
-#line 8757 "ConfigurationInterfaces.c"
+#line 9345 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_last_used_dataimports_service (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_last_used_dataimports_service (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -8788,7 +9378,7 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8787 "ConfigurationInterfaces.c"
+#line 9377 "ConfigurationInterfaces.c"
goto __catch169_configuration_error;
}
#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8797,7 +9387,7 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi
g_clear_error (&_inner_error_);
#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 8796 "ConfigurationInterfaces.c"
+#line 9386 "ConfigurationInterfaces.c"
}
#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -8809,7 +9399,7 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi
_g_free0 (_tmp0_);
#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8808 "ConfigurationInterfaces.c"
+#line 9398 "ConfigurationInterfaces.c"
}
goto __finally169;
__catch169_configuration_error:
@@ -8833,7 +9423,7 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi
_g_error_free0 (err);
#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 8832 "ConfigurationInterfaces.c"
+#line 9422 "ConfigurationInterfaces.c"
}
__finally169:
#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8842,43 +9432,45 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi
g_clear_error (&_inner_error_);
#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 8841 "ConfigurationInterfaces.c"
+#line 9431 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self)
+{
#line 1283 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1283 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_dataimports_service (self);
-#line 8850 "ConfigurationInterfaces.c"
+#line 9442 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (service_name != NULL);
-#line 8858 "ConfigurationInterfaces.c"
+#line 9453 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = service_name;
-#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, service_name, &_inner_error_);
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8877 "ConfigurationInterfaces.c"
+#line 9469 "ConfigurationInterfaces.c"
goto __catch170_configuration_error;
}
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8887,25 +9479,25 @@ static void configuration_facade_real_set_last_used_dataimports_service (Configu
g_clear_error (&_inner_error_);
#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8886 "ConfigurationInterfaces.c"
+#line 9478 "ConfigurationInterfaces.c"
}
}
goto __finally170;
__catch170_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 8904 "ConfigurationInterfaces.c"
+#line 9496 "ConfigurationInterfaces.c"
}
__finally170:
#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8916,21 +9508,28 @@ static void configuration_facade_real_set_last_used_dataimports_service (Configu
g_clear_error (&_inner_error_);
#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8915 "ConfigurationInterfaces.c"
+#line 9507 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) {
+void
+configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self,
+ const gchar* service_name)
+{
#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_dataimports_service (self, service_name);
-#line 8925 "ConfigurationInterfaces.c"
+#line 9520 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
gboolean _vala_sort_order = FALSE;
gint _vala_sort_by = 0;
GError * _inner_error_ = NULL;
@@ -8938,18 +9537,16 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca
_vala_sort_order = FALSE;
#line 1309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_sort_by = 2;
-#line 8937 "ConfigurationInterfaces.c"
+#line 9536 "ConfigurationInterfaces.c"
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
- gint _tmp5_ = 0;
+ gint _tmp4_ = 0;
+ ConfigurationEngine* _tmp5_;
ConfigurationEngine* _tmp6_;
- ConfigurationEngine* _tmp7_;
- gint _tmp8_;
- gint _tmp9_;
+ gint _tmp7_;
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8957,16 +9554,14 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, &_inner_error_);
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8965 "ConfigurationInterfaces.c"
+#line 9560 "ConfigurationInterfaces.c"
goto __catch171_configuration_error;
}
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -8975,27 +9570,25 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 8974 "ConfigurationInterfaces.c"
+#line 9569 "ConfigurationInterfaces.c"
}
#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_sort_order = _tmp0_;
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_facade_get_engine (self);
-#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp5_ = configuration_facade_get_engine (self);
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_);
+ _tmp6_ = _tmp5_;
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = _tmp8_;
+ _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_);
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp7_);
+ _g_object_unref0 (_tmp6_);
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = _tmp9_;
+ _tmp4_ = _tmp7_;
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 8994 "ConfigurationInterfaces.c"
+#line 9587 "ConfigurationInterfaces.c"
goto __catch171_configuration_error;
}
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9004,28 +9597,28 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9003 "ConfigurationInterfaces.c"
+#line 9596 "ConfigurationInterfaces.c"
}
#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _vala_sort_by = _tmp5_;
-#line 9007 "ConfigurationInterfaces.c"
+ _vala_sort_by = _tmp4_;
+#line 9600 "ConfigurationInterfaces.c"
}
goto __finally171;
__catch171_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
+ GError* _tmp8_;
#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = err;
+ _tmp8_ = err;
#line 1315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp10_);
+ configuration_facade_on_configuration_error (self, _tmp8_);
#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9024 "ConfigurationInterfaces.c"
+#line 9617 "ConfigurationInterfaces.c"
}
__finally171:
#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9036,56 +9629,60 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9035 "ConfigurationInterfaces.c"
+#line 9628 "ConfigurationInterfaces.c"
}
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (sort_order) {
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*sort_order = _vala_sort_order;
-#line 9041 "ConfigurationInterfaces.c"
+#line 9634 "ConfigurationInterfaces.c"
}
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (sort_by) {
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*sort_by = _vala_sort_by;
-#line 9047 "ConfigurationInterfaces.c"
+#line 9640 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) {
+void
+configuration_facade_get_library_photos_sort (ConfigurationFacade* self,
+ gboolean* sort_order,
+ gint* sort_by)
+{
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->get_library_photos_sort (self, sort_order, sort_by);
-#line 9057 "ConfigurationInterfaces.c"
+#line 9654 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
- gint _tmp5_;
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = sort_order;
-#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, sort_order, &_inner_error_);
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9084 "ConfigurationInterfaces.c"
+#line 9681 "ConfigurationInterfaces.c"
goto __catch172_configuration_error;
}
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9094,23 +9691,21 @@ static void configuration_facade_real_set_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9093 "ConfigurationInterfaces.c"
+#line 9690 "ConfigurationInterfaces.c"
}
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
-#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp2_ = configuration_facade_get_engine (self);
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = sort_by;
+ _tmp3_ = _tmp2_;
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, _tmp5_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, sort_by, &_inner_error_);
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9109 "ConfigurationInterfaces.c"
+#line 9704 "ConfigurationInterfaces.c"
goto __catch172_configuration_error;
}
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9119,25 +9714,25 @@ static void configuration_facade_real_set_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9118 "ConfigurationInterfaces.c"
+#line 9713 "ConfigurationInterfaces.c"
}
}
goto __finally172;
__catch172_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp4_;
#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp4_ = err;
#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp4_);
#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9136 "ConfigurationInterfaces.c"
+#line 9731 "ConfigurationInterfaces.c"
}
__finally172:
#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9148,21 +9743,29 @@ static void configuration_facade_real_set_library_photos_sort (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9147 "ConfigurationInterfaces.c"
+#line 9742 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_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)
+{
#line 1319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_library_photos_sort (self, sort_order, sort_by);
-#line 9157 "ConfigurationInterfaces.c"
+#line 9756 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
gboolean _vala_maximize = FALSE;
Dimensions _vala_dimensions = {0};
GError * _inner_error_ = NULL;
@@ -9170,25 +9773,22 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
_vala_maximize = FALSE;
#line 1335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
dimensions_init (&_vala_dimensions, 1024, 768);
-#line 9169 "ConfigurationInterfaces.c"
+#line 9772 "ConfigurationInterfaces.c"
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
gint w = 0;
+ ConfigurationEngine* _tmp4_;
ConfigurationEngine* _tmp5_;
- ConfigurationEngine* _tmp6_;
- gint _tmp7_;
- gint _tmp8_;
+ gint _tmp6_;
gint h = 0;
- ConfigurationEngine* _tmp9_;
- ConfigurationEngine* _tmp10_;
+ ConfigurationEngine* _tmp7_;
+ ConfigurationEngine* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
gint _tmp11_;
- gint _tmp12_;
- gint _tmp13_;
- gint _tmp14_;
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9196,16 +9796,14 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, &_inner_error_);
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9204 "ConfigurationInterfaces.c"
+#line 9802 "ConfigurationInterfaces.c"
goto __catch173_configuration_error;
}
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9214,27 +9812,25 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9213 "ConfigurationInterfaces.c"
+#line 9811 "ConfigurationInterfaces.c"
}
#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_vala_maximize = _tmp0_;
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = configuration_facade_get_engine (self);
-#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = _tmp5_;
+ _tmp4_ = configuration_facade_get_engine (self);
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_);
+ _tmp5_ = _tmp4_;
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp7_;
+ _tmp6_ = configuration_engine_get_int_property (_tmp5_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_);
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp6_);
+ _g_object_unref0 (_tmp5_);
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- w = _tmp8_;
+ w = _tmp6_;
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9233 "ConfigurationInterfaces.c"
+#line 9829 "ConfigurationInterfaces.c"
goto __catch173_configuration_error;
}
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9243,25 +9839,23 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9242 "ConfigurationInterfaces.c"
+#line 9838 "ConfigurationInterfaces.c"
}
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = configuration_facade_get_engine (self);
-#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = _tmp9_;
+ _tmp7_ = configuration_facade_get_engine (self);
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_);
+ _tmp8_ = _tmp7_;
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp12_ = _tmp11_;
+ _tmp9_ = configuration_engine_get_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_);
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp10_);
+ _g_object_unref0 (_tmp8_);
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- h = _tmp12_;
+ h = _tmp9_;
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9260 "ConfigurationInterfaces.c"
+#line 9854 "ConfigurationInterfaces.c"
goto __catch173_configuration_error;
}
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9270,32 +9864,32 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9269 "ConfigurationInterfaces.c"
+#line 9863 "ConfigurationInterfaces.c"
}
#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp13_ = w;
+ _tmp10_ = w;
#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp14_ = h;
+ _tmp11_ = h;
#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_);
-#line 9277 "ConfigurationInterfaces.c"
+ dimensions_init (&_vala_dimensions, _tmp10_, _tmp11_);
+#line 9871 "ConfigurationInterfaces.c"
}
goto __finally173;
__catch173_configuration_error:
{
GError* err = NULL;
- GError* _tmp15_;
+ GError* _tmp12_;
#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp15_ = err;
+ _tmp12_ = err;
#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp15_);
+ configuration_facade_on_configuration_error (self, _tmp12_);
#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9294 "ConfigurationInterfaces.c"
+#line 9888 "ConfigurationInterfaces.c"
}
__finally173:
#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9306,64 +9900,69 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9305 "ConfigurationInterfaces.c"
+#line 9899 "ConfigurationInterfaces.c"
}
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (maximize) {
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*maximize = _vala_maximize;
-#line 9311 "ConfigurationInterfaces.c"
+#line 9905 "ConfigurationInterfaces.c"
}
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (dimensions) {
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
*dimensions = _vala_dimensions;
-#line 9317 "ConfigurationInterfaces.c"
+#line 9911 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) {
+void
+configuration_facade_get_library_window_state (ConfigurationFacade* self,
+ gboolean* maximize,
+ Dimensions* dimensions)
+{
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->get_library_window_state (self, maximize, dimensions);
-#line 9327 "ConfigurationInterfaces.c"
+#line 9925 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (dimensions != NULL);
-#line 9335 "ConfigurationInterfaces.c"
+#line 9937 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
+ ConfigurationEngine* _tmp2_;
ConfigurationEngine* _tmp3_;
- ConfigurationEngine* _tmp4_;
- Dimensions _tmp5_;
- gint _tmp6_;
+ Dimensions _tmp4_;
+ gint _tmp5_;
+ ConfigurationEngine* _tmp6_;
ConfigurationEngine* _tmp7_;
- ConfigurationEngine* _tmp8_;
- Dimensions _tmp9_;
- gint _tmp10_;
+ Dimensions _tmp8_;
+ gint _tmp9_;
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = maximize;
-#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, maximize, &_inner_error_);
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9362 "ConfigurationInterfaces.c"
+#line 9961 "ConfigurationInterfaces.c"
goto __catch174_configuration_error;
}
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9372,25 +9971,25 @@ static void configuration_facade_real_set_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9371 "ConfigurationInterfaces.c"
+#line 9970 "ConfigurationInterfaces.c"
}
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_facade_get_engine (self);
+ _tmp2_ = configuration_facade_get_engine (self);
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = *dimensions;
+ _tmp4_ = *dimensions;
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = _tmp5_.width;
+ _tmp5_ = _tmp4_.width;
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp6_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp5_, &_inner_error_);
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9389 "ConfigurationInterfaces.c"
+#line 9988 "ConfigurationInterfaces.c"
goto __catch174_configuration_error;
}
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9399,25 +9998,25 @@ static void configuration_facade_real_set_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9398 "ConfigurationInterfaces.c"
+#line 9997 "ConfigurationInterfaces.c"
}
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = configuration_facade_get_engine (self);
+ _tmp6_ = configuration_facade_get_engine (self);
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = *dimensions;
+ _tmp8_ = *dimensions;
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = _tmp9_.height;
+ _tmp9_ = _tmp8_.height;
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp10_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp9_, &_inner_error_);
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp8_);
+ _g_object_unref0 (_tmp7_);
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9416 "ConfigurationInterfaces.c"
+#line 10015 "ConfigurationInterfaces.c"
goto __catch174_configuration_error;
}
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9426,25 +10025,25 @@ static void configuration_facade_real_set_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9425 "ConfigurationInterfaces.c"
+#line 10024 "ConfigurationInterfaces.c"
}
}
goto __finally174;
__catch174_configuration_error:
{
GError* err = NULL;
- GError* _tmp11_;
+ GError* _tmp10_;
#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = err;
+ _tmp10_ = err;
#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp11_);
+ configuration_facade_on_configuration_error (self, _tmp10_);
#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9443 "ConfigurationInterfaces.c"
+#line 10042 "ConfigurationInterfaces.c"
}
__finally174:
#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9455,30 +10054,35 @@ static void configuration_facade_real_set_library_window_state (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9454 "ConfigurationInterfaces.c"
+#line 10053 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) {
+void
+configuration_facade_set_library_window_state (ConfigurationFacade* self,
+ gboolean maximize,
+ Dimensions* dimensions)
+{
#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_library_window_state (self, maximize, dimensions);
-#line 9464 "ConfigurationInterfaces.c"
+#line 10067 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_modify_originals (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_modify_originals (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9486,18 +10090,16 @@ static gboolean configuration_facade_real_get_modify_originals (ConfigurationFac
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, &_inner_error_);
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9492 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 10094 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9496 "ConfigurationInterfaces.c"
+#line 10098 "ConfigurationInterfaces.c"
goto __catch175_configuration_error;
}
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9505,35 +10107,35 @@ static gboolean configuration_facade_real_get_modify_originals (ConfigurationFac
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 9505 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10107 "ConfigurationInterfaces.c"
}
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9511 "ConfigurationInterfaces.c"
+#line 10113 "ConfigurationInterfaces.c"
}
goto __finally175;
__catch175_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9532 "ConfigurationInterfaces.c"
+#line 10134 "ConfigurationInterfaces.c"
}
__finally175:
#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9541,41 +10143,43 @@ static gboolean configuration_facade_real_get_modify_originals (ConfigurationFac
#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 9541 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 10143 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_modify_originals (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_modify_originals (ConfigurationFacade* self)
+{
#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_modify_originals (self);
-#line 9550 "ConfigurationInterfaces.c"
+#line 10154 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) {
+static void
+configuration_facade_real_set_modify_originals (ConfigurationFacade* self,
+ gboolean modify_originals)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = modify_originals;
-#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, modify_originals, &_inner_error_);
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9574 "ConfigurationInterfaces.c"
+#line 10178 "ConfigurationInterfaces.c"
goto __catch176_configuration_error;
}
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9584,25 +10188,25 @@ static void configuration_facade_real_set_modify_originals (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9583 "ConfigurationInterfaces.c"
+#line 10187 "ConfigurationInterfaces.c"
}
}
goto __finally176;
__catch176_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9601 "ConfigurationInterfaces.c"
+#line 10205 "ConfigurationInterfaces.c"
}
__finally176:
#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9613,30 +10217,34 @@ static void configuration_facade_real_set_modify_originals (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9612 "ConfigurationInterfaces.c"
+#line 10216 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) {
+void
+configuration_facade_set_modify_originals (ConfigurationFacade* self,
+ gboolean modify_originals)
+{
#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_modify_originals (self, modify_originals);
-#line 9622 "ConfigurationInterfaces.c"
+#line 10229 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp9_ = 0;
+ gint _tmp8_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9644,18 +10252,16 @@ static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFa
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, &_inner_error_);
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9650 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 10256 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9654 "ConfigurationInterfaces.c"
+#line 10260 "ConfigurationInterfaces.c"
goto __catch177_configuration_error;
}
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9663,41 +10269,41 @@ static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFa
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 9663 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10269 "ConfigurationInterfaces.c"
}
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9669 "ConfigurationInterfaces.c"
+#line 10275 "ConfigurationInterfaces.c"
}
goto __finally177;
__catch177_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
+ gint _tmp6_;
gint _tmp7_;
- gint _tmp8_;
#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = thumbnail_get_DEFAULT_SCALE ();
+ _tmp6_ = thumbnail_get_DEFAULT_SCALE ();
#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp8_;
+ result = _tmp7_;
#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9696 "ConfigurationInterfaces.c"
+#line 10302 "ConfigurationInterfaces.c"
}
__finally177:
#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9705,41 +10311,43 @@ static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFa
#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp9_;
-#line 9705 "ConfigurationInterfaces.c"
+ return _tmp8_;
+#line 10311 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self) {
+gint
+configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self)
+{
#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_photo_thumbnail_scale (self);
-#line 9714 "ConfigurationInterfaces.c"
+#line 10322 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) {
+static void
+configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self,
+ gint scale)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = scale;
-#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, scale, &_inner_error_);
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9738 "ConfigurationInterfaces.c"
+#line 10346 "ConfigurationInterfaces.c"
goto __catch178_configuration_error;
}
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9748,25 +10356,25 @@ static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9747 "ConfigurationInterfaces.c"
+#line 10355 "ConfigurationInterfaces.c"
}
}
goto __finally178;
__catch178_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9765 "ConfigurationInterfaces.c"
+#line 10373 "ConfigurationInterfaces.c"
}
__finally178:
#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9777,30 +10385,34 @@ static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9776 "ConfigurationInterfaces.c"
+#line 10384 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) {
+void
+configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self,
+ gint scale)
+{
#line 1392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_photo_thumbnail_scale (self, scale);
-#line 9786 "ConfigurationInterfaces.c"
+#line 10397 "ConfigurationInterfaces.c"
}
-static gdouble configuration_facade_real_get_printing_content_height (ConfigurationFacade* self) {
+static gdouble
+configuration_facade_real_get_printing_content_height (ConfigurationFacade* self)
+{
gdouble result = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp6_ = 0.0;
GError * _inner_error_ = NULL;
{
gdouble _tmp0_ = 0.0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gdouble _tmp3_;
- gdouble _tmp4_;
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9808,18 +10420,16 @@ static gdouble configuration_facade_real_get_printing_content_height (Configurat
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, &_inner_error_);
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9814 "ConfigurationInterfaces.c"
- gdouble _tmp5_ = 0.0;
+#line 10424 "ConfigurationInterfaces.c"
+ gdouble _tmp4_ = 0.0;
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9818 "ConfigurationInterfaces.c"
+#line 10428 "ConfigurationInterfaces.c"
goto __catch179_configuration_error;
}
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9827,35 +10437,35 @@ static gdouble configuration_facade_real_get_printing_content_height (Configurat
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 9827 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10437 "ConfigurationInterfaces.c"
}
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9833 "ConfigurationInterfaces.c"
+#line 10443 "ConfigurationInterfaces.c"
}
goto __finally179;
__catch179_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 5.0;
#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9854 "ConfigurationInterfaces.c"
+#line 10464 "ConfigurationInterfaces.c"
}
__finally179:
#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9863,41 +10473,43 @@ static gdouble configuration_facade_real_get_printing_content_height (Configurat
#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 9863 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 10473 "ConfigurationInterfaces.c"
}
-gdouble configuration_facade_get_printing_content_height (ConfigurationFacade* self) {
+gdouble
+configuration_facade_get_printing_content_height (ConfigurationFacade* self)
+{
#line 1403 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0);
#line 1403 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_height (self);
-#line 9872 "ConfigurationInterfaces.c"
+#line 10484 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) {
+static void
+configuration_facade_real_set_printing_content_height (ConfigurationFacade* self,
+ gdouble content_height)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gdouble _tmp2_;
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = content_height;
-#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, _tmp2_, &_inner_error_);
+ configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, content_height, &_inner_error_);
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9896 "ConfigurationInterfaces.c"
+#line 10508 "ConfigurationInterfaces.c"
goto __catch180_configuration_error;
}
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9906,25 +10518,25 @@ static void configuration_facade_real_set_printing_content_height (Configuration
g_clear_error (&_inner_error_);
#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9905 "ConfigurationInterfaces.c"
+#line 10517 "ConfigurationInterfaces.c"
}
}
goto __finally180;
__catch180_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 9923 "ConfigurationInterfaces.c"
+#line 10535 "ConfigurationInterfaces.c"
}
__finally180:
#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9935,30 +10547,34 @@ static void configuration_facade_real_set_printing_content_height (Configuration
g_clear_error (&_inner_error_);
#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 9934 "ConfigurationInterfaces.c"
+#line 10546 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) {
+void
+configuration_facade_set_printing_content_height (ConfigurationFacade* self,
+ gdouble content_height)
+{
#line 1413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_height (self, content_height);
-#line 9944 "ConfigurationInterfaces.c"
+#line 10559 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9966,18 +10582,16 @@ static gint configuration_facade_real_get_printing_content_layout (Configuration
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, &_inner_error_);
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9972 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 10586 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 9976 "ConfigurationInterfaces.c"
+#line 10590 "ConfigurationInterfaces.c"
goto __catch181_configuration_error;
}
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -9985,35 +10599,35 @@ static gint configuration_facade_real_get_printing_content_layout (Configuration
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 9985 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10599 "ConfigurationInterfaces.c"
}
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_ - 1;
#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 9991 "ConfigurationInterfaces.c"
+#line 10605 "ConfigurationInterfaces.c"
}
goto __finally181;
__catch181_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10012 "ConfigurationInterfaces.c"
+#line 10626 "ConfigurationInterfaces.c"
}
__finally181:
#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10021,41 +10635,43 @@ static gint configuration_facade_real_get_printing_content_layout (Configuration
#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10021 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 10635 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_printing_content_layout (ConfigurationFacade* self) {
+gint
+configuration_facade_get_printing_content_layout (ConfigurationFacade* self)
+{
#line 1425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_layout (self);
-#line 10030 "ConfigurationInterfaces.c"
+#line 10646 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) {
+static void
+configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self,
+ gint layout_code)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = layout_code;
-#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, _tmp2_ + 1, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, layout_code + 1, &_inner_error_);
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10054 "ConfigurationInterfaces.c"
+#line 10670 "ConfigurationInterfaces.c"
goto __catch182_configuration_error;
}
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10064,25 +10680,25 @@ static void configuration_facade_real_set_printing_content_layout (Configuration
g_clear_error (&_inner_error_);
#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10063 "ConfigurationInterfaces.c"
+#line 10679 "ConfigurationInterfaces.c"
}
}
goto __finally182;
__catch182_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10081 "ConfigurationInterfaces.c"
+#line 10697 "ConfigurationInterfaces.c"
}
__finally182:
#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10093,30 +10709,34 @@ static void configuration_facade_real_set_printing_content_layout (Configuration
g_clear_error (&_inner_error_);
#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10092 "ConfigurationInterfaces.c"
+#line 10708 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) {
+void
+configuration_facade_set_printing_content_layout (ConfigurationFacade* self,
+ gint layout_code)
+{
#line 1435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_layout (self, layout_code);
-#line 10102 "ConfigurationInterfaces.c"
+#line 10721 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10124,18 +10744,16 @@ static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFac
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, &_inner_error_);
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10130 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 10748 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10134 "ConfigurationInterfaces.c"
+#line 10752 "ConfigurationInterfaces.c"
goto __catch183_configuration_error;
}
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10143,35 +10761,35 @@ static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFac
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10143 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10761 "ConfigurationInterfaces.c"
}
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10149 "ConfigurationInterfaces.c"
+#line 10767 "ConfigurationInterfaces.c"
}
goto __finally183;
__catch183_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 600;
#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10170 "ConfigurationInterfaces.c"
+#line 10788 "ConfigurationInterfaces.c"
}
__finally183:
#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10179,41 +10797,43 @@ static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFac
#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10179 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 10797 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_printing_content_ppi (ConfigurationFacade* self) {
+gint
+configuration_facade_get_printing_content_ppi (ConfigurationFacade* self)
+{
#line 1447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_ppi (self);
-#line 10188 "ConfigurationInterfaces.c"
+#line 10808 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) {
+static void
+configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self,
+ gint content_ppi)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = content_ppi;
-#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, content_ppi, &_inner_error_);
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10212 "ConfigurationInterfaces.c"
+#line 10832 "ConfigurationInterfaces.c"
goto __catch184_configuration_error;
}
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10222,25 +10842,25 @@ static void configuration_facade_real_set_printing_content_ppi (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10221 "ConfigurationInterfaces.c"
+#line 10841 "ConfigurationInterfaces.c"
}
}
goto __finally184;
__catch184_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10239 "ConfigurationInterfaces.c"
+#line 10859 "ConfigurationInterfaces.c"
}
__finally184:
#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10251,30 +10871,34 @@ static void configuration_facade_real_set_printing_content_ppi (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10250 "ConfigurationInterfaces.c"
+#line 10870 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) {
+void
+configuration_facade_set_printing_content_ppi (ConfigurationFacade* self,
+ gint content_ppi)
+{
#line 1457 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1457 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_ppi (self, content_ppi);
-#line 10260 "ConfigurationInterfaces.c"
+#line 10883 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_printing_content_units (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_printing_content_units (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10282,18 +10906,16 @@ static gint configuration_facade_real_get_printing_content_units (ConfigurationF
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, &_inner_error_);
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10288 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 10910 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10292 "ConfigurationInterfaces.c"
+#line 10914 "ConfigurationInterfaces.c"
goto __catch185_configuration_error;
}
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10301,35 +10923,35 @@ static gint configuration_facade_real_get_printing_content_units (ConfigurationF
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10301 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 10923 "ConfigurationInterfaces.c"
}
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_ - 1;
#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10307 "ConfigurationInterfaces.c"
+#line 10929 "ConfigurationInterfaces.c"
}
goto __finally185;
__catch185_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10328 "ConfigurationInterfaces.c"
+#line 10950 "ConfigurationInterfaces.c"
}
__finally185:
#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10337,41 +10959,43 @@ static gint configuration_facade_real_get_printing_content_units (ConfigurationF
#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10337 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 10959 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_printing_content_units (ConfigurationFacade* self) {
+gint
+configuration_facade_get_printing_content_units (ConfigurationFacade* self)
+{
#line 1468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_units (self);
-#line 10346 "ConfigurationInterfaces.c"
+#line 10970 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_content_units (ConfigurationFacade* self, gint units_code) {
+static void
+configuration_facade_real_set_printing_content_units (ConfigurationFacade* self,
+ gint units_code)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = units_code;
-#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, _tmp2_ + 1, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, units_code + 1, &_inner_error_);
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10370 "ConfigurationInterfaces.c"
+#line 10994 "ConfigurationInterfaces.c"
goto __catch186_configuration_error;
}
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10380,25 +11004,25 @@ static void configuration_facade_real_set_printing_content_units (ConfigurationF
g_clear_error (&_inner_error_);
#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10379 "ConfigurationInterfaces.c"
+#line 11003 "ConfigurationInterfaces.c"
}
}
goto __finally186;
__catch186_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10397 "ConfigurationInterfaces.c"
+#line 11021 "ConfigurationInterfaces.c"
}
__finally186:
#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10409,30 +11033,34 @@ static void configuration_facade_real_set_printing_content_units (ConfigurationF
g_clear_error (&_inner_error_);
#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10408 "ConfigurationInterfaces.c"
+#line 11032 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_content_units (ConfigurationFacade* self, gint units_code) {
+void
+configuration_facade_set_printing_content_units (ConfigurationFacade* self,
+ gint units_code)
+{
#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_units (self, units_code);
-#line 10418 "ConfigurationInterfaces.c"
+#line 11045 "ConfigurationInterfaces.c"
}
-static gdouble configuration_facade_real_get_printing_content_width (ConfigurationFacade* self) {
+static gdouble
+configuration_facade_real_get_printing_content_width (ConfigurationFacade* self)
+{
gdouble result = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp6_ = 0.0;
GError * _inner_error_ = NULL;
{
gdouble _tmp0_ = 0.0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gdouble _tmp3_;
- gdouble _tmp4_;
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10440,18 +11068,16 @@ static gdouble configuration_facade_real_get_printing_content_width (Configurati
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, &_inner_error_);
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10446 "ConfigurationInterfaces.c"
- gdouble _tmp5_ = 0.0;
+#line 11072 "ConfigurationInterfaces.c"
+ gdouble _tmp4_ = 0.0;
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10450 "ConfigurationInterfaces.c"
+#line 11076 "ConfigurationInterfaces.c"
goto __catch187_configuration_error;
}
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10459,35 +11085,35 @@ static gdouble configuration_facade_real_get_printing_content_width (Configurati
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10459 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 11085 "ConfigurationInterfaces.c"
}
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10465 "ConfigurationInterfaces.c"
+#line 11091 "ConfigurationInterfaces.c"
}
goto __finally187;
__catch187_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 7.0;
#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10486 "ConfigurationInterfaces.c"
+#line 11112 "ConfigurationInterfaces.c"
}
__finally187:
#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10495,41 +11121,43 @@ static gdouble configuration_facade_real_get_printing_content_width (Configurati
#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10495 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 11121 "ConfigurationInterfaces.c"
}
-gdouble configuration_facade_get_printing_content_width (ConfigurationFacade* self) {
+gdouble
+configuration_facade_get_printing_content_width (ConfigurationFacade* self)
+{
#line 1490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0);
#line 1490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_width (self);
-#line 10504 "ConfigurationInterfaces.c"
+#line 11132 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) {
+static void
+configuration_facade_real_set_printing_content_width (ConfigurationFacade* self,
+ gdouble content_width)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gdouble _tmp2_;
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = content_width;
-#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, _tmp2_, &_inner_error_);
+ configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, content_width, &_inner_error_);
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10528 "ConfigurationInterfaces.c"
+#line 11156 "ConfigurationInterfaces.c"
goto __catch188_configuration_error;
}
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10538,25 +11166,25 @@ static void configuration_facade_real_set_printing_content_width (ConfigurationF
g_clear_error (&_inner_error_);
#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10537 "ConfigurationInterfaces.c"
+#line 11165 "ConfigurationInterfaces.c"
}
}
goto __finally188;
__catch188_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10555 "ConfigurationInterfaces.c"
+#line 11183 "ConfigurationInterfaces.c"
}
__finally188:
#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10567,30 +11195,34 @@ static void configuration_facade_real_set_printing_content_width (ConfigurationF
g_clear_error (&_inner_error_);
#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10566 "ConfigurationInterfaces.c"
+#line 11194 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) {
+void
+configuration_facade_set_printing_content_width (ConfigurationFacade* self,
+ gdouble content_width)
+{
#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_width (self, content_width);
-#line 10576 "ConfigurationInterfaces.c"
+#line 11207 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10598,18 +11230,16 @@ static gint configuration_facade_real_get_printing_images_per_page (Configuratio
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, &_inner_error_);
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10604 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 11234 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10608 "ConfigurationInterfaces.c"
+#line 11238 "ConfigurationInterfaces.c"
goto __catch189_configuration_error;
}
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10617,35 +11247,35 @@ static gint configuration_facade_real_get_printing_images_per_page (Configuratio
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10617 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 11247 "ConfigurationInterfaces.c"
}
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_ - 1;
#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10623 "ConfigurationInterfaces.c"
+#line 11253 "ConfigurationInterfaces.c"
}
goto __finally189;
__catch189_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10644 "ConfigurationInterfaces.c"
+#line 11274 "ConfigurationInterfaces.c"
}
__finally189:
#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10653,41 +11283,43 @@ static gint configuration_facade_real_get_printing_images_per_page (Configuratio
#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10653 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 11283 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_printing_images_per_page (ConfigurationFacade* self) {
+gint
+configuration_facade_get_printing_images_per_page (ConfigurationFacade* self)
+{
#line 1512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_images_per_page (self);
-#line 10662 "ConfigurationInterfaces.c"
+#line 11294 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = images_per_page_code;
-#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, _tmp2_ + 1, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, images_per_page_code + 1, &_inner_error_);
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10686 "ConfigurationInterfaces.c"
+#line 11318 "ConfigurationInterfaces.c"
goto __catch190_configuration_error;
}
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10696,25 +11328,25 @@ static void configuration_facade_real_set_printing_images_per_page (Configuratio
g_clear_error (&_inner_error_);
#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10695 "ConfigurationInterfaces.c"
+#line 11327 "ConfigurationInterfaces.c"
}
}
goto __finally190;
__catch190_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10713 "ConfigurationInterfaces.c"
+#line 11345 "ConfigurationInterfaces.c"
}
__finally190:
#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10725,30 +11357,34 @@ static void configuration_facade_real_set_printing_images_per_page (Configuratio
g_clear_error (&_inner_error_);
#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10724 "ConfigurationInterfaces.c"
+#line 11356 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) {
+void
+configuration_facade_set_printing_images_per_page (ConfigurationFacade* self,
+ gint images_per_page_code)
+{
#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_images_per_page (self, images_per_page_code);
-#line 10734 "ConfigurationInterfaces.c"
+#line 11369 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10756,18 +11392,16 @@ static gboolean configuration_facade_real_get_printing_match_aspect_ratio (Confi
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, &_inner_error_);
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10762 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 11396 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10766 "ConfigurationInterfaces.c"
+#line 11400 "ConfigurationInterfaces.c"
goto __catch191_configuration_error;
}
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10775,35 +11409,35 @@ static gboolean configuration_facade_real_get_printing_match_aspect_ratio (Confi
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10775 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 11409 "ConfigurationInterfaces.c"
}
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10781 "ConfigurationInterfaces.c"
+#line 11415 "ConfigurationInterfaces.c"
}
goto __finally191;
__catch191_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10802 "ConfigurationInterfaces.c"
+#line 11436 "ConfigurationInterfaces.c"
}
__finally191:
#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10811,41 +11445,43 @@ static gboolean configuration_facade_real_get_printing_match_aspect_ratio (Confi
#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10811 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 11445 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self)
+{
#line 1534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_match_aspect_ratio (self);
-#line 10820 "ConfigurationInterfaces.c"
+#line 11456 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = match_aspect_ratio;
-#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, match_aspect_ratio, &_inner_error_);
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10844 "ConfigurationInterfaces.c"
+#line 11480 "ConfigurationInterfaces.c"
goto __catch192_configuration_error;
}
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10854,25 +11490,25 @@ static void configuration_facade_real_set_printing_match_aspect_ratio (Configura
g_clear_error (&_inner_error_);
#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10853 "ConfigurationInterfaces.c"
+#line 11489 "ConfigurationInterfaces.c"
}
}
goto __finally192;
__catch192_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 10871 "ConfigurationInterfaces.c"
+#line 11507 "ConfigurationInterfaces.c"
}
__finally192:
#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10883,30 +11519,34 @@ static void configuration_facade_real_set_printing_match_aspect_ratio (Configura
g_clear_error (&_inner_error_);
#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 10882 "ConfigurationInterfaces.c"
+#line 11518 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) {
+void
+configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self,
+ gboolean match_aspect_ratio)
+{
#line 1544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_match_aspect_ratio (self, match_aspect_ratio);
-#line 10892 "ConfigurationInterfaces.c"
+#line 11531 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10914,18 +11554,16 @@ static gboolean configuration_facade_real_get_printing_print_titles (Configurati
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, &_inner_error_);
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10920 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 11558 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 10924 "ConfigurationInterfaces.c"
+#line 11562 "ConfigurationInterfaces.c"
goto __catch193_configuration_error;
}
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10933,35 +11571,35 @@ static gboolean configuration_facade_real_get_printing_print_titles (Configurati
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 10933 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 11571 "ConfigurationInterfaces.c"
}
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10939 "ConfigurationInterfaces.c"
+#line 11577 "ConfigurationInterfaces.c"
}
goto __finally193;
__catch193_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 10960 "ConfigurationInterfaces.c"
+#line 11598 "ConfigurationInterfaces.c"
}
__finally193:
#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -10969,41 +11607,43 @@ static gboolean configuration_facade_real_get_printing_print_titles (Configurati
#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 10969 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 11607 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_printing_print_titles (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_printing_print_titles (ConfigurationFacade* self)
+{
#line 1556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_print_titles (self);
-#line 10978 "ConfigurationInterfaces.c"
+#line 11618 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) {
+static void
+configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self,
+ gboolean print_titles)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = print_titles;
-#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, print_titles, &_inner_error_);
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11002 "ConfigurationInterfaces.c"
+#line 11642 "ConfigurationInterfaces.c"
goto __catch194_configuration_error;
}
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11012,25 +11652,25 @@ static void configuration_facade_real_set_printing_print_titles (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11011 "ConfigurationInterfaces.c"
+#line 11651 "ConfigurationInterfaces.c"
}
}
goto __finally194;
__catch194_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11029 "ConfigurationInterfaces.c"
+#line 11669 "ConfigurationInterfaces.c"
}
__finally194:
#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11041,32 +11681,36 @@ static void configuration_facade_real_set_printing_print_titles (ConfigurationFa
g_clear_error (&_inner_error_);
#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11040 "ConfigurationInterfaces.c"
+#line 11680 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) {
+void
+configuration_facade_set_printing_print_titles (ConfigurationFacade* self,
+ gboolean print_titles)
+{
#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_print_titles (self, print_titles);
-#line 11050 "ConfigurationInterfaces.c"
+#line 11693 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp9_ = 0;
+ gint _tmp7_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
gint val = 0;
- gint _tmp6_;
+ gint _tmp5_;
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11074,18 +11718,16 @@ static gint configuration_facade_real_get_printing_size_selection (Configuration
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, &_inner_error_);
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11080 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 11722 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11084 "ConfigurationInterfaces.c"
+#line 11726 "ConfigurationInterfaces.c"
goto __catch195_configuration_error;
}
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11093,56 +11735,52 @@ static gint configuration_facade_real_get_printing_size_selection (Configuration
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 11093 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 11735 "ConfigurationInterfaces.c"
}
#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
val = _tmp0_ - 1;
#line 1581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = val;
+ _tmp5_ = val;
#line 1581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (_tmp6_ == -2) {
-#line 11101 "ConfigurationInterfaces.c"
- ResourcesUnitSystem _tmp7_;
-#line 1582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = resources_get_default_measurement_unit ();
+ if (_tmp5_ == -2) {
#line 1582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (_tmp7_ == RESOURCES_UNIT_SYSTEM_IMPERIAL) {
+ if (resources_get_default_measurement_unit () == RESOURCES_UNIT_SYSTEM_IMPERIAL) {
#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
val = 2;
-#line 11109 "ConfigurationInterfaces.c"
+#line 11747 "ConfigurationInterfaces.c"
} else {
#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
val = 10;
-#line 11113 "ConfigurationInterfaces.c"
+#line 11751 "ConfigurationInterfaces.c"
}
}
#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = val;
#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11120 "ConfigurationInterfaces.c"
+#line 11758 "ConfigurationInterfaces.c"
}
goto __finally195;
__catch195_configuration_error:
{
GError* err = NULL;
- GError* _tmp8_;
+ GError* _tmp6_;
#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = err;
+ _tmp6_ = err;
#line 1591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp8_);
+ configuration_facade_on_configuration_error (self, _tmp6_);
#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0;
#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11141 "ConfigurationInterfaces.c"
+#line 11779 "ConfigurationInterfaces.c"
}
__finally195:
#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11150,41 +11788,43 @@ static gint configuration_facade_real_get_printing_size_selection (Configuration
#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp9_;
-#line 11150 "ConfigurationInterfaces.c"
+ return _tmp7_;
+#line 11788 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self) {
+gint
+configuration_facade_get_printing_size_selection (ConfigurationFacade* self)
+{
#line 1578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_size_selection (self);
-#line 11159 "ConfigurationInterfaces.c"
+#line 11799 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, gint size_code) {
+static void
+configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self,
+ gint size_code)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = size_code;
-#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, _tmp2_ + 1, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, size_code + 1, &_inner_error_);
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11183 "ConfigurationInterfaces.c"
+#line 11823 "ConfigurationInterfaces.c"
goto __catch196_configuration_error;
}
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11193,25 +11833,25 @@ static void configuration_facade_real_set_printing_size_selection (Configuration
g_clear_error (&_inner_error_);
#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11192 "ConfigurationInterfaces.c"
+#line 11832 "ConfigurationInterfaces.c"
}
}
goto __finally196;
__catch196_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11210 "ConfigurationInterfaces.c"
+#line 11850 "ConfigurationInterfaces.c"
}
__finally196:
#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11222,21 +11862,26 @@ static void configuration_facade_real_set_printing_size_selection (Configuration
g_clear_error (&_inner_error_);
#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11221 "ConfigurationInterfaces.c"
+#line 11861 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code) {
+void
+configuration_facade_set_printing_size_selection (ConfigurationFacade* self,
+ gint size_code)
+{
#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_size_selection (self, size_code);
-#line 11231 "ConfigurationInterfaces.c"
+#line 11874 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_printing_titles_font (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -11262,7 +11907,7 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11261 "ConfigurationInterfaces.c"
+#line 11906 "ConfigurationInterfaces.c"
goto __catch197_configuration_error;
}
#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11271,7 +11916,7 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF
g_clear_error (&_inner_error_);
#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 11270 "ConfigurationInterfaces.c"
+#line 11915 "ConfigurationInterfaces.c"
}
#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -11283,7 +11928,7 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF
_g_free0 (_tmp0_);
#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11282 "ConfigurationInterfaces.c"
+#line 11927 "ConfigurationInterfaces.c"
}
goto __finally197;
__catch197_configuration_error:
@@ -11307,7 +11952,7 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF
_g_error_free0 (err);
#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11306 "ConfigurationInterfaces.c"
+#line 11951 "ConfigurationInterfaces.c"
}
__finally197:
#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11316,43 +11961,45 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF
g_clear_error (&_inner_error_);
#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 11315 "ConfigurationInterfaces.c"
+#line 11960 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_printing_titles_font (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_printing_titles_font (ConfigurationFacade* self)
+{
#line 1609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_titles_font (self);
-#line 11324 "ConfigurationInterfaces.c"
+#line 11971 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (font_name != NULL);
-#line 11332 "ConfigurationInterfaces.c"
+#line 11982 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = font_name;
-#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, font_name, &_inner_error_);
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11351 "ConfigurationInterfaces.c"
+#line 11998 "ConfigurationInterfaces.c"
goto __catch198_configuration_error;
}
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11361,25 +12008,25 @@ static void configuration_facade_real_set_printing_titles_font (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11360 "ConfigurationInterfaces.c"
+#line 12007 "ConfigurationInterfaces.c"
}
}
goto __finally198;
__catch198_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11378 "ConfigurationInterfaces.c"
+#line 12025 "ConfigurationInterfaces.c"
}
__finally198:
#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11390,30 +12037,34 @@ static void configuration_facade_real_set_printing_titles_font (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11389 "ConfigurationInterfaces.c"
+#line 12036 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) {
+void
+configuration_facade_set_printing_titles_font (ConfigurationFacade* self,
+ const gchar* font_name)
+{
#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_titles_font (self, font_name);
-#line 11399 "ConfigurationInterfaces.c"
+#line 12049 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11421,18 +12072,16 @@ static gboolean configuration_facade_real_get_show_welcome_dialog (Configuration
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, &_inner_error_);
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11427 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 12076 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11431 "ConfigurationInterfaces.c"
+#line 12080 "ConfigurationInterfaces.c"
goto __catch199_configuration_error;
}
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11440,35 +12089,35 @@ static gboolean configuration_facade_real_get_show_welcome_dialog (Configuration
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 11440 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 12089 "ConfigurationInterfaces.c"
}
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11446 "ConfigurationInterfaces.c"
+#line 12095 "ConfigurationInterfaces.c"
}
goto __finally199;
__catch199_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = TRUE;
#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11467 "ConfigurationInterfaces.c"
+#line 12116 "ConfigurationInterfaces.c"
}
__finally199:
#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11476,41 +12125,43 @@ static gboolean configuration_facade_real_get_show_welcome_dialog (Configuration
#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 11476 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 12125 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self)
+{
#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_show_welcome_dialog (self);
-#line 11485 "ConfigurationInterfaces.c"
+#line 12136 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) {
+static void
+configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self,
+ gboolean show)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = show;
-#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, show, &_inner_error_);
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11509 "ConfigurationInterfaces.c"
+#line 12160 "ConfigurationInterfaces.c"
goto __catch200_configuration_error;
}
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11519,25 +12170,25 @@ static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11518 "ConfigurationInterfaces.c"
+#line 12169 "ConfigurationInterfaces.c"
}
}
goto __finally200;
__catch200_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11536 "ConfigurationInterfaces.c"
+#line 12187 "ConfigurationInterfaces.c"
}
__finally200:
#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11548,30 +12199,34 @@ static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFaca
g_clear_error (&_inner_error_);
#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11547 "ConfigurationInterfaces.c"
+#line 12198 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) {
+void
+configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self,
+ gboolean show)
+{
#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_show_welcome_dialog (self, show);
-#line 11557 "ConfigurationInterfaces.c"
+#line 12211 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_sidebar_position (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11579,18 +12234,16 @@ static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade*
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, &_inner_error_);
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11585 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 12238 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11589 "ConfigurationInterfaces.c"
+#line 12242 "ConfigurationInterfaces.c"
goto __catch201_configuration_error;
}
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11598,35 +12251,35 @@ static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade*
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 11598 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 12251 "ConfigurationInterfaces.c"
}
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11604 "ConfigurationInterfaces.c"
+#line 12257 "ConfigurationInterfaces.c"
}
goto __finally201;
__catch201_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 180;
#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11625 "ConfigurationInterfaces.c"
+#line 12278 "ConfigurationInterfaces.c"
}
__finally201:
#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11634,41 +12287,43 @@ static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade*
#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 11634 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 12287 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_sidebar_position (ConfigurationFacade* self) {
+gint
+configuration_facade_get_sidebar_position (ConfigurationFacade* self)
+{
#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_sidebar_position (self);
-#line 11643 "ConfigurationInterfaces.c"
+#line 12298 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_sidebar_position (ConfigurationFacade* self, gint position) {
+static void
+configuration_facade_real_set_sidebar_position (ConfigurationFacade* self,
+ gint position)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = position;
-#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, position, &_inner_error_);
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11667 "ConfigurationInterfaces.c"
+#line 12322 "ConfigurationInterfaces.c"
goto __catch202_configuration_error;
}
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11677,25 +12332,25 @@ static void configuration_facade_real_set_sidebar_position (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11676 "ConfigurationInterfaces.c"
+#line 12331 "ConfigurationInterfaces.c"
}
}
goto __finally202;
__catch202_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11694 "ConfigurationInterfaces.c"
+#line 12349 "ConfigurationInterfaces.c"
}
__finally202:
#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11706,30 +12361,34 @@ static void configuration_facade_real_set_sidebar_position (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11705 "ConfigurationInterfaces.c"
+#line 12360 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position) {
+void
+configuration_facade_set_sidebar_position (ConfigurationFacade* self,
+ gint position)
+{
#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_sidebar_position (self, position);
-#line 11715 "ConfigurationInterfaces.c"
+#line 12373 "ConfigurationInterfaces.c"
}
-static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self) {
+static gdouble
+configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self)
+{
gdouble result = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp6_ = 0.0;
GError * _inner_error_ = NULL;
{
gdouble _tmp0_ = 0.0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gdouble _tmp3_;
- gdouble _tmp4_;
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11737,18 +12396,16 @@ static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacad
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, &_inner_error_);
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11743 "ConfigurationInterfaces.c"
- gdouble _tmp5_ = 0.0;
+#line 12400 "ConfigurationInterfaces.c"
+ gdouble _tmp4_ = 0.0;
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11747 "ConfigurationInterfaces.c"
+#line 12404 "ConfigurationInterfaces.c"
goto __catch203_configuration_error;
}
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11756,35 +12413,35 @@ static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacad
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 11756 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 12413 "ConfigurationInterfaces.c"
}
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11762 "ConfigurationInterfaces.c"
+#line 12419 "ConfigurationInterfaces.c"
}
goto __finally203;
__catch203_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 3.0;
#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11783 "ConfigurationInterfaces.c"
+#line 12440 "ConfigurationInterfaces.c"
}
__finally203:
#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11792,41 +12449,43 @@ static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacad
#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 11792 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 12449 "ConfigurationInterfaces.c"
}
-gdouble configuration_facade_get_slideshow_delay (ConfigurationFacade* self) {
+gdouble
+configuration_facade_get_slideshow_delay (ConfigurationFacade* self)
+{
#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0);
#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_delay (self);
-#line 11801 "ConfigurationInterfaces.c"
+#line 12460 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) {
+static void
+configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self,
+ gdouble delay)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gdouble _tmp2_;
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = delay;
-#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, _tmp2_, &_inner_error_);
+ configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, delay, &_inner_error_);
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11825 "ConfigurationInterfaces.c"
+#line 12484 "ConfigurationInterfaces.c"
goto __catch204_configuration_error;
}
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11835,25 +12494,25 @@ static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11834 "ConfigurationInterfaces.c"
+#line 12493 "ConfigurationInterfaces.c"
}
}
goto __finally204;
__catch204_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 11852 "ConfigurationInterfaces.c"
+#line 12511 "ConfigurationInterfaces.c"
}
__finally204:
#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11864,30 +12523,34 @@ static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11863 "ConfigurationInterfaces.c"
+#line 12522 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) {
+void
+configuration_facade_set_slideshow_delay (ConfigurationFacade* self,
+ gdouble delay)
+{
#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_delay (self, delay);
-#line 11873 "ConfigurationInterfaces.c"
+#line 12535 "ConfigurationInterfaces.c"
}
-static gdouble configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self) {
+static gdouble
+configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self)
+{
gdouble result = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp6_ = 0.0;
GError * _inner_error_ = NULL;
{
gdouble _tmp0_ = 0.0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gdouble _tmp3_;
- gdouble _tmp4_;
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11895,18 +12558,16 @@ static gdouble configuration_facade_real_get_slideshow_transition_delay (Configu
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, &_inner_error_);
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11901 "ConfigurationInterfaces.c"
- gdouble _tmp5_ = 0.0;
+#line 12562 "ConfigurationInterfaces.c"
+ gdouble _tmp4_ = 0.0;
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11905 "ConfigurationInterfaces.c"
+#line 12566 "ConfigurationInterfaces.c"
goto __catch205_configuration_error;
}
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11914,35 +12575,35 @@ static gdouble configuration_facade_real_get_slideshow_transition_delay (Configu
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 11914 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 12575 "ConfigurationInterfaces.c"
}
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11920 "ConfigurationInterfaces.c"
+#line 12581 "ConfigurationInterfaces.c"
}
goto __finally205;
__catch205_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = 0.3;
#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 11941 "ConfigurationInterfaces.c"
+#line 12602 "ConfigurationInterfaces.c"
}
__finally205:
#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11950,41 +12611,43 @@ static gdouble configuration_facade_real_get_slideshow_transition_delay (Configu
#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 11950 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 12611 "ConfigurationInterfaces.c"
}
-gdouble configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self) {
+gdouble
+configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self)
+{
#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0);
#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_delay (self);
-#line 11959 "ConfigurationInterfaces.c"
+#line 12622 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) {
+static void
+configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self,
+ gdouble delay)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gdouble _tmp2_;
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = delay;
-#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, _tmp2_, &_inner_error_);
+ configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, delay, &_inner_error_);
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 11983 "ConfigurationInterfaces.c"
+#line 12646 "ConfigurationInterfaces.c"
goto __catch206_configuration_error;
}
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -11993,25 +12656,25 @@ static void configuration_facade_real_set_slideshow_transition_delay (Configurat
g_clear_error (&_inner_error_);
#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 11992 "ConfigurationInterfaces.c"
+#line 12655 "ConfigurationInterfaces.c"
}
}
goto __finally206;
__catch206_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12010 "ConfigurationInterfaces.c"
+#line 12673 "ConfigurationInterfaces.c"
}
__finally206:
#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12022,21 +12685,26 @@ static void configuration_facade_real_set_slideshow_transition_delay (Configurat
g_clear_error (&_inner_error_);
#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12021 "ConfigurationInterfaces.c"
+#line 12684 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) {
+void
+configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self,
+ gdouble delay)
+{
#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_delay (self, delay);
-#line 12031 "ConfigurationInterfaces.c"
+#line 12697 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_slideshow_transition_effect_id (ConfigurationFacade* self) {
+static gchar*
+configuration_facade_real_get_slideshow_transition_effect_id (ConfigurationFacade* self)
+{
gchar* result = NULL;
GError * _inner_error_ = NULL;
{
@@ -12062,7 +12730,7 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12061 "ConfigurationInterfaces.c"
+#line 12729 "ConfigurationInterfaces.c"
goto __catch207_configuration_error;
}
#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12071,7 +12739,7 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf
g_clear_error (&_inner_error_);
#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 12070 "ConfigurationInterfaces.c"
+#line 12738 "ConfigurationInterfaces.c"
}
#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp5_ = _tmp0_;
@@ -12083,7 +12751,7 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf
_g_free0 (_tmp0_);
#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12082 "ConfigurationInterfaces.c"
+#line 12750 "ConfigurationInterfaces.c"
}
goto __finally207;
__catch207_configuration_error:
@@ -12107,7 +12775,7 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf
_g_error_free0 (err);
#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12106 "ConfigurationInterfaces.c"
+#line 12774 "ConfigurationInterfaces.c"
}
__finally207:
#line 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12116,43 +12784,45 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf
g_clear_error (&_inner_error_);
#line 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return NULL;
-#line 12115 "ConfigurationInterfaces.c"
+#line 12783 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self) {
+gchar*
+configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self)
+{
#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_effect_id (self);
-#line 12124 "ConfigurationInterfaces.c"
+#line 12794 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (id != NULL);
-#line 12132 "ConfigurationInterfaces.c"
+#line 12805 "ConfigurationInterfaces.c"
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = id;
-#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, _tmp2_, &_inner_error_);
+ configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, id, &_inner_error_);
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12151 "ConfigurationInterfaces.c"
+#line 12821 "ConfigurationInterfaces.c"
goto __catch208_configuration_error;
}
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12161,25 +12831,25 @@ static void configuration_facade_real_set_slideshow_transition_effect_id (Config
g_clear_error (&_inner_error_);
#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12160 "ConfigurationInterfaces.c"
+#line 12830 "ConfigurationInterfaces.c"
}
}
goto __finally208;
__catch208_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12178 "ConfigurationInterfaces.c"
+#line 12848 "ConfigurationInterfaces.c"
}
__finally208:
#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12190,30 +12860,34 @@ static void configuration_facade_real_set_slideshow_transition_effect_id (Config
g_clear_error (&_inner_error_);
#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12189 "ConfigurationInterfaces.c"
+#line 12859 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) {
+void
+configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self,
+ const gchar* id)
+{
#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_effect_id (self, id);
-#line 12199 "ConfigurationInterfaces.c"
+#line 12872 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12221,18 +12895,16 @@ static gboolean configuration_facade_real_get_slideshow_show_title (Configuratio
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, &_inner_error_);
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12227 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 12899 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12231 "ConfigurationInterfaces.c"
+#line 12903 "ConfigurationInterfaces.c"
goto __catch209_configuration_error;
}
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12240,35 +12912,35 @@ static gboolean configuration_facade_real_get_slideshow_show_title (Configuratio
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 12240 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 12912 "ConfigurationInterfaces.c"
}
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12246 "ConfigurationInterfaces.c"
+#line 12918 "ConfigurationInterfaces.c"
}
goto __finally209;
__catch209_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12267 "ConfigurationInterfaces.c"
+#line 12939 "ConfigurationInterfaces.c"
}
__finally209:
#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12276,41 +12948,43 @@ static gboolean configuration_facade_real_get_slideshow_show_title (Configuratio
#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 12276 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 12948 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_slideshow_show_title (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_slideshow_show_title (ConfigurationFacade* self)
+{
#line 1744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_show_title (self);
-#line 12285 "ConfigurationInterfaces.c"
+#line 12959 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) {
+static void
+configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self,
+ gboolean show_title)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = show_title;
-#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, show_title, &_inner_error_);
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12309 "ConfigurationInterfaces.c"
+#line 12983 "ConfigurationInterfaces.c"
goto __catch210_configuration_error;
}
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12319,25 +12993,25 @@ static void configuration_facade_real_set_slideshow_show_title (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12318 "ConfigurationInterfaces.c"
+#line 12992 "ConfigurationInterfaces.c"
}
}
goto __finally210;
__catch210_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12336 "ConfigurationInterfaces.c"
+#line 13010 "ConfigurationInterfaces.c"
}
__finally210:
#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12348,36 +13022,45 @@ static void configuration_facade_real_set_slideshow_show_title (ConfigurationFac
g_clear_error (&_inner_error_);
#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12347 "ConfigurationInterfaces.c"
+#line 13021 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) {
+void
+configuration_facade_set_slideshow_show_title (ConfigurationFacade* self,
+ gboolean show_title)
+{
#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_show_title (self, show_title);
-#line 12357 "ConfigurationInterfaces.c"
+#line 13034 "ConfigurationInterfaces.c"
}
-static void g_time_local (time_t time, struct tm* result) {
+static void
+g_time_local (time_t time,
+ struct tm* result)
+{
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2846 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2846 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2847 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2847 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return;
-#line 12372 "ConfigurationInterfaces.c"
+#line 13052 "ConfigurationInterfaces.c"
}
-static gchar* g_time_format (struct tm *self, const gchar* format) {
+static gchar*
+g_time_format (struct tm *self,
+ const gchar* format)
+{
gchar* result = NULL;
gchar* buffer = NULL;
gchar* _tmp0_;
@@ -12385,54 +13068,52 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gint _buffer_size_;
gchar* _tmp1_;
gint _tmp1__length1;
- const gchar* _tmp2_;
+ gchar* _tmp2_;
+ gint _tmp2__length1;
gchar* _tmp3_;
- gint _tmp3__length1;
- gchar* _tmp4_;
-#line 2854 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2874 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp2_ = format;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3_ = buffer;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3__length1 = buffer_length1;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp4_;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ strftime (_tmp1_, _tmp1__length1, format, &(*self));
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2_ = buffer;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2__length1 = buffer_length1;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp3_ = g_strdup ((const gchar*) _tmp2_);
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = _tmp3_;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 12418 "ConfigurationInterfaces.c"
+#line 13098 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp12_ = FALSE;
+ gboolean _tmp10_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12440,18 +13121,16 @@ static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFac
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, &_inner_error_);
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12446 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 13125 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12450 "ConfigurationInterfaces.c"
+#line 13129 "ConfigurationInterfaces.c"
goto __catch211_configuration_error;
}
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12459,52 +13138,49 @@ static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFac
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 12459 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 13138 "ConfigurationInterfaces.c"
}
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12465 "ConfigurationInterfaces.c"
+#line 13144 "ConfigurationInterfaces.c"
}
goto __finally211;
__catch211_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
- struct tm _tmp7_ = {0};
+ GError* _tmp5_;
+ struct tm _tmp6_ = {0};
+ gchar* _tmp7_;
gchar* _tmp8_;
- gchar* _tmp9_;
- gboolean _tmp10_;
- gboolean _tmp11_;
+ gboolean _tmp9_;
#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
-#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- g_time_local ((time_t) 0, &_tmp7_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = g_time_format (&_tmp7_, "%p");
+ g_time_local ((time_t) 0, &_tmp6_);
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = _tmp8_;
+ _tmp7_ = g_time_format (&_tmp6_, "%p");
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = is_string_empty (_tmp9_);
+ _tmp8_ = _tmp7_;
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = _tmp10_;
+ _tmp9_ = is_string_empty (_tmp8_);
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_free0 (_tmp9_);
+ _g_free0 (_tmp8_);
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp11_;
+ result = _tmp9_;
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12503 "ConfigurationInterfaces.c"
+#line 13179 "ConfigurationInterfaces.c"
}
__finally211:
#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12512,41 +13188,43 @@ static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFac
#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp12_;
-#line 12512 "ConfigurationInterfaces.c"
+ return _tmp10_;
+#line 13188 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_use_24_hour_time (ConfigurationFacade* self)
+{
#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_24_hour_time (self);
-#line 12521 "ConfigurationInterfaces.c"
+#line 13199 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = use_24_hour_time;
-#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, use_24_hour_time, &_inner_error_);
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12545 "ConfigurationInterfaces.c"
+#line 13223 "ConfigurationInterfaces.c"
goto __catch212_configuration_error;
}
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12555,25 +13233,25 @@ static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12554 "ConfigurationInterfaces.c"
+#line 13232 "ConfigurationInterfaces.c"
}
}
goto __finally212;
__catch212_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12572 "ConfigurationInterfaces.c"
+#line 13250 "ConfigurationInterfaces.c"
}
__finally212:
#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12584,30 +13262,34 @@ static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade*
g_clear_error (&_inner_error_);
#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12583 "ConfigurationInterfaces.c"
+#line 13261 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) {
+void
+configuration_facade_set_use_24_hour_time (ConfigurationFacade* self,
+ gboolean use_24_hour_time)
+{
#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_use_24_hour_time (self, use_24_hour_time);
-#line 12593 "ConfigurationInterfaces.c"
+#line 13274 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self) {
+static gboolean
+configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self)
+{
gboolean result = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp6_ = FALSE;
GError * _inner_error_ = NULL;
{
gboolean _tmp0_ = FALSE;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gboolean _tmp3_;
- gboolean _tmp4_;
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12615,18 +13297,16 @@ static gboolean configuration_facade_real_get_use_lowercase_filenames (Configura
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, &_inner_error_);
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12621 "ConfigurationInterfaces.c"
- gboolean _tmp5_ = FALSE;
+#line 13301 "ConfigurationInterfaces.c"
+ gboolean _tmp4_ = FALSE;
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12625 "ConfigurationInterfaces.c"
+#line 13305 "ConfigurationInterfaces.c"
goto __catch213_configuration_error;
}
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12634,35 +13314,35 @@ static gboolean configuration_facade_real_get_use_lowercase_filenames (Configura
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 12634 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 13314 "ConfigurationInterfaces.c"
}
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12640 "ConfigurationInterfaces.c"
+#line 13320 "ConfigurationInterfaces.c"
}
goto __finally213;
__catch213_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = FALSE;
#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12661 "ConfigurationInterfaces.c"
+#line 13341 "ConfigurationInterfaces.c"
}
__finally213:
#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12670,41 +13350,43 @@ static gboolean configuration_facade_real_get_use_lowercase_filenames (Configura
#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 12670 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 13350 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self) {
+gboolean
+configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self)
+{
#line 1788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_lowercase_filenames (self);
-#line 12679 "ConfigurationInterfaces.c"
+#line 13361 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) {
+static void
+configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self,
+ gboolean b)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gboolean _tmp2_;
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = b;
-#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, _tmp2_, &_inner_error_);
+ configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, b, &_inner_error_);
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12703 "ConfigurationInterfaces.c"
+#line 13385 "ConfigurationInterfaces.c"
goto __catch214_configuration_error;
}
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12713,25 +13395,25 @@ static void configuration_facade_real_set_use_lowercase_filenames (Configuration
g_clear_error (&_inner_error_);
#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12712 "ConfigurationInterfaces.c"
+#line 13394 "ConfigurationInterfaces.c"
}
}
goto __finally214;
__catch214_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12730 "ConfigurationInterfaces.c"
+#line 13412 "ConfigurationInterfaces.c"
}
__finally214:
#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12742,30 +13424,34 @@ static void configuration_facade_real_set_use_lowercase_filenames (Configuration
g_clear_error (&_inner_error_);
#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12741 "ConfigurationInterfaces.c"
+#line 13423 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) {
+void
+configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self,
+ gboolean b)
+{
#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_use_lowercase_filenames (self, b);
-#line 12751 "ConfigurationInterfaces.c"
+#line 13436 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self) {
+static gint
+configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self)
+{
gint result = 0;
- gint _tmp7_ = 0;
+ gint _tmp6_ = 0;
GError * _inner_error_ = NULL;
{
gint _tmp0_ = 0;
ConfigurationEngine* _tmp1_;
ConfigurationEngine* _tmp2_;
gint _tmp3_;
- gint _tmp4_;
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = configuration_facade_get_engine (self);
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12773,18 +13459,16 @@ static gint configuration_facade_real_get_video_interpreter_state_cookie (Config
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, &_inner_error_);
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
-#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp2_);
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = _tmp4_;
+ _tmp0_ = _tmp3_;
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12779 "ConfigurationInterfaces.c"
- gint _tmp5_ = 0;
+#line 13463 "ConfigurationInterfaces.c"
+ gint _tmp4_ = 0;
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12783 "ConfigurationInterfaces.c"
+#line 13467 "ConfigurationInterfaces.c"
goto __catch215_configuration_error;
}
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12792,35 +13476,35 @@ static gint configuration_facade_real_get_video_interpreter_state_cookie (Config
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp5_;
-#line 12792 "ConfigurationInterfaces.c"
+ return _tmp4_;
+#line 13476 "ConfigurationInterfaces.c"
}
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = _tmp0_;
#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12798 "ConfigurationInterfaces.c"
+#line 13482 "ConfigurationInterfaces.c"
}
goto __finally215;
__catch215_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
+ GError* _tmp5_;
#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = err;
+ _tmp5_ = err;
#line 1814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp6_);
+ configuration_facade_on_configuration_error (self, _tmp5_);
#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
result = -1;
#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12819 "ConfigurationInterfaces.c"
+#line 13503 "ConfigurationInterfaces.c"
}
__finally215:
#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12828,41 +13512,43 @@ static gint configuration_facade_real_get_video_interpreter_state_cookie (Config
#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_clear_error (&_inner_error_);
#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- return _tmp7_;
-#line 12828 "ConfigurationInterfaces.c"
+ return _tmp6_;
+#line 13512 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self) {
+gint
+configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self)
+{
#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_video_interpreter_state_cookie (self);
-#line 12837 "ConfigurationInterfaces.c"
+#line 13523 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
GError * _inner_error_ = NULL;
{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- gint _tmp2_;
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp0_ = configuration_facade_get_engine (self);
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = state_cookie;
-#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, _tmp2_, &_inner_error_);
+ configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, state_cookie, &_inner_error_);
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 12861 "ConfigurationInterfaces.c"
+#line 13547 "ConfigurationInterfaces.c"
goto __catch216_configuration_error;
}
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12871,25 +13557,25 @@ static void configuration_facade_real_set_video_interpreter_state_cookie (Config
g_clear_error (&_inner_error_);
#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12870 "ConfigurationInterfaces.c"
+#line 13556 "ConfigurationInterfaces.c"
}
}
goto __finally216;
__catch216_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
+ GError* _tmp2_;
#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
err = _inner_error_;
#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_inner_error_ = NULL;
#line 1825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = err;
+ _tmp2_ = err;
#line 1825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_facade_on_configuration_error (self, _tmp3_);
+ configuration_facade_on_configuration_error (self, _tmp2_);
#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_error_free0 (err);
-#line 12888 "ConfigurationInterfaces.c"
+#line 13574 "ConfigurationInterfaces.c"
}
__finally216:
#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12900,30 +13586,34 @@ static void configuration_facade_real_set_video_interpreter_state_cookie (Config
g_clear_error (&_inner_error_);
#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return;
-#line 12899 "ConfigurationInterfaces.c"
+#line 13585 "ConfigurationInterfaces.c"
}
}
-void configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) {
+void
+configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self,
+ gint state_cookie)
+{
#line 1820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_video_interpreter_state_cookie (self, state_cookie);
-#line 12909 "ConfigurationInterfaces.c"
+#line 13598 "ConfigurationInterfaces.c"
}
-static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) {
+static gboolean
+configuration_facade_real_get_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def)
+{
gboolean result = FALSE;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gboolean _tmp5_;
- gboolean _tmp6_;
- gboolean _tmp7_;
+ gboolean _tmp2_;
#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (domain != NULL, FALSE);
#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12935,43 +13625,41 @@ static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade*
#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = def;
-#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_engine_get_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp2_ = configuration_engine_get_plugin_bool (_tmp1_, domain, id, key, def);
#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp7_;
+ result = _tmp2_;
#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 12951 "ConfigurationInterfaces.c"
+#line 13631 "ConfigurationInterfaces.c"
}
-gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) {
+gboolean
+configuration_facade_get_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def)
+{
#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE);
#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_bool (self, domain, id, key, def);
-#line 12960 "ConfigurationInterfaces.c"
+#line 13646 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) {
+static void
+configuration_facade_real_set_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val)
+{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gboolean _tmp5_;
#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (domain != NULL);
#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -12983,40 +13671,39 @@ static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self
#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = val;
-#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_engine_set_plugin_bool (_tmp1_, domain, id, key, val);
#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
-#line 12993 "ConfigurationInterfaces.c"
+#line 13673 "ConfigurationInterfaces.c"
}
-void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) {
+void
+configuration_facade_set_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val)
+{
#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_bool (self, domain, id, key, val);
-#line 13002 "ConfigurationInterfaces.c"
+#line 13688 "ConfigurationInterfaces.c"
}
-static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) {
+static gdouble
+configuration_facade_real_get_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def)
+{
gdouble result = 0.0;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gdouble _tmp5_;
- gdouble _tmp6_;
- gdouble _tmp7_;
+ gdouble _tmp2_;
#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (domain != NULL, 0.0);
#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13028,43 +13715,41 @@ static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade*
#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = def;
-#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_engine_get_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp2_ = configuration_engine_get_plugin_double (_tmp1_, domain, id, key, def);
#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp7_;
+ result = _tmp2_;
#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 13044 "ConfigurationInterfaces.c"
+#line 13721 "ConfigurationInterfaces.c"
}
-gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) {
+gdouble
+configuration_facade_get_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def)
+{
#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0);
#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_double (self, domain, id, key, def);
-#line 13053 "ConfigurationInterfaces.c"
+#line 13736 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) {
+static void
+configuration_facade_real_set_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val)
+{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gdouble _tmp5_;
#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (domain != NULL);
#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13076,40 +13761,39 @@ static void configuration_facade_real_set_plugin_double (ConfigurationFacade* se
#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = val;
-#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_engine_set_plugin_double (_tmp1_, domain, id, key, val);
#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
-#line 13086 "ConfigurationInterfaces.c"
+#line 13763 "ConfigurationInterfaces.c"
}
-void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) {
+void
+configuration_facade_set_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val)
+{
#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_double (self, domain, id, key, val);
-#line 13095 "ConfigurationInterfaces.c"
+#line 13778 "ConfigurationInterfaces.c"
}
-static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) {
+static gint
+configuration_facade_real_get_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def)
+{
gint result = 0;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gint _tmp5_;
- gint _tmp6_;
- gint _tmp7_;
+ gint _tmp2_;
#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (domain != NULL, 0);
#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13121,43 +13805,41 @@ static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self,
#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = def;
-#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_engine_get_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp2_ = configuration_engine_get_plugin_int (_tmp1_, domain, id, key, def);
#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp7_;
+ result = _tmp2_;
#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 13137 "ConfigurationInterfaces.c"
+#line 13811 "ConfigurationInterfaces.c"
}
-gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) {
+gint
+configuration_facade_get_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def)
+{
#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_int (self, domain, id, key, def);
-#line 13146 "ConfigurationInterfaces.c"
+#line 13826 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) {
+static void
+configuration_facade_real_set_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val)
+{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- gint _tmp5_;
#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (domain != NULL);
#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13169,44 +13851,44 @@ static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self,
#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = val;
-#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_engine_set_plugin_int (_tmp1_, domain, id, key, val);
#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
-#line 13179 "ConfigurationInterfaces.c"
+#line 13853 "ConfigurationInterfaces.c"
}
-void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) {
+void
+configuration_facade_set_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val)
+{
#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_int (self, domain, id, key, val);
-#line 13188 "ConfigurationInterfaces.c"
+#line 13868 "ConfigurationInterfaces.c"
}
-static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) {
+static gchar*
+configuration_facade_real_get_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def)
+{
gchar* result = NULL;
gchar* _result_ = NULL;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_ = NULL;
const gchar* _tmp5_;
- gchar* _tmp6_;
gchar* _tmp7_;
- const gchar* _tmp8_ = NULL;
- const gchar* _tmp9_;
- gchar* _tmp11_;
#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (domain != NULL, NULL);
#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13218,65 +13900,64 @@ static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade*
#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
+ _tmp2_ = configuration_engine_get_plugin_string (_tmp1_, domain, id, key, def);
#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = def;
-#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = configuration_engine_get_plugin_string (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp7_ = _tmp6_;
+ _tmp3_ = _tmp2_;
#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _result_ = _tmp7_;
+ _result_ = _tmp3_;
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp9_ = _result_;
+ _tmp5_ = _result_;
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (g_strcmp0 (_tmp9_, "") == 0) {
+ if (g_strcmp0 (_tmp5_, "") == 0) {
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = NULL;
-#line 13238 "ConfigurationInterfaces.c"
+ _tmp4_ = NULL;
+#line 13912 "ConfigurationInterfaces.c"
} else {
- const gchar* _tmp10_;
+ const gchar* _tmp6_;
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp10_ = _result_;
+ _tmp6_ = _result_;
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp8_ = _tmp10_;
-#line 13245 "ConfigurationInterfaces.c"
+ _tmp4_ = _tmp6_;
+#line 13919 "ConfigurationInterfaces.c"
}
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp11_ = g_strdup (_tmp8_);
+ _tmp7_ = g_strdup (_tmp4_);
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp11_;
+ result = _tmp7_;
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_free0 (_result_);
#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 13255 "ConfigurationInterfaces.c"
+#line 13929 "ConfigurationInterfaces.c"
}
-gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) {
+gchar*
+configuration_facade_get_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def)
+{
#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL);
#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_string (self, domain, id, key, def);
-#line 13264 "ConfigurationInterfaces.c"
+#line 13944 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) {
- const gchar* _tmp0_;
+static void
+configuration_facade_real_set_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val)
+{
+ ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- ConfigurationEngine* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
- const gchar* _tmp5_;
- const gchar* _tmp6_;
#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (domain != NULL);
#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13284,48 +13965,46 @@ static void configuration_facade_real_set_plugin_string (ConfigurationFacade* se
#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (key != NULL);
#line 1862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp0_ = val;
-#line 1862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- if (_tmp0_ == NULL) {
+ if (val == NULL) {
#line 1863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
val = "";
-#line 13288 "ConfigurationInterfaces.c"
+#line 13967 "ConfigurationInterfaces.c"
}
#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp1_ = configuration_facade_get_engine (self);
-#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = _tmp1_;
-#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = domain;
-#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = id;
-#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp5_ = key;
+ _tmp0_ = configuration_facade_get_engine (self);
#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp6_ = val;
+ _tmp1_ = _tmp0_;
#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_plugin_string (_tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_);
+ configuration_engine_set_plugin_string (_tmp1_, domain, id, key, val);
#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _g_object_unref0 (_tmp2_);
-#line 13306 "ConfigurationInterfaces.c"
+ _g_object_unref0 (_tmp1_);
+#line 13977 "ConfigurationInterfaces.c"
}
-void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) {
+void
+configuration_facade_set_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val)
+{
#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_string (self, domain, id, key, val);
-#line 13315 "ConfigurationInterfaces.c"
+#line 13992 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- const gchar* _tmp4_;
#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (domain != NULL);
#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13337,35 +14016,35 @@ static void configuration_facade_real_unset_plugin_key (ConfigurationFacade* sel
#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = domain;
-#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = id;
-#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = key;
-#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_unset_plugin_key (_tmp1_, _tmp2_, _tmp3_, _tmp4_);
+ configuration_engine_unset_plugin_key (_tmp1_, domain, id, key);
#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
-#line 13345 "ConfigurationInterfaces.c"
+#line 14018 "ConfigurationInterfaces.c"
}
-void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) {
+void
+configuration_facade_unset_plugin_key (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key)
+{
#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->unset_plugin_key (self, domain, id, key);
-#line 13354 "ConfigurationInterfaces.c"
+#line 14032 "ConfigurationInterfaces.c"
}
-static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) {
+static FuzzyPropertyState
+configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self,
+ const gchar* id)
+{
FuzzyPropertyState result = 0;
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- FuzzyPropertyState _tmp3_;
- FuzzyPropertyState _tmp4_;
+ FuzzyPropertyState _tmp2_;
#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (id != NULL, 0);
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13373,35 +14052,36 @@ static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (Configura
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = id;
-#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = configuration_engine_is_plugin_enabled (_tmp1_, _tmp2_);
-#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp4_ = _tmp3_;
+ _tmp2_ = configuration_engine_is_plugin_enabled (_tmp1_, id);
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- result = _tmp4_;
+ result = _tmp2_;
#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return result;
-#line 13383 "ConfigurationInterfaces.c"
+#line 14058 "ConfigurationInterfaces.c"
}
-FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) {
+FuzzyPropertyState
+configuration_facade_is_plugin_enabled (ConfigurationFacade* self,
+ const gchar* id)
+{
#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0);
#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
return CONFIGURATION_FACADE_GET_CLASS (self)->is_plugin_enabled (self, id);
-#line 13392 "ConfigurationInterfaces.c"
+#line 14070 "ConfigurationInterfaces.c"
}
-static void configuration_facade_real_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)
+{
ConfigurationEngine* _tmp0_;
ConfigurationEngine* _tmp1_;
- const gchar* _tmp2_;
- gboolean _tmp3_;
#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (id != NULL);
#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13409,27 +14089,29 @@ static void configuration_facade_real_set_plugin_enabled (ConfigurationFacade* s
#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_tmp1_ = _tmp0_;
#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp2_ = id;
-#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- _tmp3_ = enabled;
-#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
- configuration_engine_set_plugin_enabled (_tmp1_, _tmp2_, _tmp3_);
+ configuration_engine_set_plugin_enabled (_tmp1_, id, enabled);
#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
_g_object_unref0 (_tmp1_);
-#line 13415 "ConfigurationInterfaces.c"
+#line 14091 "ConfigurationInterfaces.c"
}
-void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) {
+void
+configuration_facade_set_plugin_enabled (ConfigurationFacade* self,
+ const gchar* id,
+ gboolean enabled)
+{
#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
g_return_if_fail (IS_CONFIGURATION_FACADE (self));
#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_enabled (self, id, enabled);
-#line 13424 "ConfigurationInterfaces.c"
+#line 14104 "ConfigurationInterfaces.c"
}
-static void configuration_facade_class_init (ConfigurationFacadeClass * klass) {
+static void
+configuration_facade_class_init (ConfigurationFacadeClass * klass)
+{
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
configuration_facade_parent_class = g_type_class_peek_parent (klass);
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
@@ -13726,18 +14408,22 @@ static void configuration_facade_class_init (ConfigurationFacadeClass * klass) {
configuration_facade_signals[CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL] = g_signal_new ("external-app-changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
configuration_facade_signals[CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL] = g_signal_new ("import-directory-changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 13725 "ConfigurationInterfaces.c"
+#line 14407 "ConfigurationInterfaces.c"
}
-static void configuration_facade_instance_init (ConfigurationFacade * self) {
+static void
+configuration_facade_instance_init (ConfigurationFacade * self)
+{
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
self->priv = CONFIGURATION_FACADE_GET_PRIVATE (self);
-#line 13732 "ConfigurationInterfaces.c"
+#line 14416 "ConfigurationInterfaces.c"
}
-static void configuration_facade_finalize (GObject * obj) {
+static void
+configuration_facade_finalize (GObject * obj)
+{
ConfigurationFacade * self;
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONFIGURATION_FACADE, ConfigurationFacade);
@@ -13745,11 +14431,13 @@ static void configuration_facade_finalize (GObject * obj) {
_g_object_unref0 (self->priv->engine);
#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala"
G_OBJECT_CLASS (configuration_facade_parent_class)->finalize (obj);
-#line 13744 "ConfigurationInterfaces.c"
+#line 14430 "ConfigurationInterfaces.c"
}
-GType configuration_facade_get_type (void) {
+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 };
diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c
index 4f637b2..3ddaa71 100644
--- a/src/config/GSettingsEngine.c
+++ b/src/config/GSettingsEngine.c
@@ -1,4 +1,4 @@
-/* GSettingsEngine.c generated by valac 0.36.6, the Vala compiler
+/* GSettingsEngine.c generated by valac 0.40.4, the Vala compiler
* generated from GSettingsEngine.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -38,6 +39,11 @@ typedef struct _ConfigurationEngineIface ConfigurationEngineIface;
typedef struct _GSettingsConfigurationEngine GSettingsConfigurationEngine;
typedef struct _GSettingsConfigurationEngineClass GSettingsConfigurationEngineClass;
typedef struct _GSettingsConfigurationEnginePrivate GSettingsConfigurationEnginePrivate;
+enum {
+ GSETTINGS_CONFIGURATION_ENGINE_0_PROPERTY,
+ GSETTINGS_CONFIGURATION_ENGINE_NUM_PROPERTIES
+};
+static GParamSpec* gsettings_configuration_engine_properties[GSETTINGS_CONFIGURATION_ENGINE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_settings_schema_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_unref (var), NULL)))
#define _g_settings_schema_source_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_source_unref (var), NULL)))
@@ -185,9 +191,6 @@ GType fuzzy_property_state_get_type (void) G_GNUC_CONST;
GType configuration_engine_get_type (void) G_GNUC_CONST;
GType gsettings_configuration_engine_get_type (void) G_GNUC_CONST;
#define GSETTINGS_CONFIGURATION_ENGINE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEnginePrivate))
-enum {
- GSETTINGS_CONFIGURATION_ENGINE_DUMMY_PROPERTY
-};
#define GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME "org.yorba.shotwell"
#define GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".preferences"
#define GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".ui"
@@ -206,53 +209,164 @@ enum {
#define GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".plugins.enable-state"
GSettingsConfigurationEngine* gsettings_configuration_engine_new (void);
GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type);
-static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gboolean value, GError** error);
-static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error);
-static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error);
-static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static void gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gdouble value, GError** error);
-static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
-static void gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, const gchar* value, GError** error);
-static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error);
+static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gboolean value,
+ GError** error);
+static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gint value,
+ GError** error);
+static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gint value,
+ GError** error);
+static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static void gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gdouble value,
+ GError** error);
+static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
+static void gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ const gchar* value,
+ GError** error);
+static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error);
static gchar* gsettings_configuration_engine_clean_plugin_id (const gchar* id);
gboolean is_string_empty (const gchar* s);
static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id);
-static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, const gchar* id);
+static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain,
+ const gchar* id);
static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key);
static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* base);
-static gint gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error);
-static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error);
-static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error);
-static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error);
-static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error);
-static void gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base, ConfigurableProperty p, const gchar* val, GError** error);
-static gboolean gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error);
-static void gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base, ConfigurableProperty p, gboolean val, GError** error);
-static gdouble gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error);
-static void gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base, ConfigurableProperty p, gdouble val, GError** error);
-static gboolean gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean def);
-static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean val);
-static gdouble gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble def);
-static void gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble val);
-static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint def);
-static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint val);
-static gchar* gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* def);
-static void gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* val);
-static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key);
-static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base, const gchar* id);
-static void gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base, const gchar* id, gboolean enabled);
+static gint gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error);
+static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gint val,
+ GError** error);
+static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error);
+static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gint val,
+ GError** error);
+static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error);
+static void gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ const gchar* val,
+ GError** error);
+static gboolean gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error);
+static void gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gboolean val,
+ GError** error);
+static gdouble gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error);
+static void gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gdouble val,
+ GError** error);
+static gboolean gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def);
+static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val);
+static gdouble gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def);
+static void gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val);
+static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def);
+static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val);
+static gchar* gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def);
+static void gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val);
+static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key);
+static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base,
+ const gchar* id);
+static void gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base,
+ const gchar* id,
+ gboolean enabled);
void gsettings_configuration_engine_run_gsettings_migrator (void);
GFile* app_dirs_get_settings_migrator_bin (void);
static void gsettings_configuration_engine_finalize (GObject * obj);
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
+static void _vala_array_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
+static void _vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
-GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type) {
+GSettingsConfigurationEngine*
+gsettings_configuration_engine_construct (GType object_type)
+{
GSettingsConfigurationEngine * self = NULL;
gchar** _tmp0_;
gchar** _tmp1_;
@@ -2552,36 +2666,42 @@ GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType ob
_tmp427_ = _tmp425_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE];
#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return self;
-#line 2556 "GSettingsEngine.c"
+#line 2670 "GSettingsEngine.c"
}
-GSettingsConfigurationEngine* gsettings_configuration_engine_new (void) {
+GSettingsConfigurationEngine*
+gsettings_configuration_engine_new (void)
+{
#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return gsettings_configuration_engine_construct (TYPE_GSETTINGS_CONFIGURATION_ENGINE);
-#line 2563 "GSettingsEngine.c"
+#line 2679 "GSettingsEngine.c"
}
-static gpointer _g_settings_schema_source_ref0 (gpointer self) {
+static gpointer
+_g_settings_schema_source_ref0 (gpointer self)
+{
#line 180 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return self ? g_settings_schema_source_ref (self) : NULL;
-#line 2570 "GSettingsEngine.c"
+#line 2688 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static void
+gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
GSettingsSchemaSource* schema_source = NULL;
GSettingsSchemaSource* _tmp0_;
GSettingsSchemaSource* _tmp1_;
GSettingsSchema* settings_scheme = NULL;
GSettingsSchemaSource* _tmp2_;
- const gchar* _tmp3_;
+ GSettingsSchema* _tmp3_;
GSettingsSchema* _tmp4_;
- GSettingsSchema* _tmp5_;
- GSettingsSchema* _tmp11_;
- const gchar* _tmp12_;
- gboolean _tmp13_;
+ GSettingsSchema* _tmp9_;
GError * _inner_error_ = NULL;
#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -2598,35 +2718,30 @@ static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurati
#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp2_ = schema_source;
#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = schema;
-#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = g_settings_schema_source_lookup (_tmp2_, _tmp3_, TRUE);
+ _tmp3_ = g_settings_schema_source_lookup (_tmp2_, schema, TRUE);
#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- settings_scheme = _tmp4_;
+ settings_scheme = _tmp3_;
#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = settings_scheme;
+ _tmp4_ = settings_scheme;
#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp5_ == NULL) {
-#line 2611 "GSettingsEngine.c"
- const gchar* _tmp6_;
- gchar* _tmp7_;
- gchar* _tmp8_;
- GError* _tmp9_;
- GError* _tmp10_;
-#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = schema;
+ if (_tmp4_ == NULL) {
+#line 2729 "GSettingsEngine.c"
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ GError* _tmp7_;
+ GError* _tmp8_;
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = g_strdup_printf ("schema '%s' is not installed", _tmp6_);
+ _tmp5_ = g_strdup_printf ("schema '%s' is not installed", schema);
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_;
+ _tmp6_ = _tmp5_;
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp9_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp8_);
+ _tmp7_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp6_);
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = _tmp9_;
+ _tmp8_ = _tmp7_;
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp8_);
+ _g_free0 (_tmp6_);
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _inner_error_ = _tmp10_;
+ _inner_error_ = _tmp8_;
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -2637,7 +2752,7 @@ static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurati
_g_settings_schema_source_unref0 (schema_source);
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2641 "GSettingsEngine.c"
+#line 2756 "GSettingsEngine.c"
} else {
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_settings_schema_unref0 (settings_scheme);
@@ -2649,40 +2764,30 @@ static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurati
g_clear_error (&_inner_error_);
#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2653 "GSettingsEngine.c"
+#line 2768 "GSettingsEngine.c"
}
}
#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = settings_scheme;
-#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = key;
+ _tmp9_ = settings_scheme;
#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp13_ = g_settings_schema_has_key (_tmp11_, _tmp12_);
-#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (!_tmp13_) {
-#line 2664 "GSettingsEngine.c"
- const gchar* _tmp14_;
- const gchar* _tmp15_;
- gchar* _tmp16_;
- gchar* _tmp17_;
- GError* _tmp18_;
- GError* _tmp19_;
-#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp14_ = schema;
+ if (!g_settings_schema_has_key (_tmp9_, key)) {
+#line 2775 "GSettingsEngine.c"
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ GError* _tmp12_;
+ GError* _tmp13_;
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp15_ = key;
+ _tmp10_ = g_strdup_printf ("schema '%s' does not define key '%s'", schema, key);
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp16_ = g_strdup_printf ("schema '%s' does not define key '%s'", _tmp14_, _tmp15_);
+ _tmp11_ = _tmp10_;
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp17_ = _tmp16_;
+ _tmp12_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp11_);
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp18_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp17_);
+ _tmp13_ = _tmp12_;
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp19_ = _tmp18_;
-#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp17_);
+ _g_free0 (_tmp11_);
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _inner_error_ = _tmp19_;
+ _inner_error_ = _tmp13_;
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -2693,7 +2798,7 @@ static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurati
_g_settings_schema_source_unref0 (schema_source);
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2697 "GSettingsEngine.c"
+#line 2802 "GSettingsEngine.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_settings_schema_unref0 (settings_scheme);
@@ -2705,27 +2810,27 @@ static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurati
g_clear_error (&_inner_error_);
#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2709 "GSettingsEngine.c"
+#line 2814 "GSettingsEngine.c"
}
}
#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_settings_schema_unref0 (settings_scheme);
#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_settings_schema_source_unref0 (schema_source);
-#line 2716 "GSettingsEngine.c"
+#line 2821 "GSettingsEngine.c"
}
-static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static gboolean
+gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
gboolean result = FALSE;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
GSettings* schema_object = NULL;
- const gchar* _tmp4_;
- GSettings* _tmp5_;
- GSettings* _tmp6_;
- const gchar* _tmp7_;
- gboolean _tmp8_;
+ GSettings* _tmp2_;
+ GSettings* _tmp3_;
GError * _inner_error_ = NULL;
#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE);
@@ -2734,64 +2839,55 @@ static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurati
#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, FALSE);
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2747 "GSettingsEngine.c"
- gboolean _tmp2_ = FALSE;
+#line 2848 "GSettingsEngine.c"
+ gboolean _tmp0_ = FALSE;
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp2_;
-#line 2753 "GSettingsEngine.c"
+ return _tmp0_;
+#line 2854 "GSettingsEngine.c"
} else {
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp1_ = FALSE;
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp3_;
-#line 2762 "GSettingsEngine.c"
+ return _tmp1_;
+#line 2863 "GSettingsEngine.c"
}
}
#line 194 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema;
-#line 194 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = g_settings_new (_tmp4_);
+ _tmp2_ = g_settings_new (schema);
#line 194 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp5_;
+ schema_object = _tmp2_;
#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = schema_object;
+ _tmp3_ = schema_object;
#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = key;
-#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_settings_get_boolean (_tmp6_, _tmp7_);
-#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = g_settings_get_boolean (_tmp3_, key);
#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 2783 "GSettingsEngine.c"
+#line 2878 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gboolean value, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gboolean value,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- gboolean _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -2800,11 +2896,7 @@ static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEn
#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -2813,7 +2905,7 @@ static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEn
g_propagate_error (error, _inner_error_);
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2817 "GSettingsEngine.c"
+#line 2909 "GSettingsEngine.c"
} else {
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -2821,38 +2913,33 @@ static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEn
g_clear_error (&_inner_error_);
#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2825 "GSettingsEngine.c"
+#line 2917 "GSettingsEngine.c"
}
}
#line 202 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
+ _tmp0_ = g_settings_new (schema);
#line 202 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
-#line 202 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
-#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
-#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
+ schema_object = _tmp0_;
#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = value;
+ _tmp1_ = schema_object;
#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_set_boolean (_tmp4_, _tmp5_, _tmp6_);
+ g_settings_set_boolean (_tmp1_, key, value);
#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 2844 "GSettingsEngine.c"
+#line 2930 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gint value,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- gint _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -2861,11 +2948,7 @@ static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEn
#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -2874,7 +2957,7 @@ static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEn
g_propagate_error (error, _inner_error_);
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2878 "GSettingsEngine.c"
+#line 2961 "GSettingsEngine.c"
} else {
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -2882,39 +2965,33 @@ static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEn
g_clear_error (&_inner_error_);
#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 2886 "GSettingsEngine.c"
+#line 2969 "GSettingsEngine.c"
}
}
#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
-#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
+ _tmp0_ = g_settings_new (schema);
#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
-#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ schema_object = _tmp0_;
#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
+ _tmp1_ = schema_object;
#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = value;
-#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_set_enum (_tmp4_, _tmp5_, _tmp6_);
+ g_settings_set_enum (_tmp1_, key, value);
#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 2905 "GSettingsEngine.c"
+#line 2982 "GSettingsEngine.c"
}
-static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static gint
+gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
gint result = 0;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
GSettings* schema_object = NULL;
- const gchar* _tmp4_;
- GSettings* _tmp5_;
- GSettings* _tmp6_;
- const gchar* _tmp7_;
- gint _tmp8_;
+ GSettings* _tmp2_;
+ GSettings* _tmp3_;
GError * _inner_error_ = NULL;
#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0);
@@ -2923,65 +3000,55 @@ static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEn
#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, 0);
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 2936 "GSettingsEngine.c"
- gint _tmp2_ = 0;
+#line 3009 "GSettingsEngine.c"
+ gint _tmp0_ = 0;
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp2_;
-#line 2942 "GSettingsEngine.c"
+ return _tmp0_;
+#line 3015 "GSettingsEngine.c"
} else {
- gint _tmp3_ = 0;
+ gint _tmp1_ = 0;
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp3_;
-#line 2951 "GSettingsEngine.c"
+ return _tmp1_;
+#line 3024 "GSettingsEngine.c"
}
}
#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema;
-#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = g_settings_new (_tmp4_);
+ _tmp2_ = g_settings_new (schema);
#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp5_;
-#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = schema_object;
-#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = key;
+ schema_object = _tmp2_;
#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_settings_get_enum (_tmp6_, _tmp7_);
+ _tmp3_ = schema_object;
#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = g_settings_get_enum (_tmp3_, key);
#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 2972 "GSettingsEngine.c"
+#line 3039 "GSettingsEngine.c"
}
-static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static gint
+gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
gint result = 0;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
GSettings* schema_object = NULL;
- const gchar* _tmp4_;
- GSettings* _tmp5_;
- GSettings* _tmp6_;
- const gchar* _tmp7_;
- gint _tmp8_;
+ GSettings* _tmp2_;
+ GSettings* _tmp3_;
GError * _inner_error_ = NULL;
#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0);
@@ -2990,64 +3057,55 @@ static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEng
#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, 0);
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3003 "GSettingsEngine.c"
- gint _tmp2_ = 0;
+#line 3066 "GSettingsEngine.c"
+ gint _tmp0_ = 0;
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp2_;
-#line 3009 "GSettingsEngine.c"
+ return _tmp0_;
+#line 3072 "GSettingsEngine.c"
} else {
- gint _tmp3_ = 0;
+ gint _tmp1_ = 0;
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp3_;
-#line 3018 "GSettingsEngine.c"
+ return _tmp1_;
+#line 3081 "GSettingsEngine.c"
}
}
#line 224 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema;
-#line 224 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = g_settings_new (_tmp4_);
+ _tmp2_ = g_settings_new (schema);
#line 224 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp5_;
-#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = schema_object;
-#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = key;
+ schema_object = _tmp2_;
#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_settings_get_int (_tmp6_, _tmp7_);
+ _tmp3_ = schema_object;
#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = g_settings_get_int (_tmp3_, key);
#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3039 "GSettingsEngine.c"
+#line 3096 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gint value,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- gint _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -3056,11 +3114,7 @@ static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEng
#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3069,7 +3123,7 @@ static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEng
g_propagate_error (error, _inner_error_);
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3073 "GSettingsEngine.c"
+#line 3127 "GSettingsEngine.c"
} else {
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3077,39 +3131,33 @@ static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEng
g_clear_error (&_inner_error_);
#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3081 "GSettingsEngine.c"
+#line 3135 "GSettingsEngine.c"
}
}
#line 232 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
-#line 232 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
+ _tmp0_ = g_settings_new (schema);
#line 232 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
+ schema_object = _tmp0_;
#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ _tmp1_ = schema_object;
#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
-#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = value;
-#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_set_int (_tmp4_, _tmp5_, _tmp6_);
+ g_settings_set_int (_tmp1_, key, value);
#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 3100 "GSettingsEngine.c"
+#line 3148 "GSettingsEngine.c"
}
-static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static gdouble
+gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
gdouble result = 0.0;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
GSettings* schema_object = NULL;
- const gchar* _tmp4_;
- GSettings* _tmp5_;
- GSettings* _tmp6_;
- const gchar* _tmp7_;
- gdouble _tmp8_;
+ GSettings* _tmp2_;
+ GSettings* _tmp3_;
GError * _inner_error_ = NULL;
#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0.0);
@@ -3118,64 +3166,55 @@ static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurat
#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, 0.0);
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3131 "GSettingsEngine.c"
- gdouble _tmp2_ = 0.0;
+#line 3175 "GSettingsEngine.c"
+ gdouble _tmp0_ = 0.0;
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp2_;
-#line 3137 "GSettingsEngine.c"
+ return _tmp0_;
+#line 3181 "GSettingsEngine.c"
} else {
- gdouble _tmp3_ = 0.0;
+ gdouble _tmp1_ = 0.0;
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp3_;
-#line 3146 "GSettingsEngine.c"
+ return _tmp1_;
+#line 3190 "GSettingsEngine.c"
}
}
#line 240 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema;
-#line 240 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = g_settings_new (_tmp4_);
+ _tmp2_ = g_settings_new (schema);
#line 240 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp5_;
+ schema_object = _tmp2_;
#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = schema_object;
+ _tmp3_ = schema_object;
#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = key;
-#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_settings_get_double (_tmp6_, _tmp7_);
-#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = g_settings_get_double (_tmp3_, key);
#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3167 "GSettingsEngine.c"
+#line 3205 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gdouble value, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ gdouble value,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- gdouble _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -3184,11 +3223,7 @@ static void gsettings_configuration_engine_set_gs_double (GSettingsConfiguration
#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3197,7 +3232,7 @@ static void gsettings_configuration_engine_set_gs_double (GSettingsConfiguration
g_propagate_error (error, _inner_error_);
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3201 "GSettingsEngine.c"
+#line 3236 "GSettingsEngine.c"
} else {
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3205,39 +3240,34 @@ static void gsettings_configuration_engine_set_gs_double (GSettingsConfiguration
g_clear_error (&_inner_error_);
#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3209 "GSettingsEngine.c"
+#line 3244 "GSettingsEngine.c"
}
}
#line 248 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
-#line 248 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
+ _tmp0_ = g_settings_new (schema);
#line 248 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
+ schema_object = _tmp0_;
#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ _tmp1_ = schema_object;
#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
-#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = value;
-#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_set_double (_tmp4_, _tmp5_, _tmp6_);
+ g_settings_set_double (_tmp1_, key, value);
#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 3228 "GSettingsEngine.c"
+#line 3257 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
+static gchar*
+gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
gchar* result = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- gchar* _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
+ gchar* _tmp2_;
GError * _inner_error_ = NULL;
#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), NULL);
@@ -3246,11 +3276,7 @@ static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurati
#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, NULL);
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3259,7 +3285,7 @@ static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurati
g_propagate_error (error, _inner_error_);
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 3263 "GSettingsEngine.c"
+#line 3289 "GSettingsEngine.c"
} else {
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3267,40 +3293,37 @@ static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurati
g_clear_error (&_inner_error_);
#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 3271 "GSettingsEngine.c"
+#line 3297 "GSettingsEngine.c"
}
}
#line 256 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
-#line 256 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
+ _tmp0_ = g_settings_new (schema);
#line 256 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
+ schema_object = _tmp0_;
#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ _tmp1_ = schema_object;
#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
+ _tmp2_ = g_settings_get_string (_tmp1_, key);
#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = g_settings_get_string (_tmp4_, _tmp5_);
-#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp6_;
+ result = _tmp2_;
#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3292 "GSettingsEngine.c"
+#line 3314 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, const gchar* value, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ const gchar* value,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
- const gchar* _tmp6_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -3311,11 +3334,7 @@ static void gsettings_configuration_engine_set_gs_string (GSettingsConfiguration
#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (value != NULL);
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3324,7 +3343,7 @@ static void gsettings_configuration_engine_set_gs_string (GSettingsConfiguration
g_propagate_error (error, _inner_error_);
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3328 "GSettingsEngine.c"
+#line 3347 "GSettingsEngine.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3332,37 +3351,32 @@ static void gsettings_configuration_engine_set_gs_string (GSettingsConfiguration
g_clear_error (&_inner_error_);
#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3336 "GSettingsEngine.c"
+#line 3355 "GSettingsEngine.c"
}
}
#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
-#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
+ _tmp0_ = g_settings_new (schema);
#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
+ schema_object = _tmp0_;
#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ _tmp1_ = schema_object;
#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
-#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = value;
-#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_set_string (_tmp4_, _tmp5_, _tmp6_);
+ g_settings_set_string (_tmp1_, key, value);
#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 3355 "GSettingsEngine.c"
+#line 3368 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) {
- const gchar* _tmp0_;
- const gchar* _tmp1_;
+static void
+gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self,
+ const gchar* schema,
+ const gchar* key,
+ GError** error)
+{
GSettings* schema_object = NULL;
- const gchar* _tmp2_;
- GSettings* _tmp3_;
- GSettings* _tmp4_;
- const gchar* _tmp5_;
+ GSettings* _tmp0_;
+ GSettings* _tmp1_;
GError * _inner_error_ = NULL;
#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self));
@@ -3371,11 +3385,7 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu
#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = schema;
-#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = key;
-#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_);
+ gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_);
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3384,7 +3394,7 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu
g_propagate_error (error, _inner_error_);
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3388 "GSettingsEngine.c"
+#line 3398 "GSettingsEngine.c"
} else {
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3392,403 +3402,383 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu
g_clear_error (&_inner_error_);
#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3396 "GSettingsEngine.c"
+#line 3406 "GSettingsEngine.c"
}
}
#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = schema;
+ _tmp0_ = g_settings_new (schema);
#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_settings_new (_tmp2_);
-#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_object = _tmp3_;
-#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = schema_object;
+ schema_object = _tmp0_;
#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = key;
+ _tmp1_ = schema_object;
#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_settings_reset (_tmp4_, _tmp5_);
+ g_settings_reset (_tmp1_, key);
#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_object_unref0 (schema_object);
-#line 3413 "GSettingsEngine.c"
+#line 3419 "GSettingsEngine.c"
}
-static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
+static gchar*
+string_replace (const gchar* self,
+ const gchar* old,
+ const gchar* replacement)
+{
gchar* result = NULL;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
GError * _inner_error_ = NULL;
-#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if ((*((gchar*) self)) == '\0') {
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
-#line 3432 "GSettingsEngine.c"
+#line 3442 "GSettingsEngine.c"
} else {
- const gchar* _tmp2_;
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp2_ = old;
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp1_ = (*((gchar*) _tmp2_)) == '\0';
-#line 3439 "GSettingsEngine.c"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp1_ = (*((gchar*) old)) == '\0';
+#line 3446 "GSettingsEngine.c"
}
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (_tmp1_) {
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = TRUE;
-#line 3445 "GSettingsEngine.c"
+#line 3452 "GSettingsEngine.c"
} else {
- const gchar* _tmp3_;
- const gchar* _tmp4_;
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3_ = old;
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp4_ = replacement;
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp0_ = g_strcmp0 (_tmp3_, _tmp4_) == 0;
-#line 3455 "GSettingsEngine.c"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp0_ = g_strcmp0 (old, replacement) == 0;
+#line 3456 "GSettingsEngine.c"
}
-#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 3459 "GSettingsEngine.c"
- gchar* _tmp5_;
-#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp5_ = g_strdup (self);
-#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp5_;
-#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 3460 "GSettingsEngine.c"
+ gchar* _tmp2_;
+#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2_ = g_strdup (self);
+#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = _tmp2_;
+#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 3467 "GSettingsEngine.c"
+#line 3468 "GSettingsEngine.c"
}
{
GRegex* regex = NULL;
- const gchar* _tmp6_;
- gchar* _tmp7_;
- gchar* _tmp8_;
- GRegex* _tmp9_;
- GRegex* _tmp10_;
- gchar* _tmp11_ = NULL;
- GRegex* _tmp12_;
- const gchar* _tmp13_;
- gchar* _tmp14_;
- gchar* _tmp15_;
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp6_ = old;
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp7_ = g_regex_escape_string (_tmp6_, -1);
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp8_ = _tmp7_;
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp9_ = g_regex_new (_tmp8_, 0, 0, &_inner_error_);
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp10_ = _tmp9_;
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _g_free0 (_tmp8_);
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- regex = _tmp10_;
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ GRegex* _tmp5_;
+ GRegex* _tmp6_;
+ gchar* _tmp7_ = NULL;
+ GRegex* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp3_ = g_regex_escape_string (old, -1);
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp4_ = _tmp3_;
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp5_ = g_regex_new (_tmp4_, 0, 0, &_inner_error_);
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp6_ = _tmp5_;
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _g_free0 (_tmp4_);
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ regex = _tmp6_;
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3499 "GSettingsEngine.c"
+#line 3496 "GSettingsEngine.c"
goto __catch217_g_regex_error;
}
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return NULL;
-#line 3508 "GSettingsEngine.c"
+#line 3505 "GSettingsEngine.c"
}
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp12_ = regex;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp13_ = replacement;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp14_ = g_regex_replace_literal (_tmp12_, self, (gssize) -1, 0, _tmp13_, 0, &_inner_error_);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp11_ = _tmp14_;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp8_ = regex;
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp9_ = g_regex_replace_literal (_tmp8_, self, (gssize) -1, 0, replacement, 0, &_inner_error_);
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp7_ = _tmp9_;
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3524 "GSettingsEngine.c"
+#line 3519 "GSettingsEngine.c"
goto __catch217_g_regex_error;
}
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return NULL;
-#line 3535 "GSettingsEngine.c"
+#line 3530 "GSettingsEngine.c"
}
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp15_ = _tmp11_;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp11_ = NULL;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp15_;
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _g_free0 (_tmp11_);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp10_ = _tmp7_;
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp7_ = NULL;
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = _tmp10_;
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _g_free0 (_tmp7_);
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 3549 "GSettingsEngine.c"
+#line 3544 "GSettingsEngine.c"
}
goto __finally217;
__catch217_g_regex_error:
{
GError* e = NULL;
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1415 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1429 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 3563 "GSettingsEngine.c"
+#line 3558 "GSettingsEngine.c"
}
__finally217:
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return NULL;
-#line 3574 "GSettingsEngine.c"
+#line 3569 "GSettingsEngine.c"
}
}
-static gchar* string_strip (const gchar* self) {
+static gchar*
+string_strip (const gchar* self)
+{
gchar* result = NULL;
gchar* _result_ = NULL;
gchar* _tmp0_;
const gchar* _tmp1_;
-#line 1234 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1248 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1235 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1235 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1236 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1236 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1237 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
result = _result_;
-#line 1237 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 3598 "GSettingsEngine.c"
+#line 3595 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_clean_plugin_id (const gchar* id) {
+static gchar*
+gsettings_configuration_engine_clean_plugin_id (const gchar* id)
+{
gchar* result = NULL;
gchar* cleaned = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
- const gchar* _tmp2_;
- gchar* _tmp3_;
- const gchar* _tmp4_ = NULL;
- const gchar* _tmp5_;
- gboolean _tmp6_;
- gchar* _tmp8_;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
+ const gchar* _tmp3_ = NULL;
+ const gchar* _tmp4_;
+ gchar* _tmp6_;
#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (id != NULL, NULL);
#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = id;
-#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = string_replace (_tmp0_, "/", "-");
+ _tmp0_ = string_replace (id, "/", "-");
#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned = _tmp1_;
+ cleaned = _tmp0_;
#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = cleaned;
+ _tmp1_ = cleaned;
#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = string_strip (_tmp2_);
+ _tmp2_ = string_strip (_tmp1_);
#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned);
#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned = _tmp3_;
-#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = cleaned;
+ cleaned = _tmp2_;
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = is_string_empty (_tmp5_);
+ _tmp4_ = cleaned;
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (!_tmp6_) {
-#line 3635 "GSettingsEngine.c"
- const gchar* _tmp7_;
+ if (!is_string_empty (_tmp4_)) {
+#line 3628 "GSettingsEngine.c"
+ const gchar* _tmp5_;
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = cleaned;
+ _tmp5_ = cleaned;
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = _tmp7_;
-#line 3641 "GSettingsEngine.c"
+ _tmp3_ = _tmp5_;
+#line 3634 "GSettingsEngine.c"
} else {
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = NULL;
-#line 3645 "GSettingsEngine.c"
+ _tmp3_ = NULL;
+#line 3638 "GSettingsEngine.c"
}
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_strdup (_tmp4_);
+ _tmp6_ = g_strdup (_tmp3_);
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = _tmp6_;
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned);
#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3655 "GSettingsEngine.c"
+#line 3648 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id) {
+static gchar*
+gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id)
+{
gchar* result = NULL;
gchar* cleaned_id = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- const gchar* _tmp6_;
- gchar* _tmp7_;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (id != NULL, NULL);
#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = id;
-#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_);
+ _tmp0_ = gsettings_configuration_engine_clean_plugin_id (id);
#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp1_;
+ cleaned_id = _tmp0_;
#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = cleaned_id;
+ _tmp1_ = cleaned_id;
#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp2_ == NULL) {
-#line 3681 "GSettingsEngine.c"
- gchar* _tmp3_;
+ if (_tmp1_ == NULL) {
+#line 3673 "GSettingsEngine.c"
+ gchar* _tmp2_;
#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_strdup ("default");
+ _tmp2_ = g_strdup ("default");
#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp3_;
-#line 3689 "GSettingsEngine.c"
+ cleaned_id = _tmp2_;
+#line 3681 "GSettingsEngine.c"
}
#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = cleaned_id;
+ _tmp3_ = cleaned_id;
#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = string_replace (_tmp4_, "org.yorba.shotwell.", "");
+ _tmp4_ = string_replace (_tmp3_, "org.yorba.shotwell.", "");
#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp5_;
+ cleaned_id = _tmp4_;
#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = cleaned_id;
+ _tmp5_ = cleaned_id;
#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = string_replace (_tmp6_, ".", "-");
+ _tmp6_ = string_replace (_tmp5_, ".", "-");
#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp7_;
+ cleaned_id = _tmp6_;
#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = cleaned_id;
#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3711 "GSettingsEngine.c"
+#line 3703 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, const gchar* id) {
+static gchar*
+gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain,
+ const gchar* id)
+{
gchar* result = NULL;
gchar* cleaned_id = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- const gchar* _tmp6_;
- const gchar* _tmp7_;
- gchar* _tmp8_;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (domain != NULL, NULL);
#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (id != NULL, NULL);
#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = id;
+ _tmp0_ = gsettings_configuration_engine_clean_plugin_id (id);
#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_);
-#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp1_;
+ cleaned_id = _tmp0_;
#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = cleaned_id;
+ _tmp1_ = cleaned_id;
#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp2_ == NULL) {
-#line 3740 "GSettingsEngine.c"
- gchar* _tmp3_;
+ if (_tmp1_ == NULL) {
+#line 3731 "GSettingsEngine.c"
+ gchar* _tmp2_;
#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = g_strdup ("default");
+ _tmp2_ = g_strdup ("default");
#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp3_;
-#line 3748 "GSettingsEngine.c"
+ cleaned_id = _tmp2_;
+#line 3739 "GSettingsEngine.c"
}
#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = cleaned_id;
+ _tmp3_ = cleaned_id;
#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = string_replace (_tmp4_, ".", "-");
+ _tmp4_ = string_replace (_tmp3_, ".", "-");
#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- cleaned_id = _tmp5_;
-#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = domain;
+ cleaned_id = _tmp4_;
#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = cleaned_id;
+ _tmp5_ = cleaned_id;
#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = g_strdup_printf ("org.yorba.shotwell.%s.%s", _tmp6_, _tmp7_);
+ _tmp6_ = g_strdup_printf ("org.yorba.shotwell.%s.%s", domain, _tmp5_);
#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp8_;
+ result = _tmp6_;
#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cleaned_id);
#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3770 "GSettingsEngine.c"
+#line 3759 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key) {
+static gchar*
+gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key)
+{
gchar* result = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
+ gchar* _tmp0_;
#line 304 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (gconf_key != NULL, NULL);
#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = gconf_key;
-#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = string_replace (_tmp0_, "_", "-");
+ _tmp0_ = string_replace (gconf_key, "_", "-");
#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp1_;
+ result = _tmp0_;
#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3788 "GSettingsEngine.c"
+#line 3776 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* base) {
+static gchar*
+gsettings_configuration_engine_real_get_name (ConfigurationEngine* base)
+{
GSettingsConfigurationEngine * self;
gchar* result = NULL;
gchar* _tmp0_;
@@ -3800,23 +3790,24 @@ static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine*
result = _tmp0_;
#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3804 "GSettingsEngine.c"
+#line 3794 "GSettingsEngine.c"
}
-static gint gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) {
+static gint
+gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gint result = 0;
gint _tmp0_ = 0;
gchar** _tmp1_;
gint _tmp1__length1;
- ConfigurableProperty _tmp2_;
- const gchar* _tmp3_;
- gchar** _tmp4_;
- gint _tmp4__length1;
- ConfigurableProperty _tmp5_;
- const gchar* _tmp6_;
- gint _tmp7_;
+ const gchar* _tmp2_;
+ gchar** _tmp3_;
+ gint _tmp3__length1;
+ const gchar* _tmp4_;
GError * _inner_error_ = NULL;
#line 312 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -3825,63 +3816,58 @@ static gint gsettings_configuration_engine_real_get_enum_property (Configuration
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp1__length1 = self->priv->schema_names_length1;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = p;
-#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp1_[_tmp2_];
-#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = self->priv->key_names;
+ _tmp2_ = _tmp1_[p];
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4__length1 = self->priv->key_names_length1;
-#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = p;
+ _tmp3_ = self->priv->key_names;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp4_[_tmp5_];
+ _tmp3__length1 = self->priv->key_names_length1;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_enum (self, _tmp3_, _tmp6_, &_inner_error_);
+ _tmp4_ = _tmp3_[p];
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = _tmp7_;
+ _tmp0_ = gsettings_configuration_engine_get_gs_enum (self, _tmp2_, _tmp4_, &_inner_error_);
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3848 "GSettingsEngine.c"
- gint _tmp8_ = 0;
+#line 3833 "GSettingsEngine.c"
+ gint _tmp5_ = 0;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp8_;
-#line 3854 "GSettingsEngine.c"
+ return _tmp5_;
+#line 3839 "GSettingsEngine.c"
} else {
- gint _tmp9_ = 0;
+ gint _tmp6_ = 0;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 3863 "GSettingsEngine.c"
+ return _tmp6_;
+#line 3848 "GSettingsEngine.c"
}
}
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = _tmp0_;
#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3870 "GSettingsEngine.c"
+#line 3855 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error) {
+static void
+gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gint val,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar** _tmp0_;
gint _tmp0__length1;
- ConfigurableProperty _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
- ConfigurableProperty _tmp4_;
- const gchar* _tmp5_;
- gint _tmp6_;
- ConfigurableProperty _tmp7_;
+ const gchar* _tmp1_;
+ gchar** _tmp2_;
+ gint _tmp2__length1;
+ const gchar* _tmp3_;
GError * _inner_error_ = NULL;
#line 316 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -3890,21 +3876,15 @@ static void gsettings_configuration_engine_real_set_enum_property (Configuration
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp0__length1 = self->priv->schema_names_length1;
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = p;
+ _tmp1_ = _tmp0_[p];
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp0_[_tmp1_];
+ _tmp2_ = self->priv->key_names;
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = self->priv->key_names;
+ _tmp2__length1 = self->priv->key_names_length1;
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3__length1 = self->priv->key_names_length1;
+ _tmp3_ = _tmp2_[p];
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
-#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp3_[_tmp4_];
-#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
-#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_enum (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_enum (self, _tmp1_, _tmp3_, val, &_inner_error_);
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -3913,7 +3893,7 @@ static void gsettings_configuration_engine_real_set_enum_property (Configuration
g_propagate_error (error, _inner_error_);
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3917 "GSettingsEngine.c"
+#line 3897 "GSettingsEngine.c"
} else {
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3921,30 +3901,29 @@ static void gsettings_configuration_engine_real_set_enum_property (Configuration
g_clear_error (&_inner_error_);
#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 3925 "GSettingsEngine.c"
+#line 3905 "GSettingsEngine.c"
}
}
#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = p;
-#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_);
-#line 3932 "GSettingsEngine.c"
+ g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", p);
+#line 3910 "GSettingsEngine.c"
}
-static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) {
+static gint
+gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gint result = 0;
gint _tmp0_ = 0;
gchar** _tmp1_;
gint _tmp1__length1;
- ConfigurableProperty _tmp2_;
- const gchar* _tmp3_;
- gchar** _tmp4_;
- gint _tmp4__length1;
- ConfigurableProperty _tmp5_;
- const gchar* _tmp6_;
- gint _tmp7_;
+ const gchar* _tmp2_;
+ gchar** _tmp3_;
+ gint _tmp3__length1;
+ const gchar* _tmp4_;
GError * _inner_error_ = NULL;
#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -3953,63 +3932,58 @@ static gint gsettings_configuration_engine_real_get_int_property (ConfigurationE
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp1__length1 = self->priv->schema_names_length1;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = p;
-#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp1_[_tmp2_];
+ _tmp2_ = _tmp1_[p];
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = self->priv->key_names;
-#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4__length1 = self->priv->key_names_length1;
-#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = p;
+ _tmp3_ = self->priv->key_names;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp4_[_tmp5_];
+ _tmp3__length1 = self->priv->key_names_length1;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_int (self, _tmp3_, _tmp6_, &_inner_error_);
+ _tmp4_ = _tmp3_[p];
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = _tmp7_;
+ _tmp0_ = gsettings_configuration_engine_get_gs_int (self, _tmp2_, _tmp4_, &_inner_error_);
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 3976 "GSettingsEngine.c"
- gint _tmp8_ = 0;
+#line 3949 "GSettingsEngine.c"
+ gint _tmp5_ = 0;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp8_;
-#line 3982 "GSettingsEngine.c"
+ return _tmp5_;
+#line 3955 "GSettingsEngine.c"
} else {
- gint _tmp9_ = 0;
+ gint _tmp6_ = 0;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 3991 "GSettingsEngine.c"
+ return _tmp6_;
+#line 3964 "GSettingsEngine.c"
}
}
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = _tmp0_;
#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 3998 "GSettingsEngine.c"
+#line 3971 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error) {
+static void
+gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gint val,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar** _tmp0_;
gint _tmp0__length1;
- ConfigurableProperty _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
- ConfigurableProperty _tmp4_;
- const gchar* _tmp5_;
- gint _tmp6_;
- ConfigurableProperty _tmp7_;
+ const gchar* _tmp1_;
+ gchar** _tmp2_;
+ gint _tmp2__length1;
+ const gchar* _tmp3_;
GError * _inner_error_ = NULL;
#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4018,21 +3992,15 @@ static void gsettings_configuration_engine_real_set_int_property (ConfigurationE
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp0__length1 = self->priv->schema_names_length1;
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = p;
-#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp0_[_tmp1_];
-#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = self->priv->key_names;
-#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3__length1 = self->priv->key_names_length1;
+ _tmp1_ = _tmp0_[p];
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
+ _tmp2_ = self->priv->key_names;
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp3_[_tmp4_];
+ _tmp2__length1 = self->priv->key_names_length1;
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
+ _tmp3_ = _tmp2_[p];
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_int (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_int (self, _tmp1_, _tmp3_, val, &_inner_error_);
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4041,7 +4009,7 @@ static void gsettings_configuration_engine_real_set_int_property (ConfigurationE
g_propagate_error (error, _inner_error_);
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4045 "GSettingsEngine.c"
+#line 4013 "GSettingsEngine.c"
} else {
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -4049,201 +4017,147 @@ static void gsettings_configuration_engine_real_set_int_property (ConfigurationE
g_clear_error (&_inner_error_);
#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4053 "GSettingsEngine.c"
+#line 4021 "GSettingsEngine.c"
}
}
#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = p;
-#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_);
-#line 4060 "GSettingsEngine.c"
+ g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", p);
+#line 4026 "GSettingsEngine.c"
}
-static glong string_strnlen (gchar* str, glong maxlen) {
+static glong
+string_strnlen (gchar* str,
+ glong maxlen)
+{
glong result = 0L;
gchar* end = NULL;
gchar* _tmp0_;
- glong _tmp1_;
- gchar* _tmp2_;
- gchar* _tmp3_;
-#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp0_ = str;
-#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp1_ = maxlen;
-#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- end = _tmp2_;
-#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3_ = end;
-#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- if (_tmp3_ == NULL) {
-#line 4083 "GSettingsEngine.c"
- glong _tmp4_;
-#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp4_ = maxlen;
-#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp4_;
-#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ gchar* _tmp1_;
+#line 1336 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp0_ = memchr (str, 0, (gsize) maxlen);
+#line 1336 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ end = _tmp0_;
+#line 1337 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp1_ = end;
+#line 1337 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ if (_tmp1_ == NULL) {
+#line 1338 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = maxlen;
+#line 1338 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 4091 "GSettingsEngine.c"
+#line 4050 "GSettingsEngine.c"
} else {
- gchar* _tmp5_;
- gchar* _tmp6_;
-#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp5_ = end;
-#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp6_ = str;
-#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = (glong) (_tmp5_ - _tmp6_);
-#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ gchar* _tmp2_;
+#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2_ = end;
+#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = (glong) (_tmp2_ - str);
+#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 4103 "GSettingsEngine.c"
+#line 4059 "GSettingsEngine.c"
}
}
-static gchar* string_substring (const gchar* self, glong offset, glong len) {
+static gchar*
+string_substring (const gchar* self,
+ glong offset,
+ glong len)
+{
gchar* result = NULL;
glong string_length = 0L;
gboolean _tmp0_ = FALSE;
- glong _tmp1_;
- glong _tmp8_;
- glong _tmp14_;
- glong _tmp17_;
- glong _tmp18_;
- glong _tmp19_;
- glong _tmp20_;
- glong _tmp21_;
- gchar* _tmp22_;
-#line 1333 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ glong _tmp6_;
+ gchar* _tmp7_;
+#line 1347 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp1_ = offset;
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- if (_tmp1_ >= ((glong) 0)) {
-#line 4127 "GSettingsEngine.c"
- glong _tmp2_;
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp2_ = len;
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp0_ = _tmp2_ >= ((glong) 0);
-#line 4133 "GSettingsEngine.c"
+#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ if (offset >= ((glong) 0)) {
+#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp0_ = len >= ((glong) 0);
+#line 4080 "GSettingsEngine.c"
} else {
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 4137 "GSettingsEngine.c"
+#line 4084 "GSettingsEngine.c"
}
-#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 4141 "GSettingsEngine.c"
- glong _tmp3_;
- glong _tmp4_;
- glong _tmp5_;
-#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3_ = offset;
-#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp4_ = len;
-#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- string_length = _tmp5_;
-#line 4153 "GSettingsEngine.c"
+#line 1351 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ string_length = string_strnlen ((gchar*) self, offset + len);
+#line 4090 "GSettingsEngine.c"
} else {
- gint _tmp6_;
- gint _tmp7_;
-#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp6_ = strlen (self);
-#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp7_ = _tmp6_;
-#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- string_length = (glong) _tmp7_;
-#line 4163 "GSettingsEngine.c"
+ gint _tmp1_;
+ gint _tmp2_;
+#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp1_ = strlen (self);
+#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2_ = _tmp1_;
+#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ string_length = (glong) _tmp2_;
+#line 4100 "GSettingsEngine.c"
}
-#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp8_ = offset;
-#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- if (_tmp8_ < ((glong) 0)) {
-#line 4169 "GSettingsEngine.c"
- glong _tmp9_;
- glong _tmp10_;
- glong _tmp11_;
-#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp9_ = string_length;
-#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp10_ = offset;
-#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- offset = _tmp9_ + _tmp10_;
-#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp11_ = offset;
-#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 4183 "GSettingsEngine.c"
+#line 1356 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ if (offset < ((glong) 0)) {
+#line 4104 "GSettingsEngine.c"
+ glong _tmp3_;
+#line 1357 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp3_ = string_length;
+#line 1357 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ offset = _tmp3_ + offset;
+#line 1358 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ g_return_val_if_fail (offset >= ((glong) 0), NULL);
+#line 4112 "GSettingsEngine.c"
} else {
- glong _tmp12_;
- glong _tmp13_;
-#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp12_ = offset;
-#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp13_ = string_length;
-#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 4193 "GSettingsEngine.c"
+ glong _tmp4_;
+#line 1360 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp4_ = string_length;
+#line 1360 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ g_return_val_if_fail (offset <= _tmp4_, NULL);
+#line 4119 "GSettingsEngine.c"
}
-#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp14_ = len;
-#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- if (_tmp14_ < ((glong) 0)) {
-#line 4199 "GSettingsEngine.c"
- glong _tmp15_;
- glong _tmp16_;
-#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp15_ = string_length;
-#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp16_ = offset;
-#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- len = _tmp15_ - _tmp16_;
-#line 4208 "GSettingsEngine.c"
+#line 1362 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ if (len < ((glong) 0)) {
+#line 4123 "GSettingsEngine.c"
+ glong _tmp5_;
+#line 1363 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp5_ = string_length;
+#line 1363 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ len = _tmp5_ - offset;
+#line 4129 "GSettingsEngine.c"
}
-#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp17_ = offset;
-#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp18_ = len;
-#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp19_ = string_length;
-#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp20_ = offset;
-#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp21_ = len;
-#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp22_;
-#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1365 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp6_ = string_length;
+#line 1365 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ g_return_val_if_fail ((offset + len) <= _tmp6_, NULL);
+#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp7_ = g_strndup (((gchar*) self) + offset, (gsize) len);
+#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = _tmp7_;
+#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 4228 "GSettingsEngine.c"
+#line 4141 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) {
+static gchar*
+gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar* result = NULL;
gchar* gs_result = NULL;
gchar** _tmp0_;
gint _tmp0__length1;
- ConfigurableProperty _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
- ConfigurableProperty _tmp4_;
- const gchar* _tmp5_;
- gchar* _tmp6_;
+ const gchar* _tmp1_;
+ gchar** _tmp2_;
+ gint _tmp2__length1;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
gchar* _result_ = NULL;
- gchar* _tmp7_;
- ConfigurableProperty _tmp8_;
+ gchar* _tmp5_;
GError * _inner_error_ = NULL;
#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4252,21 +4166,17 @@ static gchar* gsettings_configuration_engine_real_get_string_property (Configura
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp0__length1 = self->priv->schema_names_length1;
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = p;
-#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp0_[_tmp1_];
+ _tmp1_ = _tmp0_[p];
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = self->priv->key_names;
+ _tmp2_ = self->priv->key_names;
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3__length1 = self->priv->key_names_length1;
+ _tmp2__length1 = self->priv->key_names_length1;
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
+ _tmp3_ = _tmp2_[p];
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp3_[_tmp4_];
+ _tmp4_ = gsettings_configuration_engine_get_gs_string (self, _tmp1_, _tmp3_, &_inner_error_);
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = gsettings_configuration_engine_get_gs_string (self, _tmp2_, _tmp5_, &_inner_error_);
-#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gs_result = _tmp6_;
+ gs_result = _tmp4_;
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4275,7 +4185,7 @@ static gchar* gsettings_configuration_engine_real_get_string_property (Configura
g_propagate_error (error, _inner_error_);
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 4279 "GSettingsEngine.c"
+#line 4189 "GSettingsEngine.c"
} else {
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -4283,26 +4193,24 @@ static gchar* gsettings_configuration_engine_real_get_string_property (Configura
g_clear_error (&_inner_error_);
#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 4287 "GSettingsEngine.c"
+#line 4197 "GSettingsEngine.c"
}
}
#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = g_strdup (gs_result);
+ _tmp5_ = g_strdup (gs_result);
#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _result_ = _tmp7_;
-#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = p;
+ _result_ = _tmp5_;
#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp8_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) {
-#line 4298 "GSettingsEngine.c"
- gchar* _tmp9_;
+ if (p == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) {
+#line 4206 "GSettingsEngine.c"
+ gchar* _tmp6_;
#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp9_ = string_substring (gs_result, (glong) 7, (glong) -1);
+ _tmp6_ = string_substring (gs_result, (glong) 7, (glong) -1);
#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (_result_);
#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _result_ = _tmp9_;
-#line 4306 "GSettingsEngine.c"
+ _result_ = _tmp6_;
+#line 4214 "GSettingsEngine.c"
}
#line 340 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = _result_;
@@ -4310,88 +4218,74 @@ static gchar* gsettings_configuration_engine_real_get_string_property (Configura
_g_free0 (gs_result);
#line 340 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4314 "GSettingsEngine.c"
+#line 4222 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base, ConfigurableProperty p, const gchar* val, GError** error) {
+static void
+gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ const gchar* val,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar* converted_val = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
- gboolean _tmp2_ = FALSE;
- ConfigurableProperty _tmp3_;
- gchar** _tmp7_;
- gint _tmp7__length1;
- ConfigurableProperty _tmp8_;
- const gchar* _tmp9_;
- gchar** _tmp10_;
- gint _tmp10__length1;
- ConfigurableProperty _tmp11_;
- const gchar* _tmp12_;
- const gchar* _tmp13_;
- ConfigurableProperty _tmp14_;
+ gchar* _tmp0_;
+ gboolean _tmp1_ = FALSE;
+ gchar** _tmp3_;
+ gint _tmp3__length1;
+ const gchar* _tmp4_;
+ gchar** _tmp5_;
+ gint _tmp5__length1;
+ const gchar* _tmp6_;
+ const gchar* _tmp7_;
GError * _inner_error_ = NULL;
#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (val != NULL);
#line 345 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = val;
-#line 345 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (val);
#line 345 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- converted_val = _tmp1_;
+ converted_val = _tmp0_;
#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = p;
+ if (p == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) {
#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp3_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) {
-#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = TRUE;
-#line 4352 "GSettingsEngine.c"
+ _tmp1_ = TRUE;
+#line 4256 "GSettingsEngine.c"
} else {
- ConfigurableProperty _tmp4_;
-#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp4_ == CONFIGURABLE_PROPERTY_SCREENSAVER_FILE;
-#line 4359 "GSettingsEngine.c"
+ _tmp1_ = p == CONFIGURABLE_PROPERTY_SCREENSAVER_FILE;
+#line 4260 "GSettingsEngine.c"
}
#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp2_) {
-#line 4363 "GSettingsEngine.c"
- const gchar* _tmp5_;
- gchar* _tmp6_;
-#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = val;
+ if (_tmp1_) {
+#line 4264 "GSettingsEngine.c"
+ gchar* _tmp2_;
#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = g_strconcat ("file://", _tmp5_, NULL);
+ _tmp2_ = g_strconcat ("file://", val, NULL);
#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (converted_val);
#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- converted_val = _tmp6_;
-#line 4374 "GSettingsEngine.c"
+ converted_val = _tmp2_;
+#line 4272 "GSettingsEngine.c"
}
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = self->priv->schema_names;
-#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7__length1 = self->priv->schema_names_length1;
-#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = p;
+ _tmp3_ = self->priv->schema_names;
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp9_ = _tmp7_[_tmp8_];
+ _tmp3__length1 = self->priv->schema_names_length1;
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = self->priv->key_names;
+ _tmp4_ = _tmp3_[p];
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10__length1 = self->priv->key_names_length1;
+ _tmp5_ = self->priv->key_names;
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = p;
+ _tmp5__length1 = self->priv->key_names_length1;
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = _tmp10_[_tmp11_];
+ _tmp6_ = _tmp5_[p];
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp13_ = converted_val;
+ _tmp7_ = converted_val;
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_string (self, _tmp9_, _tmp12_, _tmp13_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_string (self, _tmp4_, _tmp6_, _tmp7_, &_inner_error_);
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4402,7 +4296,7 @@ static void gsettings_configuration_engine_real_set_string_property (Configurati
_g_free0 (converted_val);
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4406 "GSettingsEngine.c"
+#line 4300 "GSettingsEngine.c"
} else {
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (converted_val);
@@ -4412,32 +4306,31 @@ static void gsettings_configuration_engine_real_set_string_property (Configurati
g_clear_error (&_inner_error_);
#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4416 "GSettingsEngine.c"
+#line 4310 "GSettingsEngine.c"
}
}
#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp14_ = p;
-#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp14_);
+ g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", p);
#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (converted_val);
-#line 4425 "GSettingsEngine.c"
+#line 4317 "GSettingsEngine.c"
}
-static gboolean gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) {
+static gboolean
+gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gchar** _tmp1_;
gint _tmp1__length1;
- ConfigurableProperty _tmp2_;
- const gchar* _tmp3_;
- gchar** _tmp4_;
- gint _tmp4__length1;
- ConfigurableProperty _tmp5_;
- const gchar* _tmp6_;
- gboolean _tmp7_;
+ const gchar* _tmp2_;
+ gchar** _tmp3_;
+ gint _tmp3__length1;
+ const gchar* _tmp4_;
GError * _inner_error_ = NULL;
#line 355 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4446,63 +4339,58 @@ static gboolean gsettings_configuration_engine_real_get_bool_property (Configura
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp1__length1 = self->priv->schema_names_length1;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = p;
-#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp1_[_tmp2_];
-#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = self->priv->key_names;
-#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4__length1 = self->priv->key_names_length1;
+ _tmp2_ = _tmp1_[p];
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = p;
+ _tmp3_ = self->priv->key_names;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp4_[_tmp5_];
+ _tmp3__length1 = self->priv->key_names_length1;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, _tmp3_, _tmp6_, &_inner_error_);
+ _tmp4_ = _tmp3_[p];
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = _tmp7_;
+ _tmp0_ = gsettings_configuration_engine_get_gs_bool (self, _tmp2_, _tmp4_, &_inner_error_);
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4469 "GSettingsEngine.c"
- gboolean _tmp8_ = FALSE;
+#line 4356 "GSettingsEngine.c"
+ gboolean _tmp5_ = FALSE;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp8_;
-#line 4475 "GSettingsEngine.c"
+ return _tmp5_;
+#line 4362 "GSettingsEngine.c"
} else {
- gboolean _tmp9_ = FALSE;
+ gboolean _tmp6_ = FALSE;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 4484 "GSettingsEngine.c"
+ return _tmp6_;
+#line 4371 "GSettingsEngine.c"
}
}
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = _tmp0_;
#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4491 "GSettingsEngine.c"
+#line 4378 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base, ConfigurableProperty p, gboolean val, GError** error) {
+static void
+gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gboolean val,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar** _tmp0_;
gint _tmp0__length1;
- ConfigurableProperty _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
- ConfigurableProperty _tmp4_;
- const gchar* _tmp5_;
- gboolean _tmp6_;
- ConfigurableProperty _tmp7_;
+ const gchar* _tmp1_;
+ gchar** _tmp2_;
+ gint _tmp2__length1;
+ const gchar* _tmp3_;
GError * _inner_error_ = NULL;
#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4511,21 +4399,15 @@ static void gsettings_configuration_engine_real_set_bool_property (Configuration
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp0__length1 = self->priv->schema_names_length1;
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = p;
-#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp0_[_tmp1_];
-#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = self->priv->key_names;
-#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3__length1 = self->priv->key_names_length1;
+ _tmp1_ = _tmp0_[p];
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
+ _tmp2_ = self->priv->key_names;
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp3_[_tmp4_];
+ _tmp2__length1 = self->priv->key_names_length1;
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
+ _tmp3_ = _tmp2_[p];
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_bool (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_bool (self, _tmp1_, _tmp3_, val, &_inner_error_);
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4534,7 +4416,7 @@ static void gsettings_configuration_engine_real_set_bool_property (Configuration
g_propagate_error (error, _inner_error_);
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4538 "GSettingsEngine.c"
+#line 4420 "GSettingsEngine.c"
} else {
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -4542,30 +4424,29 @@ static void gsettings_configuration_engine_real_set_bool_property (Configuration
g_clear_error (&_inner_error_);
#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4546 "GSettingsEngine.c"
+#line 4428 "GSettingsEngine.c"
}
}
#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = p;
-#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_);
-#line 4553 "GSettingsEngine.c"
+ g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", p);
+#line 4433 "GSettingsEngine.c"
}
-static gdouble gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) {
+static gdouble
+gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gdouble result = 0.0;
gdouble _tmp0_ = 0.0;
gchar** _tmp1_;
gint _tmp1__length1;
- ConfigurableProperty _tmp2_;
- const gchar* _tmp3_;
- gchar** _tmp4_;
- gint _tmp4__length1;
- ConfigurableProperty _tmp5_;
- const gchar* _tmp6_;
- gdouble _tmp7_;
+ const gchar* _tmp2_;
+ gchar** _tmp3_;
+ gint _tmp3__length1;
+ const gchar* _tmp4_;
GError * _inner_error_ = NULL;
#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4574,63 +4455,58 @@ static gdouble gsettings_configuration_engine_real_get_double_property (Configur
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp1__length1 = self->priv->schema_names_length1;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = p;
+ _tmp2_ = _tmp1_[p];
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp1_[_tmp2_];
-#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = self->priv->key_names;
-#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4__length1 = self->priv->key_names_length1;
-#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = p;
+ _tmp3_ = self->priv->key_names;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp4_[_tmp5_];
+ _tmp3__length1 = self->priv->key_names_length1;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_double (self, _tmp3_, _tmp6_, &_inner_error_);
+ _tmp4_ = _tmp3_[p];
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = _tmp7_;
+ _tmp0_ = gsettings_configuration_engine_get_gs_double (self, _tmp2_, _tmp4_, &_inner_error_);
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4597 "GSettingsEngine.c"
- gdouble _tmp8_ = 0.0;
+#line 4472 "GSettingsEngine.c"
+ gdouble _tmp5_ = 0.0;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_propagate_error (error, _inner_error_);
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp8_;
-#line 4603 "GSettingsEngine.c"
+ return _tmp5_;
+#line 4478 "GSettingsEngine.c"
} else {
- gdouble _tmp9_ = 0.0;
+ gdouble _tmp6_ = 0.0;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 4612 "GSettingsEngine.c"
+ return _tmp6_;
+#line 4487 "GSettingsEngine.c"
}
}
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = _tmp0_;
#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4619 "GSettingsEngine.c"
+#line 4494 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base, ConfigurableProperty p, gdouble val, GError** error) {
+static void
+gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base,
+ ConfigurableProperty p,
+ gdouble val,
+ GError** error)
+{
GSettingsConfigurationEngine * self;
gchar** _tmp0_;
gint _tmp0__length1;
- ConfigurableProperty _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
- ConfigurableProperty _tmp4_;
- const gchar* _tmp5_;
- gdouble _tmp6_;
- ConfigurableProperty _tmp7_;
+ const gchar* _tmp1_;
+ gchar** _tmp2_;
+ gint _tmp2__length1;
+ const gchar* _tmp3_;
GError * _inner_error_ = NULL;
#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4639,21 +4515,15 @@ static void gsettings_configuration_engine_real_set_double_property (Configurati
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_tmp0__length1 = self->priv->schema_names_length1;
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = p;
-#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = _tmp0_[_tmp1_];
-#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = self->priv->key_names;
-#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3__length1 = self->priv->key_names_length1;
+ _tmp1_ = _tmp0_[p];
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = p;
+ _tmp2_ = self->priv->key_names;
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp3_[_tmp4_];
+ _tmp2__length1 = self->priv->key_names_length1;
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
+ _tmp3_ = _tmp2_[p];
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_double (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_double (self, _tmp1_, _tmp3_, val, &_inner_error_);
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4662,7 +4532,7 @@ static void gsettings_configuration_engine_real_set_double_property (Configurati
g_propagate_error (error, _inner_error_);
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4666 "GSettingsEngine.c"
+#line 4536 "GSettingsEngine.c"
} else {
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -4670,25 +4540,27 @@ static void gsettings_configuration_engine_real_set_double_property (Configurati
g_clear_error (&_inner_error_);
#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4674 "GSettingsEngine.c"
+#line 4544 "GSettingsEngine.c"
}
}
#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = p;
-#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_);
-#line 4681 "GSettingsEngine.c"
+ g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", p);
+#line 4549 "GSettingsEngine.c"
}
-static gboolean gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean def) {
+static gboolean
+gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def)
+{
GSettingsConfigurationEngine * self;
gboolean result = FALSE;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
- gboolean _tmp13_ = FALSE;
+ gchar* _tmp0_;
+ gboolean _tmp8_ = FALSE;
GError * _inner_error_ = NULL;
#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4699,42 +4571,32 @@ static gboolean gsettings_configuration_engine_real_get_plugin_bool (Configurati
#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, FALSE);
#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 4710 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 4578 "GSettingsEngine.c"
{
- gboolean _tmp3_ = FALSE;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- gchar* _tmp6_;
- gboolean _tmp7_;
- gboolean _tmp8_;
-#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = key;
+ gboolean _tmp1_ = FALSE;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gboolean _tmp4_;
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_);
+ _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp5_;
+ _tmp3_ = _tmp2_;
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, schema_name, _tmp6_, &_inner_error_);
+ _tmp4_ = gsettings_configuration_engine_get_gs_bool (self, schema_name, _tmp3_, &_inner_error_);
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_;
-#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp6_);
+ _g_free0 (_tmp3_);
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp8_;
+ _tmp1_ = _tmp4_;
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4734 "GSettingsEngine.c"
- gboolean _tmp9_ = FALSE;
+#line 4596 "GSettingsEngine.c"
+ gboolean _tmp5_ = FALSE;
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4738 "GSettingsEngine.c"
+#line 4600 "GSettingsEngine.c"
goto __catch218_configuration_error;
}
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4744,45 +4606,42 @@ static gboolean gsettings_configuration_engine_real_get_plugin_bool (Configurati
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 4749 "GSettingsEngine.c"
+ return _tmp5_;
+#line 4611 "GSettingsEngine.c"
}
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp3_;
+ result = _tmp1_;
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4757 "GSettingsEngine.c"
+#line 4619 "GSettingsEngine.c"
}
goto __finally218;
__catch218_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
- const gchar* _tmp11_;
- gboolean _tmp12_;
+ GError* _tmp6_;
+ const gchar* _tmp7_;
#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = err;
+ _tmp6_ = err;
#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = _tmp10_->message;
+ _tmp7_ = _tmp6_->message;
#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:379: GSettingsConfigurationEngine: error: %s", _tmp11_);
+ g_critical ("GSettingsEngine.vala:379: GSettingsConfigurationEngine: error: %s", _tmp7_);
#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = def;
-#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp12_;
+ result = def;
#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4786 "GSettingsEngine.c"
+#line 4645 "GSettingsEngine.c"
}
__finally218:
#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4792,17 +4651,21 @@ static gboolean gsettings_configuration_engine_real_get_plugin_bool (Configurati
#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp13_;
-#line 4797 "GSettingsEngine.c"
+ return _tmp8_;
+#line 4656 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean val) {
+static void
+gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val)
+{
GSettingsConfigurationEngine * self;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4813,36 +4676,26 @@ static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEn
#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 4824 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 4683 "GSettingsEngine.c"
{
- const gchar* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
- gboolean _tmp6_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = key;
+ _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_);
+ _tmp2_ = _tmp1_;
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp4_;
-#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
+ gsettings_configuration_engine_set_gs_bool (self, schema_name, _tmp2_, val, &_inner_error_);
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_bool (self, schema_name, _tmp5_, _tmp6_, &_inner_error_);
-#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp2_);
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4846 "GSettingsEngine.c"
+#line 4699 "GSettingsEngine.c"
goto __catch219_configuration_error;
}
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4853,28 +4706,28 @@ static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEn
g_clear_error (&_inner_error_);
#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4857 "GSettingsEngine.c"
+#line 4710 "GSettingsEngine.c"
}
}
goto __finally219;
__catch219_configuration_error:
{
GError* err = NULL;
- GError* _tmp7_;
- const gchar* _tmp8_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = err;
+ _tmp3_ = err;
#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_->message;
+ _tmp4_ = _tmp3_->message;
#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:390: GSettingsConfigurationEngine: error: %s", _tmp8_);
+ g_critical ("GSettingsEngine.vala:390: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 4878 "GSettingsEngine.c"
+#line 4731 "GSettingsEngine.c"
}
__finally219:
#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4887,22 +4740,26 @@ static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEn
g_clear_error (&_inner_error_);
#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 4891 "GSettingsEngine.c"
+#line 4744 "GSettingsEngine.c"
}
#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
-#line 4895 "GSettingsEngine.c"
+#line 4748 "GSettingsEngine.c"
}
-static gdouble gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble def) {
+static gdouble
+gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def)
+{
GSettingsConfigurationEngine * self;
gdouble result = 0.0;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
- gdouble _tmp13_ = 0.0;
+ gchar* _tmp0_;
+ gdouble _tmp8_ = 0.0;
GError * _inner_error_ = NULL;
#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -4913,42 +4770,32 @@ static gdouble gsettings_configuration_engine_real_get_plugin_double (Configurat
#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, 0.0);
#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 4924 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 4777 "GSettingsEngine.c"
{
- gdouble _tmp3_ = 0.0;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- gchar* _tmp6_;
- gdouble _tmp7_;
- gdouble _tmp8_;
-#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = key;
-#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_);
+ gdouble _tmp1_ = 0.0;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gdouble _tmp4_;
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp5_;
+ _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_double (self, schema_name, _tmp6_, &_inner_error_);
+ _tmp3_ = _tmp2_;
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_;
+ _tmp4_ = gsettings_configuration_engine_get_gs_double (self, schema_name, _tmp3_, &_inner_error_);
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp6_);
+ _g_free0 (_tmp3_);
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp8_;
+ _tmp1_ = _tmp4_;
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4948 "GSettingsEngine.c"
- gdouble _tmp9_ = 0.0;
+#line 4795 "GSettingsEngine.c"
+ gdouble _tmp5_ = 0.0;
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 4952 "GSettingsEngine.c"
+#line 4799 "GSettingsEngine.c"
goto __catch220_configuration_error;
}
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -4958,45 +4805,42 @@ static gdouble gsettings_configuration_engine_real_get_plugin_double (Configurat
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 4963 "GSettingsEngine.c"
+ return _tmp5_;
+#line 4810 "GSettingsEngine.c"
}
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp3_;
+ result = _tmp1_;
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 4971 "GSettingsEngine.c"
+#line 4818 "GSettingsEngine.c"
}
goto __finally220;
__catch220_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
- const gchar* _tmp11_;
- gdouble _tmp12_;
+ GError* _tmp6_;
+ const gchar* _tmp7_;
#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = err;
+ _tmp6_ = err;
#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = _tmp10_->message;
+ _tmp7_ = _tmp6_->message;
#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:400: GSettingsConfigurationEngine: error: %s", _tmp11_);
+ g_critical ("GSettingsEngine.vala:400: GSettingsConfigurationEngine: error: %s", _tmp7_);
#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = def;
-#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp12_;
+ result = def;
#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5000 "GSettingsEngine.c"
+#line 4844 "GSettingsEngine.c"
}
__finally220:
#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5006,17 +4850,21 @@ static gdouble gsettings_configuration_engine_real_get_plugin_double (Configurat
#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp13_;
-#line 5011 "GSettingsEngine.c"
+ return _tmp8_;
+#line 4855 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble val) {
+static void
+gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val)
+{
GSettingsConfigurationEngine * self;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5027,36 +4875,26 @@ static void gsettings_configuration_engine_real_set_plugin_double (Configuration
#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5038 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 4882 "GSettingsEngine.c"
{
- const gchar* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
- gdouble _tmp6_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = key;
+ _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_);
+ _tmp2_ = _tmp1_;
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp4_;
-#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
-#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_double (self, schema_name, _tmp5_, _tmp6_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_double (self, schema_name, _tmp2_, val, &_inner_error_);
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp2_);
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5060 "GSettingsEngine.c"
+#line 4898 "GSettingsEngine.c"
goto __catch221_configuration_error;
}
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5067,28 +4905,28 @@ static void gsettings_configuration_engine_real_set_plugin_double (Configuration
g_clear_error (&_inner_error_);
#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5071 "GSettingsEngine.c"
+#line 4909 "GSettingsEngine.c"
}
}
goto __finally221;
__catch221_configuration_error:
{
GError* err = NULL;
- GError* _tmp7_;
- const gchar* _tmp8_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = err;
+ _tmp3_ = err;
#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_->message;
+ _tmp4_ = _tmp3_->message;
#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:411: GSettingsConfigurationEngine: error: %s", _tmp8_);
+ g_critical ("GSettingsEngine.vala:411: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5092 "GSettingsEngine.c"
+#line 4930 "GSettingsEngine.c"
}
__finally221:
#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5101,22 +4939,26 @@ static void gsettings_configuration_engine_real_set_plugin_double (Configuration
g_clear_error (&_inner_error_);
#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5105 "GSettingsEngine.c"
+#line 4943 "GSettingsEngine.c"
}
#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
-#line 5109 "GSettingsEngine.c"
+#line 4947 "GSettingsEngine.c"
}
-static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint def) {
+static gint
+gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def)
+{
GSettingsConfigurationEngine * self;
gint result = 0;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
- gint _tmp13_ = 0;
+ gchar* _tmp0_;
+ gint _tmp8_ = 0;
GError * _inner_error_ = NULL;
#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5127,42 +4969,32 @@ static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEng
#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, 0);
#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5138 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 4976 "GSettingsEngine.c"
{
- gint _tmp3_ = 0;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- gchar* _tmp6_;
- gint _tmp7_;
- gint _tmp8_;
+ gint _tmp1_ = 0;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gint _tmp4_;
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = key;
+ _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_);
+ _tmp3_ = _tmp2_;
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp5_;
+ _tmp4_ = gsettings_configuration_engine_get_gs_int (self, schema_name, _tmp3_, &_inner_error_);
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_int (self, schema_name, _tmp6_, &_inner_error_);
-#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_;
-#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp6_);
+ _g_free0 (_tmp3_);
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp8_;
+ _tmp1_ = _tmp4_;
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5162 "GSettingsEngine.c"
- gint _tmp9_ = 0;
+#line 4994 "GSettingsEngine.c"
+ gint _tmp5_ = 0;
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5166 "GSettingsEngine.c"
+#line 4998 "GSettingsEngine.c"
goto __catch222_configuration_error;
}
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5172,45 +5004,42 @@ static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEng
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp9_;
-#line 5177 "GSettingsEngine.c"
+ return _tmp5_;
+#line 5009 "GSettingsEngine.c"
}
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp3_;
+ result = _tmp1_;
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5185 "GSettingsEngine.c"
+#line 5017 "GSettingsEngine.c"
}
goto __finally222;
__catch222_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
- const gchar* _tmp11_;
- gint _tmp12_;
+ GError* _tmp6_;
+ const gchar* _tmp7_;
#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = err;
+ _tmp6_ = err;
#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = _tmp10_->message;
+ _tmp7_ = _tmp6_->message;
#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:421: GSettingsConfigurationEngine: error: %s", _tmp11_);
-#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = def;
+ g_critical ("GSettingsEngine.vala:421: GSettingsConfigurationEngine: error: %s", _tmp7_);
#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp12_;
+ result = def;
#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5214 "GSettingsEngine.c"
+#line 5043 "GSettingsEngine.c"
}
__finally222:
#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5220,17 +5049,21 @@ static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEng
#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_clear_error (&_inner_error_);
#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- return _tmp13_;
-#line 5225 "GSettingsEngine.c"
+ return _tmp8_;
+#line 5054 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint val) {
+static void
+gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val)
+{
GSettingsConfigurationEngine * self;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5241,36 +5074,26 @@ static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEng
#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
-#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5252 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 5081 "GSettingsEngine.c"
{
- const gchar* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
- gint _tmp6_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = key;
+ _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_);
+ _tmp2_ = _tmp1_;
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp4_;
+ gsettings_configuration_engine_set_gs_int (self, schema_name, _tmp2_, val, &_inner_error_);
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
-#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_int (self, schema_name, _tmp5_, _tmp6_, &_inner_error_);
-#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp2_);
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5274 "GSettingsEngine.c"
+#line 5097 "GSettingsEngine.c"
goto __catch223_configuration_error;
}
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5281,28 +5104,28 @@ static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEng
g_clear_error (&_inner_error_);
#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5285 "GSettingsEngine.c"
+#line 5108 "GSettingsEngine.c"
}
}
goto __finally223;
__catch223_configuration_error:
{
GError* err = NULL;
- GError* _tmp7_;
- const gchar* _tmp8_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = err;
+ _tmp3_ = err;
#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_->message;
+ _tmp4_ = _tmp3_->message;
#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:432: GSettingsConfigurationEngine: error: %s", _tmp8_);
+ g_critical ("GSettingsEngine.vala:432: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5306 "GSettingsEngine.c"
+#line 5129 "GSettingsEngine.c"
}
__finally223:
#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5315,21 +5138,25 @@ static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEng
g_clear_error (&_inner_error_);
#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5319 "GSettingsEngine.c"
+#line 5142 "GSettingsEngine.c"
}
#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
-#line 5323 "GSettingsEngine.c"
+#line 5146 "GSettingsEngine.c"
}
-static gchar* gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) {
+static gchar*
+gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def)
+{
GSettingsConfigurationEngine * self;
gchar* result = NULL;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5340,41 +5167,34 @@ static gchar* gsettings_configuration_engine_real_get_plugin_string (Configurati
#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (key != NULL, NULL);
#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5351 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 5174 "GSettingsEngine.c"
{
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_;
+ gchar* _tmp1_ = NULL;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
gchar* _tmp5_;
gchar* _tmp6_;
- gchar* _tmp7_;
- gchar* _tmp8_;
- gchar* _tmp9_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = key;
+ _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_);
+ _tmp3_ = _tmp2_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp5_;
+ _tmp4_ = gsettings_configuration_engine_get_gs_string (self, schema_name, _tmp3_, &_inner_error_);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = gsettings_configuration_engine_get_gs_string (self, schema_name, _tmp6_, &_inner_error_);
-#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_;
+ _tmp5_ = _tmp4_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp6_);
+ _g_free0 (_tmp3_);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp8_;
+ _tmp1_ = _tmp5_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5378 "GSettingsEngine.c"
+#line 5198 "GSettingsEngine.c"
goto __catch224_configuration_error;
}
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5385,53 +5205,50 @@ static gchar* gsettings_configuration_engine_real_get_plugin_string (Configurati
g_clear_error (&_inner_error_);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 5389 "GSettingsEngine.c"
+#line 5209 "GSettingsEngine.c"
}
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp9_ = _tmp3_;
+ _tmp6_ = _tmp1_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = NULL;
+ _tmp1_ = NULL;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp9_;
+ result = _tmp6_;
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp3_);
+ _g_free0 (_tmp1_);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5403 "GSettingsEngine.c"
+#line 5223 "GSettingsEngine.c"
}
goto __finally224;
__catch224_configuration_error:
{
GError* err = NULL;
- GError* _tmp10_;
- const gchar* _tmp11_;
- const gchar* _tmp12_;
- gchar* _tmp13_;
+ GError* _tmp7_;
+ const gchar* _tmp8_;
+ gchar* _tmp9_;
#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp10_ = err;
+ _tmp7_ = err;
#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp11_ = _tmp10_->message;
+ _tmp8_ = _tmp7_->message;
#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:442: GSettingsConfigurationEngine: error: %s", _tmp11_);
+ g_critical ("GSettingsEngine.vala:442: GSettingsConfigurationEngine: error: %s", _tmp8_);
#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp12_ = def;
+ _tmp9_ = g_strdup (def);
#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp13_ = g_strdup (_tmp12_);
-#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp13_;
+ result = _tmp9_;
#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5435 "GSettingsEngine.c"
+#line 5252 "GSettingsEngine.c"
}
__finally224:
#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5442,16 +5259,20 @@ static gchar* gsettings_configuration_engine_real_get_plugin_string (Configurati
g_clear_error (&_inner_error_);
#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return NULL;
-#line 5446 "GSettingsEngine.c"
+#line 5263 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) {
+static void
+gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val)
+{
GSettingsConfigurationEngine * self;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5462,36 +5283,26 @@ static void gsettings_configuration_engine_real_set_plugin_string (Configuration
#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5473 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 5290 "GSettingsEngine.c"
{
- const gchar* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
- const gchar* _tmp6_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = key;
+ _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_);
-#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp4_;
+ _tmp2_ = _tmp1_;
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = val;
+ gsettings_configuration_engine_set_gs_string (self, schema_name, _tmp2_, val, &_inner_error_);
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_string (self, schema_name, _tmp5_, _tmp6_, &_inner_error_);
-#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp2_);
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5495 "GSettingsEngine.c"
+#line 5306 "GSettingsEngine.c"
goto __catch225_configuration_error;
}
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5502,28 +5313,28 @@ static void gsettings_configuration_engine_real_set_plugin_string (Configuration
g_clear_error (&_inner_error_);
#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5506 "GSettingsEngine.c"
+#line 5317 "GSettingsEngine.c"
}
}
goto __finally225;
__catch225_configuration_error:
{
GError* err = NULL;
- GError* _tmp7_;
- const gchar* _tmp8_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = err;
+ _tmp3_ = err;
#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp8_ = _tmp7_->message;
+ _tmp4_ = _tmp3_->message;
#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:453: GSettingsConfigurationEngine: error: %s", _tmp8_);
+ g_critical ("GSettingsEngine.vala:453: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5527 "GSettingsEngine.c"
+#line 5338 "GSettingsEngine.c"
}
__finally225:
#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5536,20 +5347,23 @@ static void gsettings_configuration_engine_real_set_plugin_string (Configuration
g_clear_error (&_inner_error_);
#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5540 "GSettingsEngine.c"
+#line 5351 "GSettingsEngine.c"
}
#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
-#line 5544 "GSettingsEngine.c"
+#line 5355 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key) {
+static void
+gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key)
+{
GSettingsConfigurationEngine * self;
gchar* schema_name = NULL;
- const gchar* _tmp0_;
- const gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5560,33 +5374,26 @@ static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationE
#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (key != NULL);
#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = domain;
-#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = id;
-#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_);
+ _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id);
#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- schema_name = _tmp2_;
-#line 5571 "GSettingsEngine.c"
+ schema_name = _tmp0_;
+#line 5381 "GSettingsEngine.c"
{
- const gchar* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = key;
+ _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key);
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_);
+ _tmp2_ = _tmp1_;
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = _tmp4_;
+ gsettings_configuration_engine_reset_gs_to_default (self, schema_name, _tmp2_, &_inner_error_);
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_reset_gs_to_default (self, schema_name, _tmp5_, &_inner_error_);
-#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp2_);
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5590 "GSettingsEngine.c"
+#line 5397 "GSettingsEngine.c"
goto __catch226_configuration_error;
}
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5597,28 +5404,28 @@ static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationE
g_clear_error (&_inner_error_);
#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5601 "GSettingsEngine.c"
+#line 5408 "GSettingsEngine.c"
}
}
goto __finally226;
__catch226_configuration_error:
{
GError* err = NULL;
- GError* _tmp6_;
- const gchar* _tmp7_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = err;
+ _tmp3_ = err;
#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp7_ = _tmp6_->message;
+ _tmp4_ = _tmp3_->message;
#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:463: GSettingsConfigurationEngine: error: %s", _tmp7_);
+ g_critical ("GSettingsEngine.vala:463: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5622 "GSettingsEngine.c"
+#line 5429 "GSettingsEngine.c"
}
__finally226:
#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5631,45 +5438,42 @@ static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationE
g_clear_error (&_inner_error_);
#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5635 "GSettingsEngine.c"
+#line 5442 "GSettingsEngine.c"
}
#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (schema_name);
-#line 5639 "GSettingsEngine.c"
+#line 5446 "GSettingsEngine.c"
}
-static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base, const gchar* id) {
+static FuzzyPropertyState
+gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base,
+ const gchar* id)
+{
GSettingsConfigurationEngine * self;
FuzzyPropertyState result = 0;
gchar* enable_disable_name = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_val_if_fail (id != NULL, 0);
#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = id;
-#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_);
+ _tmp0_ = gsettings_configuration_engine_get_plugin_enable_disable_name (id);
#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- enable_disable_name = _tmp1_;
-#line 5660 "GSettingsEngine.c"
+ enable_disable_name = _tmp0_;
+#line 5467 "GSettingsEngine.c"
{
- FuzzyPropertyState _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_;
+ FuzzyPropertyState _tmp1_ = 0;
+ gboolean _tmp2_ = FALSE;
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = gsettings_configuration_engine_get_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, &_inner_error_);
-#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = _tmp4_;
+ _tmp2_ = gsettings_configuration_engine_get_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, &_inner_error_);
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5673 "GSettingsEngine.c"
+#line 5477 "GSettingsEngine.c"
goto __catch227_configuration_error;
}
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5680,42 +5484,42 @@ static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled
g_clear_error (&_inner_error_);
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return 0;
-#line 5684 "GSettingsEngine.c"
+#line 5488 "GSettingsEngine.c"
}
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- if (_tmp3_) {
+ if (_tmp2_) {
#line 472 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = FUZZY_PROPERTY_STATE_ENABLED;
-#line 5690 "GSettingsEngine.c"
+ _tmp1_ = FUZZY_PROPERTY_STATE_ENABLED;
+#line 5494 "GSettingsEngine.c"
} else {
#line 472 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = FUZZY_PROPERTY_STATE_DISABLED;
-#line 5694 "GSettingsEngine.c"
+ _tmp1_ = FUZZY_PROPERTY_STATE_DISABLED;
+#line 5498 "GSettingsEngine.c"
}
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (enable_disable_name);
#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5702 "GSettingsEngine.c"
+#line 5506 "GSettingsEngine.c"
}
goto __finally227;
__catch227_configuration_error:
{
GError* err = NULL;
- GError* _tmp5_;
- const gchar* _tmp6_;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp5_ = err;
+ _tmp3_ = err;
#line 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp6_ = _tmp5_->message;
+ _tmp4_ = _tmp3_->message;
#line 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:474: GSettingsConfigurationEngine: error: %s", _tmp6_);
+ g_critical ("GSettingsEngine.vala:474: GSettingsConfigurationEngine: error: %s", _tmp4_);
#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
result = FUZZY_PROPERTY_STATE_UNKNOWN;
#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5724,7 +5528,7 @@ static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled
_g_free0 (enable_disable_name);
#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return result;
-#line 5728 "GSettingsEngine.c"
+#line 5532 "GSettingsEngine.c"
}
__finally227:
#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5735,38 +5539,36 @@ static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled
g_clear_error (&_inner_error_);
#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return 0;
-#line 5739 "GSettingsEngine.c"
+#line 5543 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base, const gchar* id, gboolean enabled) {
+static void
+gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base,
+ const gchar* id,
+ gboolean enabled)
+{
GSettingsConfigurationEngine * self;
gchar* enable_disable_name = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
+ gchar* _tmp0_;
GError * _inner_error_ = NULL;
#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_return_if_fail (id != NULL);
#line 480 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp0_ = id;
+ _tmp0_ = gsettings_configuration_engine_get_plugin_enable_disable_name (id);
#line 480 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_);
-#line 480 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- enable_disable_name = _tmp1_;
-#line 5759 "GSettingsEngine.c"
+ enable_disable_name = _tmp0_;
+#line 5564 "GSettingsEngine.c"
{
- gboolean _tmp2_;
-#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp2_ = enabled;
#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- gsettings_configuration_engine_set_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, _tmp2_, &_inner_error_);
+ gsettings_configuration_engine_set_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, enabled, &_inner_error_);
#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (_inner_error_->domain == CONFIGURATION_ERROR) {
-#line 5770 "GSettingsEngine.c"
+#line 5572 "GSettingsEngine.c"
goto __catch228_configuration_error;
}
#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5777,28 +5579,28 @@ static void gsettings_configuration_engine_real_set_plugin_enabled (Configuratio
g_clear_error (&_inner_error_);
#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5781 "GSettingsEngine.c"
+#line 5583 "GSettingsEngine.c"
}
}
goto __finally228;
__catch228_configuration_error:
{
GError* err = NULL;
- GError* _tmp3_;
- const gchar* _tmp4_;
+ GError* _tmp1_;
+ const gchar* _tmp2_;
#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
err = _inner_error_;
#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_inner_error_ = NULL;
#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp3_ = err;
+ _tmp1_ = err;
#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- _tmp4_ = _tmp3_->message;
+ _tmp2_ = _tmp1_->message;
#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
- g_critical ("GSettingsEngine.vala:485: GSettingsConfigurationEngine: error: %s", _tmp4_);
+ g_critical ("GSettingsEngine.vala:485: GSettingsConfigurationEngine: error: %s", _tmp2_);
#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5802 "GSettingsEngine.c"
+#line 5604 "GSettingsEngine.c"
}
__finally228:
#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5811,15 +5613,17 @@ static void gsettings_configuration_engine_real_set_plugin_enabled (Configuratio
g_clear_error (&_inner_error_);
#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5815 "GSettingsEngine.c"
+#line 5617 "GSettingsEngine.c"
}
#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (enable_disable_name);
-#line 5819 "GSettingsEngine.c"
+#line 5621 "GSettingsEngine.c"
}
-void gsettings_configuration_engine_run_gsettings_migrator (void) {
+void
+gsettings_configuration_engine_run_gsettings_migrator (void)
+{
gchar* cmd_line = NULL;
GFile* _tmp0_;
GFile* _tmp1_;
@@ -5846,13 +5650,13 @@ void gsettings_configuration_engine_run_gsettings_migrator (void) {
_g_object_unref0 (_tmp1_);
#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
cmd_line = _tmp5_;
-#line 5850 "GSettingsEngine.c"
+#line 5654 "GSettingsEngine.c"
{
#line 497 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_spawn_command_line_sync (cmd_line, NULL, NULL, NULL, &_inner_error_);
#line 497 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5856 "GSettingsEngine.c"
+#line 5660 "GSettingsEngine.c"
goto __catch229_g_error;
}
}
@@ -5874,7 +5678,7 @@ void gsettings_configuration_engine_run_gsettings_migrator (void) {
g_message ("GSettingsEngine.vala:499: Error running shotwell-settings-migrator: %s", _tmp7_);
#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_error_free0 (err);
-#line 5878 "GSettingsEngine.c"
+#line 5682 "GSettingsEngine.c"
}
__finally229:
#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5887,26 +5691,30 @@ void gsettings_configuration_engine_run_gsettings_migrator (void) {
g_clear_error (&_inner_error_);
#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
return;
-#line 5891 "GSettingsEngine.c"
+#line 5695 "GSettingsEngine.c"
}
#line 493 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
_g_free0 (cmd_line);
-#line 5895 "GSettingsEngine.c"
+#line 5699 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_class_init (GSettingsConfigurationEngineClass * klass) {
+static void
+gsettings_configuration_engine_class_init (GSettingsConfigurationEngineClass * klass)
+{
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
gsettings_configuration_engine_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
g_type_class_add_private (klass, sizeof (GSettingsConfigurationEnginePrivate));
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
G_OBJECT_CLASS (klass)->finalize = gsettings_configuration_engine_finalize;
-#line 5906 "GSettingsEngine.c"
+#line 5712 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_configuration_engine_interface_init (ConfigurationEngineIface * iface) {
+static void
+gsettings_configuration_engine_configuration_engine_interface_init (ConfigurationEngineIface * iface)
+{
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
gsettings_configuration_engine_configuration_engine_parent_iface = g_type_interface_peek_parent (iface);
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
@@ -5953,18 +5761,22 @@ static void gsettings_configuration_engine_configuration_engine_interface_init (
iface->is_plugin_enabled = (FuzzyPropertyState (*) (ConfigurationEngine *, const gchar*)) gsettings_configuration_engine_real_is_plugin_enabled;
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
iface->set_plugin_enabled = (void (*) (ConfigurationEngine *, const gchar*, gboolean)) gsettings_configuration_engine_real_set_plugin_enabled;
-#line 5957 "GSettingsEngine.c"
+#line 5765 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_instance_init (GSettingsConfigurationEngine * self) {
+static void
+gsettings_configuration_engine_instance_init (GSettingsConfigurationEngine * self)
+{
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self->priv = GSETTINGS_CONFIGURATION_ENGINE_GET_PRIVATE (self);
-#line 5964 "GSettingsEngine.c"
+#line 5774 "GSettingsEngine.c"
}
-static void gsettings_configuration_engine_finalize (GObject * obj) {
+static void
+gsettings_configuration_engine_finalize (GObject * obj)
+{
GSettingsConfigurationEngine * self;
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine);
@@ -5974,11 +5786,13 @@ static void gsettings_configuration_engine_finalize (GObject * obj) {
self->priv->key_names = (_vala_array_free (self->priv->key_names, self->priv->key_names_length1, (GDestroyNotify) g_free), NULL);
#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala"
G_OBJECT_CLASS (gsettings_configuration_engine_parent_class)->finalize (obj);
-#line 5978 "GSettingsEngine.c"
+#line 5790 "GSettingsEngine.c"
}
-GType gsettings_configuration_engine_get_type (void) {
+GType
+gsettings_configuration_engine_get_type (void)
+{
static volatile gsize gsettings_configuration_engine_type_id__volatile = 0;
if (g_once_init_enter (&gsettings_configuration_engine_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (GSettingsConfigurationEngineClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gsettings_configuration_engine_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GSettingsConfigurationEngine), 0, (GInstanceInitFunc) gsettings_configuration_engine_instance_init, NULL };
@@ -5992,7 +5806,11 @@ GType gsettings_configuration_engine_get_type (void) {
}
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
if ((array != NULL) && (destroy_func != NULL)) {
int i;
for (i = 0; i < array_length; i = i + 1) {
@@ -6004,7 +5822,11 @@ static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNoti
}
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
_vala_array_destroy (array, array_length, destroy_func);
g_free (array);
}