summaryrefslogtreecommitdiff
path: root/src/Printing.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
commit2492891f112caac6076ce49721d9d5d78a152c3a (patch)
tree36dd11a60bd963e6bd44e2e312b6e4b57d1849ea /src/Printing.c
parent3c829c50a8f705402bdc759946d49ae7caebd003 (diff)
New upstream version 0.26.4upstream/0.26.4
Diffstat (limited to 'src/Printing.c')
-rw-r--r--src/Printing.c3369
1 files changed, 1647 insertions, 1722 deletions
diff --git a/src/Printing.c b/src/Printing.c
index a9d2d3e..42a3024 100644
--- a/src/Printing.c
+++ b/src/Printing.c
@@ -1,4 +1,4 @@
-/* Printing.c generated by valac 0.34.7, the Vala compiler
+/* Printing.c generated by valac 0.36.6, the Vala compiler
* generated from Printing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -493,7 +493,7 @@ void print_settings_set_match_aspect_ratio_enabled (PrintSettings* self, gboolea
void print_settings_set_print_titles_enabled (PrintSettings* self, gboolean print_titles);
void print_settings_set_print_titles_font (PrintSettings* self, const gchar* fontname);
gchar* print_settings_get_print_titles_font (PrintSettings* self);
-static void print_settings_finalize (PrintSettings* obj);
+static void print_settings_finalize (PrintSettings * obj);
#define MEASUREMENT_CENTIMETERS_PER_INCH 2.54
#define MEASUREMENT_INCHES_PER_CENTIMETER (1.0 / 2.54)
void measurement_convert_to (Measurement *self, MeasurementUnit to_unit, Measurement* result);
@@ -565,7 +565,7 @@ static gboolean custom_print_tab_is_print_titles_enabled (CustomPrintTab* self);
static gchar* custom_print_tab_get_print_titles_font (CustomPrintTab* self);
PrintJob* custom_print_tab_get_source_job (CustomPrintTab* self);
PrintSettings* custom_print_tab_get_local_settings (CustomPrintTab* self);
-static void custom_print_tab_finalize (GObject* obj);
+static void custom_print_tab_finalize (GObject * obj);
GType data_object_get_type (void) G_GNUC_CONST;
GType data_source_get_type (void) G_GNUC_CONST;
GType thumbnail_source_get_type (void) G_GNUC_CONST;
@@ -588,13 +588,13 @@ gdouble dimensions_get_aspect_ratio (Dimensions *self);
GeeList* print_job_get_photos (PrintJob* self);
Photo* print_job_get_source_photo (PrintJob* self);
void print_job_set_local_settings (PrintJob* self, PrintSettings* settings);
-static void print_job_finalize (GObject* obj);
+static void print_job_finalize (GObject * obj);
enum {
STANDARD_PRINT_SIZE_DUMMY_PROPERTY
};
StandardPrintSize* standard_print_size_new (const gchar* name, Measurement* width, Measurement* height);
StandardPrintSize* standard_print_size_construct (GType object_type, const gchar* name, Measurement* width, Measurement* height);
-static void standard_print_size_finalize (StandardPrintSize* obj);
+static void standard_print_size_finalize (StandardPrintSize * obj);
GType progress_dialog_get_type (void) G_GNUC_CONST;
#define PRINT_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PRINT_MANAGER, PrintManagerPrivate))
enum {
@@ -603,21 +603,21 @@ enum {
#define PRINT_MANAGER_IMAGE_DISTANCE 0.24
static PrintManager* print_manager_new (void);
static PrintManager* print_manager_construct (GType object_type);
-static void _vala_array_add112 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add113 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add114 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add115 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add116 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add117 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add118 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add119 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add120 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add121 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add122 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add123 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add124 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add125 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
-static void _vala_array_add126 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add112 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add113 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add114 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add115 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add116 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add117 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add118 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add119 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add120 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add121 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add122 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add123 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add124 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add125 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
+static void _vala_array_add126 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value);
void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print);
gchar* data_object_get_name (DataObject* self);
static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation* emitting_object, GtkPrintContext* job_context);
@@ -657,7 +657,7 @@ void dimensions_for_pixbuf (GdkPixbuf* pixbuf, Dimensions* result);
GdkPixbuf* scaling_perform_on_pixbuf (Scaling *self, GdkPixbuf* pixbuf, GdkInterpType interp, gboolean scale_up);
void scaling_for_viewport (Dimensions* viewport, gboolean scale_up, Scaling* result);
static void _vala_PangoFontDescription_free (PangoFontDescription* self);
-static void print_manager_finalize (PrintManager* obj);
+static void print_manager_finalize (PrintManager * 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);
@@ -677,18 +677,18 @@ GType content_layout_get_type (void) {
PrintSettings* print_settings_construct (GType object_type) {
PrintSettings* self = NULL;
ConfigFacade* config = NULL;
- ConfigFacade* _tmp0_ = NULL;
+ ConfigFacade* _tmp0_;
MeasurementUnit units = 0;
- gint _tmp1_ = 0;
- gdouble _tmp2_ = 0.0;
- gdouble _tmp3_ = 0.0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
- gchar* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+ gint _tmp1_;
+ gdouble _tmp2_;
+ gdouble _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gboolean _tmp6_;
+ gboolean _tmp7_;
+ gchar* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
#line 30 "/home/jens/Source/shotwell/src/Printing.vala"
self = (PrintSettings*) g_type_create_instance (object_type);
#line 31 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -754,20 +754,20 @@ PrintSettings* print_settings_new (void) {
void print_settings_save (PrintSettings* self) {
ConfigFacade* config = NULL;
- ConfigFacade* _tmp0_ = NULL;
- Measurement _tmp1_ = {0};
- MeasurementUnit _tmp2_ = 0;
- Measurement _tmp3_ = {0};
- gdouble _tmp4_ = 0.0;
- Measurement _tmp5_ = {0};
- gdouble _tmp6_ = 0.0;
- gint _tmp7_ = 0;
- ContentLayout _tmp8_ = 0;
- gboolean _tmp9_ = FALSE;
- gboolean _tmp10_ = FALSE;
- const gchar* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ ConfigFacade* _tmp0_;
+ Measurement _tmp1_;
+ MeasurementUnit _tmp2_;
+ Measurement _tmp3_;
+ gdouble _tmp4_;
+ Measurement _tmp5_;
+ gdouble _tmp6_;
+ gint _tmp7_;
+ ContentLayout _tmp8_;
+ gboolean _tmp9_;
+ gboolean _tmp10_;
+ const gchar* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
#line 46 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 47 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -827,7 +827,7 @@ void print_settings_save (PrintSettings* self) {
void print_settings_get_content_width (PrintSettings* self, Measurement* result) {
- ContentLayout _tmp0_ = 0;
+ ContentLayout _tmp0_;
#line 62 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 63 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -840,14 +840,14 @@ void print_settings_get_content_width (PrintSettings* self, Measurement* result)
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
#line 842 "Printing.c"
{
- PrintManager* _tmp1_ = NULL;
- PrintManager* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- StandardPrintSize** _tmp4_ = NULL;
- gint _tmp5_ = 0;
- StandardPrintSize* _tmp6_ = NULL;
- Measurement _tmp7_ = {0};
- Measurement _tmp8_ = {0};
+ PrintManager* _tmp1_;
+ PrintManager* _tmp2_;
+ gint _tmp3_;
+ StandardPrintSize** _tmp4_;
+ gint _tmp5_;
+ StandardPrintSize* _tmp6_;
+ Measurement _tmp7_;
+ Measurement _tmp8_;
#line 66 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_manager_get_instance ();
#line 66 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -874,7 +874,7 @@ void print_settings_get_content_width (PrintSettings* self, Measurement* result)
case CONTENT_LAYOUT_CUSTOM_SIZE:
#line 876 "Printing.c"
{
- Measurement _tmp9_ = {0};
+ Measurement _tmp9_;
#line 70 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->content_width;
#line 70 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -894,7 +894,7 @@ void print_settings_get_content_width (PrintSettings* self, Measurement* result)
void print_settings_get_content_height (PrintSettings* self, Measurement* result) {
- ContentLayout _tmp0_ = 0;
+ ContentLayout _tmp0_;
#line 77 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 78 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -907,14 +907,14 @@ void print_settings_get_content_height (PrintSettings* self, Measurement* result
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
#line 909 "Printing.c"
{
- PrintManager* _tmp1_ = NULL;
- PrintManager* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- StandardPrintSize** _tmp4_ = NULL;
- gint _tmp5_ = 0;
- StandardPrintSize* _tmp6_ = NULL;
- Measurement _tmp7_ = {0};
- Measurement _tmp8_ = {0};
+ PrintManager* _tmp1_;
+ PrintManager* _tmp2_;
+ gint _tmp3_;
+ StandardPrintSize** _tmp4_;
+ gint _tmp5_;
+ StandardPrintSize* _tmp6_;
+ Measurement _tmp7_;
+ Measurement _tmp8_;
#line 81 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_manager_get_instance ();
#line 81 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -941,7 +941,7 @@ void print_settings_get_content_height (PrintSettings* self, Measurement* result
case CONTENT_LAYOUT_CUSTOM_SIZE:
#line 943 "Printing.c"
{
- Measurement _tmp9_ = {0};
+ Measurement _tmp9_;
#line 85 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->content_height;
#line 85 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -990,7 +990,7 @@ void print_settings_get_maximum_content_dimension (PrintSettings* self, Measurem
gboolean print_settings_is_match_aspect_ratio_enabled (PrintSettings* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 100 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), FALSE);
#line 101 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1005,7 +1005,7 @@ gboolean print_settings_is_match_aspect_ratio_enabled (PrintSettings* self) {
gboolean print_settings_is_print_titles_enabled (PrintSettings* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 104 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), FALSE);
#line 105 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1020,7 +1020,7 @@ gboolean print_settings_is_print_titles_enabled (PrintSettings* self) {
gint print_settings_get_content_ppi (PrintSettings* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 108 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), 0);
#line 109 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1035,7 +1035,7 @@ gint print_settings_get_content_ppi (PrintSettings* self) {
gint print_settings_get_image_per_page_selection (PrintSettings* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 112 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), 0);
#line 113 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1050,7 +1050,7 @@ gint print_settings_get_image_per_page_selection (PrintSettings* self) {
gint print_settings_get_size_selection (PrintSettings* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 116 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), 0);
#line 117 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1065,7 +1065,7 @@ gint print_settings_get_size_selection (PrintSettings* self) {
ContentLayout print_settings_get_content_layout (PrintSettings* self) {
ContentLayout result = 0;
- ContentLayout _tmp0_ = 0;
+ ContentLayout _tmp0_;
#line 120 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), 0);
#line 121 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1079,7 +1079,7 @@ ContentLayout print_settings_get_content_layout (PrintSettings* self) {
void print_settings_set_content_layout (PrintSettings* self, ContentLayout content_layout) {
- ContentLayout _tmp0_ = 0;
+ ContentLayout _tmp0_;
#line 124 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 125 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1091,7 +1091,7 @@ void print_settings_set_content_layout (PrintSettings* self, ContentLayout conte
void print_settings_set_content_width (PrintSettings* self, Measurement* content_width) {
- Measurement _tmp0_ = {0};
+ Measurement _tmp0_;
#line 128 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 128 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1105,7 +1105,7 @@ void print_settings_set_content_width (PrintSettings* self, Measurement* content
void print_settings_set_content_height (PrintSettings* self, Measurement* content_height) {
- Measurement _tmp0_ = {0};
+ Measurement _tmp0_;
#line 132 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 132 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1119,7 +1119,7 @@ void print_settings_set_content_height (PrintSettings* self, Measurement* conten
void print_settings_set_content_ppi (PrintSettings* self, gint content_ppi) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 137 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1131,7 +1131,7 @@ void print_settings_set_content_ppi (PrintSettings* self, gint content_ppi) {
void print_settings_set_image_per_page_selection (PrintSettings* self, gint image_per_page_selection) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 140 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 141 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1143,7 +1143,7 @@ void print_settings_set_image_per_page_selection (PrintSettings* self, gint imag
void print_settings_set_size_selection (PrintSettings* self, gint size_selection) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 144 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 145 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1155,7 +1155,7 @@ void print_settings_set_size_selection (PrintSettings* self, gint size_selection
void print_settings_set_match_aspect_ratio_enabled (PrintSettings* self, gboolean enable_state) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 148 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 149 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1167,7 +1167,7 @@ void print_settings_set_match_aspect_ratio_enabled (PrintSettings* self, gboolea
void print_settings_set_print_titles_enabled (PrintSettings* self, gboolean print_titles) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 152 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 153 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1179,8 +1179,8 @@ void print_settings_set_print_titles_enabled (PrintSettings* self, gboolean prin
void print_settings_set_print_titles_font (PrintSettings* self, const gchar* fontname) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 156 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_SETTINGS (self));
#line 156 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1199,8 +1199,8 @@ void print_settings_set_print_titles_font (PrintSettings* self, const gchar* fon
gchar* print_settings_get_print_titles_font (PrintSettings* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 160 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_SETTINGS (self), NULL);
#line 161 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1257,7 +1257,7 @@ static gchar* value_print_settings_collect_value (GValue* value, guint n_collect
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
if (collect_values[0].v_pointer) {
#line 1260 "Printing.c"
- PrintSettings* object;
+ PrintSettings * object;
object = collect_values[0].v_pointer;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
if (object->parent_instance.g_class == NULL) {
@@ -1284,7 +1284,7 @@ static gchar* value_print_settings_collect_value (GValue* value, guint n_collect
static gchar* value_print_settings_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PrintSettings** object_p;
+ PrintSettings ** object_p;
object_p = collect_values[0].v_pointer;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
if (!object_p) {
@@ -1336,7 +1336,7 @@ gpointer value_get_print_settings (const GValue* value) {
void value_set_print_settings (GValue* value, gpointer v_object) {
- PrintSettings* old;
+ PrintSettings * old;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_SETTINGS));
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1367,7 +1367,7 @@ void value_set_print_settings (GValue* value, gpointer v_object) {
void value_take_print_settings (GValue* value, gpointer v_object) {
- PrintSettings* old;
+ PrintSettings * old;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_SETTINGS));
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1415,7 +1415,7 @@ static void print_settings_instance_init (PrintSettings * self) {
}
-static void print_settings_finalize (PrintSettings* obj) {
+static void print_settings_finalize (PrintSettings * obj) {
PrintSettings * self;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_SETTINGS, PrintSettings);
@@ -1442,7 +1442,7 @@ GType print_settings_get_type (void) {
gpointer print_settings_ref (gpointer instance) {
- PrintSettings* self;
+ PrintSettings * self;
self = instance;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
g_atomic_int_inc (&self->ref_count);
@@ -1453,7 +1453,7 @@ gpointer print_settings_ref (gpointer instance) {
void print_settings_unref (gpointer instance) {
- PrintSettings* self;
+ PrintSettings * self;
self = instance;
#line 13 "/home/jens/Source/shotwell/src/Printing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -1479,8 +1479,8 @@ GType measurement_unit_get_type (void) {
void measurement_init (Measurement *self, gdouble value, MeasurementUnit unit) {
- gdouble _tmp0_ = 0.0;
- MeasurementUnit _tmp1_ = 0;
+ gdouble _tmp0_;
+ MeasurementUnit _tmp1_;
#line 185 "/home/jens/Source/shotwell/src/Printing.vala"
memset (self, 0, sizeof (Measurement));
#line 186 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1496,9 +1496,9 @@ void measurement_init (Measurement *self, gdouble value, MeasurementUnit unit) {
void measurement_convert_to (Measurement *self, MeasurementUnit to_unit, Measurement* result) {
- MeasurementUnit _tmp0_ = 0;
- MeasurementUnit _tmp1_ = 0;
- MeasurementUnit _tmp2_ = 0;
+ MeasurementUnit _tmp0_;
+ MeasurementUnit _tmp1_;
+ MeasurementUnit _tmp2_;
#line 191 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = (*self).unit;
#line 191 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1516,7 +1516,7 @@ void measurement_convert_to (Measurement *self, MeasurementUnit to_unit, Measure
#line 194 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ == MEASUREMENT_UNIT_INCHES) {
#line 1519 "Printing.c"
- gdouble _tmp3_ = 0.0;
+ gdouble _tmp3_;
Measurement _tmp4_ = {0};
#line 195 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = (*self).value;
@@ -1528,13 +1528,13 @@ void measurement_convert_to (Measurement *self, MeasurementUnit to_unit, Measure
return;
#line 1530 "Printing.c"
} else {
- MeasurementUnit _tmp5_ = 0;
+ MeasurementUnit _tmp5_;
#line 196 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = to_unit;
#line 196 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp5_ == MEASUREMENT_UNIT_CENTIMETERS) {
#line 1537 "Printing.c"
- gdouble _tmp6_ = 0.0;
+ gdouble _tmp6_;
Measurement _tmp7_ = {0};
#line 197 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = (*self).value;
@@ -1557,13 +1557,13 @@ void measurement_convert_to (Measurement *self, MeasurementUnit to_unit, Measure
gboolean measurement_is_less_than (Measurement *self, Measurement* rhs) {
gboolean result = FALSE;
Measurement _tmp0_ = {0};
- MeasurementUnit _tmp1_ = 0;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
+ MeasurementUnit _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
Measurement converted_rhs = {0};
- gdouble _tmp7_ = 0.0;
- Measurement _tmp8_ = {0};
- gdouble _tmp9_ = 0.0;
+ gdouble _tmp7_;
+ Measurement _tmp8_;
+ gdouble _tmp9_;
#line 203 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (rhs != NULL, FALSE);
#line 204 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1575,14 +1575,14 @@ gboolean measurement_is_less_than (Measurement *self, Measurement* rhs) {
#line 204 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ == _tmp3_) {
#line 1578 "Printing.c"
- Measurement _tmp4_ = {0};
+ Measurement _tmp4_;
#line 204 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *rhs;
#line 204 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = _tmp4_;
#line 1584 "Printing.c"
} else {
- MeasurementUnit _tmp5_ = 0;
+ MeasurementUnit _tmp5_;
Measurement _tmp6_ = {0};
#line 204 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = (*self).unit;
@@ -1611,13 +1611,13 @@ gboolean measurement_is_less_than (Measurement *self, Measurement* rhs) {
gboolean measurement_is_greater_than (Measurement *self, Measurement* rhs) {
gboolean result = FALSE;
Measurement _tmp0_ = {0};
- MeasurementUnit _tmp1_ = 0;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
+ MeasurementUnit _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
Measurement converted_rhs = {0};
- gdouble _tmp7_ = 0.0;
- Measurement _tmp8_ = {0};
- gdouble _tmp9_ = 0.0;
+ gdouble _tmp7_;
+ Measurement _tmp8_;
+ gdouble _tmp9_;
#line 208 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (rhs != NULL, FALSE);
#line 209 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1629,14 +1629,14 @@ gboolean measurement_is_greater_than (Measurement *self, Measurement* rhs) {
#line 209 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ == _tmp3_) {
#line 1632 "Printing.c"
- Measurement _tmp4_ = {0};
+ Measurement _tmp4_;
#line 209 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *rhs;
#line 209 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = _tmp4_;
#line 1638 "Printing.c"
} else {
- MeasurementUnit _tmp5_ = 0;
+ MeasurementUnit _tmp5_;
Measurement _tmp6_ = {0};
#line 209 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = (*self).unit;
@@ -1694,9 +1694,9 @@ GType measurement_get_type (void) {
PrintLayout* print_layout_get_all (int* result_length1) {
PrintLayout* result = NULL;
- PrintLayout* _tmp0_ = NULL;
- PrintLayout* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ PrintLayout* _tmp0_;
+ PrintLayout* _tmp1_;
+ gint _tmp1__length1;
#line 224 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = g_new0 (PrintLayout, 7);
#line 224 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1734,10 +1734,10 @@ PrintLayout* print_layout_get_all (int* result_length1) {
gint print_layout_get_per_page (PrintLayout self) {
gint result = 0;
gint* per_page = NULL;
- gint* _tmp0_ = NULL;
- gint per_page_length1 = 0;
- gint _per_page_size_ = 0;
- gint _tmp1_ = 0;
+ gint* _tmp0_;
+ gint per_page_length1;
+ gint _per_page_size_;
+ gint _tmp1_;
#line 236 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = g_new0 (gint, 7);
#line 236 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1775,10 +1775,10 @@ gint print_layout_get_per_page (PrintLayout self) {
gint print_layout_get_x (PrintLayout self) {
gint result = 0;
gint* x = NULL;
- gint* _tmp0_ = NULL;
- gint x_length1 = 0;
- gint _x_size_ = 0;
- gint _tmp1_ = 0;
+ gint* _tmp0_;
+ gint x_length1;
+ gint _x_size_;
+ gint _tmp1_;
#line 242 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = g_new0 (gint, 7);
#line 242 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1816,10 +1816,10 @@ gint print_layout_get_x (PrintLayout self) {
gint print_layout_get_y (PrintLayout self) {
gint result = 0;
gint* y = NULL;
- gint* _tmp0_ = NULL;
- gint y_length1 = 0;
- gint _y_size_ = 0;
- gint _tmp1_ = 0;
+ gint* _tmp0_;
+ gint y_length1;
+ gint _y_size_;
+ gint _tmp1_;
#line 248 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = g_new0 (gint, 7);
#line 248 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -1857,86 +1857,65 @@ gint print_layout_get_y (PrintLayout self) {
gchar* print_layout_to_string (PrintLayout self) {
gchar* result = NULL;
gchar** labels = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar** _tmp14_ = NULL;
- gint labels_length1 = 0;
- gint _labels_size_ = 0;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp0_ = _ ("Fill the entire page");
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ gchar** _tmp7_;
+ gint labels_length1;
+ gint _labels_size_;
+ const gchar* _tmp8_;
+ gchar* _tmp9_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (_ ("Fill the entire page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp2_ = _ ("2 images per page");
+ _tmp1_ = g_strdup (_ ("2 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp3_ = g_strdup (_tmp2_);
+ _tmp2_ = g_strdup (_ ("4 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp4_ = _ ("4 images per page");
+ _tmp3_ = g_strdup (_ ("6 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp5_ = g_strdup (_tmp4_);
+ _tmp4_ = g_strdup (_ ("8 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp6_ = _ ("6 images per page");
+ _tmp5_ = g_strdup (_ ("16 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp7_ = g_strdup (_tmp6_);
+ _tmp6_ = g_strdup (_ ("32 images per page"));
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp8_ = _ ("8 images per page");
+ _tmp7_ = g_new0 (gchar*, 7 + 1);
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp9_ = g_strdup (_tmp8_);
+ _tmp7_[0] = _tmp0_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp10_ = _ ("16 images per page");
+ _tmp7_[1] = _tmp1_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp11_ = g_strdup (_tmp10_);
+ _tmp7_[2] = _tmp2_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp12_ = _ ("32 images per page");
+ _tmp7_[3] = _tmp3_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp13_ = g_strdup (_tmp12_);
+ _tmp7_[4] = _tmp4_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_ = g_new0 (gchar*, 7 + 1);
+ _tmp7_[5] = _tmp5_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[0] = _tmp1_;
+ _tmp7_[6] = _tmp6_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[1] = _tmp3_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[2] = _tmp5_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[3] = _tmp7_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[4] = _tmp9_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[5] = _tmp11_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_[6] = _tmp13_;
-#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
- labels = _tmp14_;
+ labels = _tmp7_;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
labels_length1 = 7;
#line 254 "/home/jens/Source/shotwell/src/Printing.vala"
_labels_size_ = labels_length1;
#line 264 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp15_ = labels[self];
+ _tmp8_ = labels[self];
#line 264 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp16_ = g_strdup (_tmp15_);
+ _tmp9_ = g_strdup (_tmp8_);
#line 264 "/home/jens/Source/shotwell/src/Printing.vala"
- result = _tmp16_;
+ result = _tmp9_;
#line 264 "/home/jens/Source/shotwell/src/Printing.vala"
labels = (_vala_array_free (labels, labels_length1, (GDestroyNotify) g_free), NULL);
#line 264 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 1940 "Printing.c"
+#line 1919 "Printing.c"
}
@@ -1955,14 +1934,14 @@ GType print_layout_get_type (void) {
static gpointer _g_object_ref0 (gpointer self) {
#line 305 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? g_object_ref (self) : NULL;
-#line 1959 "Printing.c"
+#line 1938 "Printing.c"
}
static void _custom_print_tab_on_radio_group_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 307 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_on_radio_group_click ((CustomPrintTab*) self, _sender);
-#line 1966 "Printing.c"
+#line 1945 "Printing.c"
}
@@ -1971,21 +1950,21 @@ static gboolean _custom_print_tab_standard_sizes_combo_separator_func_gtk_tree_v
result = custom_print_tab_standard_sizes_combo_separator_func (model, iter);
#line 316 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 1975 "Printing.c"
+#line 1954 "Printing.c"
}
static gpointer _standard_print_size_ref0 (gpointer self) {
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? standard_print_size_ref (self) : NULL;
-#line 1982 "Printing.c"
+#line 1961 "Printing.c"
}
static void _custom_print_tab_on_entry_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 323 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_on_entry_insert_text ((CustomPrintTab*) self, _sender, new_text, new_text_length, position);
-#line 1989 "Printing.c"
+#line 1968 "Printing.c"
}
@@ -1994,7 +1973,7 @@ static gboolean _custom_print_tab_on_width_entry_focus_out_gtk_widget_focus_out_
result = custom_print_tab_on_width_entry_focus_out ((CustomPrintTab*) self, event);
#line 324 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 1998 "Printing.c"
+#line 1977 "Printing.c"
}
@@ -2003,21 +1982,21 @@ static gboolean _custom_print_tab_on_height_entry_focus_out_gtk_widget_focus_out
result = custom_print_tab_on_height_entry_focus_out ((CustomPrintTab*) self, event);
#line 327 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2007 "Printing.c"
+#line 1986 "Printing.c"
}
static void _custom_print_tab_on_units_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 329 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_on_units_combo_changed ((CustomPrintTab*) self);
-#line 2014 "Printing.c"
+#line 1993 "Printing.c"
}
static void _custom_print_tab_on_ppi_entry_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 332 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_on_ppi_entry_insert_text ((CustomPrintTab*) self, _sender, new_text, new_text_length, position);
-#line 2021 "Printing.c"
+#line 2000 "Printing.c"
}
@@ -2026,51 +2005,51 @@ static gboolean _custom_print_tab_on_ppi_entry_focus_out_gtk_widget_focus_out_ev
result = custom_print_tab_on_ppi_entry_focus_out ((CustomPrintTab*) self, event);
#line 333 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2030 "Printing.c"
+#line 2009 "Printing.c"
}
static void _custom_print_tab_on_aspect_ratio_check_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 340 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_on_aspect_ratio_check_clicked ((CustomPrintTab*) self);
-#line 2037 "Printing.c"
+#line 2016 "Printing.c"
}
CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_job) {
CustomPrintTab * self = NULL;
- PrintJob* _tmp0_ = NULL;
- PrintJob* _tmp1_ = NULL;
- GtkRadioButton* _tmp2_ = NULL;
- GtkRadioButton* _tmp3_ = NULL;
- GtkRadioButton* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- PrintLayout* _tmp6_ = NULL;
+ PrintJob* _tmp0_;
+ PrintJob* _tmp1_;
+ GtkRadioButton* _tmp2_;
+ GtkRadioButton* _tmp3_;
+ GtkRadioButton* _tmp4_;
+ gint _tmp5_;
+ PrintLayout* _tmp6_;
StandardPrintSize** standard_sizes = NULL;
- PrintManager* _tmp11_ = NULL;
- PrintManager* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- StandardPrintSize** _tmp14_ = NULL;
- StandardPrintSize** _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
- gint standard_sizes_length1 = 0;
- gint _standard_sizes_size_ = 0;
- GtkComboBoxText* _tmp16_ = NULL;
- StandardPrintSize** _tmp17_ = NULL;
- gint _tmp17__length1 = 0;
- GtkComboBoxText* _tmp22_ = NULL;
- ResourcesUnitSystem _tmp23_ = 0;
- GtkEntry* _tmp24_ = NULL;
- GtkEntry* _tmp25_ = NULL;
- GtkEntry* _tmp26_ = NULL;
- GtkEntry* _tmp27_ = NULL;
- GtkComboBoxText* _tmp28_ = NULL;
- GtkComboBoxText* _tmp29_ = NULL;
- ResourcesUnitSystem _tmp30_ = 0;
- GtkEntry* _tmp31_ = NULL;
- GtkEntry* _tmp32_ = NULL;
- PrintJob* _tmp33_ = NULL;
- GtkCheckButton* _tmp34_ = NULL;
+ PrintManager* _tmp11_;
+ PrintManager* _tmp12_;
+ gint _tmp13_;
+ StandardPrintSize** _tmp14_;
+ StandardPrintSize** _tmp15_;
+ gint _tmp15__length1;
+ gint standard_sizes_length1;
+ gint _standard_sizes_size_;
+ GtkComboBoxText* _tmp16_;
+ StandardPrintSize** _tmp17_;
+ gint _tmp17__length1;
+ GtkComboBoxText* _tmp22_;
+ ResourcesUnitSystem _tmp23_;
+ GtkEntry* _tmp24_;
+ GtkEntry* _tmp25_;
+ GtkEntry* _tmp26_;
+ GtkEntry* _tmp27_;
+ GtkComboBoxText* _tmp28_;
+ GtkComboBoxText* _tmp29_;
+ ResourcesUnitSystem _tmp30_;
+ GtkEntry* _tmp31_;
+ GtkEntry* _tmp32_;
+ PrintJob* _tmp33_;
+ GtkCheckButton* _tmp34_;
#line 304 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_JOB (source_job), NULL);
#line 304 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2097,7 +2076,7 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _custom_print_tab_on_radio_group_click_gtk_button_clicked, self, 0);
#line 311 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = print_layout_get_all (&_tmp5_);
-#line 2101 "Printing.c"
+#line 2080 "Printing.c"
{
PrintLayout* layout_collection = NULL;
gint layout_collection_length1 = 0;
@@ -2109,16 +2088,16 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
layout_collection_length1 = _tmp5_;
#line 311 "/home/jens/Source/shotwell/src/Printing.vala"
for (layout_it = 0; layout_it < _tmp5_; layout_it = layout_it + 1) {
-#line 2113 "Printing.c"
+#line 2092 "Printing.c"
PrintLayout layout = 0;
#line 311 "/home/jens/Source/shotwell/src/Printing.vala"
layout = layout_collection[layout_it];
-#line 2117 "Printing.c"
+#line 2096 "Printing.c"
{
- GtkComboBoxText* _tmp7_ = NULL;
- PrintLayout _tmp8_ = 0;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ GtkComboBoxText* _tmp7_;
+ PrintLayout _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 312 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->image_per_page_combo;
#line 312 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2131,12 +2110,12 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
gtk_combo_box_text_append_text (_tmp7_, _tmp10_);
#line 312 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp10_);
-#line 2135 "Printing.c"
+#line 2114 "Printing.c"
}
}
#line 311 "/home/jens/Source/shotwell/src/Printing.vala"
layout_collection = (g_free (layout_collection), NULL);
-#line 2140 "Printing.c"
+#line 2119 "Printing.c"
}
#line 315 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = print_manager_get_instance ();
@@ -2164,7 +2143,7 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
_tmp17_ = standard_sizes;
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17__length1 = standard_sizes_length1;
-#line 2168 "Printing.c"
+#line 2147 "Printing.c"
{
StandardPrintSize** size_collection = NULL;
gint size_collection_length1 = 0;
@@ -2176,18 +2155,18 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
size_collection_length1 = _tmp17__length1;
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
for (size_it = 0; size_it < _tmp17__length1; size_it = size_it + 1) {
-#line 2180 "Printing.c"
- StandardPrintSize* _tmp18_ = NULL;
+#line 2159 "Printing.c"
+ StandardPrintSize* _tmp18_;
StandardPrintSize* size = NULL;
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = _standard_print_size_ref0 (size_collection[size_it]);
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
size = _tmp18_;
-#line 2187 "Printing.c"
+#line 2166 "Printing.c"
{
- GtkComboBoxText* _tmp19_ = NULL;
- StandardPrintSize* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
+ GtkComboBoxText* _tmp19_;
+ StandardPrintSize* _tmp20_;
+ const gchar* _tmp21_;
#line 318 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = self->priv->standard_sizes_combo;
#line 318 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2198,7 +2177,7 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
gtk_combo_box_text_append_text (_tmp19_, _tmp21_);
#line 317 "/home/jens/Source/shotwell/src/Printing.vala"
_standard_print_size_unref0 (size);
-#line 2202 "Printing.c"
+#line 2181 "Printing.c"
}
}
}
@@ -2254,20 +2233,20 @@ CustomPrintTab* custom_print_tab_construct (GType object_type, PrintJob* source_
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _custom_print_tab_on_aspect_ratio_check_clicked_gtk_button_clicked, self, 0);
#line 304 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 2258 "Printing.c"
+#line 2237 "Printing.c"
}
CustomPrintTab* custom_print_tab_new (PrintJob* source_job) {
#line 304 "/home/jens/Source/shotwell/src/Printing.vala"
return custom_print_tab_construct (TYPE_CUSTOM_PRINT_TAB, source_job);
-#line 2265 "Printing.c"
+#line 2244 "Printing.c"
}
static void custom_print_tab_on_aspect_ratio_check_clicked (CustomPrintTab* self) {
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ GtkCheckButton* _tmp0_;
+ gboolean _tmp1_;
#line 343 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 344 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2276,17 +2255,17 @@ static void custom_print_tab_on_aspect_ratio_check_clicked (CustomPrintTab* self
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 344 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_) {
-#line 2280 "Printing.c"
- Measurement _tmp2_ = {0};
- gdouble _tmp3_ = 0.0;
- PrintJob* _tmp4_ = NULL;
- gdouble _tmp5_ = 0.0;
- Measurement _tmp6_ = {0};
- MeasurementUnit _tmp7_ = 0;
- GtkEntry* _tmp8_ = NULL;
- Measurement _tmp9_ = {0};
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
+#line 2259 "Printing.c"
+ Measurement _tmp2_;
+ gdouble _tmp3_;
+ PrintJob* _tmp4_;
+ gdouble _tmp5_;
+ Measurement _tmp6_;
+ MeasurementUnit _tmp7_;
+ GtkEntry* _tmp8_;
+ Measurement _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
#line 345 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->local_content_height;
#line 345 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2313,43 +2292,43 @@ static void custom_print_tab_on_aspect_ratio_check_clicked (CustomPrintTab* self
gtk_entry_set_text (_tmp8_, _tmp11_);
#line 348 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp11_);
-#line 2317 "Printing.c"
+#line 2296 "Printing.c"
}
}
static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self, GdkEventFocus* event) {
gboolean result = FALSE;
- GtkEntry* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GtkEntry* _tmp0_;
+ const gchar* _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gboolean _tmp6_;
Measurement new_width = {0};
Measurement _tmp7_ = {0};
Measurement min_width = {0};
- PrintJob* _tmp8_ = NULL;
- PrintSettings* _tmp9_ = NULL;
- PrintSettings* _tmp10_ = NULL;
+ PrintJob* _tmp8_;
+ PrintSettings* _tmp9_;
+ PrintSettings* _tmp10_;
Measurement _tmp11_ = {0};
- Measurement _tmp12_ = {0};
+ Measurement _tmp12_;
Measurement max_width = {0};
- PrintJob* _tmp13_ = NULL;
- PrintSettings* _tmp14_ = NULL;
- PrintSettings* _tmp15_ = NULL;
+ PrintJob* _tmp13_;
+ PrintSettings* _tmp14_;
+ PrintSettings* _tmp15_;
Measurement _tmp16_ = {0};
- Measurement _tmp17_ = {0};
+ Measurement _tmp17_;
gboolean _tmp18_ = FALSE;
- Measurement _tmp19_ = {0};
- gboolean _tmp20_ = FALSE;
- gboolean _tmp27_ = FALSE;
- Measurement _tmp39_ = {0};
- GtkEntry* _tmp40_ = NULL;
- Measurement _tmp41_ = {0};
- gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
+ Measurement _tmp19_;
+ gboolean _tmp20_;
+ gboolean _tmp27_;
+ Measurement _tmp39_;
+ GtkEntry* _tmp40_;
+ Measurement _tmp41_;
+ gchar* _tmp42_;
+ gchar* _tmp43_;
#line 352 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 352 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2376,7 +2355,7 @@ static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self,
result = FALSE;
#line 355 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2380 "Printing.c"
+#line 2359 "Printing.c"
}
#line 357 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_get_width_entry_value (self, &_tmp7_);
@@ -2418,25 +2397,25 @@ static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self,
if (_tmp20_) {
#line 361 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = TRUE;
-#line 2422 "Printing.c"
+#line 2401 "Printing.c"
} else {
- Measurement _tmp21_ = {0};
- gboolean _tmp22_ = FALSE;
+ Measurement _tmp21_;
+ gboolean _tmp22_;
#line 361 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = max_width;
#line 361 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = measurement_is_greater_than (&new_width, &_tmp21_);
#line 361 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = _tmp22_;
-#line 2432 "Printing.c"
+#line 2411 "Printing.c"
}
#line 361 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp18_) {
-#line 2436 "Printing.c"
- GtkEntry* _tmp23_ = NULL;
- Measurement _tmp24_ = {0};
- gchar* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
+#line 2415 "Printing.c"
+ GtkEntry* _tmp23_;
+ Measurement _tmp24_;
+ gchar* _tmp25_;
+ gchar* _tmp26_;
#line 362 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = self->priv->custom_width_entry;
#line 362 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2453,25 +2432,25 @@ static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self,
result = FALSE;
#line 363 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2457 "Printing.c"
+#line 2436 "Printing.c"
}
#line 366 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = custom_print_tab_is_match_aspect_ratio_enabled (self);
#line 366 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp27_) {
-#line 2463 "Printing.c"
+#line 2442 "Printing.c"
Measurement new_height = {0};
- Measurement _tmp28_ = {0};
- gdouble _tmp29_ = 0.0;
- PrintJob* _tmp30_ = NULL;
- gdouble _tmp31_ = 0.0;
- Measurement _tmp32_ = {0};
- MeasurementUnit _tmp33_ = 0;
- Measurement _tmp34_ = {0};
- GtkEntry* _tmp35_ = NULL;
- Measurement _tmp36_ = {0};
- gchar* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
+ Measurement _tmp28_;
+ gdouble _tmp29_;
+ PrintJob* _tmp30_;
+ gdouble _tmp31_;
+ Measurement _tmp32_;
+ MeasurementUnit _tmp33_;
+ Measurement _tmp34_;
+ GtkEntry* _tmp35_;
+ Measurement _tmp36_;
+ gchar* _tmp37_;
+ gchar* _tmp38_;
#line 367 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = new_width;
#line 367 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2502,7 +2481,7 @@ static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self,
gtk_entry_set_text (_tmp35_, _tmp38_);
#line 371 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp38_);
-#line 2506 "Printing.c"
+#line 2485 "Printing.c"
}
#line 374 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = new_width;
@@ -2524,15 +2503,15 @@ static gboolean custom_print_tab_on_width_entry_focus_out (CustomPrintTab* self,
result = FALSE;
#line 376 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2528 "Printing.c"
+#line 2507 "Printing.c"
}
static gchar* custom_print_tab_format_measurement (CustomPrintTab* self, Measurement* measurement) {
gchar* result = NULL;
- Measurement _tmp0_ = {0};
- gdouble _tmp1_ = 0.0;
- gchar* _tmp2_ = NULL;
+ Measurement _tmp0_;
+ gdouble _tmp1_;
+ gchar* _tmp2_;
#line 379 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 379 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2547,19 +2526,19 @@ static gchar* custom_print_tab_format_measurement (CustomPrintTab* self, Measure
result = _tmp2_;
#line 380 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2551 "Printing.c"
+#line 2530 "Printing.c"
}
static gchar* custom_print_tab_format_measurement_as (CustomPrintTab* self, Measurement* measurement, MeasurementUnit to_unit) {
gchar* result = NULL;
Measurement _tmp0_ = {0};
- Measurement _tmp1_ = {0};
- MeasurementUnit _tmp2_ = 0;
- MeasurementUnit _tmp3_ = 0;
+ Measurement _tmp1_;
+ MeasurementUnit _tmp2_;
+ MeasurementUnit _tmp3_;
Measurement converted_measurement = {0};
- Measurement _tmp7_ = {0};
- gchar* _tmp8_ = NULL;
+ Measurement _tmp7_;
+ gchar* _tmp8_;
#line 383 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 383 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2572,15 +2551,15 @@ static gchar* custom_print_tab_format_measurement_as (CustomPrintTab* self, Meas
_tmp3_ = to_unit;
#line 384 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ == _tmp3_) {
-#line 2576 "Printing.c"
- Measurement _tmp4_ = {0};
+#line 2555 "Printing.c"
+ Measurement _tmp4_;
#line 384 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *measurement;
#line 384 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = _tmp4_;
-#line 2582 "Printing.c"
+#line 2561 "Printing.c"
} else {
- MeasurementUnit _tmp5_ = 0;
+ MeasurementUnit _tmp5_;
Measurement _tmp6_ = {0};
#line 385 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = to_unit;
@@ -2588,7 +2567,7 @@ static gchar* custom_print_tab_format_measurement_as (CustomPrintTab* self, Meas
measurement_convert_to (measurement, _tmp5_, &_tmp6_);
#line 385 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = _tmp6_;
-#line 2592 "Printing.c"
+#line 2571 "Printing.c"
}
#line 384 "/home/jens/Source/shotwell/src/Printing.vala"
converted_measurement = _tmp0_;
@@ -2600,15 +2579,15 @@ static gchar* custom_print_tab_format_measurement_as (CustomPrintTab* self, Meas
result = _tmp8_;
#line 386 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2604 "Printing.c"
+#line 2583 "Printing.c"
}
static gboolean custom_print_tab_on_ppi_entry_focus_out (CustomPrintTab* self, GdkEventFocus* event) {
gboolean result = FALSE;
- GtkEntry* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gint _tmp2_ = 0;
+ GtkEntry* _tmp0_;
+ const gchar* _tmp1_;
+ gint _tmp2_;
#line 389 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 389 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2625,40 +2604,40 @@ static gboolean custom_print_tab_on_ppi_entry_focus_out (CustomPrintTab* self, G
result = FALSE;
#line 391 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2629 "Printing.c"
+#line 2608 "Printing.c"
}
static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
- glong _tmp0_ = 0L;
- gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp0_;
+ gchar _tmp1_;
+#line 1110 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2647 "Printing.c"
+#line 2626 "Printing.c"
}
static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, GtkEditable* editable, const gchar* text, gint length, gint* position) {
GtkEntry* sender = NULL;
- GtkEditable* _tmp0_ = NULL;
- GtkEntry* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gint _tmp3_ = 0;
+ GtkEditable* _tmp0_;
+ GtkEntry* _tmp1_;
+ gboolean _tmp2_;
+ gint _tmp3_;
gchar* new_text = NULL;
- gchar* _tmp7_ = NULL;
- const gchar* _tmp23_ = NULL;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- GtkEntry* _tmp31_ = NULL;
+ gchar* _tmp7_;
+ const gchar* _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ GtkEntry* _tmp31_;
#line 394 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 394 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2679,7 +2658,7 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_g_object_unref0 (sender);
#line 399 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 2683 "Printing.c"
+#line 2662 "Printing.c"
}
#line 401 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->is_text_insertion_in_progress = TRUE;
@@ -2687,10 +2666,10 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_tmp3_ = length;
#line 403 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ == -1) {
-#line 2691 "Printing.c"
- const gchar* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+#line 2670 "Printing.c"
+ const gchar* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
#line 404 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = text;
#line 404 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2699,40 +2678,40 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_tmp6_ = _tmp5_;
#line 404 "/home/jens/Source/shotwell/src/Printing.vala"
length = (gint) _tmp6_;
-#line 2703 "Printing.c"
+#line 2682 "Printing.c"
}
#line 406 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = g_strdup ("");
#line 406 "/home/jens/Source/shotwell/src/Printing.vala"
new_text = _tmp7_;
-#line 2709 "Printing.c"
+#line 2688 "Printing.c"
{
gint ctr = 0;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
ctr = 0;
-#line 2714 "Printing.c"
+#line 2693 "Printing.c"
{
gboolean _tmp8_ = FALSE;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = TRUE;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 2721 "Printing.c"
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
- const gchar* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- gchar _tmp14_ = '\0';
- gboolean _tmp15_ = FALSE;
+#line 2700 "Printing.c"
+ gint _tmp10_;
+ gint _tmp11_;
+ const gchar* _tmp12_;
+ gint _tmp13_;
+ gchar _tmp14_;
+ gboolean _tmp15_;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp8_) {
-#line 2730 "Printing.c"
- gint _tmp9_ = 0;
+#line 2709 "Printing.c"
+ gint _tmp9_;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = ctr;
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
ctr = _tmp9_ + 1;
-#line 2736 "Printing.c"
+#line 2715 "Printing.c"
}
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = FALSE;
@@ -2744,7 +2723,7 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
if (!(_tmp10_ < _tmp11_)) {
#line 407 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 2748 "Printing.c"
+#line 2727 "Printing.c"
}
#line 408 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = text;
@@ -2756,14 +2735,14 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_tmp15_ = g_ascii_isdigit (_tmp14_);
#line 408 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp15_) {
-#line 2760 "Printing.c"
- const gchar* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gchar _tmp19_ = '\0';
- gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
+#line 2739 "Printing.c"
+ const gchar* _tmp16_;
+ const gchar* _tmp17_;
+ gint _tmp18_;
+ gchar _tmp19_;
+ gchar* _tmp20_;
+ gchar* _tmp21_;
+ gchar* _tmp22_;
#line 409 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = new_text;
#line 409 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2784,7 +2763,7 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
new_text = _tmp22_;
#line 409 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp21_);
-#line 2788 "Printing.c"
+#line 2767 "Printing.c"
}
}
}
@@ -2797,12 +2776,12 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_tmp25_ = _tmp24_;
#line 412 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp25_ > 0) {
-#line 2801 "Printing.c"
- GtkEntry* _tmp26_ = NULL;
- const gchar* _tmp27_ = NULL;
- const gchar* _tmp28_ = NULL;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
+#line 2780 "Printing.c"
+ GtkEntry* _tmp26_;
+ const gchar* _tmp27_;
+ const gchar* _tmp28_;
+ gint _tmp29_;
+ gint _tmp30_;
#line 413 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = sender;
#line 413 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2815,7 +2794,7 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_tmp30_ = _tmp29_;
#line 413 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GTK_TYPE_EDITABLE, GtkEditable), _tmp27_, (gint) _tmp30_, position);
-#line 2819 "Printing.c"
+#line 2798 "Printing.c"
}
#line 415 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = sender;
@@ -2827,42 +2806,42 @@ static void custom_print_tab_on_ppi_entry_insert_text (CustomPrintTab* self, Gtk
_g_free0 (new_text);
#line 394 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (sender);
-#line 2831 "Printing.c"
+#line 2810 "Printing.c"
}
static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self, GdkEventFocus* event) {
gboolean result = FALSE;
- GtkEntry* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GtkEntry* _tmp0_;
+ const gchar* _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gboolean _tmp6_;
Measurement new_height = {0};
Measurement _tmp7_ = {0};
Measurement min_height = {0};
- PrintJob* _tmp8_ = NULL;
- PrintSettings* _tmp9_ = NULL;
- PrintSettings* _tmp10_ = NULL;
+ PrintJob* _tmp8_;
+ PrintSettings* _tmp9_;
+ PrintSettings* _tmp10_;
Measurement _tmp11_ = {0};
- Measurement _tmp12_ = {0};
+ Measurement _tmp12_;
Measurement max_height = {0};
- PrintJob* _tmp13_ = NULL;
- PrintSettings* _tmp14_ = NULL;
- PrintSettings* _tmp15_ = NULL;
+ PrintJob* _tmp13_;
+ PrintSettings* _tmp14_;
+ PrintSettings* _tmp15_;
Measurement _tmp16_ = {0};
- Measurement _tmp17_ = {0};
+ Measurement _tmp17_;
gboolean _tmp18_ = FALSE;
- Measurement _tmp19_ = {0};
- gboolean _tmp20_ = FALSE;
- gboolean _tmp27_ = FALSE;
- Measurement _tmp39_ = {0};
- GtkEntry* _tmp40_ = NULL;
- Measurement _tmp41_ = {0};
- gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
+ Measurement _tmp19_;
+ gboolean _tmp20_;
+ gboolean _tmp27_;
+ Measurement _tmp39_;
+ GtkEntry* _tmp40_;
+ Measurement _tmp41_;
+ gchar* _tmp42_;
+ gchar* _tmp43_;
#line 420 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 420 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2889,7 +2868,7 @@ static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self
result = FALSE;
#line 423 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2893 "Printing.c"
+#line 2872 "Printing.c"
}
#line 425 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_get_height_entry_value (self, &_tmp7_);
@@ -2931,25 +2910,25 @@ static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self
if (_tmp20_) {
#line 429 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = TRUE;
-#line 2935 "Printing.c"
+#line 2914 "Printing.c"
} else {
- Measurement _tmp21_ = {0};
- gboolean _tmp22_ = FALSE;
+ Measurement _tmp21_;
+ gboolean _tmp22_;
#line 429 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = max_height;
#line 429 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = measurement_is_greater_than (&new_height, &_tmp21_);
#line 429 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = _tmp22_;
-#line 2945 "Printing.c"
+#line 2924 "Printing.c"
}
#line 429 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp18_) {
-#line 2949 "Printing.c"
- GtkEntry* _tmp23_ = NULL;
- Measurement _tmp24_ = {0};
- gchar* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
+#line 2928 "Printing.c"
+ GtkEntry* _tmp23_;
+ Measurement _tmp24_;
+ gchar* _tmp25_;
+ gchar* _tmp26_;
#line 430 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = self->priv->custom_height_entry;
#line 430 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -2966,25 +2945,25 @@ static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self
result = FALSE;
#line 431 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 2970 "Printing.c"
+#line 2949 "Printing.c"
}
#line 434 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = custom_print_tab_is_match_aspect_ratio_enabled (self);
#line 434 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp27_) {
-#line 2976 "Printing.c"
+#line 2955 "Printing.c"
Measurement new_width = {0};
- Measurement _tmp28_ = {0};
- gdouble _tmp29_ = 0.0;
- PrintJob* _tmp30_ = NULL;
- gdouble _tmp31_ = 0.0;
- Measurement _tmp32_ = {0};
- MeasurementUnit _tmp33_ = 0;
- Measurement _tmp34_ = {0};
- GtkEntry* _tmp35_ = NULL;
- Measurement _tmp36_ = {0};
- gchar* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
+ Measurement _tmp28_;
+ gdouble _tmp29_;
+ PrintJob* _tmp30_;
+ gdouble _tmp31_;
+ Measurement _tmp32_;
+ MeasurementUnit _tmp33_;
+ Measurement _tmp34_;
+ GtkEntry* _tmp35_;
+ Measurement _tmp36_;
+ gchar* _tmp37_;
+ gchar* _tmp38_;
#line 435 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = new_height;
#line 435 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3015,7 +2994,7 @@ static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self
gtk_entry_set_text (_tmp35_, _tmp38_);
#line 439 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp38_);
-#line 3019 "Printing.c"
+#line 2998 "Printing.c"
}
#line 442 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = new_height;
@@ -3037,14 +3016,14 @@ static gboolean custom_print_tab_on_height_entry_focus_out (CustomPrintTab* self
result = FALSE;
#line 444 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 3041 "Printing.c"
+#line 3020 "Printing.c"
}
static MeasurementUnit custom_print_tab_get_user_unit_choice (CustomPrintTab* self) {
MeasurementUnit result = 0;
- GtkComboBoxText* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GtkComboBoxText* _tmp0_;
+ gint _tmp1_;
#line 447 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 448 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3057,10 +3036,10 @@ static MeasurementUnit custom_print_tab_get_user_unit_choice (CustomPrintTab* se
result = MEASUREMENT_UNIT_INCHES;
#line 449 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 3061 "Printing.c"
+#line 3040 "Printing.c"
} else {
- GtkComboBoxText* _tmp2_ = NULL;
- gint _tmp3_ = 0;
+ GtkComboBoxText* _tmp2_;
+ gint _tmp3_;
#line 450 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->units_combo;
#line 450 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3071,48 +3050,48 @@ static MeasurementUnit custom_print_tab_get_user_unit_choice (CustomPrintTab* se
result = MEASUREMENT_UNIT_CENTIMETERS;
#line 451 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 3075 "Printing.c"
+#line 3054 "Printing.c"
} else {
#line 453 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:453: unknown unit combo box choice");
-#line 3079 "Printing.c"
+#line 3058 "Printing.c"
}
}
}
static void custom_print_tab_set_user_unit_choice (CustomPrintTab* self, MeasurementUnit unit) {
- MeasurementUnit _tmp0_ = 0;
+ MeasurementUnit _tmp0_;
#line 457 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 458 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = unit;
#line 458 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp0_ == MEASUREMENT_UNIT_INCHES) {
-#line 3093 "Printing.c"
- GtkComboBoxText* _tmp1_ = NULL;
+#line 3072 "Printing.c"
+ GtkComboBoxText* _tmp1_;
#line 459 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = self->priv->units_combo;
#line 459 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox), CUSTOM_PRINT_TAB_INCHES_COMBO_CHOICE);
-#line 3099 "Printing.c"
+#line 3078 "Printing.c"
} else {
- MeasurementUnit _tmp2_ = 0;
+ MeasurementUnit _tmp2_;
#line 460 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = unit;
#line 460 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ == MEASUREMENT_UNIT_CENTIMETERS) {
-#line 3106 "Printing.c"
- GtkComboBoxText* _tmp3_ = NULL;
+#line 3085 "Printing.c"
+ GtkComboBoxText* _tmp3_;
#line 461 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->units_combo;
#line 461 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox), CUSTOM_PRINT_TAB_CENTIMETERS_COMBO_CHOICE);
-#line 3112 "Printing.c"
+#line 3091 "Printing.c"
} else {
#line 463 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:463: unknown MeasurementUnit enumeration");
-#line 3116 "Printing.c"
+#line 3095 "Printing.c"
}
}
}
@@ -3120,27 +3099,27 @@ static void custom_print_tab_set_user_unit_choice (CustomPrintTab* self, Measure
static gdouble double_parse (const gchar* str) {
gdouble result = 0.0;
- const gchar* _tmp0_ = NULL;
- gdouble _tmp1_ = 0.0;
-#line 869 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ const gchar* _tmp0_;
+ gdouble _tmp1_;
+#line 877 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, 0.0);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 878 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 878 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = g_ascii_strtod (_tmp0_, NULL);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 878 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 878 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 3136 "Printing.c"
+#line 3115 "Printing.c"
}
static void custom_print_tab_get_width_entry_value (CustomPrintTab* self, Measurement* result) {
- GtkEntry* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gdouble _tmp2_ = 0.0;
- MeasurementUnit _tmp3_ = 0;
+ GtkEntry* _tmp0_;
+ const gchar* _tmp1_;
+ gdouble _tmp2_;
+ MeasurementUnit _tmp3_;
Measurement _tmp4_ = {0};
#line 467 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
@@ -3158,15 +3137,15 @@ static void custom_print_tab_get_width_entry_value (CustomPrintTab* self, Measur
*result = _tmp4_;
#line 468 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 3162 "Printing.c"
+#line 3141 "Printing.c"
}
static void custom_print_tab_get_height_entry_value (CustomPrintTab* self, Measurement* result) {
- GtkEntry* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gdouble _tmp2_ = 0.0;
- MeasurementUnit _tmp3_ = 0;
+ GtkEntry* _tmp0_;
+ const gchar* _tmp1_;
+ gdouble _tmp2_;
+ MeasurementUnit _tmp3_;
Measurement _tmp4_ = {0};
#line 471 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
@@ -3184,49 +3163,49 @@ static void custom_print_tab_get_height_entry_value (CustomPrintTab* self, Measu
*result = _tmp4_;
#line 472 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 3188 "Printing.c"
+#line 3167 "Printing.c"
}
static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 3208 "Printing.c"
+#line 3187 "Printing.c"
}
static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEditable* editable, const gchar* text, gint length, gint* position) {
GtkEntry* sender = NULL;
- GtkEditable* _tmp0_ = NULL;
- GtkEntry* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gint _tmp3_ = 0;
+ GtkEditable* _tmp0_;
+ GtkEntry* _tmp1_;
+ gboolean _tmp2_;
+ gint _tmp3_;
const gchar* decimal_point = NULL;
- const gchar* _tmp7_ = NULL;
+ const gchar* _tmp7_;
gboolean contains_decimal_point = FALSE;
- GtkEntry* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ GtkEntry* _tmp8_;
+ const gchar* _tmp9_;
+ const gchar* _tmp10_;
+ gboolean _tmp11_;
gchar* new_text = NULL;
- gchar* _tmp12_ = NULL;
- const gchar* _tmp42_ = NULL;
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
- GtkEntry* _tmp50_ = NULL;
+ gchar* _tmp12_;
+ const gchar* _tmp42_;
+ gint _tmp43_;
+ gint _tmp44_;
+ GtkEntry* _tmp50_;
#line 475 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 475 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3247,7 +3226,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_g_object_unref0 (sender);
#line 481 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 3251 "Printing.c"
+#line 3230 "Printing.c"
}
#line 483 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->is_text_insertion_in_progress = TRUE;
@@ -3255,10 +3234,10 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp3_ = length;
#line 485 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ == -1) {
-#line 3259 "Printing.c"
- const gchar* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+#line 3238 "Printing.c"
+ const gchar* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
#line 486 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = text;
#line 486 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3267,7 +3246,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp6_ = _tmp5_;
#line 486 "/home/jens/Source/shotwell/src/Printing.vala"
length = (gint) _tmp6_;
-#line 3271 "Printing.c"
+#line 3250 "Printing.c"
}
#line 488 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = nl_langinfo (RADIXCHAR);
@@ -3287,34 +3266,34 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp12_ = g_strdup ("");
#line 492 "/home/jens/Source/shotwell/src/Printing.vala"
new_text = _tmp12_;
-#line 3291 "Printing.c"
+#line 3270 "Printing.c"
{
gint ctr = 0;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
ctr = 0;
-#line 3296 "Printing.c"
+#line 3275 "Printing.c"
{
gboolean _tmp13_ = FALSE;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = TRUE;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 3303 "Printing.c"
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
- const gchar* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gchar _tmp19_ = '\0';
- gboolean _tmp20_ = FALSE;
+#line 3282 "Printing.c"
+ gint _tmp15_;
+ gint _tmp16_;
+ const gchar* _tmp17_;
+ gint _tmp18_;
+ gchar _tmp19_;
+ gboolean _tmp20_;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp13_) {
-#line 3312 "Printing.c"
- gint _tmp14_ = 0;
+#line 3291 "Printing.c"
+ gint _tmp14_;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = ctr;
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
ctr = _tmp14_ + 1;
-#line 3318 "Printing.c"
+#line 3297 "Printing.c"
}
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = FALSE;
@@ -3326,7 +3305,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
if (!(_tmp15_ < _tmp16_)) {
#line 493 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 3330 "Printing.c"
+#line 3309 "Printing.c"
}
#line 494 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = text;
@@ -3338,14 +3317,14 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp20_ = g_ascii_isdigit (_tmp19_);
#line 494 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp20_) {
-#line 3342 "Printing.c"
- const gchar* _tmp21_ = NULL;
- const gchar* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- gchar _tmp24_ = '\0';
- gchar* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
+#line 3321 "Printing.c"
+ const gchar* _tmp21_;
+ const gchar* _tmp22_;
+ gint _tmp23_;
+ gchar _tmp24_;
+ gchar* _tmp25_;
+ gchar* _tmp26_;
+ gchar* _tmp27_;
#line 495 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = new_text;
#line 495 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3366,20 +3345,20 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
new_text = _tmp27_;
#line 495 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp26_);
-#line 3370 "Printing.c"
+#line 3349 "Printing.c"
} else {
gboolean _tmp28_ = FALSE;
- gboolean _tmp29_ = FALSE;
+ gboolean _tmp29_;
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = contains_decimal_point;
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp29_) {
-#line 3378 "Printing.c"
- const gchar* _tmp30_ = NULL;
- gint _tmp31_ = 0;
- gchar _tmp32_ = '\0';
- const gchar* _tmp33_ = NULL;
- gchar _tmp34_ = '\0';
+#line 3357 "Printing.c"
+ const gchar* _tmp30_;
+ gint _tmp31_;
+ gchar _tmp32_;
+ const gchar* _tmp33_;
+ gchar _tmp34_;
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp30_ = text;
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3392,22 +3371,22 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp34_ = string_get (_tmp33_, (glong) 0);
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = _tmp32_ == _tmp34_;
-#line 3396 "Printing.c"
+#line 3375 "Printing.c"
} else {
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = FALSE;
-#line 3400 "Printing.c"
+#line 3379 "Printing.c"
}
#line 496 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp28_) {
-#line 3404 "Printing.c"
- const gchar* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
- gint _tmp37_ = 0;
- gchar _tmp38_ = '\0';
- gchar* _tmp39_ = NULL;
- gchar* _tmp40_ = NULL;
- gchar* _tmp41_ = NULL;
+#line 3383 "Printing.c"
+ const gchar* _tmp35_;
+ const gchar* _tmp36_;
+ gint _tmp37_;
+ gchar _tmp38_;
+ gchar* _tmp39_;
+ gchar* _tmp40_;
+ gchar* _tmp41_;
#line 497 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp35_ = new_text;
#line 497 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3428,7 +3407,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
new_text = _tmp41_;
#line 497 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp40_);
-#line 3432 "Printing.c"
+#line 3411 "Printing.c"
}
}
}
@@ -3442,12 +3421,12 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp44_ = _tmp43_;
#line 501 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp44_ > 0) {
-#line 3446 "Printing.c"
- GtkEntry* _tmp45_ = NULL;
- const gchar* _tmp46_ = NULL;
- const gchar* _tmp47_ = NULL;
- gint _tmp48_ = 0;
- gint _tmp49_ = 0;
+#line 3425 "Printing.c"
+ GtkEntry* _tmp45_;
+ const gchar* _tmp46_;
+ const gchar* _tmp47_;
+ gint _tmp48_;
+ gint _tmp49_;
#line 502 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp45_ = sender;
#line 502 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3460,7 +3439,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp49_ = _tmp48_;
#line 502 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, GTK_TYPE_EDITABLE, GtkEditable), _tmp46_, (gint) _tmp49_, position);
-#line 3464 "Printing.c"
+#line 3443 "Printing.c"
}
#line 504 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50_ = sender;
@@ -3472,66 +3451,66 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_g_free0 (new_text);
#line 475 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (sender);
-#line 3476 "Printing.c"
+#line 3455 "Printing.c"
}
static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob* job) {
- PrintJob* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
- PrintSettings* _tmp2_ = NULL;
+ PrintJob* _tmp0_;
+ PrintSettings* _tmp1_;
+ PrintSettings* _tmp2_;
Measurement _tmp3_ = {0};
- MeasurementUnit _tmp4_ = 0;
- PrintJob* _tmp5_ = NULL;
- PrintSettings* _tmp6_ = NULL;
- PrintSettings* _tmp7_ = NULL;
+ MeasurementUnit _tmp4_;
+ PrintJob* _tmp5_;
+ PrintSettings* _tmp6_;
+ PrintSettings* _tmp7_;
Measurement _tmp8_ = {0};
- MeasurementUnit _tmp9_ = 0;
+ MeasurementUnit _tmp9_;
Measurement constrained_width = {0};
- PrintJob* _tmp10_ = NULL;
- PrintSettings* _tmp11_ = NULL;
- PrintSettings* _tmp12_ = NULL;
+ PrintJob* _tmp10_;
+ PrintSettings* _tmp11_;
+ PrintSettings* _tmp12_;
Measurement _tmp13_ = {0};
- Measurement _tmp14_ = {0};
- PrintJob* _tmp15_ = NULL;
- PrintSettings* _tmp16_ = NULL;
- PrintSettings* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
- gboolean _tmp19_ = FALSE;
- Measurement _tmp32_ = {0};
- PrintJob* _tmp33_ = NULL;
- PrintSettings* _tmp34_ = NULL;
- PrintSettings* _tmp35_ = NULL;
+ Measurement _tmp14_;
+ PrintJob* _tmp15_;
+ PrintSettings* _tmp16_;
+ PrintSettings* _tmp17_;
+ gboolean _tmp18_;
+ gboolean _tmp19_;
+ Measurement _tmp32_;
+ PrintJob* _tmp33_;
+ PrintSettings* _tmp34_;
+ PrintSettings* _tmp35_;
Measurement _tmp36_ = {0};
- PrintJob* _tmp37_ = NULL;
- PrintSettings* _tmp38_ = NULL;
- PrintSettings* _tmp39_ = NULL;
- ContentLayout _tmp40_ = 0;
- PrintJob* _tmp41_ = NULL;
- PrintSettings* _tmp42_ = NULL;
- PrintSettings* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- PrintJob* _tmp45_ = NULL;
- PrintSettings* _tmp46_ = NULL;
- PrintSettings* _tmp47_ = NULL;
- gint _tmp48_ = 0;
- PrintJob* _tmp49_ = NULL;
- PrintSettings* _tmp50_ = NULL;
- PrintSettings* _tmp51_ = NULL;
- gint _tmp52_ = 0;
- PrintJob* _tmp53_ = NULL;
- PrintSettings* _tmp54_ = NULL;
- PrintSettings* _tmp55_ = NULL;
- gboolean _tmp56_ = FALSE;
- PrintJob* _tmp57_ = NULL;
- PrintSettings* _tmp58_ = NULL;
- PrintSettings* _tmp59_ = NULL;
- gboolean _tmp60_ = FALSE;
- PrintJob* _tmp61_ = NULL;
- PrintSettings* _tmp62_ = NULL;
- PrintSettings* _tmp63_ = NULL;
- gchar* _tmp64_ = NULL;
- gchar* _tmp65_ = NULL;
+ PrintJob* _tmp37_;
+ PrintSettings* _tmp38_;
+ PrintSettings* _tmp39_;
+ ContentLayout _tmp40_;
+ PrintJob* _tmp41_;
+ PrintSettings* _tmp42_;
+ PrintSettings* _tmp43_;
+ gint _tmp44_;
+ PrintJob* _tmp45_;
+ PrintSettings* _tmp46_;
+ PrintSettings* _tmp47_;
+ gint _tmp48_;
+ PrintJob* _tmp49_;
+ PrintSettings* _tmp50_;
+ PrintSettings* _tmp51_;
+ gint _tmp52_;
+ PrintJob* _tmp53_;
+ PrintSettings* _tmp54_;
+ PrintSettings* _tmp55_;
+ gboolean _tmp56_;
+ PrintJob* _tmp57_;
+ PrintSettings* _tmp58_;
+ PrintSettings* _tmp59_;
+ gboolean _tmp60_;
+ PrintJob* _tmp61_;
+ PrintSettings* _tmp62_;
+ PrintSettings* _tmp63_;
+ gchar* _tmp64_;
+ gchar* _tmp65_;
#line 509 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 509 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3590,19 +3569,19 @@ static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob
_print_settings_unref0 (_tmp17_);
#line 514 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp19_) {
-#line 3594 "Printing.c"
- PrintJob* _tmp20_ = NULL;
- PrintSettings* _tmp21_ = NULL;
- PrintSettings* _tmp22_ = NULL;
+#line 3573 "Printing.c"
+ PrintJob* _tmp20_;
+ PrintSettings* _tmp21_;
+ PrintSettings* _tmp22_;
Measurement _tmp23_ = {0};
- gdouble _tmp24_ = 0.0;
- PrintJob* _tmp25_ = NULL;
- gdouble _tmp26_ = 0.0;
- PrintJob* _tmp27_ = NULL;
- PrintSettings* _tmp28_ = NULL;
- PrintSettings* _tmp29_ = NULL;
+ gdouble _tmp24_;
+ PrintJob* _tmp25_;
+ gdouble _tmp26_;
+ PrintJob* _tmp27_;
+ PrintSettings* _tmp28_;
+ PrintSettings* _tmp29_;
Measurement _tmp30_ = {0};
- MeasurementUnit _tmp31_ = 0;
+ MeasurementUnit _tmp31_;
#line 515 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = job;
#line 515 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3633,7 +3612,7 @@ static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob
_print_settings_unref0 (_tmp29_);
#line 515 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp22_);
-#line 3637 "Printing.c"
+#line 3616 "Printing.c"
}
#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = constrained_width;
@@ -3739,16 +3718,16 @@ static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob
_g_free0 (_tmp65_);
#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp63_);
-#line 3743 "Printing.c"
+#line 3722 "Printing.c"
}
static void custom_print_tab_on_radio_group_click (CustomPrintTab* self, GtkButton* b) {
GtkRadioButton* sender = NULL;
- GtkButton* _tmp0_ = NULL;
- GtkRadioButton* _tmp1_ = NULL;
- GtkRadioButton* _tmp2_ = NULL;
- GtkRadioButton* _tmp3_ = NULL;
+ GtkButton* _tmp0_;
+ GtkRadioButton* _tmp1_;
+ GtkRadioButton* _tmp2_;
+ GtkRadioButton* _tmp3_;
#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3765,36 +3744,36 @@ static void custom_print_tab_on_radio_group_click (CustomPrintTab* self, GtkButt
_tmp3_ = self->priv->standard_size_radio;
#line 531 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ == _tmp3_) {
-#line 3769 "Printing.c"
- GtkComboBoxText* _tmp4_ = NULL;
+#line 3748 "Printing.c"
+ GtkComboBoxText* _tmp4_;
#line 532 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_STANDARD_SIZE);
#line 533 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->standard_sizes_combo;
#line 533 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 3777 "Printing.c"
+#line 3756 "Printing.c"
} else {
- GtkRadioButton* _tmp5_ = NULL;
- GtkRadioButton* _tmp6_ = NULL;
+ GtkRadioButton* _tmp5_;
+ GtkRadioButton* _tmp6_;
#line 534 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = sender;
#line 534 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = self->priv->custom_size_radio;
#line 534 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp5_ == _tmp6_) {
-#line 3787 "Printing.c"
- GtkEntry* _tmp7_ = NULL;
+#line 3766 "Printing.c"
+ GtkEntry* _tmp7_;
#line 535 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_CUSTOM_SIZE);
#line 536 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->custom_height_entry;
#line 536 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 3795 "Printing.c"
+#line 3774 "Printing.c"
} else {
- GtkRadioButton* _tmp8_ = NULL;
- GtkRadioButton* _tmp9_ = NULL;
+ GtkRadioButton* _tmp8_;
+ GtkRadioButton* _tmp9_;
#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = sender;
#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3803,27 +3782,27 @@ static void custom_print_tab_on_radio_group_click (CustomPrintTab* self, GtkButt
if (_tmp8_ == _tmp9_) {
#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_IMAGE_PER_PAGE);
-#line 3807 "Printing.c"
+#line 3786 "Printing.c"
}
}
}
#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (sender);
-#line 3813 "Printing.c"
+#line 3792 "Printing.c"
}
static void custom_print_tab_on_units_combo_changed (CustomPrintTab* self) {
- GtkEntry* _tmp0_ = NULL;
- Measurement _tmp1_ = {0};
- MeasurementUnit _tmp2_ = 0;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- GtkEntry* _tmp5_ = NULL;
- Measurement _tmp6_ = {0};
- MeasurementUnit _tmp7_ = 0;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
+ GtkEntry* _tmp0_;
+ Measurement _tmp1_;
+ MeasurementUnit _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ GtkEntry* _tmp5_;
+ Measurement _tmp6_;
+ MeasurementUnit _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3854,12 +3833,12 @@ static void custom_print_tab_on_units_combo_changed (CustomPrintTab* self) {
gtk_entry_set_text (_tmp5_, _tmp9_);
#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp9_);
-#line 3858 "Printing.c"
+#line 3837 "Printing.c"
}
static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* self, ContentLayout layout) {
- ContentLayout _tmp0_ = 0;
+ ContentLayout _tmp0_;
#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3868,14 +3847,14 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
switch (_tmp0_) {
#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_STANDARD_SIZE:
-#line 3872 "Printing.c"
+#line 3851 "Printing.c"
{
- GtkComboBoxText* _tmp1_ = NULL;
- GtkComboBoxText* _tmp2_ = NULL;
- GtkEntry* _tmp3_ = NULL;
- GtkEntry* _tmp4_ = NULL;
- GtkCheckButton* _tmp5_ = NULL;
- GtkComboBoxText* _tmp6_ = NULL;
+ GtkComboBoxText* _tmp1_;
+ GtkComboBoxText* _tmp2_;
+ GtkEntry* _tmp3_;
+ GtkEntry* _tmp4_;
+ GtkCheckButton* _tmp5_;
+ GtkComboBoxText* _tmp6_;
#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = self->priv->standard_sizes_combo;
#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3902,18 +3881,18 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 558 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 3906 "Printing.c"
+#line 3885 "Printing.c"
}
#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 3910 "Printing.c"
+#line 3889 "Printing.c"
{
- GtkComboBoxText* _tmp7_ = NULL;
- GtkComboBoxText* _tmp8_ = NULL;
- GtkEntry* _tmp9_ = NULL;
- GtkEntry* _tmp10_ = NULL;
- GtkCheckButton* _tmp11_ = NULL;
- GtkComboBoxText* _tmp12_ = NULL;
+ GtkComboBoxText* _tmp7_;
+ GtkComboBoxText* _tmp8_;
+ GtkEntry* _tmp9_;
+ GtkEntry* _tmp10_;
+ GtkCheckButton* _tmp11_;
+ GtkComboBoxText* _tmp12_;
#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->standard_sizes_combo;
#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3940,18 +3919,18 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 567 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 3944 "Printing.c"
+#line 3923 "Printing.c"
}
#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 3948 "Printing.c"
+#line 3927 "Printing.c"
{
- GtkComboBoxText* _tmp13_ = NULL;
- GtkComboBoxText* _tmp14_ = NULL;
- GtkEntry* _tmp15_ = NULL;
- GtkEntry* _tmp16_ = NULL;
- GtkCheckButton* _tmp17_ = NULL;
- GtkComboBoxText* _tmp18_ = NULL;
+ GtkComboBoxText* _tmp13_;
+ GtkComboBoxText* _tmp14_;
+ GtkEntry* _tmp15_;
+ GtkEntry* _tmp16_;
+ GtkCheckButton* _tmp17_;
+ GtkComboBoxText* _tmp18_;
#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = self->priv->standard_sizes_combo;
#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3978,13 +3957,13 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 576 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 3982 "Printing.c"
+#line 3961 "Printing.c"
}
default:
{
#line 579 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:579: unknown ContentLayout enumeration value");
-#line 3988 "Printing.c"
+#line 3967 "Printing.c"
}
}
}
@@ -3993,10 +3972,10 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
static gboolean custom_print_tab_standard_sizes_combo_separator_func (GtkTreeModel* model, GtkTreeIter* iter) {
gboolean result = FALSE;
GValue val = {0};
- GtkTreeModel* _tmp0_ = NULL;
- GtkTreeIter _tmp1_ = {0};
+ GtkTreeModel* _tmp0_;
+ GtkTreeIter _tmp1_;
GValue _tmp2_ = {0};
- const gchar* _tmp3_ = NULL;
+ const gchar* _tmp3_;
#line 583 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE);
#line 583 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4019,13 +3998,13 @@ static gboolean custom_print_tab_standard_sizes_combo_separator_func (GtkTreeMod
G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL;
#line 588 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4023 "Printing.c"
+#line 4002 "Printing.c"
}
static void custom_print_tab_set_content_layout (CustomPrintTab* self, ContentLayout content_layout) {
- ContentLayout _tmp0_ = 0;
- ContentLayout _tmp1_ = 0;
+ ContentLayout _tmp0_;
+ ContentLayout _tmp1_;
#line 591 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 592 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4038,48 +4017,48 @@ static void custom_print_tab_set_content_layout (CustomPrintTab* self, ContentLa
switch (_tmp1_) {
#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_STANDARD_SIZE:
-#line 4042 "Printing.c"
+#line 4021 "Printing.c"
{
- GtkRadioButton* _tmp2_ = NULL;
+ GtkRadioButton* _tmp2_;
#line 595 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->standard_size_radio;
#line 595 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 596 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4051 "Printing.c"
+#line 4030 "Printing.c"
}
#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 4055 "Printing.c"
+#line 4034 "Printing.c"
{
- GtkRadioButton* _tmp3_ = NULL;
+ GtkRadioButton* _tmp3_;
#line 599 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->custom_size_radio;
#line 599 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 600 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4064 "Printing.c"
+#line 4043 "Printing.c"
}
#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 4068 "Printing.c"
+#line 4047 "Printing.c"
{
- GtkRadioButton* _tmp4_ = NULL;
+ GtkRadioButton* _tmp4_;
#line 603 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->image_per_page_radio;
#line 603 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 604 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4077 "Printing.c"
+#line 4056 "Printing.c"
}
default:
{
#line 607 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:607: unknown ContentLayout enumeration value");
-#line 4083 "Printing.c"
+#line 4062 "Printing.c"
}
}
}
@@ -4087,12 +4066,12 @@ static void custom_print_tab_set_content_layout (CustomPrintTab* self, ContentLa
static ContentLayout custom_print_tab_get_content_layout (CustomPrintTab* self) {
ContentLayout result = 0;
- GtkRadioButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- GtkRadioButton* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- GtkRadioButton* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GtkRadioButton* _tmp0_;
+ gboolean _tmp1_;
+ GtkRadioButton* _tmp2_;
+ gboolean _tmp3_;
+ GtkRadioButton* _tmp4_;
+ gboolean _tmp5_;
#line 611 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 612 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4105,7 +4084,7 @@ static ContentLayout custom_print_tab_get_content_layout (CustomPrintTab* self)
result = CONTENT_LAYOUT_STANDARD_SIZE;
#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4109 "Printing.c"
+#line 4088 "Printing.c"
}
#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->custom_size_radio;
@@ -4117,7 +4096,7 @@ static ContentLayout custom_print_tab_get_content_layout (CustomPrintTab* self)
result = CONTENT_LAYOUT_CUSTOM_SIZE;
#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4121 "Printing.c"
+#line 4100 "Printing.c"
}
#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->image_per_page_radio;
@@ -4129,25 +4108,25 @@ static ContentLayout custom_print_tab_get_content_layout (CustomPrintTab* self)
result = CONTENT_LAYOUT_IMAGE_PER_PAGE;
#line 617 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4133 "Printing.c"
+#line 4112 "Printing.c"
}
#line 619 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:619: inconsistent content layout radio button group stat" \
"e");
-#line 4137 "Printing.c"
+#line 4116 "Printing.c"
}
static void custom_print_tab_set_content_width (CustomPrintTab* self, Measurement* content_width) {
- Measurement _tmp0_ = {0};
- MeasurementUnit _tmp1_ = 0;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
- Measurement _tmp13_ = {0};
- GtkEntry* _tmp14_ = NULL;
- Measurement _tmp15_ = {0};
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
+ Measurement _tmp0_;
+ MeasurementUnit _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
+ Measurement _tmp13_;
+ GtkEntry* _tmp14_;
+ Measurement _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
#line 622 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 622 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4162,16 +4141,16 @@ static void custom_print_tab_set_content_width (CustomPrintTab* self, Measuremen
_tmp3_ = _tmp2_.unit;
#line 623 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ != _tmp3_) {
-#line 4165 "Printing.c"
- Measurement _tmp4_ = {0};
- MeasurementUnit _tmp5_ = 0;
- Measurement _tmp6_ = {0};
- MeasurementUnit _tmp7_ = 0;
+#line 4144 "Printing.c"
+ Measurement _tmp4_;
+ MeasurementUnit _tmp5_;
+ Measurement _tmp6_;
+ MeasurementUnit _tmp7_;
Measurement _tmp8_ = {0};
- GtkEntry* _tmp9_ = NULL;
- Measurement _tmp10_ = {0};
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+ GtkEntry* _tmp9_;
+ Measurement _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
#line 624 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *content_width;
#line 624 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4198,7 +4177,7 @@ static void custom_print_tab_set_content_width (CustomPrintTab* self, Measuremen
gtk_entry_set_text (_tmp9_, _tmp12_);
#line 626 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp12_);
-#line 4201 "Printing.c"
+#line 4180 "Printing.c"
}
#line 628 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = *content_width;
@@ -4216,12 +4195,12 @@ static void custom_print_tab_set_content_width (CustomPrintTab* self, Measuremen
gtk_entry_set_text (_tmp14_, _tmp17_);
#line 629 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp17_);
-#line 4219 "Printing.c"
+#line 4198 "Printing.c"
}
static void custom_print_tab_get_content_width (CustomPrintTab* self, Measurement* result) {
- Measurement _tmp0_ = {0};
+ Measurement _tmp0_;
#line 632 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 633 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4230,20 +4209,20 @@ static void custom_print_tab_get_content_width (CustomPrintTab* self, Measuremen
*result = _tmp0_;
#line 633 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 4233 "Printing.c"
+#line 4212 "Printing.c"
}
static void custom_print_tab_set_content_height (CustomPrintTab* self, Measurement* content_height) {
- Measurement _tmp0_ = {0};
- MeasurementUnit _tmp1_ = 0;
- Measurement _tmp2_ = {0};
- MeasurementUnit _tmp3_ = 0;
- Measurement _tmp13_ = {0};
- GtkEntry* _tmp14_ = NULL;
- Measurement _tmp15_ = {0};
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
+ Measurement _tmp0_;
+ MeasurementUnit _tmp1_;
+ Measurement _tmp2_;
+ MeasurementUnit _tmp3_;
+ Measurement _tmp13_;
+ GtkEntry* _tmp14_;
+ Measurement _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
#line 636 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 636 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4258,16 +4237,16 @@ static void custom_print_tab_set_content_height (CustomPrintTab* self, Measureme
_tmp3_ = _tmp2_.unit;
#line 637 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ != _tmp3_) {
-#line 4261 "Printing.c"
- Measurement _tmp4_ = {0};
- MeasurementUnit _tmp5_ = 0;
- Measurement _tmp6_ = {0};
- MeasurementUnit _tmp7_ = 0;
+#line 4240 "Printing.c"
+ Measurement _tmp4_;
+ MeasurementUnit _tmp5_;
+ Measurement _tmp6_;
+ MeasurementUnit _tmp7_;
Measurement _tmp8_ = {0};
- GtkEntry* _tmp9_ = NULL;
- Measurement _tmp10_ = {0};
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+ GtkEntry* _tmp9_;
+ Measurement _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
#line 638 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *content_height;
#line 638 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4294,7 +4273,7 @@ static void custom_print_tab_set_content_height (CustomPrintTab* self, Measureme
gtk_entry_set_text (_tmp9_, _tmp12_);
#line 640 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp12_);
-#line 4297 "Printing.c"
+#line 4276 "Printing.c"
}
#line 642 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = *content_height;
@@ -4312,12 +4291,12 @@ static void custom_print_tab_set_content_height (CustomPrintTab* self, Measureme
gtk_entry_set_text (_tmp14_, _tmp17_);
#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp17_);
-#line 4315 "Printing.c"
+#line 4294 "Printing.c"
}
static void custom_print_tab_get_content_height (CustomPrintTab* self, Measurement* result) {
- Measurement _tmp0_ = {0};
+ Measurement _tmp0_;
#line 646 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 647 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4326,17 +4305,17 @@ static void custom_print_tab_get_content_height (CustomPrintTab* self, Measureme
*result = _tmp0_;
#line 647 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 4329 "Printing.c"
+#line 4308 "Printing.c"
}
static void custom_print_tab_set_content_ppi (CustomPrintTab* self, gint content_ppi) {
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- GtkEntry* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ GtkEntry* _tmp2_;
+ gint _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4357,13 +4336,13 @@ static void custom_print_tab_set_content_ppi (CustomPrintTab* self, gint content
gtk_entry_set_text (_tmp2_, _tmp5_);
#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp5_);
-#line 4360 "Printing.c"
+#line 4339 "Printing.c"
}
static gint custom_print_tab_get_content_ppi (CustomPrintTab* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 658 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4372,13 +4351,13 @@ static gint custom_print_tab_get_content_ppi (CustomPrintTab* self) {
result = _tmp0_;
#line 658 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4375 "Printing.c"
+#line 4354 "Printing.c"
}
static void custom_print_tab_set_image_per_page_selection (CustomPrintTab* self, gint image_per_page) {
- GtkComboBoxText* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GtkComboBoxText* _tmp0_;
+ gint _tmp1_;
#line 661 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 662 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4387,14 +4366,14 @@ static void custom_print_tab_set_image_per_page_selection (CustomPrintTab* self,
_tmp1_ = image_per_page;
#line 662 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), _tmp1_);
-#line 4390 "Printing.c"
+#line 4369 "Printing.c"
}
static gint custom_print_tab_get_image_per_page_selection (CustomPrintTab* self) {
gint result = 0;
- GtkComboBoxText* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GtkComboBoxText* _tmp0_;
+ gint _tmp1_;
#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4405,13 +4384,13 @@ static gint custom_print_tab_get_image_per_page_selection (CustomPrintTab* self)
result = _tmp1_;
#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4408 "Printing.c"
+#line 4387 "Printing.c"
}
static void custom_print_tab_set_size_selection (CustomPrintTab* self, gint size_selection) {
- GtkComboBoxText* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GtkComboBoxText* _tmp0_;
+ gint _tmp1_;
#line 669 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4420,14 +4399,14 @@ static void custom_print_tab_set_size_selection (CustomPrintTab* self, gint size
_tmp1_ = size_selection;
#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), _tmp1_);
-#line 4423 "Printing.c"
+#line 4402 "Printing.c"
}
static gint custom_print_tab_get_size_selection (CustomPrintTab* self) {
gint result = 0;
- GtkComboBoxText* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GtkComboBoxText* _tmp0_;
+ gint _tmp1_;
#line 673 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 674 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4438,13 +4417,13 @@ static gint custom_print_tab_get_size_selection (CustomPrintTab* self) {
result = _tmp1_;
#line 674 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4441 "Printing.c"
+#line 4420 "Printing.c"
}
static void custom_print_tab_set_match_aspect_ratio_enabled (CustomPrintTab* self, gboolean enable_state) {
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ GtkCheckButton* _tmp0_;
+ gboolean _tmp1_;
#line 677 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 678 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4453,13 +4432,13 @@ static void custom_print_tab_set_match_aspect_ratio_enabled (CustomPrintTab* sel
_tmp1_ = enable_state;
#line 678 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp1_);
-#line 4456 "Printing.c"
+#line 4435 "Printing.c"
}
static void custom_print_tab_set_print_titles_enabled (CustomPrintTab* self, gboolean print_titles) {
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ GtkCheckButton* _tmp0_;
+ gboolean _tmp1_;
#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4468,13 +4447,13 @@ static void custom_print_tab_set_print_titles_enabled (CustomPrintTab* self, gbo
_tmp1_ = print_titles;
#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp1_);
-#line 4471 "Printing.c"
+#line 4450 "Printing.c"
}
static void custom_print_tab_set_print_titles_font (CustomPrintTab* self, const gchar* fontname) {
- GtkFontButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
+ GtkFontButton* _tmp0_;
+ const gchar* _tmp1_;
#line 685 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 685 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4485,14 +4464,14 @@ static void custom_print_tab_set_print_titles_font (CustomPrintTab* self, const
_tmp1_ = fontname;
#line 686 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_font_button_set_font_name (_tmp0_, _tmp1_);
-#line 4488 "Printing.c"
+#line 4467 "Printing.c"
}
static gboolean custom_print_tab_is_match_aspect_ratio_enabled (CustomPrintTab* self) {
gboolean result = FALSE;
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ GtkCheckButton* _tmp0_;
+ gboolean _tmp1_;
#line 690 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 691 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4503,14 +4482,14 @@ static gboolean custom_print_tab_is_match_aspect_ratio_enabled (CustomPrintTab*
result = _tmp1_;
#line 691 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4506 "Printing.c"
+#line 4485 "Printing.c"
}
static gboolean custom_print_tab_is_print_titles_enabled (CustomPrintTab* self) {
gboolean result = FALSE;
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ GtkCheckButton* _tmp0_;
+ gboolean _tmp1_;
#line 694 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 695 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4521,15 +4500,15 @@ static gboolean custom_print_tab_is_print_titles_enabled (CustomPrintTab* self)
result = _tmp1_;
#line 695 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4524 "Printing.c"
+#line 4503 "Printing.c"
}
static gchar* custom_print_tab_get_print_titles_font (CustomPrintTab* self) {
gchar* result = NULL;
- GtkFontButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ GtkFontButton* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 698 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 699 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4542,14 +4521,14 @@ static gchar* custom_print_tab_get_print_titles_font (CustomPrintTab* self) {
result = _tmp2_;
#line 699 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4545 "Printing.c"
+#line 4524 "Printing.c"
}
PrintJob* custom_print_tab_get_source_job (CustomPrintTab* self) {
PrintJob* result = NULL;
- PrintJob* _tmp0_ = NULL;
- PrintJob* _tmp1_ = NULL;
+ PrintJob* _tmp0_;
+ PrintJob* _tmp1_;
#line 702 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 703 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4560,24 +4539,24 @@ PrintJob* custom_print_tab_get_source_job (CustomPrintTab* self) {
result = _tmp1_;
#line 703 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4563 "Printing.c"
+#line 4542 "Printing.c"
}
PrintSettings* custom_print_tab_get_local_settings (CustomPrintTab* self) {
PrintSettings* result = NULL;
PrintSettings* _result_ = NULL;
- PrintSettings* _tmp0_ = NULL;
+ PrintSettings* _tmp0_;
Measurement _tmp1_ = {0};
Measurement _tmp2_ = {0};
- ContentLayout _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- gboolean _tmp7_ = FALSE;
- gboolean _tmp8_ = FALSE;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ ContentLayout _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ gboolean _tmp7_;
+ gboolean _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 706 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 707 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4628,7 +4607,7 @@ PrintSettings* custom_print_tab_get_local_settings (CustomPrintTab* self) {
result = _result_;
#line 719 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4631 "Printing.c"
+#line 4610 "Printing.c"
}
@@ -4668,7 +4647,7 @@ static void custom_print_tab_class_init (CustomPrintTabClass * klass) {
gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "title_print_check", FALSE, CustomPrintTab_private_offset + G_STRUCT_OFFSET (CustomPrintTabPrivate, title_print_check));
#line 269 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "title_print_font", FALSE, CustomPrintTab_private_offset + G_STRUCT_OFFSET (CustomPrintTabPrivate, title_print_font));
-#line 4671 "Printing.c"
+#line 4650 "Printing.c"
}
@@ -4683,11 +4662,11 @@ static void custom_print_tab_instance_init (CustomPrintTab * self) {
self->priv->is_text_insertion_in_progress = FALSE;
#line 269 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_init_template (GTK_WIDGET (self));
-#line 4686 "Printing.c"
+#line 4665 "Printing.c"
}
-static void custom_print_tab_finalize (GObject* obj) {
+static void custom_print_tab_finalize (GObject * obj) {
CustomPrintTab * self;
#line 269 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CUSTOM_PRINT_TAB, CustomPrintTab);
@@ -4719,7 +4698,7 @@ static void custom_print_tab_finalize (GObject* obj) {
_g_object_unref0 (self->priv->source_job);
#line 269 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (custom_print_tab_parent_class)->finalize (obj);
-#line 4722 "Printing.c"
+#line 4701 "Printing.c"
}
@@ -4737,19 +4716,19 @@ GType custom_print_tab_get_type (void) {
PrintJob* print_job_construct (GType object_type, GeeCollection* to_print) {
PrintJob * self = NULL;
- PrintManager* _tmp0_ = NULL;
- PrintManager* _tmp1_ = NULL;
- PrintSettings* _tmp2_ = NULL;
- GeeArrayList* _tmp3_ = NULL;
- GeeCollection* _tmp4_ = NULL;
+ PrintManager* _tmp0_;
+ PrintManager* _tmp1_;
+ PrintSettings* _tmp2_;
+ GeeArrayList* _tmp3_;
+ GeeCollection* _tmp4_;
gdouble photo_aspect_ratio = 0.0;
- GeeArrayList* _tmp5_ = NULL;
- gpointer _tmp6_ = NULL;
- Photo* _tmp7_ = NULL;
+ GeeArrayList* _tmp5_;
+ gpointer _tmp6_;
+ Photo* _tmp7_;
Dimensions _tmp8_ = {0};
- gdouble _tmp9_ = 0.0;
- gdouble _tmp10_ = 0.0;
- gdouble _tmp11_ = 0.0;
+ gdouble _tmp9_;
+ gdouble _tmp10_;
+ gdouble _tmp11_;
#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (to_print), NULL);
#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4794,31 +4773,31 @@ PrintJob* print_job_construct (GType object_type, GeeCollection* to_print) {
_tmp11_ = photo_aspect_ratio;
#line 733 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp11_ < 1.0) {
-#line 4797 "Printing.c"
- gdouble _tmp12_ = 0.0;
+#line 4776 "Printing.c"
+ gdouble _tmp12_;
#line 734 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = photo_aspect_ratio;
#line 734 "/home/jens/Source/shotwell/src/Printing.vala"
photo_aspect_ratio = 1.0 / _tmp12_;
-#line 4803 "Printing.c"
+#line 4782 "Printing.c"
}
#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 4807 "Printing.c"
+#line 4786 "Printing.c"
}
PrintJob* print_job_new (GeeCollection* to_print) {
#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
return print_job_construct (TYPE_PRINT_JOB, to_print);
-#line 4814 "Printing.c"
+#line 4793 "Printing.c"
}
GeeList* print_job_get_photos (PrintJob* self) {
GeeList* result = NULL;
- GeeArrayList* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
+ GeeArrayList* _tmp0_;
+ GeeList* _tmp1_;
#line 737 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 738 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4829,14 +4808,14 @@ GeeList* print_job_get_photos (PrintJob* self) {
result = _tmp1_;
#line 738 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4832 "Printing.c"
+#line 4811 "Printing.c"
}
Photo* print_job_get_source_photo (PrintJob* self) {
Photo* result = NULL;
- GeeArrayList* _tmp0_ = NULL;
- gpointer _tmp1_ = NULL;
+ GeeArrayList* _tmp0_;
+ gpointer _tmp1_;
#line 741 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 742 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4847,21 +4826,21 @@ Photo* print_job_get_source_photo (PrintJob* self) {
result = (Photo*) _tmp1_;
#line 742 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4850 "Printing.c"
+#line 4829 "Printing.c"
}
gdouble print_job_get_source_aspect_ratio (PrintJob* self) {
gdouble result = 0.0;
gdouble aspect_ratio = 0.0;
- GeeArrayList* _tmp0_ = NULL;
- gpointer _tmp1_ = NULL;
- Photo* _tmp2_ = NULL;
+ GeeArrayList* _tmp0_;
+ gpointer _tmp1_;
+ Photo* _tmp2_;
Dimensions _tmp3_ = {0};
- gdouble _tmp4_ = 0.0;
- gdouble _tmp5_ = 0.0;
+ gdouble _tmp4_;
+ gdouble _tmp5_;
gdouble _tmp6_ = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp7_;
#line 745 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_JOB (self), 0.0);
#line 746 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4884,40 +4863,40 @@ gdouble print_job_get_source_aspect_ratio (PrintJob* self) {
_tmp7_ = aspect_ratio;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp7_ < 1.0) {
-#line 4887 "Printing.c"
- gdouble _tmp8_ = 0.0;
+#line 4866 "Printing.c"
+ gdouble _tmp8_;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = aspect_ratio;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = 1.0 / _tmp8_;
-#line 4893 "Printing.c"
+#line 4872 "Printing.c"
} else {
- gdouble _tmp9_ = 0.0;
+ gdouble _tmp9_;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = aspect_ratio;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = _tmp9_;
-#line 4900 "Printing.c"
+#line 4879 "Printing.c"
}
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp6_;
#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4906 "Printing.c"
+#line 4885 "Printing.c"
}
static gpointer _print_settings_ref0 (gpointer self) {
#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? print_settings_ref (self) : NULL;
-#line 4913 "Printing.c"
+#line 4892 "Printing.c"
}
PrintSettings* print_job_get_local_settings (PrintJob* self) {
PrintSettings* result = NULL;
- PrintSettings* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
+ PrintSettings* _tmp0_;
+ PrintSettings* _tmp1_;
#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4928,13 +4907,13 @@ PrintSettings* print_job_get_local_settings (PrintJob* self) {
result = _tmp1_;
#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4931 "Printing.c"
+#line 4910 "Printing.c"
}
void print_job_set_local_settings (PrintJob* self, PrintSettings* settings) {
- PrintSettings* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
+ PrintSettings* _tmp0_;
+ PrintSettings* _tmp1_;
#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_JOB (self));
#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -4947,7 +4926,7 @@ void print_job_set_local_settings (PrintJob* self, PrintSettings* settings) {
_print_settings_unref0 (self->priv->settings);
#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->settings = _tmp1_;
-#line 4950 "Printing.c"
+#line 4929 "Printing.c"
}
@@ -4958,23 +4937,23 @@ static void print_job_class_init (PrintJobClass * klass) {
g_type_class_add_private (klass, sizeof (PrintJobPrivate));
#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (klass)->finalize = print_job_finalize;
-#line 4961 "Printing.c"
+#line 4940 "Printing.c"
}
static void print_job_instance_init (PrintJob * self) {
- GeeArrayList* _tmp0_ = NULL;
+ GeeArrayList* _tmp0_;
#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv = PRINT_JOB_GET_PRIVATE (self);
#line 725 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = gee_array_list_new (TYPE_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 725 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->photos = _tmp0_;
-#line 4973 "Printing.c"
+#line 4952 "Printing.c"
}
-static void print_job_finalize (GObject* obj) {
+static void print_job_finalize (GObject * obj) {
PrintJob * self;
#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_JOB, PrintJob);
@@ -4984,7 +4963,7 @@ static void print_job_finalize (GObject* obj) {
_g_object_unref0 (self->priv->photos);
#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (print_job_parent_class)->finalize (obj);
-#line 4987 "Printing.c"
+#line 4966 "Printing.c"
}
@@ -5002,10 +4981,10 @@ GType print_job_get_type (void) {
StandardPrintSize* standard_print_size_construct (GType object_type, const gchar* name, Measurement* width, Measurement* height) {
StandardPrintSize* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- Measurement _tmp2_ = {0};
- Measurement _tmp3_ = {0};
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ Measurement _tmp2_;
+ Measurement _tmp3_;
#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5032,21 +5011,21 @@ StandardPrintSize* standard_print_size_construct (GType object_type, const gchar
self->height = _tmp3_;
#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 5035 "Printing.c"
+#line 5014 "Printing.c"
}
StandardPrintSize* standard_print_size_new (const gchar* name, Measurement* width, Measurement* height) {
#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
return standard_print_size_construct (TYPE_STANDARD_PRINT_SIZE, name, width, height);
-#line 5042 "Printing.c"
+#line 5021 "Printing.c"
}
static void value_standard_print_size_init (GValue* value) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5049 "Printing.c"
+#line 5028 "Printing.c"
}
@@ -5055,7 +5034,7 @@ static void value_standard_print_size_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (value->data[0].v_pointer);
-#line 5058 "Printing.c"
+#line 5037 "Printing.c"
}
}
@@ -5065,11 +5044,11 @@ static void value_standard_print_size_copy_value (const GValue* src_value, GValu
if (src_value->data[0].v_pointer) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = standard_print_size_ref (src_value->data[0].v_pointer);
-#line 5068 "Printing.c"
+#line 5047 "Printing.c"
} else {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 5072 "Printing.c"
+#line 5051 "Printing.c"
}
}
@@ -5077,66 +5056,66 @@ static void value_standard_print_size_copy_value (const GValue* src_value, GValu
static gpointer value_standard_print_size_peek_pointer (const GValue* value) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 5080 "Printing.c"
+#line 5059 "Printing.c"
}
static gchar* value_standard_print_size_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (collect_values[0].v_pointer) {
-#line 5087 "Printing.c"
- StandardPrintSize* object;
+#line 5066 "Printing.c"
+ StandardPrintSize * object;
object = collect_values[0].v_pointer;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (object->parent_instance.g_class == NULL) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 5094 "Printing.c"
+#line 5073 "Printing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 5098 "Printing.c"
+#line 5077 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = standard_print_size_ref (object);
-#line 5102 "Printing.c"
+#line 5081 "Printing.c"
} else {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5106 "Printing.c"
+#line 5085 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 5110 "Printing.c"
+#line 5089 "Printing.c"
}
static gchar* value_standard_print_size_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- StandardPrintSize** object_p;
+ StandardPrintSize ** object_p;
object_p = collect_values[0].v_pointer;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (!object_p) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 5121 "Printing.c"
+#line 5100 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (!value->data[0].v_pointer) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = NULL;
-#line 5127 "Printing.c"
+#line 5106 "Printing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = value->data[0].v_pointer;
-#line 5131 "Printing.c"
+#line 5110 "Printing.c"
} else {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = standard_print_size_ref (value->data[0].v_pointer);
-#line 5135 "Printing.c"
+#line 5114 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 5139 "Printing.c"
+#line 5118 "Printing.c"
}
@@ -5150,7 +5129,7 @@ GParamSpec* param_spec_standard_print_size (const gchar* name, const gchar* nick
G_PARAM_SPEC (spec)->value_type = object_type;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return G_PARAM_SPEC (spec);
-#line 5153 "Printing.c"
+#line 5132 "Printing.c"
}
@@ -5159,12 +5138,12 @@ gpointer value_get_standard_print_size (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE), NULL);
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 5162 "Printing.c"
+#line 5141 "Printing.c"
}
void value_set_standard_print_size (GValue* value, gpointer v_object) {
- StandardPrintSize* old;
+ StandardPrintSize * old;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE));
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5179,23 +5158,23 @@ void value_set_standard_print_size (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_ref (value->data[0].v_pointer);
-#line 5182 "Printing.c"
+#line 5161 "Printing.c"
} else {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5186 "Printing.c"
+#line 5165 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (old);
-#line 5192 "Printing.c"
+#line 5171 "Printing.c"
}
}
void value_take_standard_print_size (GValue* value, gpointer v_object) {
- StandardPrintSize* old;
+ StandardPrintSize * old;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE));
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5208,17 +5187,17 @@ void value_take_standard_print_size (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 5211 "Printing.c"
+#line 5190 "Printing.c"
} else {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5215 "Printing.c"
+#line 5194 "Printing.c"
}
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (old);
-#line 5221 "Printing.c"
+#line 5200 "Printing.c"
}
}
@@ -5228,18 +5207,18 @@ static void standard_print_size_class_init (StandardPrintSizeClass * klass) {
standard_print_size_parent_class = g_type_class_peek_parent (klass);
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
((StandardPrintSizeClass *) klass)->finalize = standard_print_size_finalize;
-#line 5231 "Printing.c"
+#line 5210 "Printing.c"
}
static void standard_print_size_instance_init (StandardPrintSize * self) {
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
self->ref_count = 1;
-#line 5238 "Printing.c"
+#line 5217 "Printing.c"
}
-static void standard_print_size_finalize (StandardPrintSize* obj) {
+static void standard_print_size_finalize (StandardPrintSize * obj) {
StandardPrintSize * self;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_STANDARD_PRINT_SIZE, StandardPrintSize);
@@ -5247,7 +5226,7 @@ static void standard_print_size_finalize (StandardPrintSize* obj) {
g_signal_handlers_destroy (self);
#line 766 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (self->name);
-#line 5250 "Printing.c"
+#line 5229 "Printing.c"
}
@@ -5266,18 +5245,18 @@ GType standard_print_size_get_type (void) {
gpointer standard_print_size_ref (gpointer instance) {
- StandardPrintSize* self;
+ StandardPrintSize * self;
self = instance;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
g_atomic_int_inc (&self->ref_count);
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
return instance;
-#line 5275 "Printing.c"
+#line 5254 "Printing.c"
}
void standard_print_size_unref (gpointer instance) {
- StandardPrintSize* self;
+ StandardPrintSize * self;
self = instance;
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -5285,15 +5264,15 @@ void standard_print_size_unref (gpointer instance) {
STANDARD_PRINT_SIZE_GET_CLASS (self)->finalize (self);
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 5288 "Printing.c"
+#line 5267 "Printing.c"
}
}
static PrintManager* print_manager_construct (GType object_type) {
PrintManager* self = NULL;
- GtkPageSetup* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
+ GtkPageSetup* _tmp0_;
+ PrintSettings* _tmp1_;
#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
self = (PrintManager*) g_type_create_instance (object_type);
#line 784 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5310,280 +5289,280 @@ static PrintManager* print_manager_construct (GType object_type) {
self->priv->settings = _tmp1_;
#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 5313 "Printing.c"
+#line 5292 "Printing.c"
}
static PrintManager* print_manager_new (void) {
#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
return print_manager_construct (TYPE_PRINT_MANAGER);
-#line 5320 "Printing.c"
+#line 5299 "Printing.c"
}
-static void _vala_array_add112 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add112 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5331 "Printing.c"
+#line 5310 "Printing.c"
}
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5337 "Printing.c"
+#line 5316 "Printing.c"
}
-static void _vala_array_add113 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add113 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5348 "Printing.c"
+#line 5327 "Printing.c"
}
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5354 "Printing.c"
+#line 5333 "Printing.c"
}
-static void _vala_array_add114 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add114 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5365 "Printing.c"
+#line 5344 "Printing.c"
}
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5371 "Printing.c"
+#line 5350 "Printing.c"
}
-static void _vala_array_add115 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add115 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5382 "Printing.c"
+#line 5361 "Printing.c"
}
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5388 "Printing.c"
+#line 5367 "Printing.c"
}
-static void _vala_array_add116 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add116 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5399 "Printing.c"
+#line 5378 "Printing.c"
}
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5405 "Printing.c"
+#line 5384 "Printing.c"
}
-static void _vala_array_add117 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add117 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5416 "Printing.c"
+#line 5395 "Printing.c"
}
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5422 "Printing.c"
+#line 5401 "Printing.c"
}
-static void _vala_array_add118 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add118 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5433 "Printing.c"
+#line 5412 "Printing.c"
}
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5439 "Printing.c"
+#line 5418 "Printing.c"
}
-static void _vala_array_add119 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add119 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5450 "Printing.c"
+#line 5429 "Printing.c"
}
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5456 "Printing.c"
+#line 5435 "Printing.c"
}
-static void _vala_array_add120 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add120 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5467 "Printing.c"
+#line 5446 "Printing.c"
}
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5473 "Printing.c"
+#line 5452 "Printing.c"
}
-static void _vala_array_add121 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add121 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5484 "Printing.c"
+#line 5463 "Printing.c"
}
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5490 "Printing.c"
+#line 5469 "Printing.c"
}
-static void _vala_array_add122 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add122 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5501 "Printing.c"
+#line 5480 "Printing.c"
}
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5507 "Printing.c"
+#line 5486 "Printing.c"
}
-static void _vala_array_add123 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add123 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5518 "Printing.c"
+#line 5497 "Printing.c"
}
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5524 "Printing.c"
+#line 5503 "Printing.c"
}
-static void _vala_array_add124 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add124 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5535 "Printing.c"
+#line 5514 "Printing.c"
}
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5541 "Printing.c"
+#line 5520 "Printing.c"
}
-static void _vala_array_add125 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add125 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5552 "Printing.c"
+#line 5531 "Printing.c"
}
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5558 "Printing.c"
+#line 5537 "Printing.c"
}
-static void _vala_array_add126 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
+static void _vala_array_add126 (StandardPrintSize** * array, int* length, int* size, StandardPrintSize* value) {
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5569 "Printing.c"
+#line 5548 "Printing.c"
}
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5575 "Printing.c"
+#line 5554 "Printing.c"
}
StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* result_length1) {
StandardPrintSize** result = NULL;
- StandardPrintSize** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- StandardPrintSize** _tmp76_ = NULL;
- gint _tmp76__length1 = 0;
- StandardPrintSize** _tmp77_ = NULL;
- gint _tmp77__length1 = 0;
+ StandardPrintSize** _tmp0_;
+ gint _tmp0__length1;
+ StandardPrintSize** _tmp62_;
+ gint _tmp62__length1;
+ StandardPrintSize** _tmp63_;
+ gint _tmp63__length1;
#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5592,97 +5571,83 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r
_tmp0__length1 = self->priv->standard_sizes_length1;
#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp0_ == NULL) {
-#line 5595 "Printing.c"
- StandardPrintSize** _tmp1_ = NULL;
- StandardPrintSize** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- const gchar* _tmp3_ = NULL;
+#line 5574 "Printing.c"
+ StandardPrintSize** _tmp1_;
+ StandardPrintSize** _tmp2_;
+ gint _tmp2__length1;
+ Measurement _tmp3_ = {0};
Measurement _tmp4_ = {0};
- Measurement _tmp5_ = {0};
- StandardPrintSize* _tmp6_ = NULL;
- StandardPrintSize** _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- const gchar* _tmp8_ = NULL;
- Measurement _tmp9_ = {0};
- Measurement _tmp10_ = {0};
- StandardPrintSize* _tmp11_ = NULL;
- StandardPrintSize** _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- const gchar* _tmp13_ = NULL;
- Measurement _tmp14_ = {0};
+ StandardPrintSize* _tmp5_;
+ StandardPrintSize** _tmp6_;
+ gint _tmp6__length1;
+ Measurement _tmp7_ = {0};
+ Measurement _tmp8_ = {0};
+ StandardPrintSize* _tmp9_;
+ StandardPrintSize** _tmp10_;
+ gint _tmp10__length1;
+ Measurement _tmp11_ = {0};
+ Measurement _tmp12_ = {0};
+ StandardPrintSize* _tmp13_;
+ StandardPrintSize** _tmp14_;
+ gint _tmp14__length1;
Measurement _tmp15_ = {0};
- StandardPrintSize* _tmp16_ = NULL;
- StandardPrintSize** _tmp17_ = NULL;
- gint _tmp17__length1 = 0;
- const gchar* _tmp18_ = NULL;
+ Measurement _tmp16_ = {0};
+ StandardPrintSize* _tmp17_;
+ StandardPrintSize** _tmp18_;
+ gint _tmp18__length1;
Measurement _tmp19_ = {0};
Measurement _tmp20_ = {0};
- StandardPrintSize* _tmp21_ = NULL;
- StandardPrintSize** _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- const gchar* _tmp23_ = NULL;
+ StandardPrintSize* _tmp21_;
+ StandardPrintSize** _tmp22_;
+ gint _tmp22__length1;
+ Measurement _tmp23_ = {0};
Measurement _tmp24_ = {0};
- Measurement _tmp25_ = {0};
- StandardPrintSize* _tmp26_ = NULL;
- StandardPrintSize** _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
- const gchar* _tmp28_ = NULL;
- Measurement _tmp29_ = {0};
- Measurement _tmp30_ = {0};
- StandardPrintSize* _tmp31_ = NULL;
- StandardPrintSize** _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
- const gchar* _tmp33_ = NULL;
- Measurement _tmp34_ = {0};
+ StandardPrintSize* _tmp25_;
+ StandardPrintSize** _tmp26_;
+ gint _tmp26__length1;
+ Measurement _tmp27_ = {0};
+ Measurement _tmp28_ = {0};
+ StandardPrintSize* _tmp29_;
+ StandardPrintSize** _tmp30_;
+ gint _tmp30__length1;
+ Measurement _tmp31_ = {0};
+ Measurement _tmp32_ = {0};
+ StandardPrintSize* _tmp33_;
+ StandardPrintSize** _tmp34_;
+ gint _tmp34__length1;
Measurement _tmp35_ = {0};
- StandardPrintSize* _tmp36_ = NULL;
- StandardPrintSize** _tmp37_ = NULL;
- gint _tmp37__length1 = 0;
- Measurement _tmp38_ = {0};
+ Measurement _tmp36_ = {0};
+ StandardPrintSize* _tmp37_;
+ StandardPrintSize** _tmp38_;
+ gint _tmp38__length1;
Measurement _tmp39_ = {0};
- StandardPrintSize* _tmp40_ = NULL;
- StandardPrintSize** _tmp41_ = NULL;
- gint _tmp41__length1 = 0;
- const gchar* _tmp42_ = NULL;
+ Measurement _tmp40_ = {0};
+ StandardPrintSize* _tmp41_;
+ StandardPrintSize** _tmp42_;
+ gint _tmp42__length1;
Measurement _tmp43_ = {0};
Measurement _tmp44_ = {0};
- StandardPrintSize* _tmp45_ = NULL;
- StandardPrintSize** _tmp46_ = NULL;
- gint _tmp46__length1 = 0;
- const gchar* _tmp47_ = NULL;
+ StandardPrintSize* _tmp45_;
+ StandardPrintSize** _tmp46_;
+ gint _tmp46__length1;
+ Measurement _tmp47_ = {0};
Measurement _tmp48_ = {0};
- Measurement _tmp49_ = {0};
- StandardPrintSize* _tmp50_ = NULL;
- StandardPrintSize** _tmp51_ = NULL;
- gint _tmp51__length1 = 0;
- const gchar* _tmp52_ = NULL;
- Measurement _tmp53_ = {0};
- Measurement _tmp54_ = {0};
- StandardPrintSize* _tmp55_ = NULL;
- StandardPrintSize** _tmp56_ = NULL;
- gint _tmp56__length1 = 0;
- const gchar* _tmp57_ = NULL;
- Measurement _tmp58_ = {0};
+ StandardPrintSize* _tmp49_;
+ StandardPrintSize** _tmp50_;
+ gint _tmp50__length1;
+ Measurement _tmp51_ = {0};
+ Measurement _tmp52_ = {0};
+ StandardPrintSize* _tmp53_;
+ StandardPrintSize** _tmp54_;
+ gint _tmp54__length1;
+ Measurement _tmp55_ = {0};
+ Measurement _tmp56_ = {0};
+ StandardPrintSize* _tmp57_;
+ StandardPrintSize** _tmp58_;
+ gint _tmp58__length1;
Measurement _tmp59_ = {0};
- StandardPrintSize* _tmp60_ = NULL;
- StandardPrintSize** _tmp61_ = NULL;
- gint _tmp61__length1 = 0;
- const gchar* _tmp62_ = NULL;
- Measurement _tmp63_ = {0};
- Measurement _tmp64_ = {0};
- StandardPrintSize* _tmp65_ = NULL;
- StandardPrintSize** _tmp66_ = NULL;
- gint _tmp66__length1 = 0;
- const gchar* _tmp67_ = NULL;
- Measurement _tmp68_ = {0};
- Measurement _tmp69_ = {0};
- StandardPrintSize* _tmp70_ = NULL;
- StandardPrintSize** _tmp71_ = NULL;
- gint _tmp71__length1 = 0;
- const gchar* _tmp72_ = NULL;
- Measurement _tmp73_ = {0};
- Measurement _tmp74_ = {0};
- StandardPrintSize* _tmp75_ = NULL;
+ Measurement _tmp60_ = {0};
+ StandardPrintSize* _tmp61_;
#line 790 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = g_new0 (StandardPrintSize*, 0 + 1);
#line 790 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -5698,258 +5663,230 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2__length1 = self->priv->standard_sizes_length1;
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp3_ = _ ("Wallet (2 × 3 in.)");
-#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp4_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp3_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp5_, (gdouble) 2, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp4_, (gdouble) 2, MEASUREMENT_UNIT_INCHES);
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp6_ = standard_print_size_new (_tmp3_, &_tmp4_, &_tmp5_);
+ _tmp5_ = standard_print_size_new (_ ("Wallet (2 × 3 in.)"), &_tmp3_, &_tmp4_);
#line 792 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add112 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp6_);
+ _vala_array_add112 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp5_);
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp7_ = self->priv->standard_sizes;
+ _tmp6_ = self->priv->standard_sizes;
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp7__length1 = self->priv->standard_sizes_length1;
+ _tmp6__length1 = self->priv->standard_sizes_length1;
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp8_ = _ ("Notecard (3 × 5 in.)");
+ measurement_init (&_tmp7_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp9_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp8_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp10_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
+ _tmp9_ = standard_print_size_new (_ ("Notecard (3 × 5 in.)"), &_tmp7_, &_tmp8_);
#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp11_ = standard_print_size_new (_tmp8_, &_tmp9_, &_tmp10_);
-#line 795 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add113 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp11_);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp12_ = self->priv->standard_sizes;
+ _vala_array_add113 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp9_);
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp12__length1 = self->priv->standard_sizes_length1;
+ _tmp10_ = self->priv->standard_sizes;
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp13_ = _ ("4 × 6 in.");
+ _tmp10__length1 = self->priv->standard_sizes_length1;
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp14_, (gdouble) 6, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp11_, (gdouble) 6, MEASUREMENT_UNIT_INCHES);
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp15_, (gdouble) 4, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp12_, (gdouble) 4, MEASUREMENT_UNIT_INCHES);
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp16_ = standard_print_size_new (_tmp13_, &_tmp14_, &_tmp15_);
+ _tmp13_ = standard_print_size_new (_ ("4 × 6 in."), &_tmp11_, &_tmp12_);
#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add114 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp16_);
+ _vala_array_add114 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp13_);
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp17_ = self->priv->standard_sizes;
+ _tmp14_ = self->priv->standard_sizes;
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp17__length1 = self->priv->standard_sizes_length1;
+ _tmp14__length1 = self->priv->standard_sizes_length1;
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp18_ = _ ("5 × 7 in.");
+ measurement_init (&_tmp15_, (gdouble) 7, MEASUREMENT_UNIT_INCHES);
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp19_, (gdouble) 7, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp16_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp20_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
+ _tmp17_ = standard_print_size_new (_ ("5 × 7 in."), &_tmp15_, &_tmp16_);
#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp21_ = standard_print_size_new (_tmp18_, &_tmp19_, &_tmp20_);
-#line 801 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add115 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp21_);
+ _vala_array_add115 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp17_);
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp22_ = self->priv->standard_sizes;
+ _tmp18_ = self->priv->standard_sizes;
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp22__length1 = self->priv->standard_sizes_length1;
-#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp23_ = _ ("8 × 10 in.");
+ _tmp18__length1 = self->priv->standard_sizes_length1;
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp24_, (gdouble) 10, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp19_, (gdouble) 10, MEASUREMENT_UNIT_INCHES);
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp25_, (gdouble) 8, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp20_, (gdouble) 8, MEASUREMENT_UNIT_INCHES);
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp26_ = standard_print_size_new (_tmp23_, &_tmp24_, &_tmp25_);
+ _tmp21_ = standard_print_size_new (_ ("8 × 10 in."), &_tmp19_, &_tmp20_);
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add116 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp26_);
-#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp27_ = self->priv->standard_sizes;
+ _vala_array_add116 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp21_);
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp27__length1 = self->priv->standard_sizes_length1;
+ _tmp22_ = self->priv->standard_sizes;
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp28_ = _ ("11 × 14 in.");
+ _tmp22__length1 = self->priv->standard_sizes_length1;
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp29_, (gdouble) 14, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp23_, (gdouble) 14, MEASUREMENT_UNIT_INCHES);
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp30_, (gdouble) 11, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp24_, (gdouble) 11, MEASUREMENT_UNIT_INCHES);
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp31_ = standard_print_size_new (_tmp28_, &_tmp29_, &_tmp30_);
+ _tmp25_ = standard_print_size_new (_ ("11 × 14 in."), &_tmp23_, &_tmp24_);
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add117 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp31_);
+ _vala_array_add117 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp25_);
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp32_ = self->priv->standard_sizes;
+ _tmp26_ = self->priv->standard_sizes;
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp32__length1 = self->priv->standard_sizes_length1;
+ _tmp26__length1 = self->priv->standard_sizes_length1;
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp33_ = _ ("16 × 20 in.");
+ measurement_init (&_tmp27_, (gdouble) 20, MEASUREMENT_UNIT_INCHES);
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp34_, (gdouble) 20, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp28_, (gdouble) 16, MEASUREMENT_UNIT_INCHES);
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp35_, (gdouble) 16, MEASUREMENT_UNIT_INCHES);
+ _tmp29_ = standard_print_size_new (_ ("16 × 20 in."), &_tmp27_, &_tmp28_);
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp36_ = standard_print_size_new (_tmp33_, &_tmp34_, &_tmp35_);
-#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add118 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp36_);
+ _vala_array_add118 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp29_);
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp37_ = self->priv->standard_sizes;
+ _tmp30_ = self->priv->standard_sizes;
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp37__length1 = self->priv->standard_sizes_length1;
+ _tmp30__length1 = self->priv->standard_sizes_length1;
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp38_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp31_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp39_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
+ measurement_init (&_tmp32_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp40_ = standard_print_size_new ("-", &_tmp38_, &_tmp39_);
+ _tmp33_ = standard_print_size_new ("-", &_tmp31_, &_tmp32_);
#line 813 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add119 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp40_);
-#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp41_ = self->priv->standard_sizes;
+ _vala_array_add119 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp33_);
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp41__length1 = self->priv->standard_sizes_length1;
+ _tmp34_ = self->priv->standard_sizes;
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp42_ = _ ("Metric Wallet (9 × 13 cm)");
+ _tmp34__length1 = self->priv->standard_sizes_length1;
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp43_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp35_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp44_, (gdouble) 9, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp36_, (gdouble) 9, MEASUREMENT_UNIT_CENTIMETERS);
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp45_ = standard_print_size_new (_tmp42_, &_tmp43_, &_tmp44_);
+ _tmp37_ = standard_print_size_new (_ ("Metric Wallet (9 × 13 cm)"), &_tmp35_, &_tmp36_);
#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add120 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp45_);
+ _vala_array_add120 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp37_);
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp46_ = self->priv->standard_sizes;
+ _tmp38_ = self->priv->standard_sizes;
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp46__length1 = self->priv->standard_sizes_length1;
+ _tmp38__length1 = self->priv->standard_sizes_length1;
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp47_ = _ ("Postcard (10 × 15 cm)");
+ measurement_init (&_tmp39_, (gdouble) 15, MEASUREMENT_UNIT_CENTIMETERS);
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp48_, (gdouble) 15, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp40_, (gdouble) 10, MEASUREMENT_UNIT_CENTIMETERS);
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp49_, (gdouble) 10, MEASUREMENT_UNIT_CENTIMETERS);
+ _tmp41_ = standard_print_size_new (_ ("Postcard (10 × 15 cm)"), &_tmp39_, &_tmp40_);
#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp50_ = standard_print_size_new (_tmp47_, &_tmp48_, &_tmp49_);
-#line 819 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add121 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp50_);
-#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp51_ = self->priv->standard_sizes;
+ _vala_array_add121 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp41_);
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp51__length1 = self->priv->standard_sizes_length1;
+ _tmp42_ = self->priv->standard_sizes;
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp52_ = _ ("13 × 18 cm");
+ _tmp42__length1 = self->priv->standard_sizes_length1;
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp53_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp43_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp54_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp44_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp55_ = standard_print_size_new (_tmp52_, &_tmp53_, &_tmp54_);
+ _tmp45_ = standard_print_size_new (_ ("13 × 18 cm"), &_tmp43_, &_tmp44_);
#line 822 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add122 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp55_);
+ _vala_array_add122 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp45_);
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp56_ = self->priv->standard_sizes;
-#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp56__length1 = self->priv->standard_sizes_length1;
+ _tmp46_ = self->priv->standard_sizes;
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp57_ = _ ("18 × 24 cm");
+ _tmp46__length1 = self->priv->standard_sizes_length1;
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp58_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp47_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp59_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp48_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp60_ = standard_print_size_new (_tmp57_, &_tmp58_, &_tmp59_);
+ _tmp49_ = standard_print_size_new (_ ("18 × 24 cm"), &_tmp47_, &_tmp48_);
#line 825 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add123 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp60_);
-#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp61_ = self->priv->standard_sizes;
+ _vala_array_add123 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp49_);
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp61__length1 = self->priv->standard_sizes_length1;
+ _tmp50_ = self->priv->standard_sizes;
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp62_ = _ ("20 × 30 cm");
+ _tmp50__length1 = self->priv->standard_sizes_length1;
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp63_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp51_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp64_, (gdouble) 20, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp52_, (gdouble) 20, MEASUREMENT_UNIT_CENTIMETERS);
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp65_ = standard_print_size_new (_tmp62_, &_tmp63_, &_tmp64_);
+ _tmp53_ = standard_print_size_new (_ ("20 × 30 cm"), &_tmp51_, &_tmp52_);
#line 828 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add124 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp65_);
+ _vala_array_add124 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp53_);
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp66_ = self->priv->standard_sizes;
+ _tmp54_ = self->priv->standard_sizes;
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp66__length1 = self->priv->standard_sizes_length1;
+ _tmp54__length1 = self->priv->standard_sizes_length1;
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp67_ = _ ("24 × 40 cm");
+ measurement_init (&_tmp55_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp68_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp56_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp69_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
+ _tmp57_ = standard_print_size_new (_ ("24 × 40 cm"), &_tmp55_, &_tmp56_);
#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp70_ = standard_print_size_new (_tmp67_, &_tmp68_, &_tmp69_);
-#line 831 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add125 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp70_);
-#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp71_ = self->priv->standard_sizes;
+ _vala_array_add125 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp57_);
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp71__length1 = self->priv->standard_sizes_length1;
+ _tmp58_ = self->priv->standard_sizes;
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp72_ = _ ("30 × 40 cm");
+ _tmp58__length1 = self->priv->standard_sizes_length1;
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp73_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp59_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- measurement_init (&_tmp74_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
+ measurement_init (&_tmp60_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp75_ = standard_print_size_new (_tmp72_, &_tmp73_, &_tmp74_);
+ _tmp61_ = standard_print_size_new (_ ("30 × 40 cm"), &_tmp59_, &_tmp60_);
#line 834 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_array_add126 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp75_);
-#line 5904 "Printing.c"
+ _vala_array_add126 (&self->priv->standard_sizes, &self->priv->standard_sizes_length1, &self->priv->_standard_sizes_size_, _tmp61_);
+#line 5841 "Printing.c"
}
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp76_ = self->priv->standard_sizes;
+ _tmp62_ = self->priv->standard_sizes;
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp76__length1 = self->priv->standard_sizes_length1;
+ _tmp62__length1 = self->priv->standard_sizes_length1;
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp77_ = _tmp76_;
+ _tmp63_ = _tmp62_;
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp77__length1 = _tmp76__length1;
+ _tmp63__length1 = _tmp62__length1;
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
if (result_length1) {
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- *result_length1 = _tmp77__length1;
-#line 5918 "Printing.c"
+ *result_length1 = _tmp63__length1;
+#line 5855 "Printing.c"
}
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
- result = _tmp77_;
+ result = _tmp63_;
#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5924 "Printing.c"
+#line 5861 "Printing.c"
}
static gpointer _print_manager_ref0 (gpointer self) {
#line 846 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? print_manager_ref (self) : NULL;
-#line 5931 "Printing.c"
+#line 5868 "Printing.c"
}
PrintManager* print_manager_get_instance (void) {
PrintManager* result = NULL;
- PrintManager* _tmp0_ = NULL;
- PrintManager* _tmp2_ = NULL;
- PrintManager* _tmp3_ = NULL;
+ PrintManager* _tmp0_;
+ PrintManager* _tmp2_;
+ PrintManager* _tmp3_;
#line 843 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = print_manager_instance;
#line 843 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp0_ == NULL) {
-#line 5944 "Printing.c"
- PrintManager* _tmp1_ = NULL;
+#line 5881 "Printing.c"
+ PrintManager* _tmp1_;
#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_manager_new ();
#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
_print_manager_unref0 (print_manager_instance);
#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_instance = _tmp1_;
-#line 5952 "Printing.c"
+#line 5889 "Printing.c"
}
#line 846 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = print_manager_instance;
@@ -5959,21 +5896,21 @@ PrintManager* print_manager_get_instance (void) {
result = _tmp3_;
#line 846 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5962 "Printing.c"
+#line 5899 "Printing.c"
}
static void _print_manager_on_begin_print_gtk_print_operation_begin_print (GtkPrintOperation* _sender, GtkPrintContext* context, gpointer self) {
#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_begin_print ((PrintManager*) self, _sender, context);
-#line 5969 "Printing.c"
+#line 5906 "Printing.c"
}
static void _print_manager_on_draw_page_gtk_print_operation_draw_page (GtkPrintOperation* _sender, GtkPrintContext* context, gint page_nr, gpointer self) {
#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_draw_page ((PrintManager*) self, _sender, context, page_nr);
-#line 5976 "Printing.c"
+#line 5913 "Printing.c"
}
@@ -5982,40 +5919,38 @@ static GObject* _print_manager_on_create_custom_widget_gtk_print_operation_creat
result = print_manager_on_create_custom_widget ((PrintManager*) self, _sender);
#line 858 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5985 "Printing.c"
+#line 5922 "Printing.c"
}
static void _print_manager_on_status_changed_gtk_print_operation_status_changed (GtkPrintOperation* _sender, gpointer self) {
#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_status_changed ((PrintManager*) self, _sender);
-#line 5992 "Printing.c"
+#line 5929 "Printing.c"
}
void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
PrintJob* job = NULL;
- GeeCollection* _tmp0_ = NULL;
- PrintJob* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- Photo* _tmp3_ = NULL;
- Photo* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- GtkPageSetup* _tmp7_ = NULL;
- AppWindow* _tmp8_ = NULL;
- AppWindow* _tmp9_ = NULL;
- GCancellable* _tmp10_ = NULL;
- AppWindow* _tmp11_ = NULL;
- AppWindow* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- GCancellable* _tmp14_ = NULL;
- ProgressDialog* _tmp15_ = NULL;
+ GeeCollection* _tmp0_;
+ PrintJob* _tmp1_;
+ Photo* _tmp2_;
+ Photo* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ GtkPageSetup* _tmp6_;
+ AppWindow* _tmp7_;
+ AppWindow* _tmp8_;
+ GCancellable* _tmp9_;
+ AppWindow* _tmp10_;
+ AppWindow* _tmp11_;
+ GCancellable* _tmp12_;
+ ProgressDialog* _tmp13_;
gchar* err_msg = NULL;
- ProgressDialog* _tmp25_ = NULL;
- AppWindow* _tmp26_ = NULL;
- AppWindow* _tmp27_ = NULL;
- const gchar* _tmp28_ = NULL;
+ ProgressDialog* _tmp23_;
+ AppWindow* _tmp24_;
+ AppWindow* _tmp25_;
+ const gchar* _tmp26_;
GError * _inner_error_ = NULL;
#line 849 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
@@ -6028,31 +5963,29 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
job = _tmp1_;
#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp2_ = _ ("Image Settings");
-#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_custom_tab_label (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp2_);
+ gtk_print_operation_set_custom_tab_label (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _ ("Image Settings"));
#line 852 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_unit (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_UNIT_INCH);
#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), 1);
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp3_ = print_job_get_source_photo (job);
+ _tmp2_ = print_job_get_source_photo (job);
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp5_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject));
+ _tmp4_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp6_ = _tmp5_;
+ _tmp5_ = _tmp4_;
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_job_name (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp6_);
+ gtk_print_operation_set_job_name (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp5_);
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (_tmp6_);
+ _g_free0 (_tmp5_);
#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 855 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp7_ = self->priv->user_page_setup;
+ _tmp6_ = self->priv->user_page_setup;
#line 855 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp7_);
+ gtk_print_operation_set_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp6_);
#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "begin-print", (GCallback) _print_manager_on_begin_print_gtk_print_operation_begin_print, self);
#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6062,86 +5995,84 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "status-changed", (GCallback) _print_manager_on_status_changed_gtk_print_operation_status_changed, self);
#line 861 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp8_ = app_window_get_instance ();
+ _tmp7_ = app_window_get_instance ();
#line 861 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp9_ = _tmp8_;
+ _tmp8_ = _tmp7_;
#line 861 "/home/jens/Source/shotwell/src/Printing.vala"
- page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_PAGE_WINDOW, PageWindow));
+ page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PAGE_WINDOW, PageWindow));
#line 861 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp9_);
+ _g_object_unref0 (_tmp8_);
#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp10_ = g_cancellable_new ();
+ _tmp9_ = g_cancellable_new ();
#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->cancellable);
#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->cancellable = _tmp10_;
+ self->priv->cancellable = _tmp9_;
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp11_ = app_window_get_instance ();
+ _tmp10_ = app_window_get_instance ();
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp12_ = _tmp11_;
-#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp13_ = _ ("Printing…");
+ _tmp11_ = _tmp10_;
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_ = self->priv->cancellable;
+ _tmp12_ = self->priv->cancellable;
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp15_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), _tmp13_, _tmp14_);
+ _tmp13_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_window_get_type (), GtkWindow), _ ("Printing…"), _tmp12_);
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- g_object_ref_sink (_tmp15_);
+ g_object_ref_sink (_tmp13_);
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->progress_dialog);
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->progress_dialog = _tmp15_;
+ self->priv->progress_dialog = _tmp13_;
#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp12_);
+ _g_object_unref0 (_tmp11_);
#line 866 "/home/jens/Source/shotwell/src/Printing.vala"
err_msg = NULL;
-#line 6098 "Printing.c"
+#line 6029 "Printing.c"
{
GtkPrintOperationResult _result_ = 0;
- AppWindow* _tmp16_ = NULL;
- AppWindow* _tmp17_ = NULL;
- GtkPrintOperationResult _tmp18_ = 0;
- GtkPrintOperationResult _tmp19_ = 0;
+ AppWindow* _tmp14_;
+ AppWindow* _tmp15_;
+ GtkPrintOperationResult _tmp16_;
+ GtkPrintOperationResult _tmp17_;
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp16_ = app_window_get_instance ();
+ _tmp14_ = app_window_get_instance ();
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp17_ = _tmp16_;
+ _tmp15_ = _tmp14_;
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp18_ = gtk_print_operation_run (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_window_get_type (), GtkWindow), &_inner_error_);
+ _tmp16_ = gtk_print_operation_run (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_window_get_type (), GtkWindow), &_inner_error_);
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp19_ = _tmp18_;
+ _tmp17_ = _tmp16_;
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp17_);
+ _g_object_unref0 (_tmp15_);
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
- _result_ = _tmp19_;
+ _result_ = _tmp17_;
#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6119 "Printing.c"
- goto __catch468_g_error;
+#line 6050 "Printing.c"
+ goto __catch469_g_error;
}
#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
if (_result_ == GTK_PRINT_OPERATION_RESULT_APPLY) {
-#line 6124 "Printing.c"
- GtkPageSetup* _tmp20_ = NULL;
- GtkPageSetup* _tmp21_ = NULL;
+#line 6055 "Printing.c"
+ GtkPageSetup* _tmp18_;
+ GtkPageSetup* _tmp19_;
#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp20_ = gtk_print_operation_get_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
+ _tmp18_ = gtk_print_operation_get_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp21_ = _g_object_ref0 (_tmp20_);
+ _tmp19_ = _g_object_ref0 (_tmp18_);
#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->user_page_setup);
#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->user_page_setup = _tmp21_;
-#line 6135 "Printing.c"
+ self->priv->user_page_setup = _tmp19_;
+#line 6066 "Printing.c"
}
}
- goto __finally468;
- __catch468_g_error:
+ goto __finally469;
+ __catch469_g_error:
{
GError* e = NULL;
- GError* _tmp22_ = NULL;
- const gchar* _tmp23_ = NULL;
- gchar* _tmp24_ = NULL;
+ GError* _tmp20_;
+ const gchar* _tmp21_;
+ gchar* _tmp22_;
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
e = _inner_error_;
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6149,20 +6080,20 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 873 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp22_ = e;
+ _tmp20_ = e;
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp23_ = _tmp22_->message;
+ _tmp21_ = _tmp20_->message;
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp24_ = g_strdup (_tmp23_);
+ _tmp22_ = g_strdup (_tmp21_);
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (err_msg);
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
- err_msg = _tmp24_;
+ err_msg = _tmp22_;
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
_g_error_free0 (e);
-#line 6163 "Printing.c"
+#line 6094 "Printing.c"
}
- __finally468:
+ __finally469:
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6175,12 +6106,12 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
g_clear_error (&_inner_error_);
#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6178 "Printing.c"
+#line 6109 "Printing.c"
}
#line 877 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp25_ = self->priv->progress_dialog;
+ _tmp23_ = self->priv->progress_dialog;
#line 877 "/home/jens/Source/shotwell/src/Printing.vala"
- progress_dialog_close (_tmp25_);
+ progress_dialog_close (_tmp23_);
#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->progress_dialog);
#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6190,58 +6121,55 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->cancellable = NULL;
#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp26_ = app_window_get_instance ();
+ _tmp24_ = app_window_get_instance ();
#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp27_ = _tmp26_;
+ _tmp25_ = _tmp24_;
#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
- page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_PAGE_WINDOW, PageWindow));
+ page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PAGE_WINDOW, PageWindow));
#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp27_);
+ _g_object_unref0 (_tmp25_);
#line 883 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp28_ = err_msg;
+ _tmp26_ = err_msg;
#line 883 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp28_ != NULL) {
-#line 6204 "Printing.c"
- const gchar* _tmp29_ = NULL;
- const gchar* _tmp30_ = NULL;
- gchar* _tmp31_ = NULL;
- gchar* _tmp32_ = NULL;
-#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp29_ = _ ("Unable to print photo:\n\n%s");
+ if (_tmp26_ != NULL) {
+#line 6135 "Printing.c"
+ const gchar* _tmp27_;
+ gchar* _tmp28_;
+ gchar* _tmp29_;
#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp30_ = err_msg;
+ _tmp27_ = err_msg;
#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp31_ = g_strdup_printf (_tmp29_, _tmp30_);
+ _tmp28_ = g_strdup_printf (_ ("Unable to print photo:\n\n%s"), _tmp27_);
#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp32_ = _tmp31_;
+ _tmp29_ = _tmp28_;
#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- app_window_error_message (_tmp32_, NULL);
+ app_window_error_message (_tmp29_, NULL);
#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (_tmp32_);
-#line 6221 "Printing.c"
+ _g_free0 (_tmp29_);
+#line 6149 "Printing.c"
}
#line 849 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (err_msg);
#line 849 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 6227 "Printing.c"
+#line 6155 "Printing.c"
}
static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation* emitting_object, GtkPrintContext* job_context) {
PrintJob* job = NULL;
- GtkPrintOperation* _tmp0_ = NULL;
- PrintJob* _tmp1_ = NULL;
+ GtkPrintOperation* _tmp0_;
+ PrintJob* _tmp1_;
gboolean _tmp2_ = FALSE;
- GCancellable* _tmp3_ = NULL;
+ GCancellable* _tmp3_;
GeeList* photos = NULL;
- PrintJob* _tmp7_ = NULL;
- GeeList* _tmp8_ = NULL;
- PrintJob* _tmp9_ = NULL;
- PrintSettings* _tmp10_ = NULL;
- PrintSettings* _tmp11_ = NULL;
- ContentLayout _tmp12_ = 0;
- gboolean _tmp13_ = FALSE;
+ PrintJob* _tmp7_;
+ GeeList* _tmp8_;
+ PrintJob* _tmp9_;
+ PrintSettings* _tmp10_;
+ PrintSettings* _tmp11_;
+ ContentLayout _tmp12_;
+ gboolean _tmp13_;
#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6260,25 +6188,25 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_tmp3_ = self->priv->cancellable;
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ != NULL) {
-#line 6263 "Printing.c"
- GCancellable* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+#line 6191 "Printing.c"
+ GCancellable* _tmp4_;
+ gboolean _tmp5_;
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->cancellable;
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = g_cancellable_is_cancelled (_tmp4_);
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _tmp5_;
-#line 6272 "Printing.c"
+#line 6200 "Printing.c"
} else {
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = FALSE;
-#line 6276 "Printing.c"
+#line 6204 "Printing.c"
}
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_) {
-#line 6280 "Printing.c"
- PrintJob* _tmp6_ = NULL;
+#line 6208 "Printing.c"
+ PrintJob* _tmp6_;
#line 894 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = job;
#line 894 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6287,7 +6215,7 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_g_object_unref0 (job);
#line 896 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6290 "Printing.c"
+#line 6218 "Printing.c"
}
#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = job;
@@ -6309,20 +6237,20 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_print_settings_unref0 (_tmp11_);
#line 900 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp13_) {
-#line 6312 "Printing.c"
+#line 6240 "Printing.c"
PrintLayout layout = 0;
- PrintJob* _tmp14_ = NULL;
- PrintSettings* _tmp15_ = NULL;
- PrintSettings* _tmp16_ = NULL;
- gint _tmp17_ = 0;
- PrintLayout _tmp18_ = 0;
- PrintJob* _tmp19_ = NULL;
- GeeList* _tmp20_ = NULL;
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
- PrintLayout _tmp23_ = 0;
- gint _tmp24_ = 0;
- gdouble _tmp25_ = 0.0;
+ PrintJob* _tmp14_;
+ PrintSettings* _tmp15_;
+ PrintSettings* _tmp16_;
+ gint _tmp17_;
+ PrintLayout _tmp18_;
+ PrintJob* _tmp19_;
+ GeeList* _tmp20_;
+ gint _tmp21_;
+ gint _tmp22_;
+ PrintLayout _tmp23_;
+ gint _tmp24_;
+ gdouble _tmp25_;
#line 901 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = job;
#line 901 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6353,12 +6281,12 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_tmp25_ = ceil (((gdouble) _tmp22_) / ((gdouble) _tmp24_));
#line 902 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_print_operation_get_type (), GtkPrintOperation), (gint) _tmp25_);
-#line 6356 "Printing.c"
+#line 6284 "Printing.c"
} else {
- PrintJob* _tmp26_ = NULL;
- GeeList* _tmp27_ = NULL;
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
+ PrintJob* _tmp26_;
+ GeeList* _tmp27_;
+ gint _tmp28_;
+ gint _tmp29_;
#line 904 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = job;
#line 904 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6369,7 +6297,7 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_tmp29_ = _tmp28_;
#line 904 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_print_operation_get_type (), GtkPrintOperation), _tmp29_);
-#line 6372 "Printing.c"
+#line 6300 "Printing.c"
}
#line 907 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
@@ -6377,14 +6305,14 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
_g_object_unref0 (photos);
#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 6380 "Printing.c"
+#line 6308 "Printing.c"
}
static void print_manager_on_status_changed (PrintManager* self, GtkPrintOperation* job) {
- GtkPrintOperation* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- ProgressDialog* _tmp2_ = NULL;
+ GtkPrintOperation* _tmp0_;
+ const gchar* _tmp1_;
+ ProgressDialog* _tmp2_;
#line 910 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 910 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6399,10 +6327,10 @@ static void print_manager_on_status_changed (PrintManager* self, GtkPrintOperati
_tmp2_ = self->priv->progress_dialog;
#line 913 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ != NULL) {
-#line 6402 "Printing.c"
- ProgressDialog* _tmp3_ = NULL;
- GtkPrintOperation* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
+#line 6330 "Printing.c"
+ ProgressDialog* _tmp3_;
+ GtkPrintOperation* _tmp4_;
+ const gchar* _tmp5_;
#line 914 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->progress_dialog;
#line 914 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6413,7 +6341,7 @@ static void print_manager_on_status_changed (PrintManager* self, GtkPrintOperati
progress_dialog_set_status (_tmp3_, _tmp5_);
#line 915 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
-#line 6416 "Printing.c"
+#line 6344 "Printing.c"
}
}
@@ -6421,51 +6349,51 @@ static void print_manager_on_status_changed (PrintManager* self, GtkPrintOperati
static gpointer _cairo_reference0 (gpointer self) {
#line 940 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? cairo_reference (self) : NULL;
-#line 6424 "Printing.c"
+#line 6352 "Printing.c"
}
static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* emitting_object, GtkPrintContext* job_context, gint page_num) {
PrintJob* job = NULL;
- GtkPrintOperation* _tmp0_ = NULL;
- PrintJob* _tmp1_ = NULL;
+ GtkPrintOperation* _tmp0_;
+ PrintJob* _tmp1_;
gboolean _tmp2_ = FALSE;
- GCancellable* _tmp3_ = NULL;
+ GCancellable* _tmp3_;
GtkPageSetup* page_setup = NULL;
- GtkPrintContext* _tmp7_ = NULL;
- GtkPageSetup* _tmp8_ = NULL;
- GtkPageSetup* _tmp9_ = NULL;
+ GtkPrintContext* _tmp7_;
+ GtkPageSetup* _tmp8_;
+ GtkPageSetup* _tmp9_;
gdouble page_width = 0.0;
- GtkPageSetup* _tmp10_ = NULL;
- gdouble _tmp11_ = 0.0;
+ GtkPageSetup* _tmp10_;
+ gdouble _tmp11_;
gdouble page_height = 0.0;
- GtkPageSetup* _tmp12_ = NULL;
- gdouble _tmp13_ = 0.0;
+ GtkPageSetup* _tmp12_;
+ gdouble _tmp13_;
gdouble dpi = 0.0;
- PrintJob* _tmp14_ = NULL;
- PrintSettings* _tmp15_ = NULL;
- PrintSettings* _tmp16_ = NULL;
- gint _tmp17_ = 0;
- gdouble _tmp18_ = 0.0;
+ PrintJob* _tmp14_;
+ PrintSettings* _tmp15_;
+ PrintSettings* _tmp16_;
+ gint _tmp17_;
+ gdouble _tmp18_;
gdouble inv_dpi = 0.0;
- gdouble _tmp19_ = 0.0;
+ gdouble _tmp19_;
cairo_t* dc = NULL;
- GtkPrintContext* _tmp20_ = NULL;
- cairo_t* _tmp21_ = NULL;
- cairo_t* _tmp22_ = NULL;
- cairo_t* _tmp23_ = NULL;
- gdouble _tmp24_ = 0.0;
- gdouble _tmp25_ = 0.0;
+ GtkPrintContext* _tmp20_;
+ cairo_t* _tmp21_;
+ cairo_t* _tmp22_;
+ cairo_t* _tmp23_;
+ gdouble _tmp24_;
+ gdouble _tmp25_;
GeeList* photos = NULL;
- PrintJob* _tmp26_ = NULL;
- GeeList* _tmp27_ = NULL;
+ PrintJob* _tmp26_;
+ GeeList* _tmp27_;
ContentLayout content_layout = 0;
- PrintJob* _tmp28_ = NULL;
- PrintSettings* _tmp29_ = NULL;
- PrintSettings* _tmp30_ = NULL;
- ContentLayout _tmp31_ = 0;
- ContentLayout _tmp32_ = 0;
- ContentLayout _tmp33_ = 0;
+ PrintJob* _tmp28_;
+ PrintSettings* _tmp29_;
+ PrintSettings* _tmp30_;
+ ContentLayout _tmp31_;
+ ContentLayout _tmp32_;
+ ContentLayout _tmp33_;
#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6484,25 +6412,25 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp3_ = self->priv->cancellable;
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ != NULL) {
-#line 6487 "Printing.c"
- GCancellable* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+#line 6415 "Printing.c"
+ GCancellable* _tmp4_;
+ gboolean _tmp5_;
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->cancellable;
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = g_cancellable_is_cancelled (_tmp4_);
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _tmp5_;
-#line 6496 "Printing.c"
+#line 6424 "Printing.c"
} else {
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = FALSE;
-#line 6500 "Printing.c"
+#line 6428 "Printing.c"
}
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_) {
-#line 6504 "Printing.c"
- PrintJob* _tmp6_ = NULL;
+#line 6432 "Printing.c"
+ PrintJob* _tmp6_;
#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = job;
#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6511,7 +6439,7 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_g_object_unref0 (job);
#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6514 "Printing.c"
+#line 6442 "Printing.c"
}
#line 932 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
@@ -6597,39 +6525,39 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
case CONTENT_LAYOUT_STANDARD_SIZE:
#line 945 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 6600 "Printing.c"
+#line 6528 "Printing.c"
{
gdouble canvas_width = 0.0;
gdouble canvas_height = 0.0;
- ContentLayout _tmp34_ = 0;
- gint _tmp66_ = 0;
- GeeList* _tmp67_ = NULL;
- gint _tmp68_ = 0;
- gint _tmp69_ = 0;
- ProgressDialog* _tmp115_ = NULL;
+ ContentLayout _tmp34_;
+ gint _tmp66_;
+ GeeList* _tmp67_;
+ gint _tmp68_;
+ gint _tmp69_;
+ ProgressDialog* _tmp115_;
#line 949 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp34_ = content_layout;
#line 949 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp34_ == CONTENT_LAYOUT_STANDARD_SIZE) {
-#line 6614 "Printing.c"
- gint _tmp35_ = 0;
- StandardPrintSize** _tmp36_ = NULL;
- PrintJob* _tmp37_ = NULL;
- PrintSettings* _tmp38_ = NULL;
- PrintSettings* _tmp39_ = NULL;
- gint _tmp40_ = 0;
- StandardPrintSize* _tmp41_ = NULL;
+#line 6542 "Printing.c"
+ gint _tmp35_;
+ StandardPrintSize** _tmp36_;
+ PrintJob* _tmp37_;
+ PrintSettings* _tmp38_;
+ PrintSettings* _tmp39_;
+ gint _tmp40_;
+ StandardPrintSize* _tmp41_;
Measurement _tmp42_ = {0};
- gdouble _tmp43_ = 0.0;
- gint _tmp44_ = 0;
- StandardPrintSize** _tmp45_ = NULL;
- PrintJob* _tmp46_ = NULL;
- PrintSettings* _tmp47_ = NULL;
- PrintSettings* _tmp48_ = NULL;
- gint _tmp49_ = 0;
- StandardPrintSize* _tmp50_ = NULL;
+ gdouble _tmp43_;
+ gint _tmp44_;
+ StandardPrintSize** _tmp45_;
+ PrintJob* _tmp46_;
+ PrintSettings* _tmp47_;
+ PrintSettings* _tmp48_;
+ gint _tmp49_;
+ StandardPrintSize* _tmp50_;
Measurement _tmp51_ = {0};
- gdouble _tmp52_ = 0.0;
+ gdouble _tmp52_;
#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp36_ = print_manager_get_standard_sizes (self, &_tmp35_);
#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6670,21 +6598,21 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
canvas_height = _tmp52_;
#line 952 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp48_);
-#line 6673 "Printing.c"
+#line 6601 "Printing.c"
} else {
- ContentLayout _tmp53_ = 0;
- PrintJob* _tmp54_ = NULL;
- PrintSettings* _tmp55_ = NULL;
- PrintSettings* _tmp56_ = NULL;
+ ContentLayout _tmp53_;
+ PrintJob* _tmp54_;
+ PrintSettings* _tmp55_;
+ PrintSettings* _tmp56_;
Measurement _tmp57_ = {0};
Measurement _tmp58_ = {0};
- gdouble _tmp59_ = 0.0;
- PrintJob* _tmp60_ = NULL;
- PrintSettings* _tmp61_ = NULL;
- PrintSettings* _tmp62_ = NULL;
+ gdouble _tmp59_;
+ PrintJob* _tmp60_;
+ PrintSettings* _tmp61_;
+ PrintSettings* _tmp62_;
Measurement _tmp63_ = {0};
Measurement _tmp64_ = {0};
- gdouble _tmp65_ = 0.0;
+ gdouble _tmp65_;
#line 955 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp53_ = content_layout;
#line 955 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6721,7 +6649,7 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
canvas_height = _tmp65_;
#line 958 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp62_);
-#line 6724 "Printing.c"
+#line 6652 "Printing.c"
}
#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp66_ = page_num;
@@ -6733,44 +6661,44 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp69_ = _tmp68_;
#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp66_ < _tmp69_) {
-#line 6736 "Printing.c"
+#line 6664 "Printing.c"
Dimensions photo_dimensions = {0};
- GeeList* _tmp70_ = NULL;
- gint _tmp71_ = 0;
- gpointer _tmp72_ = NULL;
- Photo* _tmp73_ = NULL;
+ GeeList* _tmp70_;
+ gint _tmp71_;
+ gpointer _tmp72_;
+ Photo* _tmp73_;
Dimensions _tmp74_ = {0};
- Dimensions _tmp75_ = {0};
+ Dimensions _tmp75_;
gdouble photo_aspect_ratio = 0.0;
- gdouble _tmp76_ = 0.0;
+ gdouble _tmp76_;
gdouble canvas_aspect_ratio = 0.0;
- gdouble _tmp77_ = 0.0;
- gdouble _tmp78_ = 0.0;
- gdouble _tmp79_ = 0.0;
- gdouble _tmp80_ = 0.0;
- gdouble _tmp81_ = 0.0;
- gdouble _tmp82_ = 0.0;
+ gdouble _tmp77_;
+ gdouble _tmp78_;
+ gdouble _tmp79_;
+ gdouble _tmp80_;
+ gdouble _tmp81_;
+ gdouble _tmp82_;
gdouble dx = 0.0;
- gdouble _tmp86_ = 0.0;
- gdouble _tmp87_ = 0.0;
+ gdouble _tmp86_;
+ gdouble _tmp87_;
gdouble dy = 0.0;
- gdouble _tmp88_ = 0.0;
- gdouble _tmp89_ = 0.0;
- GeeList* _tmp90_ = NULL;
- gint _tmp91_ = 0;
- gpointer _tmp92_ = NULL;
- Photo* _tmp93_ = NULL;
- gdouble _tmp94_ = 0.0;
- gdouble _tmp95_ = 0.0;
- gdouble _tmp96_ = 0.0;
- gdouble _tmp97_ = 0.0;
- PrintJob* _tmp98_ = NULL;
- GtkPrintContext* _tmp99_ = NULL;
- PrintJob* _tmp100_ = NULL;
- PrintSettings* _tmp101_ = NULL;
- PrintSettings* _tmp102_ = NULL;
- gboolean _tmp103_ = FALSE;
- gboolean _tmp104_ = FALSE;
+ gdouble _tmp88_;
+ gdouble _tmp89_;
+ GeeList* _tmp90_;
+ gint _tmp91_;
+ gpointer _tmp92_;
+ Photo* _tmp93_;
+ gdouble _tmp94_;
+ gdouble _tmp95_;
+ gdouble _tmp96_;
+ gdouble _tmp97_;
+ PrintJob* _tmp98_;
+ GtkPrintContext* _tmp99_;
+ PrintJob* _tmp100_;
+ PrintSettings* _tmp101_;
+ PrintSettings* _tmp102_;
+ gboolean _tmp103_;
+ gboolean _tmp104_;
#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp70_ = photos;
#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6807,11 +6735,11 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp82_ = floor (_tmp81_);
#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp80_ != _tmp82_) {
-#line 6810 "Printing.c"
+#line 6738 "Printing.c"
gdouble canvas_tmp = 0.0;
- gdouble _tmp83_ = 0.0;
- gdouble _tmp84_ = 0.0;
- gdouble _tmp85_ = 0.0;
+ gdouble _tmp83_;
+ gdouble _tmp84_;
+ gdouble _tmp85_;
#line 967 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp83_ = canvas_width;
#line 967 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6824,7 +6752,7 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp85_ = canvas_tmp;
#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = _tmp85_;
-#line 6827 "Printing.c"
+#line 6755 "Printing.c"
}
#line 972 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp86_ = page_width;
@@ -6876,17 +6804,17 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_print_settings_unref0 (_tmp102_);
#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp104_) {
-#line 6879 "Printing.c"
- gdouble _tmp105_ = 0.0;
- gdouble _tmp106_ = 0.0;
- GeeList* _tmp107_ = NULL;
- gint _tmp108_ = 0;
- gpointer _tmp109_ = NULL;
- Photo* _tmp110_ = NULL;
- gchar* _tmp111_ = NULL;
- gchar* _tmp112_ = NULL;
- PrintJob* _tmp113_ = NULL;
- GtkPrintContext* _tmp114_ = NULL;
+#line 6807 "Printing.c"
+ gdouble _tmp105_;
+ gdouble _tmp106_;
+ GeeList* _tmp107_;
+ gint _tmp108_;
+ gpointer _tmp109_;
+ Photo* _tmp110_;
+ gchar* _tmp111_;
+ gchar* _tmp112_;
+ PrintJob* _tmp113_;
+ GtkPrintContext* _tmp114_;
#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp105_ = page_width;
#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6913,19 +6841,19 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_g_free0 (_tmp112_);
#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp110_);
-#line 6916 "Printing.c"
+#line 6844 "Printing.c"
}
}
#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp115_ = self->priv->progress_dialog;
#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp115_ != NULL) {
-#line 6923 "Printing.c"
- ProgressDialog* _tmp116_ = NULL;
- gint _tmp117_ = 0;
- GeeList* _tmp118_ = NULL;
- gint _tmp119_ = 0;
- gint _tmp120_ = 0;
+#line 6851 "Printing.c"
+ ProgressDialog* _tmp116_;
+ gint _tmp117_;
+ GeeList* _tmp118_;
+ gint _tmp119_;
+ gint _tmp120_;
#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp116_ = self->priv->progress_dialog;
#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -6938,40 +6866,40 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp120_ = _tmp119_;
#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
progress_dialog_monitor (_tmp116_, (guint64) _tmp117_, (guint64) _tmp120_, TRUE);
-#line 6941 "Printing.c"
+#line 6869 "Printing.c"
}
#line 984 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 6945 "Printing.c"
+#line 6873 "Printing.c"
}
#line 945 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 6949 "Printing.c"
+#line 6877 "Printing.c"
{
PrintLayout layout = 0;
- PrintJob* _tmp121_ = NULL;
- PrintSettings* _tmp122_ = NULL;
- PrintSettings* _tmp123_ = NULL;
- gint _tmp124_ = 0;
- PrintLayout _tmp125_ = 0;
+ PrintJob* _tmp121_;
+ PrintSettings* _tmp122_;
+ PrintSettings* _tmp123_;
+ gint _tmp124_;
+ PrintLayout _tmp125_;
gint nx = 0;
- PrintLayout _tmp126_ = 0;
- gint _tmp127_ = 0;
+ PrintLayout _tmp126_;
+ gint _tmp127_;
gint ny = 0;
- PrintLayout _tmp128_ = 0;
- gint _tmp129_ = 0;
+ PrintLayout _tmp128_;
+ gint _tmp129_;
gint start = 0;
- gint _tmp130_ = 0;
- PrintLayout _tmp131_ = 0;
- gint _tmp132_ = 0;
+ gint _tmp130_;
+ PrintLayout _tmp131_;
+ gint _tmp132_;
gdouble canvas_width = 0.0;
- gdouble _tmp133_ = 0.0;
- gint _tmp134_ = 0;
- gint _tmp135_ = 0;
+ gdouble _tmp133_;
+ gint _tmp134_;
+ gint _tmp135_;
gdouble canvas_height = 0.0;
- gdouble _tmp136_ = 0.0;
- gint _tmp137_ = 0;
- gint _tmp138_ = 0;
+ gdouble _tmp136_;
+ gint _tmp137_;
+ gint _tmp138_;
#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp121_ = job;
#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7022,30 +6950,30 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp138_ = ny;
#line 992 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = ((gdouble) (_tmp136_ - (PRINT_MANAGER_IMAGE_DISTANCE * (_tmp137_ - 1)))) / _tmp138_;
-#line 7025 "Printing.c"
+#line 6953 "Printing.c"
{
gint y = 0;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
y = 0;
-#line 7030 "Printing.c"
+#line 6958 "Printing.c"
{
gboolean _tmp139_ = FALSE;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp139_ = TRUE;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 7037 "Printing.c"
- gint _tmp141_ = 0;
- gint _tmp142_ = 0;
+#line 6965 "Printing.c"
+ gint _tmp141_;
+ gint _tmp142_;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp139_) {
-#line 7042 "Printing.c"
- gint _tmp140_ = 0;
+#line 6970 "Printing.c"
+ gint _tmp140_;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp140_ = y;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
y = _tmp140_ + 1;
-#line 7048 "Printing.c"
+#line 6976 "Printing.c"
}
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp139_ = FALSE;
@@ -7057,41 +6985,41 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
if (!(_tmp141_ < _tmp142_)) {
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7060 "Printing.c"
+#line 6988 "Printing.c"
}
{
gint x = 0;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
x = 0;
-#line 7066 "Printing.c"
+#line 6994 "Printing.c"
{
gboolean _tmp143_ = FALSE;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp143_ = TRUE;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 7073 "Printing.c"
- gint _tmp145_ = 0;
- gint _tmp146_ = 0;
+#line 7001 "Printing.c"
+ gint _tmp145_;
+ gint _tmp146_;
gint i = 0;
- gint _tmp147_ = 0;
- gint _tmp148_ = 0;
- gint _tmp149_ = 0;
- gint _tmp150_ = 0;
- gint _tmp151_ = 0;
- GeeList* _tmp152_ = NULL;
- gint _tmp153_ = 0;
- gint _tmp154_ = 0;
- ProgressDialog* _tmp188_ = NULL;
+ gint _tmp147_;
+ gint _tmp148_;
+ gint _tmp149_;
+ gint _tmp150_;
+ gint _tmp151_;
+ GeeList* _tmp152_;
+ gint _tmp153_;
+ gint _tmp154_;
+ ProgressDialog* _tmp188_;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp143_) {
-#line 7088 "Printing.c"
- gint _tmp144_ = 0;
+#line 7016 "Printing.c"
+ gint _tmp144_;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp144_ = x;
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
x = _tmp144_ + 1;
-#line 7094 "Printing.c"
+#line 7022 "Printing.c"
}
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp143_ = FALSE;
@@ -7103,7 +7031,7 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
if (!(_tmp145_ < _tmp146_)) {
#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7106 "Printing.c"
+#line 7034 "Printing.c"
}
#line 995 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp147_ = start;
@@ -7125,30 +7053,30 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp154_ = _tmp153_;
#line 996 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp151_ < _tmp154_) {
-#line 7128 "Printing.c"
+#line 7056 "Printing.c"
gdouble dx = 0.0;
- gint _tmp155_ = 0;
- gdouble _tmp156_ = 0.0;
- gint _tmp157_ = 0;
+ gint _tmp155_;
+ gdouble _tmp156_;
+ gint _tmp157_;
gdouble dy = 0.0;
- gint _tmp158_ = 0;
- gdouble _tmp159_ = 0.0;
- gint _tmp160_ = 0;
- GeeList* _tmp161_ = NULL;
- gint _tmp162_ = 0;
- gpointer _tmp163_ = NULL;
- Photo* _tmp164_ = NULL;
- gdouble _tmp165_ = 0.0;
- gdouble _tmp166_ = 0.0;
- gdouble _tmp167_ = 0.0;
- gdouble _tmp168_ = 0.0;
- PrintJob* _tmp169_ = NULL;
- GtkPrintContext* _tmp170_ = NULL;
- PrintJob* _tmp171_ = NULL;
- PrintSettings* _tmp172_ = NULL;
- PrintSettings* _tmp173_ = NULL;
- gboolean _tmp174_ = FALSE;
- gboolean _tmp175_ = FALSE;
+ gint _tmp158_;
+ gdouble _tmp159_;
+ gint _tmp160_;
+ GeeList* _tmp161_;
+ gint _tmp162_;
+ gpointer _tmp163_;
+ Photo* _tmp164_;
+ gdouble _tmp165_;
+ gdouble _tmp166_;
+ gdouble _tmp167_;
+ gdouble _tmp168_;
+ PrintJob* _tmp169_;
+ GtkPrintContext* _tmp170_;
+ PrintJob* _tmp171_;
+ PrintSettings* _tmp172_;
+ PrintSettings* _tmp173_;
+ gboolean _tmp174_;
+ gboolean _tmp175_;
#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp155_ = x;
#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7203,19 +7131,19 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_print_settings_unref0 (_tmp173_);
#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp175_) {
-#line 7206 "Printing.c"
- gdouble _tmp176_ = 0.0;
- gdouble _tmp177_ = 0.0;
- gdouble _tmp178_ = 0.0;
- gdouble _tmp179_ = 0.0;
- GeeList* _tmp180_ = NULL;
- gint _tmp181_ = 0;
- gpointer _tmp182_ = NULL;
- Photo* _tmp183_ = NULL;
- gchar* _tmp184_ = NULL;
- gchar* _tmp185_ = NULL;
- PrintJob* _tmp186_ = NULL;
- GtkPrintContext* _tmp187_ = NULL;
+#line 7134 "Printing.c"
+ gdouble _tmp176_;
+ gdouble _tmp177_;
+ gdouble _tmp178_;
+ gdouble _tmp179_;
+ GeeList* _tmp180_;
+ gint _tmp181_;
+ gpointer _tmp182_;
+ Photo* _tmp183_;
+ gchar* _tmp184_;
+ gchar* _tmp185_;
+ PrintJob* _tmp186_;
+ GtkPrintContext* _tmp187_;
#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp176_ = dx;
#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7246,19 +7174,19 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_g_free0 (_tmp185_);
#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp183_);
-#line 7249 "Printing.c"
+#line 7177 "Printing.c"
}
}
#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp188_ = self->priv->progress_dialog;
#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp188_ != NULL) {
-#line 7256 "Printing.c"
- ProgressDialog* _tmp189_ = NULL;
- gint _tmp190_ = 0;
- GeeList* _tmp191_ = NULL;
- gint _tmp192_ = 0;
- gint _tmp193_ = 0;
+#line 7184 "Printing.c"
+ ProgressDialog* _tmp189_;
+ gint _tmp190_;
+ GeeList* _tmp191_;
+ gint _tmp192_;
+ gint _tmp193_;
#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp189_ = self->priv->progress_dialog;
#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7271,7 +7199,7 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_tmp193_ = _tmp192_;
#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
progress_dialog_monitor (_tmp189_, (guint64) _tmp190_, (guint64) _tmp193_, TRUE);
-#line 7274 "Printing.c"
+#line 7202 "Printing.c"
}
}
}
@@ -7281,13 +7209,13 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
}
#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7284 "Printing.c"
+#line 7212 "Printing.c"
}
default:
{
#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
g_error ("Printing.vala:1014: unknown or unsupported layout mode");
-#line 7290 "Printing.c"
+#line 7218 "Printing.c"
}
}
#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7298,23 +7226,23 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
_g_object_unref0 (page_setup);
#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 7301 "Printing.c"
+#line 7229 "Printing.c"
}
static void _print_manager_on_custom_widget_apply_gtk_print_operation_custom_widget_apply (GtkPrintOperation* _sender, GtkWidget* widget, gpointer self) {
#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_custom_widget_apply ((PrintManager*) self, widget);
-#line 7308 "Printing.c"
+#line 7236 "Printing.c"
}
static GObject* print_manager_on_create_custom_widget (PrintManager* self, GtkPrintOperation* emitting_object) {
GObject* result = NULL;
- GtkPrintOperation* _tmp0_ = NULL;
- CustomPrintTab* _tmp1_ = NULL;
- GtkPrintOperation* _tmp2_ = NULL;
- CustomPrintTab* _tmp3_ = NULL;
+ GtkPrintOperation* _tmp0_;
+ CustomPrintTab* _tmp1_;
+ GtkPrintOperation* _tmp2_;
+ CustomPrintTab* _tmp3_;
#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7339,20 +7267,20 @@ static GObject* print_manager_on_create_custom_widget (PrintManager* self, GtkPr
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_OBJECT, GObject);
#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 7342 "Printing.c"
+#line 7270 "Printing.c"
}
static void print_manager_on_custom_widget_apply (PrintManager* self, GtkWidget* custom_widget) {
CustomPrintTab* tab = NULL;
- GtkWidget* _tmp0_ = NULL;
- CustomPrintTab* _tmp1_ = NULL;
- PrintJob* _tmp2_ = NULL;
- PrintJob* _tmp3_ = NULL;
- PrintSettings* _tmp4_ = NULL;
- PrintSettings* _tmp5_ = NULL;
- PrintSettings* _tmp6_ = NULL;
- PrintSettings* _tmp7_ = NULL;
+ GtkWidget* _tmp0_;
+ CustomPrintTab* _tmp1_;
+ PrintJob* _tmp2_;
+ PrintJob* _tmp3_;
+ PrintSettings* _tmp4_;
+ PrintSettings* _tmp5_;
+ PrintSettings* _tmp6_;
+ PrintSettings* _tmp7_;
#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7387,52 +7315,52 @@ static void print_manager_on_custom_widget_apply (PrintManager* self, GtkWidget*
_print_settings_unref0 (_tmp7_);
#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (tab);
-#line 7390 "Printing.c"
+#line 7318 "Printing.c"
}
static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo, gdouble x, gdouble y, gdouble canvas_width, gdouble canvas_height, gboolean crop, PrintJob* job, GtkPrintContext* job_context) {
cairo_t* dc = NULL;
- GtkPrintContext* _tmp0_ = NULL;
- cairo_t* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
+ GtkPrintContext* _tmp0_;
+ cairo_t* _tmp1_;
+ cairo_t* _tmp2_;
Dimensions photo_dimensions = {0};
- Photo* _tmp3_ = NULL;
+ Photo* _tmp3_;
Dimensions _tmp4_ = {0};
gdouble photo_aspect_ratio = 0.0;
- gdouble _tmp5_ = 0.0;
+ gdouble _tmp5_;
gdouble canvas_aspect_ratio = 0.0;
- gdouble _tmp6_ = 0.0;
- gdouble _tmp7_ = 0.0;
+ gdouble _tmp6_;
+ gdouble _tmp7_;
gdouble target_width = 0.0;
gdouble target_height = 0.0;
gdouble dpi = 0.0;
- PrintJob* _tmp8_ = NULL;
- PrintSettings* _tmp9_ = NULL;
- PrintSettings* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gdouble _tmp12_ = 0.0;
- gboolean _tmp13_ = FALSE;
+ PrintJob* _tmp8_;
+ PrintSettings* _tmp9_;
+ PrintSettings* _tmp10_;
+ gint _tmp11_;
+ gdouble _tmp12_;
+ gboolean _tmp13_;
gdouble x_offset = 0.0;
- gdouble _tmp28_ = 0.0;
- gdouble _tmp29_ = 0.0;
+ gdouble _tmp28_;
+ gdouble _tmp29_;
gdouble y_offset = 0.0;
- gdouble _tmp30_ = 0.0;
- gdouble _tmp31_ = 0.0;
- cairo_t* _tmp32_ = NULL;
- cairo_t* _tmp33_ = NULL;
- gdouble _tmp34_ = 0.0;
- gdouble _tmp35_ = 0.0;
+ gdouble _tmp30_;
+ gdouble _tmp31_;
+ cairo_t* _tmp32_;
+ cairo_t* _tmp33_;
+ gdouble _tmp34_;
+ gdouble _tmp35_;
gint w = 0;
- gdouble _tmp36_ = 0.0;
- gdouble _tmp37_ = 0.0;
+ gdouble _tmp36_;
+ gdouble _tmp37_;
gint h = 0;
- gdouble _tmp38_ = 0.0;
- gdouble _tmp39_ = 0.0;
+ gdouble _tmp38_;
+ gdouble _tmp39_;
Dimensions viewport = {0};
- gint _tmp40_ = 0;
- gint _tmp41_ = 0;
- cairo_t* _tmp96_ = NULL;
+ gint _tmp40_;
+ gint _tmp41_;
+ cairo_t* _tmp95_;
GError * _inner_error_ = NULL;
#line 1030 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
@@ -7488,25 +7416,25 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp13_ = crop;
#line 1040 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp13_) {
-#line 7491 "Printing.c"
- gdouble _tmp14_ = 0.0;
- gdouble _tmp15_ = 0.0;
- gdouble _tmp22_ = 0.0;
- gdouble _tmp23_ = 0.0;
- gdouble _tmp24_ = 0.0;
- gdouble _tmp25_ = 0.0;
- gdouble _tmp26_ = 0.0;
- gdouble _tmp27_ = 0.0;
+#line 7419 "Printing.c"
+ gdouble _tmp14_;
+ gdouble _tmp15_;
+ gdouble _tmp22_;
+ gdouble _tmp23_;
+ gdouble _tmp24_;
+ gdouble _tmp25_;
+ gdouble _tmp26_;
+ gdouble _tmp27_;
#line 1041 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = canvas_aspect_ratio;
#line 1041 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = photo_aspect_ratio;
#line 1041 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp14_ < _tmp15_) {
-#line 7506 "Printing.c"
- gdouble _tmp16_ = 0.0;
- gdouble _tmp17_ = 0.0;
- gdouble _tmp18_ = 0.0;
+#line 7434 "Printing.c"
+ gdouble _tmp16_;
+ gdouble _tmp17_;
+ gdouble _tmp18_;
#line 1042 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = canvas_width;
#line 1042 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7517,11 +7445,11 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp18_ = photo_aspect_ratio;
#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
target_height = _tmp17_ * (1.0 / _tmp18_);
-#line 7520 "Printing.c"
+#line 7448 "Printing.c"
} else {
- gdouble _tmp19_ = 0.0;
- gdouble _tmp20_ = 0.0;
- gdouble _tmp21_ = 0.0;
+ gdouble _tmp19_;
+ gdouble _tmp20_;
+ gdouble _tmp21_;
#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = canvas_height;
#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7532,7 +7460,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp21_ = photo_aspect_ratio;
#line 1046 "/home/jens/Source/shotwell/src/Printing.vala"
target_width = _tmp20_ * _tmp21_;
-#line 7535 "Printing.c"
+#line 7463 "Printing.c"
}
#line 1048 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = x;
@@ -7550,7 +7478,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp27_ = target_height;
#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
y = _tmp25_ + ((_tmp26_ - _tmp27_) / 2.0);
-#line 7553 "Printing.c"
+#line 7481 "Printing.c"
}
#line 1052 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = dpi;
@@ -7594,19 +7522,19 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp41_ = h;
#line 1059 "/home/jens/Source/shotwell/src/Printing.vala"
dimensions_init (&viewport, _tmp40_, _tmp41_);
-#line 7597 "Printing.c"
+#line 7525 "Printing.c"
{
gboolean _tmp42_ = FALSE;
- gboolean _tmp43_ = FALSE;
- cairo_t* _tmp89_ = NULL;
+ gboolean _tmp43_;
+ cairo_t* _tmp89_;
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp43_ = crop;
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp43_) {
-#line 7606 "Printing.c"
- gdouble _tmp44_ = 0.0;
- gdouble _tmp45_ = 0.0;
- gboolean _tmp46_ = FALSE;
+#line 7534 "Printing.c"
+ gdouble _tmp44_;
+ gdouble _tmp45_;
+ gboolean _tmp46_;
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp44_ = canvas_aspect_ratio;
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7615,44 +7543,44 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp46_ = print_manager_are_approximately_equal (self, _tmp44_, _tmp45_);
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = !_tmp46_;
-#line 7618 "Printing.c"
+#line 7546 "Printing.c"
} else {
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = FALSE;
-#line 7622 "Printing.c"
+#line 7550 "Printing.c"
}
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp42_) {
-#line 7626 "Printing.c"
+#line 7554 "Printing.c"
Scaling pixbuf_scaling = {0};
- Dimensions _tmp47_ = {0};
+ Dimensions _tmp47_;
Scaling _tmp48_ = {0};
GdkPixbuf* photo_pixbuf = NULL;
- Photo* _tmp49_ = NULL;
- Scaling _tmp50_ = {0};
- GdkPixbuf* _tmp51_ = NULL;
+ Photo* _tmp49_;
+ Scaling _tmp50_;
+ GdkPixbuf* _tmp51_;
Dimensions scaled_photo_dimensions = {0};
- GdkPixbuf* _tmp52_ = NULL;
+ GdkPixbuf* _tmp52_;
Dimensions _tmp53_ = {0};
gint shave_vertical = 0;
gint shave_horizontal = 0;
- gdouble _tmp54_ = 0.0;
- gdouble _tmp55_ = 0.0;
+ gdouble _tmp54_;
+ gdouble _tmp55_;
GdkPixbuf* shaved_pixbuf = NULL;
- GdkPixbuf* _tmp66_ = NULL;
- gint _tmp67_ = 0;
- gint _tmp68_ = 0;
- Dimensions _tmp69_ = {0};
- gint _tmp70_ = 0;
- gint _tmp71_ = 0;
- Dimensions _tmp72_ = {0};
- gint _tmp73_ = 0;
- gint _tmp74_ = 0;
- GdkPixbuf* _tmp75_ = NULL;
- GdkPixbuf* _tmp76_ = NULL;
- GdkPixbuf* _tmp77_ = NULL;
- cairo_t* _tmp78_ = NULL;
- GdkPixbuf* _tmp79_ = NULL;
+ GdkPixbuf* _tmp66_;
+ gint _tmp67_;
+ gint _tmp68_;
+ Dimensions _tmp69_;
+ gint _tmp70_;
+ gint _tmp71_;
+ Dimensions _tmp72_;
+ gint _tmp73_;
+ gint _tmp74_;
+ GdkPixbuf* _tmp75_;
+ GdkPixbuf* _tmp76_;
+ GdkPixbuf* _tmp77_;
+ cairo_t* _tmp78_;
+ GdkPixbuf* _tmp79_;
#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47_ = viewport;
#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7669,8 +7597,8 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
photo_pixbuf = _tmp51_;
#line 1064 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7672 "Printing.c"
- goto __catch469_g_error;
+#line 7600 "Printing.c"
+ goto __catch470_g_error;
}
#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp52_ = photo_pixbuf;
@@ -7688,12 +7616,12 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp55_ = photo_aspect_ratio;
#line 1068 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp54_ < _tmp55_) {
-#line 7691 "Printing.c"
- Dimensions _tmp56_ = {0};
- gint _tmp57_ = 0;
- Dimensions _tmp58_ = {0};
- gint _tmp59_ = 0;
- gdouble _tmp60_ = 0.0;
+#line 7619 "Printing.c"
+ Dimensions _tmp56_;
+ gint _tmp57_;
+ Dimensions _tmp58_;
+ gint _tmp59_;
+ gdouble _tmp60_;
#line 1069 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp56_ = scaled_photo_dimensions;
#line 1069 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7706,13 +7634,13 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp60_ = canvas_aspect_ratio;
#line 1069 "/home/jens/Source/shotwell/src/Printing.vala"
shave_vertical = (gint) ((_tmp57_ - (_tmp59_ * _tmp60_)) / 2.0);
-#line 7709 "Printing.c"
+#line 7637 "Printing.c"
} else {
- Dimensions _tmp61_ = {0};
- gint _tmp62_ = 0;
- Dimensions _tmp63_ = {0};
- gint _tmp64_ = 0;
- gdouble _tmp65_ = 0.0;
+ Dimensions _tmp61_;
+ gint _tmp62_;
+ Dimensions _tmp63_;
+ gint _tmp64_;
+ gdouble _tmp65_;
#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp61_ = scaled_photo_dimensions;
#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7725,7 +7653,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_tmp65_ = canvas_aspect_ratio;
#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
shave_horizontal = (gint) ((_tmp62_ - (_tmp64_ * (1.0 / _tmp65_))) / 2.0);
-#line 7728 "Printing.c"
+#line 7656 "Printing.c"
}
#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp66_ = photo_pixbuf;
@@ -7767,19 +7695,19 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_g_object_unref0 (shaved_pixbuf);
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 7770 "Printing.c"
+#line 7698 "Printing.c"
} else {
Scaling pixbuf_scaling = {0};
- Dimensions _tmp80_ = {0};
+ Dimensions _tmp80_;
Scaling _tmp81_ = {0};
GdkPixbuf* photo_pixbuf = NULL;
- Photo* _tmp82_ = NULL;
- Scaling _tmp83_ = {0};
- GdkPixbuf* _tmp84_ = NULL;
- GdkPixbuf* _tmp85_ = NULL;
- GdkPixbuf* _tmp86_ = NULL;
- cairo_t* _tmp87_ = NULL;
- GdkPixbuf* _tmp88_ = NULL;
+ Photo* _tmp82_;
+ Scaling _tmp83_;
+ GdkPixbuf* _tmp84_;
+ GdkPixbuf* _tmp85_;
+ GdkPixbuf* _tmp86_;
+ cairo_t* _tmp87_;
+ GdkPixbuf* _tmp88_;
#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp80_ = viewport;
#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7796,8 +7724,8 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
photo_pixbuf = _tmp84_;
#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7799 "Printing.c"
- goto __catch469_g_error;
+#line 7727 "Printing.c"
+ goto __catch470_g_error;
}
#line 1080 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp85_ = photo_pixbuf;
@@ -7815,24 +7743,23 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
gdk_cairo_set_source_pixbuf (_tmp87_, _tmp88_, 0.0, 0.0);
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 7818 "Printing.c"
+#line 7746 "Printing.c"
}
#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp89_ = dc;
#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
cairo_paint (_tmp89_);
-#line 7824 "Printing.c"
+#line 7752 "Printing.c"
}
- goto __finally469;
- __catch469_g_error:
+ goto __finally470;
+ __catch470_g_error:
{
GError* e = NULL;
- PrintJob* _tmp90_ = NULL;
- const gchar* _tmp91_ = NULL;
- GError* _tmp92_ = NULL;
- const gchar* _tmp93_ = NULL;
- gchar* _tmp94_ = NULL;
- gchar* _tmp95_ = NULL;
+ PrintJob* _tmp90_;
+ GError* _tmp91_;
+ const gchar* _tmp92_;
+ gchar* _tmp93_;
+ gchar* _tmp94_;
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
e = _inner_error_;
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7842,24 +7769,22 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_print_operation_get_type (), GtkPrintOperation));
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp91_ = _ ("Unable to print photo:\n\n%s");
+ _tmp91_ = e;
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp92_ = e;
+ _tmp92_ = _tmp91_->message;
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp93_ = _tmp92_->message;
+ _tmp93_ = g_strdup_printf (_ ("Unable to print photo:\n\n%s"), _tmp92_);
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp94_ = g_strdup_printf (_tmp91_, _tmp93_);
+ _tmp94_ = _tmp93_;
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp95_ = _tmp94_;
+ app_window_error_message (_tmp94_, NULL);
#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- app_window_error_message (_tmp95_, NULL);
-#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (_tmp95_);
+ _g_free0 (_tmp94_);
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
_g_error_free0 (e);
-#line 7860 "Printing.c"
+#line 7785 "Printing.c"
}
- __finally469:
+ __finally470:
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7870,58 +7795,58 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
g_clear_error (&_inner_error_);
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 7873 "Printing.c"
+#line 7798 "Printing.c"
}
#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp96_ = dc;
+ _tmp95_ = dc;
#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_restore (_tmp96_);
+ cairo_restore (_tmp95_);
#line 1030 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 7881 "Printing.c"
+#line 7806 "Printing.c"
}
static void _vala_PangoFontDescription_free (PangoFontDescription* self) {
#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
g_boxed_free (pango_font_description_get_type (), self);
-#line 7888 "Printing.c"
+#line 7813 "Printing.c"
}
static void print_manager_add_title_to_canvas (PrintManager* self, gdouble x, gdouble y, const gchar* title, PrintJob* job, GtkPrintContext* job_context) {
cairo_t* dc = NULL;
- GtkPrintContext* _tmp0_ = NULL;
- cairo_t* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
+ GtkPrintContext* _tmp0_;
+ cairo_t* _tmp1_;
+ cairo_t* _tmp2_;
gdouble dpi = 0.0;
- PrintJob* _tmp3_ = NULL;
- PrintSettings* _tmp4_ = NULL;
- PrintSettings* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gdouble _tmp7_ = 0.0;
+ PrintJob* _tmp3_;
+ PrintSettings* _tmp4_;
+ PrintSettings* _tmp5_;
+ gint _tmp6_;
+ gdouble _tmp7_;
PangoFontDescription* title_font_description = NULL;
- PrintJob* _tmp8_ = NULL;
- PrintSettings* _tmp9_ = NULL;
- PrintSettings* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- PangoFontDescription* _tmp13_ = NULL;
- PangoFontDescription* _tmp14_ = NULL;
+ PrintJob* _tmp8_;
+ PrintSettings* _tmp9_;
+ PrintSettings* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ PangoFontDescription* _tmp13_;
+ PangoFontDescription* _tmp14_;
PangoLayout* title_layout = NULL;
- PangoLayout* _tmp15_ = NULL;
+ PangoLayout* _tmp15_;
PangoContext* context = NULL;
- PangoContext* _tmp16_ = NULL;
- PangoContext* _tmp17_ = NULL;
- const gchar* _tmp18_ = NULL;
+ PangoContext* _tmp16_;
+ PangoContext* _tmp17_;
+ const gchar* _tmp18_;
gint title_width = 0;
gint title_height = 0;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gdouble tx = 0.0;
- gdouble _tmp21_ = 0.0;
+ gdouble _tmp21_;
gdouble ty = 0.0;
- gdouble _tmp22_ = 0.0;
+ gdouble _tmp22_;
#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8030,16 +7955,16 @@ static void print_manager_add_title_to_canvas (PrintManager* self, gdouble x, gd
__vala_PangoFontDescription_free0 (title_font_description);
#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 8033 "Printing.c"
+#line 7958 "Printing.c"
}
static gboolean print_manager_are_approximately_equal (PrintManager* self, gdouble val1, gdouble val2) {
gboolean result = FALSE;
gdouble accept_err = 0.0;
- gdouble _tmp0_ = 0.0;
- gdouble _tmp1_ = 0.0;
- gdouble _tmp2_ = 0.0;
+ gdouble _tmp0_;
+ gdouble _tmp1_;
+ gdouble _tmp2_;
#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_MANAGER (self), FALSE);
#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8054,14 +7979,14 @@ static gboolean print_manager_are_approximately_equal (PrintManager* self, gdoub
result = _tmp2_ <= accept_err;
#line 1121 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 8057 "Printing.c"
+#line 7982 "Printing.c"
}
PrintSettings* print_manager_get_global_settings (PrintManager* self) {
PrintSettings* result = NULL;
- PrintSettings* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
+ PrintSettings* _tmp0_;
+ PrintSettings* _tmp1_;
#line 1124 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
#line 1125 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8072,14 +7997,14 @@ PrintSettings* print_manager_get_global_settings (PrintManager* self) {
result = _tmp1_;
#line 1125 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 8075 "Printing.c"
+#line 8000 "Printing.c"
}
void print_manager_set_global_settings (PrintManager* self, PrintSettings* settings) {
- PrintSettings* _tmp0_ = NULL;
- PrintSettings* _tmp1_ = NULL;
- PrintSettings* _tmp2_ = NULL;
+ PrintSettings* _tmp0_;
+ PrintSettings* _tmp1_;
+ PrintSettings* _tmp2_;
#line 1128 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
#line 1128 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8096,14 +8021,14 @@ void print_manager_set_global_settings (PrintManager* self, PrintSettings* setti
_tmp2_ = settings;
#line 1130 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_save (_tmp2_);
-#line 8099 "Printing.c"
+#line 8024 "Printing.c"
}
static void value_print_manager_init (GValue* value) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8106 "Printing.c"
+#line 8031 "Printing.c"
}
@@ -8112,7 +8037,7 @@ static void value_print_manager_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (value->data[0].v_pointer);
-#line 8115 "Printing.c"
+#line 8040 "Printing.c"
}
}
@@ -8122,11 +8047,11 @@ static void value_print_manager_copy_value (const GValue* src_value, GValue* des
if (src_value->data[0].v_pointer) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = print_manager_ref (src_value->data[0].v_pointer);
-#line 8125 "Printing.c"
+#line 8050 "Printing.c"
} else {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 8129 "Printing.c"
+#line 8054 "Printing.c"
}
}
@@ -8134,66 +8059,66 @@ static void value_print_manager_copy_value (const GValue* src_value, GValue* des
static gpointer value_print_manager_peek_pointer (const GValue* value) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 8137 "Printing.c"
+#line 8062 "Printing.c"
}
static gchar* value_print_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (collect_values[0].v_pointer) {
-#line 8144 "Printing.c"
- PrintManager* object;
+#line 8069 "Printing.c"
+ PrintManager * object;
object = collect_values[0].v_pointer;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (object->parent_instance.g_class == NULL) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 8151 "Printing.c"
+#line 8076 "Printing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 8155 "Printing.c"
+#line 8080 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = print_manager_ref (object);
-#line 8159 "Printing.c"
+#line 8084 "Printing.c"
} else {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8163 "Printing.c"
+#line 8088 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 8167 "Printing.c"
+#line 8092 "Printing.c"
}
static gchar* value_print_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PrintManager** object_p;
+ PrintManager ** object_p;
object_p = collect_values[0].v_pointer;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (!object_p) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 8178 "Printing.c"
+#line 8103 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (!value->data[0].v_pointer) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = NULL;
-#line 8184 "Printing.c"
+#line 8109 "Printing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = value->data[0].v_pointer;
-#line 8188 "Printing.c"
+#line 8113 "Printing.c"
} else {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = print_manager_ref (value->data[0].v_pointer);
-#line 8192 "Printing.c"
+#line 8117 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 8196 "Printing.c"
+#line 8121 "Printing.c"
}
@@ -8207,7 +8132,7 @@ GParamSpec* param_spec_print_manager (const gchar* name, const gchar* nick, cons
G_PARAM_SPEC (spec)->value_type = object_type;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return G_PARAM_SPEC (spec);
-#line 8210 "Printing.c"
+#line 8135 "Printing.c"
}
@@ -8216,12 +8141,12 @@ gpointer value_get_print_manager (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER), NULL);
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 8219 "Printing.c"
+#line 8144 "Printing.c"
}
void value_set_print_manager (GValue* value, gpointer v_object) {
- PrintManager* old;
+ PrintManager * old;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER));
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8236,23 +8161,23 @@ void value_set_print_manager (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_ref (value->data[0].v_pointer);
-#line 8239 "Printing.c"
+#line 8164 "Printing.c"
} else {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8243 "Printing.c"
+#line 8168 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (old);
-#line 8249 "Printing.c"
+#line 8174 "Printing.c"
}
}
void value_take_print_manager (GValue* value, gpointer v_object) {
- PrintManager* old;
+ PrintManager * old;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER));
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -8265,17 +8190,17 @@ void value_take_print_manager (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 8268 "Printing.c"
+#line 8193 "Printing.c"
} else {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8272 "Printing.c"
+#line 8197 "Printing.c"
}
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (old);
-#line 8278 "Printing.c"
+#line 8203 "Printing.c"
}
}
@@ -8287,7 +8212,7 @@ static void print_manager_class_init (PrintManagerClass * klass) {
((PrintManagerClass *) klass)->finalize = print_manager_finalize;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_class_add_private (klass, sizeof (PrintManagerPrivate));
-#line 8290 "Printing.c"
+#line 8215 "Printing.c"
}
@@ -8306,11 +8231,11 @@ static void print_manager_instance_init (PrintManager * self) {
self->priv->_standard_sizes_size_ = self->priv->standard_sizes_length1;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
self->ref_count = 1;
-#line 8309 "Printing.c"
+#line 8234 "Printing.c"
}
-static void print_manager_finalize (PrintManager* obj) {
+static void print_manager_finalize (PrintManager * obj) {
PrintManager * self;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_MANAGER, PrintManager);
@@ -8328,7 +8253,7 @@ static void print_manager_finalize (PrintManager* obj) {
_g_object_unref0 (self->priv->cancellable);
#line 781 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->standard_sizes = (_vala_array_free (self->priv->standard_sizes, self->priv->standard_sizes_length1, (GDestroyNotify) standard_print_size_unref), NULL);
-#line 8331 "Printing.c"
+#line 8256 "Printing.c"
}
@@ -8347,18 +8272,18 @@ GType print_manager_get_type (void) {
gpointer print_manager_ref (gpointer instance) {
- PrintManager* self;
+ PrintManager * self;
self = instance;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
g_atomic_int_inc (&self->ref_count);
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
return instance;
-#line 8356 "Printing.c"
+#line 8281 "Printing.c"
}
void print_manager_unref (gpointer instance) {
- PrintManager* self;
+ PrintManager * self;
self = instance;
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -8366,7 +8291,7 @@ void print_manager_unref (gpointer instance) {
PRINT_MANAGER_GET_CLASS (self)->finalize (self);
#line 771 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 8369 "Printing.c"
+#line 8294 "Printing.c"
}
}