summaryrefslogtreecommitdiff
path: root/src/CheckerboardLayout.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
commitf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch)
treea1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/CheckerboardLayout.c
parentf8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff)
parentede50c561ec9811704821a9ea0f04c3d6c20b5af (diff)
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'src/CheckerboardLayout.c')
-rw-r--r--src/CheckerboardLayout.c5320
1 files changed, 2683 insertions, 2637 deletions
diff --git a/src/CheckerboardLayout.c b/src/CheckerboardLayout.c
index c67c8cc..ba1ba15 100644
--- a/src/CheckerboardLayout.c
+++ b/src/CheckerboardLayout.c
@@ -1,4 +1,4 @@
-/* CheckerboardLayout.c generated by valac 0.34.7, the Vala compiler
+/* CheckerboardLayout.c generated by valac 0.36.6, the Vala compiler
* generated from CheckerboardLayout.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -458,7 +458,7 @@ void checkerboard_item_text_clear_pango_layout (CheckerboardItemText* self);
GType page_window_get_type (void) G_GNUC_CONST;
GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
-static void checkerboard_item_text_finalize (CheckerboardItemText* obj);
+static void checkerboard_item_text_finalize (CheckerboardItemText * obj);
GType data_object_get_type (void) G_GNUC_CONST;
gpointer alteration_ref (gpointer instance);
void alteration_unref (gpointer instance);
@@ -485,7 +485,7 @@ GType tag_get_type (void) G_GNUC_CONST;
#define CHECKERBOARD_ITEM_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CHECKERBOARD_ITEM, CheckerboardItemPrivate))
enum {
CHECKERBOARD_ITEM_DUMMY_PROPERTY,
- CHECKERBOARD_ITEM_HAS_TAGS
+ CHECKERBOARD_ITEM_HAS_TAGS_PROPERTY
};
void dimensions_init (Dimensions *self, gint width, gint height);
#define CHECKERBOARD_ITEM_PROP_SHOW_TITLES "show-titles"
@@ -588,7 +588,7 @@ static void checkerboard_item_real_visibility_changed (DataView* base, gboolean
static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self, CheckerboardItemText* text, GtkTooltip* tooltip);
gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y, GtkTooltip* tooltip);
gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect);
-static void checkerboard_item_finalize (GObject* obj);
+static void checkerboard_item_finalize (GObject * obj);
static void _vala_checkerboard_item_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_checkerboard_item_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType checkerboard_layout_get_type (void) G_GNUC_CONST;
@@ -711,19 +711,19 @@ static gboolean checkerboard_layout_real_focus_out_event (GtkWidget* base, GdkEv
enum {
CHECKERBOARD_LAYOUT_LAYOUT_ROW_DUMMY_PROPERTY
};
-static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow* obj);
-static void checkerboard_layout_finalize (GObject* obj);
+static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow * obj);
+static void checkerboard_layout_finalize (GObject * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
CheckerboardItemText* checkerboard_item_text_construct (GType object_type, const gchar* text, PangoAlignment alignment, gboolean marked_up) {
CheckerboardItemText* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- PangoAlignment _tmp3_ = 0;
- gboolean _tmp4_ = FALSE;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ gboolean _tmp2_;
+ PangoAlignment _tmp3_;
+ gboolean _tmp4_;
#line 19 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (text != NULL, NULL);
#line 19 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -763,8 +763,8 @@ CheckerboardItemText* checkerboard_item_text_new (const gchar* text, PangoAlignm
static gboolean checkerboard_item_text_is_single_line (CheckerboardItemText* self) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
#line 28 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), FALSE);
#line 29 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -781,7 +781,7 @@ static gboolean checkerboard_item_text_is_single_line (CheckerboardItemText* sel
gboolean checkerboard_item_text_is_marked_up (CheckerboardItemText* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 32 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), FALSE);
#line 33 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -798,8 +798,8 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
#line 36 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), FALSE);
#line 36 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -811,8 +811,8 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_ == _tmp3_) {
#line 814 "CheckerboardLayout.c"
- PangoAlignment _tmp4_ = 0;
- PangoAlignment _tmp5_ = 0;
+ PangoAlignment _tmp4_;
+ PangoAlignment _tmp5_;
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = self->priv->alignment;
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -828,8 +828,8 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_) {
#line 831 "CheckerboardLayout.c"
- const gchar* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ const gchar* _tmp6_;
+ const gchar* _tmp7_;
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = self->priv->text;
#line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -852,8 +852,8 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch
gchar* checkerboard_item_text_get_text (CheckerboardItemText* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 40 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), NULL);
#line 41 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -870,8 +870,8 @@ gchar* checkerboard_item_text_get_text (CheckerboardItemText* self) {
gint checkerboard_item_text_get_height (CheckerboardItemText* self) {
gint result = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
#line 44 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), 0);
#line 45 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -901,10 +901,10 @@ static gpointer _g_object_ref0 (gpointer self) {
PangoLayout* checkerboard_item_text_get_pango_layout (CheckerboardItemText* self, gint max_width) {
PangoLayout* result = NULL;
- PangoLayout* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- PangoLayout* _tmp4_ = NULL;
- PangoLayout* _tmp5_ = NULL;
+ PangoLayout* _tmp0_;
+ gint _tmp1_;
+ PangoLayout* _tmp4_;
+ PangoLayout* _tmp5_;
#line 51 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self), NULL);
#line 52 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -920,8 +920,8 @@ PangoLayout* checkerboard_item_text_get_pango_layout (CheckerboardItemText* self
#line 55 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ > 0) {
#line 923 "CheckerboardLayout.c"
- PangoLayout* _tmp2_ = NULL;
- gint _tmp3_ = 0;
+ PangoLayout* _tmp2_;
+ gint _tmp3_;
#line 56 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->layout;
#line 56 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -955,7 +955,7 @@ void checkerboard_item_text_clear_pango_layout (CheckerboardItemText* self) {
static void checkerboard_item_text_update_height (CheckerboardItemText* self) {
gboolean _tmp0_ = FALSE;
- gint _tmp1_ = 0;
+ gint _tmp1_;
#line 65 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self));
#line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -963,7 +963,7 @@ static void checkerboard_item_text_update_height (CheckerboardItemText* self) {
#line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != 0) {
#line 966 "CheckerboardLayout.c"
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp2_;
#line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->single_line;
#line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -977,7 +977,7 @@ static void checkerboard_item_text_update_height (CheckerboardItemText* self) {
#line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 980 "CheckerboardLayout.c"
- gint _tmp3_ = 0;
+ gint _tmp3_;
#line 67 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = checkerboard_item_text_one_line_height;
#line 67 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -992,15 +992,15 @@ static void checkerboard_item_text_update_height (CheckerboardItemText* self) {
static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
- AppWindow* _tmp0_ = NULL;
- AppWindow* _tmp1_ = NULL;
- PangoLayout* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- PangoLayout* _tmp8_ = NULL;
- PangoLayout* _tmp9_ = NULL;
- PangoAlignment _tmp10_ = 0;
+ AppWindow* _tmp0_;
+ AppWindow* _tmp1_;
+ PangoLayout* _tmp2_;
+ gboolean _tmp3_;
+ PangoLayout* _tmp8_;
+ PangoLayout* _tmp9_;
+ PangoAlignment _tmp10_;
gboolean _tmp11_ = FALSE;
- gint _tmp12_ = 0;
+ gint _tmp12_;
#line 72 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM_TEXT (self));
#line 74 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1020,8 +1020,8 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 75 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp3_) {
#line 1023 "CheckerboardLayout.c"
- PangoLayout* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
+ PangoLayout* _tmp4_;
+ const gchar* _tmp5_;
#line 76 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = self->priv->layout;
#line 76 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1030,8 +1030,8 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
pango_layout_set_text (_tmp4_, _tmp5_, -1);
#line 1032 "CheckerboardLayout.c"
} else {
- PangoLayout* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ PangoLayout* _tmp6_;
+ const gchar* _tmp7_;
#line 78 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = self->priv->layout;
#line 78 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1055,7 +1055,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp12_ != 0) {
#line 1058 "CheckerboardLayout.c"
- gboolean _tmp13_ = FALSE;
+ gboolean _tmp13_;
#line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = self->priv->single_line;
#line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1069,7 +1069,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp11_) {
#line 1072 "CheckerboardLayout.c"
- gint _tmp14_ = 0;
+ gint _tmp14_;
#line 86 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = checkerboard_item_text_one_line_height;
#line 86 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1077,11 +1077,11 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 1078 "CheckerboardLayout.c"
} else {
gint width = 0;
- PangoLayout* _tmp15_ = NULL;
+ PangoLayout* _tmp15_;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
gboolean _tmp18_ = FALSE;
- gint _tmp19_ = 0;
+ gint _tmp19_;
#line 89 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = self->priv->layout;
#line 89 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1095,7 +1095,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp19_ == 0) {
#line 1098 "CheckerboardLayout.c"
- gboolean _tmp20_ = FALSE;
+ gboolean _tmp20_;
#line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = self->priv->single_line;
#line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1109,7 +1109,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) {
#line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp18_) {
#line 1112 "CheckerboardLayout.c"
- gint _tmp21_ = 0;
+ gint _tmp21_;
#line 93 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = self->priv->height;
#line 93 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1162,7 +1162,7 @@ static gchar* value_checkerboard_item_text_collect_value (GValue* value, guint n
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (collect_values[0].v_pointer) {
#line 1165 "CheckerboardLayout.c"
- CheckerboardItemText* object;
+ CheckerboardItemText * object;
object = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (object->parent_instance.g_class == NULL) {
@@ -1189,7 +1189,7 @@ static gchar* value_checkerboard_item_text_collect_value (GValue* value, guint n
static gchar* value_checkerboard_item_text_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- CheckerboardItemText** object_p;
+ CheckerboardItemText ** object_p;
object_p = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!object_p) {
@@ -1241,7 +1241,7 @@ gpointer value_get_checkerboard_item_text (const GValue* value) {
void value_set_checkerboard_item_text (GValue* value, gpointer v_object) {
- CheckerboardItemText* old;
+ CheckerboardItemText * old;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_CHECKERBOARD_ITEM_TEXT));
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1272,7 +1272,7 @@ void value_set_checkerboard_item_text (GValue* value, gpointer v_object) {
void value_take_checkerboard_item_text (GValue* value, gpointer v_object) {
- CheckerboardItemText* old;
+ CheckerboardItemText * old;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_CHECKERBOARD_ITEM_TEXT));
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1328,7 +1328,7 @@ static void checkerboard_item_text_instance_init (CheckerboardItemText * self) {
}
-static void checkerboard_item_text_finalize (CheckerboardItemText* obj) {
+static void checkerboard_item_text_finalize (CheckerboardItemText * obj) {
CheckerboardItemText * self;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_ITEM_TEXT, CheckerboardItemText);
@@ -1357,7 +1357,7 @@ GType checkerboard_item_text_get_type (void) {
gpointer checkerboard_item_text_ref (gpointer instance) {
- CheckerboardItemText* self;
+ CheckerboardItemText * self;
self = instance;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_atomic_int_inc (&self->ref_count);
@@ -1368,7 +1368,7 @@ gpointer checkerboard_item_text_ref (gpointer instance) {
void checkerboard_item_text_unref (gpointer instance) {
- CheckerboardItemText* self;
+ CheckerboardItemText * self;
self = instance;
#line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -1383,133 +1383,175 @@ void checkerboard_item_text_unref (gpointer instance) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
+ gboolean _tmp0_ = FALSE;
+ gboolean _tmp1_ = FALSE;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1407 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 1394 "CheckerboardLayout.c"
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ if ((*((gchar*) self)) == '\0') {
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp1_ = TRUE;
+#line 1400 "CheckerboardLayout.c"
+ } else {
+ const gchar* _tmp2_;
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp2_ = old;
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp1_ = (*((gchar*) _tmp2_)) == '\0';
+#line 1407 "CheckerboardLayout.c"
+ }
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ if (_tmp1_) {
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp0_ = TRUE;
+#line 1413 "CheckerboardLayout.c"
+ } else {
+ const gchar* _tmp3_;
+ const gchar* _tmp4_;
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp3_ = old;
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp4_ = replacement;
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp0_ = g_strcmp0 (_tmp3_, _tmp4_) == 0;
+#line 1423 "CheckerboardLayout.c"
+ }
+#line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ if (_tmp0_) {
+#line 1427 "CheckerboardLayout.c"
+ gchar* _tmp5_;
+#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp5_ = g_strdup (self);
+#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ result = _tmp5_;
+#line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ return result;
+#line 1435 "CheckerboardLayout.c"
+ }
{
GRegex* regex = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- GRegex* _tmp3_ = NULL;
- GRegex* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- GRegex* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ GRegex* _tmp9_;
+ GRegex* _tmp10_;
+ gchar* _tmp11_ = NULL;
+ GRegex* _tmp12_;
+ const gchar* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp6_ = old;
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp7_ = g_regex_escape_string (_tmp6_, -1);
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp8_ = _tmp7_;
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp9_ = g_regex_new (_tmp8_, 0, 0, &_inner_error_);
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp10_ = _tmp9_;
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _g_free0 (_tmp8_);
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ regex = _tmp10_;
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 1425 "CheckerboardLayout.c"
- goto __catch242_g_regex_error;
+#line 1467 "CheckerboardLayout.c"
+ goto __catch243_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return NULL;
-#line 1434 "CheckerboardLayout.c"
+#line 1476 "CheckerboardLayout.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp12_ = regex;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp13_ = replacement;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp14_ = g_regex_replace_literal (_tmp12_, self, (gssize) -1, 0, _tmp13_, 0, &_inner_error_);
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp11_ = _tmp14_;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 1450 "CheckerboardLayout.c"
- goto __catch242_g_regex_error;
+#line 1492 "CheckerboardLayout.c"
+ goto __catch243_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return NULL;
-#line 1461 "CheckerboardLayout.c"
+#line 1503 "CheckerboardLayout.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp15_ = _tmp11_;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _tmp11_ = NULL;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ result = _tmp15_;
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+ _g_free0 (_tmp11_);
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 1475 "CheckerboardLayout.c"
+#line 1517 "CheckerboardLayout.c"
}
- goto __finally242;
- __catch242_g_regex_error:
+ goto __finally243;
+ __catch243_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1415 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 1489 "CheckerboardLayout.c"
+#line 1531 "CheckerboardLayout.c"
}
- __finally242:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ __finally243:
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return NULL;
-#line 1500 "CheckerboardLayout.c"
+#line 1542 "CheckerboardLayout.c"
}
}
CheckerboardItem* checkerboard_item_construct (GType object_type, ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment) {
CheckerboardItem * self = NULL;
- ThumbnailSource* _tmp0_ = NULL;
- Dimensions _tmp1_ = {0};
- const gchar* _tmp2_ = NULL;
- PangoAlignment _tmp3_ = 0;
- gboolean _tmp4_ = FALSE;
- CheckerboardItemText* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
+ ThumbnailSource* _tmp0_;
+ Dimensions _tmp1_;
+ const gchar* _tmp2_;
+ PangoAlignment _tmp3_;
+ gboolean _tmp4_;
+ CheckerboardItemText* _tmp5_;
+ const gchar* _tmp6_;
#line 141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (source), NULL);
#line 141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1540,13 +1582,13 @@ CheckerboardItem* checkerboard_item_construct (GType object_type, ThumbnailSourc
_tmp6_ = comment;
#line 152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_ != NULL) {
-#line 1544 "CheckerboardLayout.c"
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- PangoAlignment _tmp10_ = 0;
- gboolean _tmp11_ = FALSE;
- CheckerboardItemText* _tmp12_ = NULL;
+#line 1586 "CheckerboardLayout.c"
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ PangoAlignment _tmp10_;
+ gboolean _tmp11_;
+ CheckerboardItemText* _tmp12_;
#line 153 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = comment;
#line 153 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1565,11 +1607,11 @@ CheckerboardItem* checkerboard_item_construct (GType object_type, ThumbnailSourc
self->priv->comment = _tmp12_;
#line 153 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp9_);
-#line 1569 "CheckerboardLayout.c"
+#line 1611 "CheckerboardLayout.c"
}
#line 141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return self;
-#line 1573 "CheckerboardLayout.c"
+#line 1615 "CheckerboardLayout.c"
}
@@ -1577,16 +1619,16 @@ static gchar* checkerboard_item_real_get_name (DataObject* base) {
CheckerboardItem * self;
gchar* result = NULL;
gchar* _tmp0_ = NULL;
- CheckerboardItemText* _tmp1_ = NULL;
+ CheckerboardItemText* _tmp1_;
#line 163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->title;
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1588 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+#line 1630 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ gchar* _tmp3_;
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->title;
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1595,38 +1637,38 @@ static gchar* checkerboard_item_real_get_name (DataObject* base) {
_g_free0 (_tmp0_);
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp3_;
-#line 1599 "CheckerboardLayout.c"
+#line 1641 "CheckerboardLayout.c"
} else {
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = DATA_OBJECT_CLASS (checkerboard_item_parent_class)->get_name (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_VIEW, ThumbnailView), TYPE_DATA_OBJECT, DataObject));
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp0_);
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_;
-#line 1608 "CheckerboardLayout.c"
+#line 1650 "CheckerboardLayout.c"
}
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 1614 "CheckerboardLayout.c"
+#line 1656 "CheckerboardLayout.c"
}
gchar* checkerboard_item_get_title (CheckerboardItem* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
- CheckerboardItemText* _tmp1_ = NULL;
+ CheckerboardItemText* _tmp1_;
#line 167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->title;
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1628 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+#line 1670 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ gchar* _tmp3_;
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->title;
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1635,38 +1677,38 @@ gchar* checkerboard_item_get_title (CheckerboardItem* self) {
_g_free0 (_tmp0_);
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp3_;
-#line 1639 "CheckerboardLayout.c"
+#line 1681 "CheckerboardLayout.c"
} else {
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = g_strdup ("");
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp0_);
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_;
-#line 1648 "CheckerboardLayout.c"
+#line 1690 "CheckerboardLayout.c"
}
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 1654 "CheckerboardLayout.c"
+#line 1696 "CheckerboardLayout.c"
}
gchar* checkerboard_item_get_comment (CheckerboardItem* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
- CheckerboardItemText* _tmp1_ = NULL;
+ CheckerboardItemText* _tmp1_;
#line 171 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->comment;
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1668 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+#line 1710 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ gchar* _tmp3_;
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->comment;
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1675,33 +1717,33 @@ gchar* checkerboard_item_get_comment (CheckerboardItem* self) {
_g_free0 (_tmp0_);
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp3_;
-#line 1679 "CheckerboardLayout.c"
+#line 1721 "CheckerboardLayout.c"
} else {
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = g_strdup ("");
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp0_);
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_;
-#line 1688 "CheckerboardLayout.c"
+#line 1730 "CheckerboardLayout.c"
}
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 1694 "CheckerboardLayout.c"
+#line 1736 "CheckerboardLayout.c"
}
void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment) {
gboolean _tmp0_ = FALSE;
- CheckerboardItemText* _tmp1_ = NULL;
- const gchar* _tmp7_ = NULL;
- PangoAlignment _tmp8_ = 0;
- gboolean _tmp9_ = FALSE;
- CheckerboardItemText* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ CheckerboardItemText* _tmp1_;
+ const gchar* _tmp7_;
+ PangoAlignment _tmp8_;
+ gboolean _tmp9_;
+ CheckerboardItemText* _tmp10_;
+ gboolean _tmp11_;
#line 175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1710,12 +1752,12 @@ void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gbo
_tmp1_ = self->priv->title;
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1714 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- PangoAlignment _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
+#line 1756 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ PangoAlignment _tmp5_;
+ gboolean _tmp6_;
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->title;
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1728,17 +1770,17 @@ void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gbo
_tmp6_ = checkerboard_item_text_is_set_to (_tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp6_;
-#line 1732 "CheckerboardLayout.c"
+#line 1774 "CheckerboardLayout.c"
} else {
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 1736 "CheckerboardLayout.c"
+#line 1778 "CheckerboardLayout.c"
}
#line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 178 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1742 "CheckerboardLayout.c"
+#line 1784 "CheckerboardLayout.c"
}
#line 180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = text;
@@ -1760,14 +1802,14 @@ void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gbo
checkerboard_item_recalc_size (self, "set_title");
#line 184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1764 "CheckerboardLayout.c"
+#line 1806 "CheckerboardLayout.c"
}
}
void checkerboard_item_clear_title (CheckerboardItem* self) {
- CheckerboardItemText* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ CheckerboardItemText* _tmp0_;
+ gboolean _tmp1_;
#line 188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1776,7 +1818,7 @@ void checkerboard_item_clear_title (CheckerboardItem* self) {
if (_tmp0_ == NULL) {
#line 190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1780 "CheckerboardLayout.c"
+#line 1822 "CheckerboardLayout.c"
}
#line 192 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_item_text_unref0 (self->priv->title);
@@ -1790,15 +1832,15 @@ void checkerboard_item_clear_title (CheckerboardItem* self) {
checkerboard_item_recalc_size (self, "clear_title");
#line 196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1794 "CheckerboardLayout.c"
+#line 1836 "CheckerboardLayout.c"
}
}
static void checkerboard_item_set_title_visible (CheckerboardItem* self, gboolean visible) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
#line 200 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 201 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1809,7 +1851,7 @@ static void checkerboard_item_set_title_visible (CheckerboardItem* self, gboolea
if (_tmp0_ == _tmp1_) {
#line 202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1813 "CheckerboardLayout.c"
+#line 1855 "CheckerboardLayout.c"
}
#line 204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = visible;
@@ -1819,20 +1861,20 @@ static void checkerboard_item_set_title_visible (CheckerboardItem* self, gboolea
checkerboard_item_recalc_size (self, "set_title_visible");
#line 207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1823 "CheckerboardLayout.c"
+#line 1865 "CheckerboardLayout.c"
}
void checkerboard_item_set_comment (CheckerboardItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment) {
gboolean _tmp0_ = FALSE;
- CheckerboardItemText* _tmp1_ = NULL;
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- PangoAlignment _tmp10_ = 0;
- gboolean _tmp11_ = FALSE;
- CheckerboardItemText* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+ CheckerboardItemText* _tmp1_;
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ PangoAlignment _tmp10_;
+ gboolean _tmp11_;
+ CheckerboardItemText* _tmp12_;
+ gboolean _tmp13_;
#line 210 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 210 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1841,12 +1883,12 @@ void checkerboard_item_set_comment (CheckerboardItem* self, const gchar* text, g
_tmp1_ = self->priv->comment;
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1845 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- PangoAlignment _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
+#line 1887 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ PangoAlignment _tmp5_;
+ gboolean _tmp6_;
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->comment;
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1859,17 +1901,17 @@ void checkerboard_item_set_comment (CheckerboardItem* self, const gchar* text, g
_tmp6_ = checkerboard_item_text_is_set_to (_tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp6_;
-#line 1863 "CheckerboardLayout.c"
+#line 1905 "CheckerboardLayout.c"
} else {
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 1867 "CheckerboardLayout.c"
+#line 1909 "CheckerboardLayout.c"
}
#line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 213 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1873 "CheckerboardLayout.c"
+#line 1915 "CheckerboardLayout.c"
}
#line 215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = text;
@@ -1897,14 +1939,14 @@ void checkerboard_item_set_comment (CheckerboardItem* self, const gchar* text, g
checkerboard_item_recalc_size (self, "set_comment");
#line 219 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1901 "CheckerboardLayout.c"
+#line 1943 "CheckerboardLayout.c"
}
}
void checkerboard_item_clear_comment (CheckerboardItem* self) {
- CheckerboardItemText* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ CheckerboardItemText* _tmp0_;
+ gboolean _tmp1_;
#line 223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 224 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1913,7 +1955,7 @@ void checkerboard_item_clear_comment (CheckerboardItem* self) {
if (_tmp0_ == NULL) {
#line 225 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1917 "CheckerboardLayout.c"
+#line 1959 "CheckerboardLayout.c"
}
#line 227 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_item_text_unref0 (self->priv->comment);
@@ -1927,15 +1969,15 @@ void checkerboard_item_clear_comment (CheckerboardItem* self) {
checkerboard_item_recalc_size (self, "clear_comment");
#line 231 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1931 "CheckerboardLayout.c"
+#line 1973 "CheckerboardLayout.c"
}
}
static void checkerboard_item_set_comment_visible (CheckerboardItem* self, gboolean visible) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
#line 235 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 236 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1946,7 +1988,7 @@ static void checkerboard_item_set_comment_visible (CheckerboardItem* self, gbool
if (_tmp0_ == _tmp1_) {
#line 237 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 1950 "CheckerboardLayout.c"
+#line 1992 "CheckerboardLayout.c"
}
#line 239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = visible;
@@ -1956,22 +1998,22 @@ static void checkerboard_item_set_comment_visible (CheckerboardItem* self, gbool
checkerboard_item_recalc_size (self, "set_comment_visible");
#line 242 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 1960 "CheckerboardLayout.c"
+#line 2002 "CheckerboardLayout.c"
}
void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, PangoAlignment alignment) {
gboolean _tmp0_ = FALSE;
- GeeCollection* _tmp1_ = NULL;
- PangoAlignment _tmp5_ = 0;
+ GeeCollection* _tmp1_;
+ PangoAlignment _tmp5_;
gchar* text = NULL;
- gboolean _tmp6_ = FALSE;
+ gboolean _tmp6_;
gboolean _tmp14_ = FALSE;
- CheckerboardItemText* _tmp15_ = NULL;
- const gchar* _tmp20_ = NULL;
- PangoAlignment _tmp21_ = 0;
- CheckerboardItemText* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
+ CheckerboardItemText* _tmp15_;
+ const gchar* _tmp20_;
+ PangoAlignment _tmp21_;
+ CheckerboardItemText* _tmp22_;
+ gboolean _tmp23_;
#line 245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1980,10 +2022,10 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_tmp1_ = tags;
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 1984 "CheckerboardLayout.c"
- GeeCollection* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+#line 2026 "CheckerboardLayout.c"
+ GeeCollection* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = tags;
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -1992,11 +2034,11 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_tmp4_ = _tmp3_;
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_ > 0;
-#line 1996 "CheckerboardLayout.c"
+#line 2038 "CheckerboardLayout.c"
} else {
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 2000 "CheckerboardLayout.c"
+#line 2042 "CheckerboardLayout.c"
}
#line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_set_has_tags (self, _tmp0_);
@@ -2008,13 +2050,13 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_tmp6_ = self->priv->_has_tags;
#line 250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_) {
-#line 2012 "CheckerboardLayout.c"
- GeeCollection* _tmp7_ = NULL;
- GeeCollection* _tmp8_ = NULL;
- GeeCollection* _tmp9_ = NULL;
- GeeList* _tmp10_ = NULL;
- GeeList* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+#line 2054 "CheckerboardLayout.c"
+ GeeCollection* _tmp7_;
+ GeeCollection* _tmp8_;
+ GeeCollection* _tmp9_;
+ GeeList* _tmp10_;
+ GeeList* _tmp11_;
+ gchar* _tmp12_;
#line 251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = tags;
#line 251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2039,26 +2081,26 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_g_free0 (text);
#line 253 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
text = _tmp12_;
-#line 2043 "CheckerboardLayout.c"
+#line 2085 "CheckerboardLayout.c"
} else {
- gchar* _tmp13_ = NULL;
+ gchar* _tmp13_;
#line 255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = g_strdup ("<small>.</small>");
#line 255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (text);
#line 255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
text = _tmp13_;
-#line 2052 "CheckerboardLayout.c"
+#line 2094 "CheckerboardLayout.c"
}
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = self->priv->subtitle;
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp15_ != NULL) {
-#line 2058 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- PangoAlignment _tmp18_ = 0;
- gboolean _tmp19_ = FALSE;
+#line 2100 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp16_;
+ const gchar* _tmp17_;
+ PangoAlignment _tmp18_;
+ gboolean _tmp19_;
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = self->priv->subtitle;
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2069,11 +2111,11 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_tmp19_ = checkerboard_item_text_is_set_to (_tmp16_, _tmp17_, TRUE, _tmp18_);
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _tmp19_;
-#line 2073 "CheckerboardLayout.c"
+#line 2115 "CheckerboardLayout.c"
} else {
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = FALSE;
-#line 2077 "CheckerboardLayout.c"
+#line 2119 "CheckerboardLayout.c"
}
#line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_) {
@@ -2081,7 +2123,7 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
_g_free0 (text);
#line 259 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 2085 "CheckerboardLayout.c"
+#line 2127 "CheckerboardLayout.c"
}
#line 260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = text;
@@ -2101,11 +2143,11 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa
checkerboard_item_recalc_size (self, "set_subtitle");
#line 264 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2105 "CheckerboardLayout.c"
+#line 2147 "CheckerboardLayout.c"
}
#line 245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (text);
-#line 2109 "CheckerboardLayout.c"
+#line 2151 "CheckerboardLayout.c"
}
@@ -2120,20 +2162,20 @@ void checkerboard_item_clear_tags (CheckerboardItem* self) {
_g_object_unref0 (self->priv->user_visible_tag_list);
#line 271 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->user_visible_tag_list = NULL;
-#line 2124 "CheckerboardLayout.c"
+#line 2166 "CheckerboardLayout.c"
}
void checkerboard_item_highlight_user_visible_tag (CheckerboardItem* self, gint index) {
- GeeList* _tmp0_ = NULL;
+ GeeList* _tmp0_;
gchar* text = NULL;
- GeeList* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- PangoAlignment _tmp5_ = 0;
- CheckerboardItemText* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GeeList* _tmp1_;
+ gint _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
+ PangoAlignment _tmp5_;
+ CheckerboardItemText* _tmp6_;
+ gboolean _tmp7_;
#line 274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2164,24 +2206,24 @@ void checkerboard_item_highlight_user_visible_tag (CheckerboardItem* self, gint
if (_tmp7_) {
#line 280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2168 "CheckerboardLayout.c"
+#line 2210 "CheckerboardLayout.c"
}
#line 274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (text);
-#line 2172 "CheckerboardLayout.c"
+#line 2214 "CheckerboardLayout.c"
}
Tag* checkerboard_item_get_user_visible_tag (CheckerboardItem* self, gint index) {
Tag* result = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- GeeList* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- GeeList* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gpointer _tmp7_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ GeeList* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ GeeList* _tmp5_;
+ gint _tmp6_;
+ gpointer _tmp7_;
#line 283 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 283 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2206,23 +2248,23 @@ Tag* checkerboard_item_get_user_visible_tag (CheckerboardItem* self, gint index)
result = (Tag*) _tmp7_;
#line 285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2210 "CheckerboardLayout.c"
+#line 2252 "CheckerboardLayout.c"
}
PangoLayout* checkerboard_item_get_tag_list_layout (CheckerboardItem* self) {
PangoLayout* result = NULL;
PangoLayout* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp1_;
#line 288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->_has_tags;
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_) {
-#line 2224 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- PangoLayout* _tmp3_ = NULL;
+#line 2266 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ PangoLayout* _tmp3_;
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->subtitle;
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2231,25 +2273,25 @@ PangoLayout* checkerboard_item_get_tag_list_layout (CheckerboardItem* self) {
_g_object_unref0 (_tmp0_);
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp3_;
-#line 2235 "CheckerboardLayout.c"
+#line 2277 "CheckerboardLayout.c"
} else {
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_tmp0_);
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = NULL;
-#line 2241 "CheckerboardLayout.c"
+#line 2283 "CheckerboardLayout.c"
}
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2247 "CheckerboardLayout.c"
+#line 2289 "CheckerboardLayout.c"
}
void checkerboard_item_get_subtitle_allocation (CheckerboardItem* self, GdkRectangle* result) {
- CheckerboardItemText* _tmp0_ = NULL;
- GdkRectangle _tmp1_ = {0};
+ CheckerboardItemText* _tmp0_;
+ GdkRectangle _tmp1_;
#line 292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2260,23 +2302,23 @@ void checkerboard_item_get_subtitle_allocation (CheckerboardItem* self, GdkRecta
*result = _tmp1_;
#line 293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 2264 "CheckerboardLayout.c"
+#line 2306 "CheckerboardLayout.c"
}
gchar* checkerboard_item_get_subtitle (CheckerboardItem* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
- CheckerboardItemText* _tmp1_ = NULL;
+ CheckerboardItemText* _tmp1_;
#line 296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->subtitle;
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 2278 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+#line 2320 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ gchar* _tmp3_;
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->subtitle;
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2285,33 +2327,33 @@ gchar* checkerboard_item_get_subtitle (CheckerboardItem* self) {
_g_free0 (_tmp0_);
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp3_;
-#line 2289 "CheckerboardLayout.c"
+#line 2331 "CheckerboardLayout.c"
} else {
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = g_strdup ("");
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp0_);
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_;
-#line 2298 "CheckerboardLayout.c"
+#line 2340 "CheckerboardLayout.c"
}
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2304 "CheckerboardLayout.c"
+#line 2346 "CheckerboardLayout.c"
}
void checkerboard_item_set_subtitle (CheckerboardItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment) {
gboolean _tmp0_ = FALSE;
- CheckerboardItemText* _tmp1_ = NULL;
- const gchar* _tmp7_ = NULL;
- PangoAlignment _tmp8_ = 0;
- gboolean _tmp9_ = FALSE;
- CheckerboardItemText* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ CheckerboardItemText* _tmp1_;
+ const gchar* _tmp7_;
+ PangoAlignment _tmp8_;
+ gboolean _tmp9_;
+ CheckerboardItemText* _tmp10_;
+ gboolean _tmp11_;
#line 300 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 300 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2320,12 +2362,12 @@ void checkerboard_item_set_subtitle (CheckerboardItem* self, const gchar* text,
_tmp1_ = self->priv->subtitle;
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 2324 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- PangoAlignment _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
+#line 2366 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ PangoAlignment _tmp5_;
+ gboolean _tmp6_;
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->subtitle;
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2338,17 +2380,17 @@ void checkerboard_item_set_subtitle (CheckerboardItem* self, const gchar* text,
_tmp6_ = checkerboard_item_text_is_set_to (_tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp6_;
-#line 2342 "CheckerboardLayout.c"
+#line 2384 "CheckerboardLayout.c"
} else {
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 2346 "CheckerboardLayout.c"
+#line 2388 "CheckerboardLayout.c"
}
#line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 2352 "CheckerboardLayout.c"
+#line 2394 "CheckerboardLayout.c"
}
#line 305 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = text;
@@ -2370,14 +2412,14 @@ void checkerboard_item_set_subtitle (CheckerboardItem* self, const gchar* text,
checkerboard_item_recalc_size (self, "set_subtitle");
#line 309 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2374 "CheckerboardLayout.c"
+#line 2416 "CheckerboardLayout.c"
}
}
void checkerboard_item_clear_subtitle (CheckerboardItem* self) {
- CheckerboardItemText* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ CheckerboardItemText* _tmp0_;
+ gboolean _tmp1_;
#line 313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2386,7 +2428,7 @@ void checkerboard_item_clear_subtitle (CheckerboardItem* self) {
if (_tmp0_ == NULL) {
#line 315 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 2390 "CheckerboardLayout.c"
+#line 2432 "CheckerboardLayout.c"
}
#line 317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_item_text_unref0 (self->priv->subtitle);
@@ -2400,15 +2442,15 @@ void checkerboard_item_clear_subtitle (CheckerboardItem* self) {
checkerboard_item_recalc_size (self, "clear_subtitle");
#line 321 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2404 "CheckerboardLayout.c"
+#line 2446 "CheckerboardLayout.c"
}
}
static void checkerboard_item_set_subtitle_visible (CheckerboardItem* self, gboolean visible) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
#line 325 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 326 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2419,7 +2461,7 @@ static void checkerboard_item_set_subtitle_visible (CheckerboardItem* self, gboo
if (_tmp0_ == _tmp1_) {
#line 327 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 2423 "CheckerboardLayout.c"
+#line 2465 "CheckerboardLayout.c"
}
#line 329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = visible;
@@ -2429,25 +2471,25 @@ static void checkerboard_item_set_subtitle_visible (CheckerboardItem* self, gboo
checkerboard_item_recalc_size (self, "set_subtitle_visible");
#line 332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2433 "CheckerboardLayout.c"
+#line 2475 "CheckerboardLayout.c"
}
void checkerboard_item_set_is_cursor (CheckerboardItem* self, gboolean is_cursor) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = is_cursor;
#line 336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->is_cursor = _tmp0_;
-#line 2445 "CheckerboardLayout.c"
+#line 2487 "CheckerboardLayout.c"
}
gboolean checkerboard_item_get_is_cursor (CheckerboardItem* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 339 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2456,7 +2498,7 @@ gboolean checkerboard_item_get_is_cursor (CheckerboardItem* self) {
result = _tmp0_;
#line 340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2460 "CheckerboardLayout.c"
+#line 2502 "CheckerboardLayout.c"
}
@@ -2465,7 +2507,7 @@ static void _vala_GValue_free (GValue* self) {
g_value_unset (self);
#line 344 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_free (self);
-#line 2469 "CheckerboardLayout.c"
+#line 2511 "CheckerboardLayout.c"
}
@@ -2474,25 +2516,25 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
gboolean title_visible = FALSE;
GValue* _tmp0_ = NULL;
GValue _tmp1_ = {0};
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp2_;
gboolean comment_visible = FALSE;
GValue* _tmp3_ = NULL;
GValue _tmp4_ = {0};
- gboolean _tmp5_ = FALSE;
+ gboolean _tmp5_;
gboolean subtitle_visible = FALSE;
GValue* _tmp6_ = NULL;
GValue _tmp7_ = {0};
- gboolean _tmp8_ = FALSE;
+ gboolean _tmp8_;
gboolean altered = FALSE;
- gboolean _tmp9_ = FALSE;
- gboolean _tmp10_ = FALSE;
- gboolean _tmp12_ = FALSE;
- gboolean _tmp13_ = FALSE;
- gboolean _tmp15_ = FALSE;
- gboolean _tmp16_ = FALSE;
+ gboolean _tmp9_;
+ gboolean _tmp10_;
+ gboolean _tmp12_;
+ gboolean _tmp13_;
+ gboolean _tmp15_;
+ gboolean _tmp16_;
gboolean _tmp18_ = FALSE;
- gboolean _tmp19_ = FALSE;
- DataCollection* _tmp21_ = NULL;
+ gboolean _tmp19_;
+ DataCollection* _tmp21_;
#line 343 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
#line 343 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2547,15 +2589,15 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
_tmp10_ = title_visible;
#line 349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp9_ != _tmp10_) {
-#line 2551 "CheckerboardLayout.c"
- gboolean _tmp11_ = FALSE;
+#line 2593 "CheckerboardLayout.c"
+ gboolean _tmp11_;
#line 350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = title_visible;
#line 350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->title_visible = _tmp11_;
#line 351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
altered = TRUE;
-#line 2559 "CheckerboardLayout.c"
+#line 2601 "CheckerboardLayout.c"
}
#line 354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp12_ = self->priv->comment_visible;
@@ -2563,15 +2605,15 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
_tmp13_ = comment_visible;
#line 354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp12_ != _tmp13_) {
-#line 2567 "CheckerboardLayout.c"
- gboolean _tmp14_ = FALSE;
+#line 2609 "CheckerboardLayout.c"
+ gboolean _tmp14_;
#line 355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = comment_visible;
#line 355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->comment_visible = _tmp14_;
#line 356 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
altered = TRUE;
-#line 2575 "CheckerboardLayout.c"
+#line 2617 "CheckerboardLayout.c"
}
#line 359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = self->priv->subtitle_visible;
@@ -2579,15 +2621,15 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
_tmp16_ = subtitle_visible;
#line 359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp15_ != _tmp16_) {
-#line 2583 "CheckerboardLayout.c"
- gboolean _tmp17_ = FALSE;
+#line 2625 "CheckerboardLayout.c"
+ gboolean _tmp17_;
#line 360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = subtitle_visible;
#line 360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->subtitle_visible = _tmp17_;
#line 361 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
altered = TRUE;
-#line 2591 "CheckerboardLayout.c"
+#line 2633 "CheckerboardLayout.c"
}
#line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp19_ = altered;
@@ -2595,14 +2637,14 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
if (_tmp19_) {
#line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp18_ = TRUE;
-#line 2599 "CheckerboardLayout.c"
+#line 2641 "CheckerboardLayout.c"
} else {
- gboolean _tmp20_ = FALSE;
+ gboolean _tmp20_;
#line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = dimensions_has_area (&self->requisition);
#line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp18_ = !_tmp20_;
-#line 2606 "CheckerboardLayout.c"
+#line 2648 "CheckerboardLayout.c"
}
#line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp18_) {
@@ -2610,24 +2652,24 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base,
checkerboard_item_recalc_size (self, "notify_membership_changed");
#line 366 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2614 "CheckerboardLayout.c"
+#line 2656 "CheckerboardLayout.c"
}
#line 369 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = collection;
#line 369 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
DATA_OBJECT_CLASS (checkerboard_item_parent_class)->notify_membership_changed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_VIEW, ThumbnailView), TYPE_DATA_OBJECT, DataObject), _tmp21_);
-#line 2620 "CheckerboardLayout.c"
+#line 2662 "CheckerboardLayout.c"
}
static void checkerboard_item_real_notify_collection_property_set (DataObject* base, const gchar* name, GValue* old, GValue* val) {
CheckerboardItem * self;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
GQuark _tmp3_ = 0U;
- const gchar* _tmp7_ = NULL;
- GValue* _tmp8_ = NULL;
- GValue _tmp9_ = {0};
+ const gchar* _tmp7_;
+ GValue* _tmp8_;
+ GValue _tmp9_;
#line 372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
#line 372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2644,49 +2686,49 @@ static void checkerboard_item_real_notify_collection_property_set (DataObject* b
if (_tmp3_ == g_quark_from_string (CHECKERBOARD_ITEM_PROP_SHOW_TITLES)) {
#line 373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
switch (0) {
-#line 2648 "CheckerboardLayout.c"
+#line 2690 "CheckerboardLayout.c"
default:
{
- GValue _tmp4_ = {0};
+ GValue _tmp4_;
#line 375 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = *val;
#line 375 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_set_title_visible (self, g_value_get_boolean (&_tmp4_));
#line 376 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 2658 "CheckerboardLayout.c"
+#line 2700 "CheckerboardLayout.c"
}
}
} else if (_tmp3_ == g_quark_from_string (CHECKERBOARD_ITEM_PROP_SHOW_COMMENTS)) {
#line 373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
switch (0) {
-#line 2664 "CheckerboardLayout.c"
+#line 2706 "CheckerboardLayout.c"
default:
{
- GValue _tmp5_ = {0};
+ GValue _tmp5_;
#line 379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = *val;
#line 379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_set_comment_visible (self, g_value_get_boolean (&_tmp5_));
#line 380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 2674 "CheckerboardLayout.c"
+#line 2716 "CheckerboardLayout.c"
}
}
} else if (_tmp3_ == g_quark_from_string (CHECKERBOARD_ITEM_PROP_SHOW_SUBTITLES)) {
#line 373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
switch (0) {
-#line 2680 "CheckerboardLayout.c"
+#line 2722 "CheckerboardLayout.c"
default:
{
- GValue _tmp6_ = {0};
+ GValue _tmp6_;
#line 383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = *val;
#line 383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_set_subtitle_visible (self, g_value_get_boolean (&_tmp6_));
#line 384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 2690 "CheckerboardLayout.c"
+#line 2732 "CheckerboardLayout.c"
}
}
}
@@ -2698,14 +2740,14 @@ static void checkerboard_item_real_notify_collection_property_set (DataObject* b
_tmp9_ = *val;
#line 387 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
DATA_OBJECT_CLASS (checkerboard_item_parent_class)->notify_collection_property_set (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_VIEW, ThumbnailView), TYPE_DATA_OBJECT, DataObject), _tmp7_, _tmp8_, &_tmp9_);
-#line 2702 "CheckerboardLayout.c"
+#line 2744 "CheckerboardLayout.c"
}
gint checkerboard_item_get_alignment_point (CheckerboardItem* self) {
gint result = 0;
- Dimensions _tmp0_ = {0};
- gint _tmp1_ = 0;
+ Dimensions _tmp0_;
+ gint _tmp1_;
#line 393 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), 0);
#line 394 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2716,14 +2758,14 @@ gint checkerboard_item_get_alignment_point (CheckerboardItem* self) {
result = (CHECKERBOARD_ITEM_FRAME_WIDTH + CHECKERBOARD_ITEM_BORDER_WIDTH) + _tmp1_;
#line 394 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2720 "CheckerboardLayout.c"
+#line 2762 "CheckerboardLayout.c"
}
static void checkerboard_item_real_exposed (CheckerboardItem* self) {
#line 398 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->exposure = TRUE;
-#line 2727 "CheckerboardLayout.c"
+#line 2769 "CheckerboardLayout.c"
}
@@ -2732,51 +2774,51 @@ void checkerboard_item_exposed (CheckerboardItem* self) {
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 397 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
CHECKERBOARD_ITEM_GET_CLASS (self)->exposed (self);
-#line 2736 "CheckerboardLayout.c"
+#line 2778 "CheckerboardLayout.c"
}
static void checkerboard_item_real_unexposed (CheckerboardItem* self) {
- CheckerboardItemText* _tmp0_ = NULL;
- CheckerboardItemText* _tmp2_ = NULL;
- CheckerboardItemText* _tmp4_ = NULL;
+ CheckerboardItemText* _tmp0_;
+ CheckerboardItemText* _tmp2_;
+ CheckerboardItemText* _tmp4_;
#line 402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->exposure = FALSE;
#line 404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = self->priv->title;
#line 404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_ != NULL) {
-#line 2750 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp1_ = NULL;
+#line 2792 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp1_;
#line 405 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->title;
#line 405 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_text_clear_pango_layout (_tmp1_);
-#line 2756 "CheckerboardLayout.c"
+#line 2798 "CheckerboardLayout.c"
}
#line 407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->comment;
#line 407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_ != NULL) {
-#line 2762 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp3_ = NULL;
+#line 2804 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp3_;
#line 408 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->comment;
#line 408 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_text_clear_pango_layout (_tmp3_);
-#line 2768 "CheckerboardLayout.c"
+#line 2810 "CheckerboardLayout.c"
}
#line 410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = self->priv->subtitle;
#line 410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp4_ != NULL) {
-#line 2774 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp5_ = NULL;
+#line 2816 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp5_;
#line 411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = self->priv->subtitle;
#line 411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_text_clear_pango_layout (_tmp5_);
-#line 2780 "CheckerboardLayout.c"
+#line 2822 "CheckerboardLayout.c"
}
}
@@ -2786,20 +2828,20 @@ void checkerboard_item_unexposed (CheckerboardItem* self) {
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 401 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
CHECKERBOARD_ITEM_GET_CLASS (self)->unexposed (self);
-#line 2790 "CheckerboardLayout.c"
+#line 2832 "CheckerboardLayout.c"
}
static gboolean checkerboard_item_real_is_exposed (CheckerboardItem* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = self->priv->exposure;
#line 415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2803 "CheckerboardLayout.c"
+#line 2845 "CheckerboardLayout.c"
}
@@ -2808,13 +2850,13 @@ gboolean checkerboard_item_is_exposed (CheckerboardItem* self) {
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 414 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return CHECKERBOARD_ITEM_GET_CLASS (self)->is_exposed (self);
-#line 2812 "CheckerboardLayout.c"
+#line 2854 "CheckerboardLayout.c"
}
gboolean checkerboard_item_has_image (CheckerboardItem* self) {
gboolean result = FALSE;
- GdkPixbuf* _tmp0_ = NULL;
+ GdkPixbuf* _tmp0_;
#line 418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 419 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2823,14 +2865,14 @@ gboolean checkerboard_item_has_image (CheckerboardItem* self) {
result = _tmp0_ != NULL;
#line 419 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2827 "CheckerboardLayout.c"
+#line 2869 "CheckerboardLayout.c"
}
GdkPixbuf* checkerboard_item_get_image (CheckerboardItem* self) {
GdkPixbuf* result = NULL;
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
#line 422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2841,16 +2883,16 @@ GdkPixbuf* checkerboard_item_get_image (CheckerboardItem* self) {
result = _tmp1_;
#line 423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2845 "CheckerboardLayout.c"
+#line 2887 "CheckerboardLayout.c"
}
void checkerboard_item_set_image (CheckerboardItem* self, GdkPixbuf* pixbuf) {
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
- GdkPixbuf* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
+ GdkPixbuf* _tmp2_;
+ GdkPixbuf* _tmp3_;
+ GdkPixbuf* _tmp4_;
Dimensions _tmp5_ = {0};
#line 426 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
@@ -2882,15 +2924,15 @@ void checkerboard_item_set_image (CheckerboardItem* self, GdkPixbuf* pixbuf) {
checkerboard_item_recalc_size (self, "set_image");
#line 432 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2886 "CheckerboardLayout.c"
+#line 2928 "CheckerboardLayout.c"
}
void checkerboard_item_clear_image (CheckerboardItem* self, Dimensions* dim) {
gboolean had_image = FALSE;
- GdkPixbuf* _tmp0_ = NULL;
- Dimensions _tmp1_ = {0};
- gboolean _tmp2_ = FALSE;
+ GdkPixbuf* _tmp0_;
+ Dimensions _tmp1_;
+ gboolean _tmp2_;
#line 435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2919,48 +2961,48 @@ void checkerboard_item_clear_image (CheckerboardItem* self, Dimensions* dim) {
if (_tmp2_) {
#line 445 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 2923 "CheckerboardLayout.c"
+#line 2965 "CheckerboardLayout.c"
}
}
gint checkerboard_item_get_max_width (gint scale) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = scale;
#line 451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = (CHECKERBOARD_ITEM_FRAME_WIDTH * 2) + _tmp0_;
#line 451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 2937 "CheckerboardLayout.c"
+#line 2979 "CheckerboardLayout.c"
}
static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar* reason) {
Dimensions old_requisition = {0};
- Dimensions _tmp0_ = {0};
+ Dimensions _tmp0_;
gint _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
- CheckerboardItemText* _tmp3_ = NULL;
+ CheckerboardItemText* _tmp3_;
gint title_height = 0;
gint _tmp7_ = 0;
gboolean _tmp8_ = FALSE;
- CheckerboardItemText* _tmp9_ = NULL;
+ CheckerboardItemText* _tmp9_;
gint comment_height = 0;
gint _tmp13_ = 0;
gboolean _tmp14_ = FALSE;
- CheckerboardItemText* _tmp15_ = NULL;
+ CheckerboardItemText* _tmp15_;
gint subtitle_height = 0;
- Dimensions _tmp19_ = {0};
- gint _tmp20_ = 0;
- Dimensions _tmp21_ = {0};
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- Dimensions _tmp26_ = {0};
- gboolean _tmp27_ = FALSE;
+ Dimensions _tmp19_;
+ gint _tmp20_;
+ Dimensions _tmp21_;
+ gint _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ Dimensions _tmp26_;
+ gboolean _tmp27_;
#line 454 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 454 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -2973,34 +3015,34 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar*
_tmp3_ = self->priv->title;
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp3_ != NULL) {
-#line 2977 "CheckerboardLayout.c"
- gboolean _tmp4_ = FALSE;
+#line 3019 "CheckerboardLayout.c"
+ gboolean _tmp4_;
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = self->priv->title_visible;
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = _tmp4_;
-#line 2983 "CheckerboardLayout.c"
+#line 3025 "CheckerboardLayout.c"
} else {
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = FALSE;
-#line 2987 "CheckerboardLayout.c"
+#line 3029 "CheckerboardLayout.c"
}
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_) {
-#line 2991 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp5_ = NULL;
- gint _tmp6_ = 0;
+#line 3033 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp5_;
+ gint _tmp6_;
#line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = self->priv->title;
#line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = checkerboard_item_text_get_height (_tmp5_);
#line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = _tmp6_ + CHECKERBOARD_ITEM_LABEL_PADDING;
-#line 3000 "CheckerboardLayout.c"
+#line 3042 "CheckerboardLayout.c"
} else {
#line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = 0;
-#line 3004 "CheckerboardLayout.c"
+#line 3046 "CheckerboardLayout.c"
}
#line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
title_height = _tmp1_;
@@ -3008,34 +3050,34 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar*
_tmp9_ = self->priv->comment;
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp9_ != NULL) {
-#line 3012 "CheckerboardLayout.c"
- gboolean _tmp10_ = FALSE;
+#line 3054 "CheckerboardLayout.c"
+ gboolean _tmp10_;
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = self->priv->comment_visible;
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = _tmp10_;
-#line 3018 "CheckerboardLayout.c"
+#line 3060 "CheckerboardLayout.c"
} else {
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = FALSE;
-#line 3022 "CheckerboardLayout.c"
+#line 3064 "CheckerboardLayout.c"
}
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp8_) {
-#line 3026 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp11_ = NULL;
- gint _tmp12_ = 0;
+#line 3068 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp11_;
+ gint _tmp12_;
#line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = self->priv->comment;
#line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp12_ = checkerboard_item_text_get_height (_tmp11_);
#line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = _tmp12_ + CHECKERBOARD_ITEM_LABEL_PADDING;
-#line 3035 "CheckerboardLayout.c"
+#line 3077 "CheckerboardLayout.c"
} else {
#line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = 0;
-#line 3039 "CheckerboardLayout.c"
+#line 3081 "CheckerboardLayout.c"
}
#line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
comment_height = _tmp7_;
@@ -3043,34 +3085,34 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar*
_tmp15_ = self->priv->subtitle;
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp15_ != NULL) {
-#line 3047 "CheckerboardLayout.c"
- gboolean _tmp16_ = FALSE;
+#line 3089 "CheckerboardLayout.c"
+ gboolean _tmp16_;
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = self->priv->subtitle_visible;
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _tmp16_;
-#line 3053 "CheckerboardLayout.c"
+#line 3095 "CheckerboardLayout.c"
} else {
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = FALSE;
-#line 3057 "CheckerboardLayout.c"
+#line 3099 "CheckerboardLayout.c"
}
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_) {
-#line 3061 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp17_ = NULL;
- gint _tmp18_ = 0;
+#line 3103 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp17_;
+ gint _tmp18_;
#line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = self->priv->subtitle;
#line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp18_ = checkerboard_item_text_get_height (_tmp17_);
#line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = _tmp18_ + CHECKERBOARD_ITEM_LABEL_PADDING;
-#line 3070 "CheckerboardLayout.c"
+#line 3112 "CheckerboardLayout.c"
} else {
#line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = 0;
-#line 3074 "CheckerboardLayout.c"
+#line 3116 "CheckerboardLayout.c"
}
#line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
subtitle_height = _tmp13_;
@@ -3100,19 +3142,19 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar*
if (!_tmp27_) {
#line 484 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_geometry_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 3104 "CheckerboardLayout.c"
+#line 3146 "CheckerboardLayout.c"
}
}
void checkerboard_item_get_border_dimensions (Dimensions* object_dim, gint border_width, Dimensions* result) {
Dimensions dimensions = {0};
- Dimensions _tmp0_ = {0};
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- Dimensions _tmp3_ = {0};
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ Dimensions _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ Dimensions _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
#line 488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (object_dim != NULL);
#line 489 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3137,18 +3179,18 @@ void checkerboard_item_get_border_dimensions (Dimensions* object_dim, gint borde
*result = dimensions;
#line 492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 3141 "CheckerboardLayout.c"
+#line 3183 "CheckerboardLayout.c"
}
void checkerboard_item_get_border_origin (GdkPoint* object_origin, gint border_width, GdkPoint* result) {
GdkPoint origin = {0};
- GdkPoint _tmp0_ = {0};
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- GdkPoint _tmp3_ = {0};
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ GdkPoint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ GdkPoint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
#line 495 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (object_origin != NULL);
#line 496 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3173,95 +3215,95 @@ void checkerboard_item_get_border_origin (GdkPoint* object_origin, gint border_w
*result = origin;
#line 499 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 3177 "CheckerboardLayout.c"
+#line 3219 "CheckerboardLayout.c"
}
static void checkerboard_item_real_paint_shadow (CheckerboardItem* self, cairo_t* ctx, Dimensions* dimensions, GdkPoint* origin, gint radius, gfloat initial_alpha) {
gdouble rgb_all = 0.0;
- cairo_t* _tmp0_ = NULL;
- GdkPoint _tmp1_ = {0};
- gint _tmp2_ = 0;
- Dimensions _tmp3_ = {0};
- gint _tmp4_ = 0;
- GdkPoint _tmp5_ = {0};
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gfloat _tmp9_ = 0.0F;
- cairo_t* _tmp10_ = NULL;
- GdkPoint _tmp11_ = {0};
- gint _tmp12_ = 0;
- Dimensions _tmp13_ = {0};
- gint _tmp14_ = 0;
- GdkPoint _tmp15_ = {0};
- gint _tmp16_ = 0;
- Dimensions _tmp17_ = {0};
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- gfloat _tmp20_ = 0.0F;
- cairo_t* _tmp21_ = NULL;
- GdkPoint _tmp22_ = {0};
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- GdkPoint _tmp25_ = {0};
- gint _tmp26_ = 0;
- Dimensions _tmp27_ = {0};
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- gfloat _tmp30_ = 0.0F;
+ cairo_t* _tmp0_;
+ GdkPoint _tmp1_;
+ gint _tmp2_;
+ Dimensions _tmp3_;
+ gint _tmp4_;
+ GdkPoint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ gfloat _tmp9_;
+ cairo_t* _tmp10_;
+ GdkPoint _tmp11_;
+ gint _tmp12_;
+ Dimensions _tmp13_;
+ gint _tmp14_;
+ GdkPoint _tmp15_;
+ gint _tmp16_;
+ Dimensions _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
+ gfloat _tmp20_;
+ cairo_t* _tmp21_;
+ GdkPoint _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ GdkPoint _tmp25_;
+ gint _tmp26_;
+ Dimensions _tmp27_;
+ gint _tmp28_;
+ gint _tmp29_;
+ gfloat _tmp30_;
cairo_pattern_t* lr = NULL;
- GdkPoint _tmp31_ = {0};
- gint _tmp32_ = 0;
- Dimensions _tmp33_ = {0};
- gint _tmp34_ = 0;
- GdkPoint _tmp35_ = {0};
- gint _tmp36_ = 0;
- Dimensions _tmp37_ = {0};
- gint _tmp38_ = 0;
- gint _tmp39_ = 0;
- cairo_pattern_t* _tmp40_ = NULL;
- gfloat _tmp41_ = 0.0F;
- cairo_t* _tmp42_ = NULL;
- cairo_t* _tmp43_ = NULL;
- GdkPoint _tmp44_ = {0};
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- GdkPoint _tmp47_ = {0};
- gint _tmp48_ = 0;
- Dimensions _tmp49_ = {0};
- gint _tmp50_ = 0;
- Dimensions _tmp51_ = {0};
- gint _tmp52_ = 0;
- gint _tmp53_ = 0;
- gint _tmp54_ = 0;
- cairo_t* _tmp55_ = NULL;
+ GdkPoint _tmp31_;
+ gint _tmp32_;
+ Dimensions _tmp33_;
+ gint _tmp34_;
+ GdkPoint _tmp35_;
+ gint _tmp36_;
+ Dimensions _tmp37_;
+ gint _tmp38_;
+ gint _tmp39_;
+ cairo_pattern_t* _tmp40_;
+ gfloat _tmp41_;
+ cairo_t* _tmp42_;
+ cairo_t* _tmp43_;
+ GdkPoint _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ GdkPoint _tmp47_;
+ gint _tmp48_;
+ Dimensions _tmp49_;
+ gint _tmp50_;
+ Dimensions _tmp51_;
+ gint _tmp52_;
+ gint _tmp53_;
+ gint _tmp54_;
+ cairo_t* _tmp55_;
cairo_pattern_t* td = NULL;
- GdkPoint _tmp56_ = {0};
- gint _tmp57_ = 0;
- Dimensions _tmp58_ = {0};
- gint _tmp59_ = 0;
- GdkPoint _tmp60_ = {0};
- gint _tmp61_ = 0;
- Dimensions _tmp62_ = {0};
- gint _tmp63_ = 0;
- gint _tmp64_ = 0;
- cairo_pattern_t* _tmp65_ = NULL;
- gfloat _tmp66_ = 0.0F;
- cairo_t* _tmp67_ = NULL;
- cairo_t* _tmp68_ = NULL;
- GdkPoint _tmp69_ = {0};
- gint _tmp70_ = 0;
- Dimensions _tmp71_ = {0};
- gint _tmp72_ = 0;
- GdkPoint _tmp73_ = {0};
- gint _tmp74_ = 0;
- gint _tmp75_ = 0;
- gint _tmp76_ = 0;
- Dimensions _tmp77_ = {0};
- gint _tmp78_ = 0;
- gint _tmp79_ = 0;
- cairo_t* _tmp80_ = NULL;
+ GdkPoint _tmp56_;
+ gint _tmp57_;
+ Dimensions _tmp58_;
+ gint _tmp59_;
+ GdkPoint _tmp60_;
+ gint _tmp61_;
+ Dimensions _tmp62_;
+ gint _tmp63_;
+ gint _tmp64_;
+ cairo_pattern_t* _tmp65_;
+ gfloat _tmp66_;
+ cairo_t* _tmp67_;
+ cairo_t* _tmp68_;
+ GdkPoint _tmp69_;
+ gint _tmp70_;
+ Dimensions _tmp71_;
+ gint _tmp72_;
+ GdkPoint _tmp73_;
+ gint _tmp74_;
+ gint _tmp75_;
+ gint _tmp76_;
+ Dimensions _tmp77_;
+ gint _tmp78_;
+ gint _tmp79_;
+ cairo_t* _tmp80_;
#line 502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (ctx != NULL);
#line 502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3466,7 +3508,7 @@ static void checkerboard_item_real_paint_shadow (CheckerboardItem* self, cairo_t
_cairo_pattern_destroy0 (td);
#line 502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_cairo_pattern_destroy0 (lr);
-#line 3470 "CheckerboardLayout.c"
+#line 3512 "CheckerboardLayout.c"
}
@@ -3475,37 +3517,37 @@ void checkerboard_item_paint_shadow (CheckerboardItem* self, cairo_t* ctx, Dimen
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
CHECKERBOARD_ITEM_GET_CLASS (self)->paint_shadow (self, ctx, dimensions, origin, radius, initial_alpha);
-#line 3479 "CheckerboardLayout.c"
+#line 3521 "CheckerboardLayout.c"
}
void checkerboard_item_paint_shadow_in_corner (CheckerboardItem* self, cairo_t* ctx, gint x, gint y, gdouble rgb_all, gfloat radius, gfloat initial_alpha, gdouble arc1, gdouble arc2) {
cairo_pattern_t* p = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gfloat _tmp4_ = 0.0F;
- cairo_pattern_t* _tmp5_ = NULL;
- gdouble _tmp6_ = 0.0;
- gdouble _tmp7_ = 0.0;
- gdouble _tmp8_ = 0.0;
- gfloat _tmp9_ = 0.0F;
- gdouble _tmp10_ = 0.0;
- gdouble _tmp11_ = 0.0;
- gdouble _tmp12_ = 0.0;
- cairo_t* _tmp13_ = NULL;
- cairo_t* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
- cairo_t* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- gfloat _tmp20_ = 0.0F;
- gdouble _tmp21_ = 0.0;
- gdouble _tmp22_ = 0.0;
- cairo_t* _tmp23_ = NULL;
- cairo_t* _tmp24_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gfloat _tmp4_;
+ cairo_pattern_t* _tmp5_;
+ gdouble _tmp6_;
+ gdouble _tmp7_;
+ gdouble _tmp8_;
+ gfloat _tmp9_;
+ gdouble _tmp10_;
+ gdouble _tmp11_;
+ gdouble _tmp12_;
+ cairo_t* _tmp13_;
+ cairo_t* _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
+ cairo_t* _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
+ gfloat _tmp20_;
+ gdouble _tmp21_;
+ gdouble _tmp22_;
+ cairo_t* _tmp23_;
+ cairo_t* _tmp24_;
#line 536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3578,12 +3620,12 @@ void checkerboard_item_paint_shadow_in_corner (CheckerboardItem* self, cairo_t*
cairo_fill (_tmp24_);
#line 536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_cairo_pattern_destroy0 (p);
-#line 3582 "CheckerboardLayout.c"
+#line 3624 "CheckerboardLayout.c"
}
static void checkerboard_item_real_paint_border (CheckerboardItem* self, cairo_t* ctx, Dimensions* object_dimensions, GdkPoint* object_origin, gint border_width) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (ctx != NULL);
#line 548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3594,21 +3636,21 @@ static void checkerboard_item_real_paint_border (CheckerboardItem* self, cairo_t
_tmp0_ = border_width;
#line 550 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_ == 1) {
-#line 3598 "CheckerboardLayout.c"
- cairo_t* _tmp1_ = NULL;
- GdkPoint _tmp2_ = {0};
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- GdkPoint _tmp5_ = {0};
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- Dimensions _tmp8_ = {0};
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
- Dimensions _tmp11_ = {0};
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- cairo_t* _tmp14_ = NULL;
+#line 3640 "CheckerboardLayout.c"
+ cairo_t* _tmp1_;
+ GdkPoint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ GdkPoint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ Dimensions _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
+ Dimensions _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
+ cairo_t* _tmp14_;
#line 551 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = ctx;
#line 551 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3641,26 +3683,26 @@ static void checkerboard_item_real_paint_border (CheckerboardItem* self, cairo_t
_tmp14_ = ctx;
#line 554 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp14_);
-#line 3645 "CheckerboardLayout.c"
+#line 3687 "CheckerboardLayout.c"
} else {
Dimensions dimensions = {0};
- Dimensions _tmp15_ = {0};
- gint _tmp16_ = 0;
+ Dimensions _tmp15_;
+ gint _tmp16_;
Dimensions _tmp17_ = {0};
GdkPoint origin = {0};
- GdkPoint _tmp18_ = {0};
- gint _tmp19_ = 0;
+ GdkPoint _tmp18_;
+ gint _tmp19_;
GdkPoint _tmp20_ = {0};
gdouble scale = 0.0;
- Dimensions _tmp21_ = {0};
- gint _tmp22_ = 0;
- Dimensions _tmp23_ = {0};
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- cairo_t* _tmp26_ = NULL;
- Dimensions _tmp27_ = {0};
- GdkPoint _tmp28_ = {0};
- gdouble _tmp29_ = 0.0;
+ Dimensions _tmp21_;
+ gint _tmp22_;
+ Dimensions _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ cairo_t* _tmp26_;
+ Dimensions _tmp27_;
+ GdkPoint _tmp28_;
+ gdouble _tmp29_;
#line 556 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = *object_dimensions;
#line 556 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3699,7 +3741,7 @@ static void checkerboard_item_real_paint_border (CheckerboardItem* self, cairo_t
_tmp29_ = scale;
#line 561 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
draw_rounded_corners_filled (_tmp26_, &_tmp27_, &_tmp28_, 0.25 * _tmp29_);
-#line 3703 "CheckerboardLayout.c"
+#line 3745 "CheckerboardLayout.c"
}
}
@@ -3709,20 +3751,20 @@ void checkerboard_item_paint_border (CheckerboardItem* self, cairo_t* ctx, Dimen
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
CHECKERBOARD_ITEM_GET_CLASS (self)->paint_border (self, ctx, object_dimensions, object_origin, border_width);
-#line 3713 "CheckerboardLayout.c"
+#line 3755 "CheckerboardLayout.c"
}
static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin) {
- GdkPixbuf* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- cairo_t* _tmp12_ = NULL;
- GdkPixbuf* _tmp13_ = NULL;
- GdkPoint _tmp14_ = {0};
- gint _tmp15_ = 0;
- GdkPoint _tmp16_ = {0};
- gint _tmp17_ = 0;
- cairo_t* _tmp18_ = NULL;
+ GdkPixbuf* _tmp0_;
+ gboolean _tmp1_;
+ cairo_t* _tmp12_;
+ GdkPixbuf* _tmp13_;
+ GdkPoint _tmp14_;
+ gint _tmp15_;
+ GdkPoint _tmp16_;
+ gint _tmp17_;
+ cairo_t* _tmp18_;
#line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (ctx != NULL);
#line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3735,17 +3777,17 @@ static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t*
_tmp1_ = gdk_pixbuf_get_has_alpha (_tmp0_);
#line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_) {
-#line 3739 "CheckerboardLayout.c"
- cairo_t* _tmp2_ = NULL;
- GdkPoint _tmp3_ = {0};
- gint _tmp4_ = 0;
- GdkPoint _tmp5_ = {0};
- gint _tmp6_ = 0;
- GdkPixbuf* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- GdkPixbuf* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- cairo_t* _tmp11_ = NULL;
+#line 3781 "CheckerboardLayout.c"
+ cairo_t* _tmp2_;
+ GdkPoint _tmp3_;
+ gint _tmp4_;
+ GdkPoint _tmp5_;
+ gint _tmp6_;
+ GdkPixbuf* _tmp7_;
+ gint _tmp8_;
+ GdkPixbuf* _tmp9_;
+ gint _tmp10_;
+ cairo_t* _tmp11_;
#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = ctx;
#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3770,7 +3812,7 @@ static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t*
_tmp11_ = ctx;
#line 568 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp11_);
-#line 3774 "CheckerboardLayout.c"
+#line 3816 "CheckerboardLayout.c"
}
#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp12_ = ctx;
@@ -3790,7 +3832,7 @@ static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t*
_tmp18_ = ctx;
#line 571 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_paint (_tmp18_);
-#line 3794 "CheckerboardLayout.c"
+#line 3836 "CheckerboardLayout.c"
}
@@ -3799,18 +3841,18 @@ void checkerboard_item_paint_image (CheckerboardItem* self, cairo_t* ctx, GdkPix
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
CHECKERBOARD_ITEM_GET_CLASS (self)->paint_image (self, ctx, pixbuf, origin);
-#line 3803 "CheckerboardLayout.c"
+#line 3845 "CheckerboardLayout.c"
}
static gint checkerboard_item_get_selection_border_width (CheckerboardItem* self, gint scale) {
gint result = 0;
gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
#line 574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), 0);
#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -3827,17 +3869,17 @@ static gint checkerboard_item_get_selection_border_width (CheckerboardItem* self
if (_tmp1_ <= ((_tmp3_ + _tmp5_) / 3)) {
#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = 2;
-#line 3831 "CheckerboardLayout.c"
+#line 3873 "CheckerboardLayout.c"
} else {
#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = 3;
-#line 3835 "CheckerboardLayout.c"
+#line 3877 "CheckerboardLayout.c"
}
#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_ + CHECKERBOARD_ITEM_BORDER_WIDTH;
#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 3841 "CheckerboardLayout.c"
+#line 3883 "CheckerboardLayout.c"
}
@@ -3847,7 +3889,7 @@ static GdkPixbuf* checkerboard_item_real_get_top_left_trinket (CheckerboardItem*
result = NULL;
#line 580 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 3851 "CheckerboardLayout.c"
+#line 3893 "CheckerboardLayout.c"
}
@@ -3856,7 +3898,7 @@ GdkPixbuf* checkerboard_item_get_top_left_trinket (CheckerboardItem* self, gint
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return CHECKERBOARD_ITEM_GET_CLASS (self)->get_top_left_trinket (self, scale);
-#line 3860 "CheckerboardLayout.c"
+#line 3902 "CheckerboardLayout.c"
}
@@ -3866,7 +3908,7 @@ static GdkPixbuf* checkerboard_item_real_get_top_right_trinket (CheckerboardItem
result = NULL;
#line 584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 3870 "CheckerboardLayout.c"
+#line 3912 "CheckerboardLayout.c"
}
@@ -3875,7 +3917,7 @@ GdkPixbuf* checkerboard_item_get_top_right_trinket (CheckerboardItem* self, gint
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return CHECKERBOARD_ITEM_GET_CLASS (self)->get_top_right_trinket (self, scale);
-#line 3879 "CheckerboardLayout.c"
+#line 3921 "CheckerboardLayout.c"
}
@@ -3885,7 +3927,7 @@ static GdkPixbuf* checkerboard_item_real_get_bottom_left_trinket (CheckerboardIt
result = NULL;
#line 588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 3889 "CheckerboardLayout.c"
+#line 3931 "CheckerboardLayout.c"
}
@@ -3894,7 +3936,7 @@ GdkPixbuf* checkerboard_item_get_bottom_left_trinket (CheckerboardItem* self, gi
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 587 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return CHECKERBOARD_ITEM_GET_CLASS (self)->get_bottom_left_trinket (self, scale);
-#line 3898 "CheckerboardLayout.c"
+#line 3940 "CheckerboardLayout.c"
}
@@ -3904,7 +3946,7 @@ static GdkPixbuf* checkerboard_item_real_get_bottom_right_trinket (CheckerboardI
result = NULL;
#line 592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 3908 "CheckerboardLayout.c"
+#line 3950 "CheckerboardLayout.c"
}
@@ -3913,69 +3955,69 @@ GdkPixbuf* checkerboard_item_get_bottom_right_trinket (CheckerboardItem* self, g
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL);
#line 591 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return CHECKERBOARD_ITEM_GET_CLASS (self)->get_bottom_right_trinket (self, scale);
-#line 3917 "CheckerboardLayout.c"
+#line 3959 "CheckerboardLayout.c"
}
void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_color, GdkRGBA* selected_color, GdkRGBA* text_color, GdkRGBA* border_color) {
GdkPoint pixbuf_origin = {0};
- GdkRectangle _tmp0_ = {0};
- gint _tmp1_ = 0;
- GdkRectangle _tmp2_ = {0};
- gint _tmp3_ = 0;
- cairo_t* _tmp4_ = NULL;
- cairo_t* _tmp5_ = NULL;
- GdkRGBA _tmp6_ = {0};
- gdouble _tmp7_ = 0.0;
- GdkRGBA _tmp8_ = {0};
- gdouble _tmp9_ = 0.0;
- GdkRGBA _tmp10_ = {0};
- gdouble _tmp11_ = 0.0;
- GdkRGBA _tmp12_ = {0};
- gdouble _tmp13_ = 0.0;
- GdkRGBA* _tmp14_ = NULL;
- gboolean _tmp24_ = FALSE;
- gboolean _tmp45_ = FALSE;
- GdkRGBA* _tmp57_ = NULL;
- GdkPixbuf* _tmp72_ = NULL;
- cairo_t* _tmp87_ = NULL;
- GdkRGBA _tmp88_ = {0};
- gdouble _tmp89_ = 0.0;
- GdkRGBA _tmp90_ = {0};
- gdouble _tmp91_ = 0.0;
- GdkRGBA _tmp92_ = {0};
- gdouble _tmp93_ = 0.0;
- GdkRGBA _tmp94_ = {0};
- gdouble _tmp95_ = 0.0;
+ GdkRectangle _tmp0_;
+ gint _tmp1_;
+ GdkRectangle _tmp2_;
+ gint _tmp3_;
+ cairo_t* _tmp4_;
+ cairo_t* _tmp5_;
+ GdkRGBA _tmp6_;
+ gdouble _tmp7_;
+ GdkRGBA _tmp8_;
+ gdouble _tmp9_;
+ GdkRGBA _tmp10_;
+ gdouble _tmp11_;
+ GdkRGBA _tmp12_;
+ gdouble _tmp13_;
+ GdkRGBA* _tmp14_;
+ gboolean _tmp24_;
+ gboolean _tmp45_;
+ GdkRGBA* _tmp57_;
+ GdkPixbuf* _tmp72_;
+ cairo_t* _tmp87_;
+ GdkRGBA _tmp88_;
+ gdouble _tmp89_;
+ GdkRGBA _tmp90_;
+ gdouble _tmp91_;
+ GdkRGBA _tmp92_;
+ gdouble _tmp93_;
+ GdkRGBA _tmp94_;
+ gdouble _tmp95_;
gint text_y = 0;
- GdkRectangle _tmp96_ = {0};
- gint _tmp97_ = 0;
- Dimensions _tmp98_ = {0};
- gint _tmp99_ = 0;
+ GdkRectangle _tmp96_;
+ gint _tmp97_;
+ Dimensions _tmp98_;
+ gint _tmp99_;
gboolean _tmp100_ = FALSE;
- CheckerboardItemText* _tmp101_ = NULL;
+ CheckerboardItemText* _tmp101_;
gboolean _tmp130_ = FALSE;
- CheckerboardItemText* _tmp131_ = NULL;
+ CheckerboardItemText* _tmp131_;
gboolean _tmp160_ = FALSE;
- CheckerboardItemText* _tmp161_ = NULL;
- cairo_t* _tmp187_ = NULL;
- GdkRGBA _tmp188_ = {0};
- gdouble _tmp189_ = 0.0;
- GdkRGBA _tmp190_ = {0};
- gdouble _tmp191_ = 0.0;
- GdkRGBA _tmp192_ = {0};
- gdouble _tmp193_ = 0.0;
- GdkRGBA _tmp194_ = {0};
- gdouble _tmp195_ = 0.0;
+ CheckerboardItemText* _tmp161_;
+ cairo_t* _tmp187_;
+ GdkRGBA _tmp188_;
+ gdouble _tmp189_;
+ GdkRGBA _tmp190_;
+ gdouble _tmp191_;
+ GdkRGBA _tmp192_;
+ gdouble _tmp193_;
+ GdkRGBA _tmp194_;
+ gdouble _tmp195_;
GdkPixbuf* trinket = NULL;
- GdkPixbuf* _tmp196_ = NULL;
- GdkPixbuf* _tmp197_ = NULL;
- GdkPixbuf* _tmp219_ = NULL;
- GdkPixbuf* _tmp220_ = NULL;
- GdkPixbuf* _tmp238_ = NULL;
- GdkPixbuf* _tmp239_ = NULL;
- GdkPixbuf* _tmp262_ = NULL;
- GdkPixbuf* _tmp263_ = NULL;
+ GdkPixbuf* _tmp196_;
+ GdkPixbuf* _tmp197_;
+ GdkPixbuf* _tmp219_;
+ GdkPixbuf* _tmp220_;
+ GdkPixbuf* _tmp238_;
+ GdkPixbuf* _tmp239_;
+ GdkPixbuf* _tmp262_;
+ GdkPixbuf* _tmp263_;
#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4028,17 +4070,17 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp14_ = border_color;
#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_ != NULL) {
-#line 4032 "CheckerboardLayout.c"
- cairo_t* _tmp15_ = NULL;
+#line 4074 "CheckerboardLayout.c"
+ cairo_t* _tmp15_;
Dimensions shadow_dim = {0};
- Dimensions _tmp16_ = {0};
- gint _tmp17_ = 0;
- Dimensions _tmp18_ = {0};
- gint _tmp19_ = 0;
- cairo_t* _tmp20_ = NULL;
- Dimensions _tmp21_ = {0};
- GdkPoint _tmp22_ = {0};
- cairo_t* _tmp23_ = NULL;
+ Dimensions _tmp16_;
+ gint _tmp17_;
+ Dimensions _tmp18_;
+ gint _tmp19_;
+ cairo_t* _tmp20_;
+ Dimensions _tmp21_;
+ GdkPoint _tmp22_;
+ cairo_t* _tmp23_;
#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = ctx;
#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4069,33 +4111,33 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp23_ = ctx;
#line 613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_restore (_tmp23_);
-#line 4073 "CheckerboardLayout.c"
+#line 4115 "CheckerboardLayout.c"
}
#line 617 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = self->priv->is_cursor;
#line 617 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp24_) {
-#line 4079 "CheckerboardLayout.c"
- cairo_t* _tmp25_ = NULL;
- cairo_t* _tmp26_ = NULL;
- GdkRGBA* _tmp27_ = NULL;
- gdouble _tmp28_ = 0.0;
- GdkRGBA* _tmp29_ = NULL;
- gdouble _tmp30_ = 0.0;
- GdkRGBA* _tmp31_ = NULL;
- gdouble _tmp32_ = 0.0;
- GdkRGBA* _tmp33_ = NULL;
- gdouble _tmp34_ = 0.0;
- cairo_t* _tmp35_ = NULL;
- Dimensions _tmp36_ = {0};
- GdkPoint _tmp37_ = {0};
- Dimensions _tmp38_ = {0};
- gint _tmp39_ = 0;
- Dimensions _tmp40_ = {0};
- gint _tmp41_ = 0;
- gint _tmp42_ = 0;
- gint _tmp43_ = 0;
- cairo_t* _tmp44_ = NULL;
+#line 4121 "CheckerboardLayout.c"
+ cairo_t* _tmp25_;
+ cairo_t* _tmp26_;
+ GdkRGBA* _tmp27_;
+ gdouble _tmp28_;
+ GdkRGBA* _tmp29_;
+ gdouble _tmp30_;
+ GdkRGBA* _tmp31_;
+ gdouble _tmp32_;
+ GdkRGBA* _tmp33_;
+ gdouble _tmp34_;
+ cairo_t* _tmp35_;
+ Dimensions _tmp36_;
+ GdkPoint _tmp37_;
+ Dimensions _tmp38_;
+ gint _tmp39_;
+ Dimensions _tmp40_;
+ gint _tmp41_;
+ gint _tmp42_;
+ gint _tmp43_;
+ cairo_t* _tmp44_;
#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp25_ = ctx;
#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4144,24 +4186,24 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp44_ = ctx;
#line 623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_restore (_tmp44_);
-#line 4148 "CheckerboardLayout.c"
+#line 4190 "CheckerboardLayout.c"
}
#line 627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp45_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
#line 627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp45_) {
-#line 4154 "CheckerboardLayout.c"
- cairo_t* _tmp46_ = NULL;
- cairo_t* _tmp47_ = NULL;
- Dimensions _tmp48_ = {0};
- GdkPoint _tmp49_ = {0};
- Dimensions _tmp50_ = {0};
- gint _tmp51_ = 0;
- Dimensions _tmp52_ = {0};
- gint _tmp53_ = 0;
- gint _tmp54_ = 0;
- gint _tmp55_ = 0;
- cairo_t* _tmp56_ = NULL;
+#line 4196 "CheckerboardLayout.c"
+ cairo_t* _tmp46_;
+ cairo_t* _tmp47_;
+ Dimensions _tmp48_;
+ GdkPoint _tmp49_;
+ Dimensions _tmp50_;
+ gint _tmp51_;
+ Dimensions _tmp52_;
+ gint _tmp53_;
+ gint _tmp54_;
+ gint _tmp55_;
+ cairo_t* _tmp56_;
#line 629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp46_ = ctx;
#line 629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4190,27 +4232,27 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp56_ = ctx;
#line 632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_restore (_tmp56_);
-#line 4194 "CheckerboardLayout.c"
+#line 4236 "CheckerboardLayout.c"
}
#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp57_ = border_color;
#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp57_ != NULL) {
-#line 4200 "CheckerboardLayout.c"
- cairo_t* _tmp58_ = NULL;
- cairo_t* _tmp59_ = NULL;
- GdkRGBA* _tmp60_ = NULL;
- gdouble _tmp61_ = 0.0;
- GdkRGBA* _tmp62_ = NULL;
- gdouble _tmp63_ = 0.0;
- GdkRGBA* _tmp64_ = NULL;
- gdouble _tmp65_ = 0.0;
- GdkRGBA* _tmp66_ = NULL;
- gdouble _tmp67_ = 0.0;
- cairo_t* _tmp68_ = NULL;
- Dimensions _tmp69_ = {0};
- GdkPoint _tmp70_ = {0};
- cairo_t* _tmp71_ = NULL;
+#line 4242 "CheckerboardLayout.c"
+ cairo_t* _tmp58_;
+ cairo_t* _tmp59_;
+ GdkRGBA* _tmp60_;
+ gdouble _tmp61_;
+ GdkRGBA* _tmp62_;
+ gdouble _tmp63_;
+ GdkRGBA* _tmp64_;
+ gdouble _tmp65_;
+ GdkRGBA* _tmp66_;
+ gdouble _tmp67_;
+ cairo_t* _tmp68_;
+ Dimensions _tmp69_;
+ GdkPoint _tmp70_;
+ cairo_t* _tmp71_;
#line 637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp58_ = ctx;
#line 637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4247,27 +4289,27 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp71_ = ctx;
#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_restore (_tmp71_);
-#line 4251 "CheckerboardLayout.c"
+#line 4293 "CheckerboardLayout.c"
}
#line 644 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp72_ = self->priv->display_pixbuf;
#line 644 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp72_ != NULL) {
-#line 4257 "CheckerboardLayout.c"
- cairo_t* _tmp73_ = NULL;
- cairo_t* _tmp74_ = NULL;
- GdkRGBA _tmp75_ = {0};
- gdouble _tmp76_ = 0.0;
- GdkRGBA _tmp77_ = {0};
- gdouble _tmp78_ = 0.0;
- GdkRGBA _tmp79_ = {0};
- gdouble _tmp80_ = 0.0;
- GdkRGBA _tmp81_ = {0};
- gdouble _tmp82_ = 0.0;
- cairo_t* _tmp83_ = NULL;
- GdkPixbuf* _tmp84_ = NULL;
- GdkPoint _tmp85_ = {0};
- cairo_t* _tmp86_ = NULL;
+#line 4299 "CheckerboardLayout.c"
+ cairo_t* _tmp73_;
+ cairo_t* _tmp74_;
+ GdkRGBA _tmp75_;
+ gdouble _tmp76_;
+ GdkRGBA _tmp77_;
+ gdouble _tmp78_;
+ GdkRGBA _tmp79_;
+ gdouble _tmp80_;
+ GdkRGBA _tmp81_;
+ gdouble _tmp82_;
+ cairo_t* _tmp83_;
+ GdkPixbuf* _tmp84_;
+ GdkPoint _tmp85_;
+ cairo_t* _tmp86_;
#line 645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp73_ = ctx;
#line 645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4304,7 +4346,7 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp86_ = ctx;
#line 648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_restore (_tmp86_);
-#line 4308 "CheckerboardLayout.c"
+#line 4350 "CheckerboardLayout.c"
}
#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp87_ = ctx;
@@ -4340,48 +4382,48 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp101_ = self->priv->title;
#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp101_ != NULL) {
-#line 4344 "CheckerboardLayout.c"
- gboolean _tmp102_ = FALSE;
+#line 4386 "CheckerboardLayout.c"
+ gboolean _tmp102_;
#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp102_ = self->priv->title_visible;
#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp100_ = _tmp102_;
-#line 4350 "CheckerboardLayout.c"
+#line 4392 "CheckerboardLayout.c"
} else {
#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp100_ = FALSE;
-#line 4354 "CheckerboardLayout.c"
+#line 4396 "CheckerboardLayout.c"
}
#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp100_) {
-#line 4358 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp103_ = NULL;
- GdkRectangle _tmp104_ = {0};
- gint _tmp105_ = 0;
- CheckerboardItemText* _tmp106_ = NULL;
- gint _tmp107_ = 0;
- CheckerboardItemText* _tmp108_ = NULL;
- Dimensions _tmp109_ = {0};
- gint _tmp110_ = 0;
- CheckerboardItemText* _tmp111_ = NULL;
- CheckerboardItemText* _tmp112_ = NULL;
- gint _tmp113_ = 0;
- cairo_t* _tmp114_ = NULL;
- CheckerboardItemText* _tmp115_ = NULL;
- GdkRectangle _tmp116_ = {0};
- gint _tmp117_ = 0;
- CheckerboardItemText* _tmp118_ = NULL;
- GdkRectangle _tmp119_ = {0};
- gint _tmp120_ = 0;
- cairo_t* _tmp121_ = NULL;
- CheckerboardItemText* _tmp122_ = NULL;
- Dimensions _tmp123_ = {0};
- gint _tmp124_ = 0;
- PangoLayout* _tmp125_ = NULL;
- PangoLayout* _tmp126_ = NULL;
- gint _tmp127_ = 0;
- CheckerboardItemText* _tmp128_ = NULL;
- gint _tmp129_ = 0;
+#line 4400 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp103_;
+ GdkRectangle _tmp104_;
+ gint _tmp105_;
+ CheckerboardItemText* _tmp106_;
+ gint _tmp107_;
+ CheckerboardItemText* _tmp108_;
+ Dimensions _tmp109_;
+ gint _tmp110_;
+ CheckerboardItemText* _tmp111_;
+ CheckerboardItemText* _tmp112_;
+ gint _tmp113_;
+ cairo_t* _tmp114_;
+ CheckerboardItemText* _tmp115_;
+ GdkRectangle _tmp116_;
+ gint _tmp117_;
+ CheckerboardItemText* _tmp118_;
+ GdkRectangle _tmp119_;
+ gint _tmp120_;
+ cairo_t* _tmp121_;
+ CheckerboardItemText* _tmp122_;
+ Dimensions _tmp123_;
+ gint _tmp124_;
+ PangoLayout* _tmp125_;
+ PangoLayout* _tmp126_;
+ gint _tmp127_;
+ CheckerboardItemText* _tmp128_;
+ gint _tmp129_;
#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp103_ = self->priv->title;
#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4452,54 +4494,54 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp129_ = checkerboard_item_text_get_height (_tmp128_);
#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
text_y = _tmp127_ + (_tmp129_ + CHECKERBOARD_ITEM_LABEL_PADDING);
-#line 4456 "CheckerboardLayout.c"
+#line 4498 "CheckerboardLayout.c"
}
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp131_ = self->priv->comment;
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp131_ != NULL) {
-#line 4462 "CheckerboardLayout.c"
- gboolean _tmp132_ = FALSE;
+#line 4504 "CheckerboardLayout.c"
+ gboolean _tmp132_;
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp132_ = self->priv->comment_visible;
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp130_ = _tmp132_;
-#line 4468 "CheckerboardLayout.c"
+#line 4510 "CheckerboardLayout.c"
} else {
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp130_ = FALSE;
-#line 4472 "CheckerboardLayout.c"
+#line 4514 "CheckerboardLayout.c"
}
#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp130_) {
-#line 4476 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp133_ = NULL;
- GdkRectangle _tmp134_ = {0};
- gint _tmp135_ = 0;
- CheckerboardItemText* _tmp136_ = NULL;
- gint _tmp137_ = 0;
- CheckerboardItemText* _tmp138_ = NULL;
- Dimensions _tmp139_ = {0};
- gint _tmp140_ = 0;
- CheckerboardItemText* _tmp141_ = NULL;
- CheckerboardItemText* _tmp142_ = NULL;
- gint _tmp143_ = 0;
- cairo_t* _tmp144_ = NULL;
- CheckerboardItemText* _tmp145_ = NULL;
- GdkRectangle _tmp146_ = {0};
- gint _tmp147_ = 0;
- CheckerboardItemText* _tmp148_ = NULL;
- GdkRectangle _tmp149_ = {0};
- gint _tmp150_ = 0;
- cairo_t* _tmp151_ = NULL;
- CheckerboardItemText* _tmp152_ = NULL;
- Dimensions _tmp153_ = {0};
- gint _tmp154_ = 0;
- PangoLayout* _tmp155_ = NULL;
- PangoLayout* _tmp156_ = NULL;
- gint _tmp157_ = 0;
- CheckerboardItemText* _tmp158_ = NULL;
- gint _tmp159_ = 0;
+#line 4518 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp133_;
+ GdkRectangle _tmp134_;
+ gint _tmp135_;
+ CheckerboardItemText* _tmp136_;
+ gint _tmp137_;
+ CheckerboardItemText* _tmp138_;
+ Dimensions _tmp139_;
+ gint _tmp140_;
+ CheckerboardItemText* _tmp141_;
+ CheckerboardItemText* _tmp142_;
+ gint _tmp143_;
+ cairo_t* _tmp144_;
+ CheckerboardItemText* _tmp145_;
+ GdkRectangle _tmp146_;
+ gint _tmp147_;
+ CheckerboardItemText* _tmp148_;
+ GdkRectangle _tmp149_;
+ gint _tmp150_;
+ cairo_t* _tmp151_;
+ CheckerboardItemText* _tmp152_;
+ Dimensions _tmp153_;
+ gint _tmp154_;
+ PangoLayout* _tmp155_;
+ PangoLayout* _tmp156_;
+ gint _tmp157_;
+ CheckerboardItemText* _tmp158_;
+ gint _tmp159_;
#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp133_ = self->priv->comment;
#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4570,51 +4612,51 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp159_ = checkerboard_item_text_get_height (_tmp158_);
#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
text_y = _tmp157_ + (_tmp159_ + CHECKERBOARD_ITEM_LABEL_PADDING);
-#line 4574 "CheckerboardLayout.c"
+#line 4616 "CheckerboardLayout.c"
}
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp161_ = self->priv->subtitle;
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp161_ != NULL) {
-#line 4580 "CheckerboardLayout.c"
- gboolean _tmp162_ = FALSE;
+#line 4622 "CheckerboardLayout.c"
+ gboolean _tmp162_;
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp162_ = self->priv->subtitle_visible;
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp160_ = _tmp162_;
-#line 4586 "CheckerboardLayout.c"
+#line 4628 "CheckerboardLayout.c"
} else {
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp160_ = FALSE;
-#line 4590 "CheckerboardLayout.c"
+#line 4632 "CheckerboardLayout.c"
}
#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp160_) {
-#line 4594 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp163_ = NULL;
- GdkRectangle _tmp164_ = {0};
- gint _tmp165_ = 0;
- CheckerboardItemText* _tmp166_ = NULL;
- gint _tmp167_ = 0;
- CheckerboardItemText* _tmp168_ = NULL;
- Dimensions _tmp169_ = {0};
- gint _tmp170_ = 0;
- CheckerboardItemText* _tmp171_ = NULL;
- CheckerboardItemText* _tmp172_ = NULL;
- gint _tmp173_ = 0;
- cairo_t* _tmp174_ = NULL;
- CheckerboardItemText* _tmp175_ = NULL;
- GdkRectangle _tmp176_ = {0};
- gint _tmp177_ = 0;
- CheckerboardItemText* _tmp178_ = NULL;
- GdkRectangle _tmp179_ = {0};
- gint _tmp180_ = 0;
- cairo_t* _tmp181_ = NULL;
- CheckerboardItemText* _tmp182_ = NULL;
- Dimensions _tmp183_ = {0};
- gint _tmp184_ = 0;
- PangoLayout* _tmp185_ = NULL;
- PangoLayout* _tmp186_ = NULL;
+#line 4636 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp163_;
+ GdkRectangle _tmp164_;
+ gint _tmp165_;
+ CheckerboardItemText* _tmp166_;
+ gint _tmp167_;
+ CheckerboardItemText* _tmp168_;
+ Dimensions _tmp169_;
+ gint _tmp170_;
+ CheckerboardItemText* _tmp171_;
+ CheckerboardItemText* _tmp172_;
+ gint _tmp173_;
+ cairo_t* _tmp174_;
+ CheckerboardItemText* _tmp175_;
+ GdkRectangle _tmp176_;
+ gint _tmp177_;
+ CheckerboardItemText* _tmp178_;
+ GdkRectangle _tmp179_;
+ gint _tmp180_;
+ cairo_t* _tmp181_;
+ CheckerboardItemText* _tmp182_;
+ Dimensions _tmp183_;
+ gint _tmp184_;
+ PangoLayout* _tmp185_;
+ PangoLayout* _tmp186_;
#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp163_ = self->priv->subtitle;
#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4677,7 +4719,7 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
pango_cairo_show_layout (_tmp181_, _tmp186_);
#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_tmp186_);
-#line 4681 "CheckerboardLayout.c"
+#line 4723 "CheckerboardLayout.c"
}
#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp187_ = ctx;
@@ -4707,30 +4749,30 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp197_ = trinket;
#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp197_ != NULL) {
-#line 4711 "CheckerboardLayout.c"
+#line 4753 "CheckerboardLayout.c"
gint x = 0;
- GdkPoint _tmp198_ = {0};
- gint _tmp199_ = 0;
- gint _tmp200_ = 0;
+ GdkPoint _tmp198_;
+ gint _tmp199_;
+ gint _tmp200_;
gint y = 0;
- GdkPoint _tmp201_ = {0};
- gint _tmp202_ = 0;
- Dimensions _tmp203_ = {0};
- gint _tmp204_ = 0;
- GdkPixbuf* _tmp205_ = NULL;
- gint _tmp206_ = 0;
- cairo_t* _tmp207_ = NULL;
- GdkPixbuf* _tmp208_ = NULL;
- gint _tmp209_ = 0;
- gint _tmp210_ = 0;
- cairo_t* _tmp211_ = NULL;
- gint _tmp212_ = 0;
- gint _tmp213_ = 0;
- GdkPixbuf* _tmp214_ = NULL;
- gint _tmp215_ = 0;
- GdkPixbuf* _tmp216_ = NULL;
- gint _tmp217_ = 0;
- cairo_t* _tmp218_ = NULL;
+ GdkPoint _tmp201_;
+ gint _tmp202_;
+ Dimensions _tmp203_;
+ gint _tmp204_;
+ GdkPixbuf* _tmp205_;
+ gint _tmp206_;
+ cairo_t* _tmp207_;
+ GdkPixbuf* _tmp208_;
+ gint _tmp209_;
+ gint _tmp210_;
+ cairo_t* _tmp211_;
+ gint _tmp212_;
+ gint _tmp213_;
+ GdkPixbuf* _tmp214_;
+ gint _tmp215_;
+ GdkPixbuf* _tmp216_;
+ gint _tmp217_;
+ cairo_t* _tmp218_;
#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp198_ = pixbuf_origin;
#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4783,7 +4825,7 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp218_ = ctx;
#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp218_);
-#line 4787 "CheckerboardLayout.c"
+#line 4829 "CheckerboardLayout.c"
}
#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp219_ = checkerboard_item_get_top_left_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE);
@@ -4795,26 +4837,26 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp220_ = trinket;
#line 708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp220_ != NULL) {
-#line 4799 "CheckerboardLayout.c"
+#line 4841 "CheckerboardLayout.c"
gint x = 0;
- GdkPoint _tmp221_ = {0};
- gint _tmp222_ = 0;
- gint _tmp223_ = 0;
+ GdkPoint _tmp221_;
+ gint _tmp222_;
+ gint _tmp223_;
gint y = 0;
- GdkPoint _tmp224_ = {0};
- gint _tmp225_ = 0;
- cairo_t* _tmp226_ = NULL;
- GdkPixbuf* _tmp227_ = NULL;
- gint _tmp228_ = 0;
- gint _tmp229_ = 0;
- cairo_t* _tmp230_ = NULL;
- gint _tmp231_ = 0;
- gint _tmp232_ = 0;
- GdkPixbuf* _tmp233_ = NULL;
- gint _tmp234_ = 0;
- GdkPixbuf* _tmp235_ = NULL;
- gint _tmp236_ = 0;
- cairo_t* _tmp237_ = NULL;
+ GdkPoint _tmp224_;
+ gint _tmp225_;
+ cairo_t* _tmp226_;
+ GdkPixbuf* _tmp227_;
+ gint _tmp228_;
+ gint _tmp229_;
+ cairo_t* _tmp230_;
+ gint _tmp231_;
+ gint _tmp232_;
+ GdkPixbuf* _tmp233_;
+ gint _tmp234_;
+ GdkPixbuf* _tmp235_;
+ gint _tmp236_;
+ cairo_t* _tmp237_;
#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp221_ = pixbuf_origin;
#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4859,7 +4901,7 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp237_ = ctx;
#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp237_);
-#line 4863 "CheckerboardLayout.c"
+#line 4905 "CheckerboardLayout.c"
}
#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp238_ = checkerboard_item_get_top_right_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE);
@@ -4871,31 +4913,31 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp239_ = trinket;
#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp239_ != NULL) {
-#line 4875 "CheckerboardLayout.c"
+#line 4917 "CheckerboardLayout.c"
gint x = 0;
- GdkPoint _tmp240_ = {0};
- gint _tmp241_ = 0;
- Dimensions _tmp242_ = {0};
- gint _tmp243_ = 0;
- GdkPixbuf* _tmp244_ = NULL;
- gint _tmp245_ = 0;
- gint _tmp246_ = 0;
- gint _tmp247_ = 0;
+ GdkPoint _tmp240_;
+ gint _tmp241_;
+ Dimensions _tmp242_;
+ gint _tmp243_;
+ GdkPixbuf* _tmp244_;
+ gint _tmp245_;
+ gint _tmp246_;
+ gint _tmp247_;
gint y = 0;
- GdkPoint _tmp248_ = {0};
- gint _tmp249_ = 0;
- cairo_t* _tmp250_ = NULL;
- GdkPixbuf* _tmp251_ = NULL;
- gint _tmp252_ = 0;
- gint _tmp253_ = 0;
- cairo_t* _tmp254_ = NULL;
- gint _tmp255_ = 0;
- gint _tmp256_ = 0;
- GdkPixbuf* _tmp257_ = NULL;
- gint _tmp258_ = 0;
- GdkPixbuf* _tmp259_ = NULL;
- gint _tmp260_ = 0;
- cairo_t* _tmp261_ = NULL;
+ GdkPoint _tmp248_;
+ gint _tmp249_;
+ cairo_t* _tmp250_;
+ GdkPixbuf* _tmp251_;
+ gint _tmp252_;
+ gint _tmp253_;
+ cairo_t* _tmp254_;
+ gint _tmp255_;
+ gint _tmp256_;
+ GdkPixbuf* _tmp257_;
+ gint _tmp258_;
+ GdkPixbuf* _tmp259_;
+ gint _tmp260_;
+ cairo_t* _tmp261_;
#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp240_ = pixbuf_origin;
#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -4950,7 +4992,7 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp261_ = ctx;
#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp261_);
-#line 4954 "CheckerboardLayout.c"
+#line 4996 "CheckerboardLayout.c"
}
#line 726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp262_ = checkerboard_item_get_bottom_right_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE);
@@ -4962,36 +5004,36 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp263_ = trinket;
#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp263_ != NULL) {
-#line 4966 "CheckerboardLayout.c"
+#line 5008 "CheckerboardLayout.c"
gint x = 0;
- GdkPoint _tmp264_ = {0};
- gint _tmp265_ = 0;
- Dimensions _tmp266_ = {0};
- gint _tmp267_ = 0;
- GdkPixbuf* _tmp268_ = NULL;
- gint _tmp269_ = 0;
- gint _tmp270_ = 0;
- gint _tmp271_ = 0;
+ GdkPoint _tmp264_;
+ gint _tmp265_;
+ Dimensions _tmp266_;
+ gint _tmp267_;
+ GdkPixbuf* _tmp268_;
+ gint _tmp269_;
+ gint _tmp270_;
+ gint _tmp271_;
gint y = 0;
- GdkPoint _tmp272_ = {0};
- gint _tmp273_ = 0;
- Dimensions _tmp274_ = {0};
- gint _tmp275_ = 0;
- GdkPixbuf* _tmp276_ = NULL;
- gint _tmp277_ = 0;
- gint _tmp278_ = 0;
- cairo_t* _tmp279_ = NULL;
- GdkPixbuf* _tmp280_ = NULL;
- gint _tmp281_ = 0;
- gint _tmp282_ = 0;
- cairo_t* _tmp283_ = NULL;
- gint _tmp284_ = 0;
- gint _tmp285_ = 0;
- GdkPixbuf* _tmp286_ = NULL;
- gint _tmp287_ = 0;
- GdkPixbuf* _tmp288_ = NULL;
- gint _tmp289_ = 0;
- cairo_t* _tmp290_ = NULL;
+ GdkPoint _tmp272_;
+ gint _tmp273_;
+ Dimensions _tmp274_;
+ gint _tmp275_;
+ GdkPixbuf* _tmp276_;
+ gint _tmp277_;
+ gint _tmp278_;
+ cairo_t* _tmp279_;
+ GdkPixbuf* _tmp280_;
+ gint _tmp281_;
+ gint _tmp282_;
+ cairo_t* _tmp283_;
+ gint _tmp284_;
+ gint _tmp285_;
+ GdkPixbuf* _tmp286_;
+ gint _tmp287_;
+ GdkPixbuf* _tmp288_;
+ gint _tmp289_;
+ cairo_t* _tmp290_;
#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp264_ = pixbuf_origin;
#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5056,17 +5098,17 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_
_tmp290_ = ctx;
#line 734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp290_);
-#line 5060 "CheckerboardLayout.c"
+#line 5102 "CheckerboardLayout.c"
}
#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (trinket);
-#line 5064 "CheckerboardLayout.c"
+#line 5106 "CheckerboardLayout.c"
}
void checkerboard_item_set_horizontal_trinket_offset (CheckerboardItem* self, gint horizontal_trinket_offset) {
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
#line 738 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5077,13 +5119,13 @@ void checkerboard_item_set_horizontal_trinket_offset (CheckerboardItem* self, gi
_tmp1_ = horizontal_trinket_offset;
#line 740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->horizontal_trinket_offset = _tmp1_;
-#line 5081 "CheckerboardLayout.c"
+#line 5123 "CheckerboardLayout.c"
}
gint checkerboard_item_get_horizontal_trinket_offset (CheckerboardItem* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 743 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), 0);
#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5092,13 +5134,13 @@ gint checkerboard_item_get_horizontal_trinket_offset (CheckerboardItem* self) {
result = _tmp0_;
#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5096 "CheckerboardLayout.c"
+#line 5138 "CheckerboardLayout.c"
}
void checkerboard_item_set_grid_coordinates (CheckerboardItem* self, gint col, gint row) {
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
#line 747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5109,13 +5151,13 @@ void checkerboard_item_set_grid_coordinates (CheckerboardItem* self, gint col, g
_tmp1_ = row;
#line 749 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->row = _tmp1_;
-#line 5113 "CheckerboardLayout.c"
+#line 5155 "CheckerboardLayout.c"
}
gint checkerboard_item_get_column (CheckerboardItem* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 752 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), 0);
#line 753 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5124,13 +5166,13 @@ gint checkerboard_item_get_column (CheckerboardItem* self) {
result = _tmp0_;
#line 753 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5128 "CheckerboardLayout.c"
+#line 5170 "CheckerboardLayout.c"
}
gint checkerboard_item_get_row (CheckerboardItem* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 756 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), 0);
#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5139,18 +5181,18 @@ gint checkerboard_item_get_row (CheckerboardItem* self) {
result = _tmp0_;
#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5143 "CheckerboardLayout.c"
+#line 5185 "CheckerboardLayout.c"
}
void checkerboard_item_brighten (CheckerboardItem* self) {
gboolean _tmp0_ = FALSE;
- GdkPixbuf* _tmp1_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
- GdkPixbuf* _tmp6_ = NULL;
- GdkPixbuf* _tmp7_ = NULL;
+ GdkPixbuf* _tmp1_;
+ GdkPixbuf* _tmp3_;
+ GdkPixbuf* _tmp4_;
+ GdkPixbuf* _tmp5_;
+ GdkPixbuf* _tmp6_;
+ GdkPixbuf* _tmp7_;
#line 760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5159,20 +5201,20 @@ void checkerboard_item_brighten (CheckerboardItem* self) {
if (_tmp1_ != NULL) {
#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = TRUE;
-#line 5163 "CheckerboardLayout.c"
+#line 5205 "CheckerboardLayout.c"
} else {
- GdkPixbuf* _tmp2_ = NULL;
+ GdkPixbuf* _tmp2_;
#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->pixbuf;
#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 5170 "CheckerboardLayout.c"
+#line 5212 "CheckerboardLayout.c"
}
#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 763 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 5176 "CheckerboardLayout.c"
+#line 5218 "CheckerboardLayout.c"
}
#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->pixbuf;
@@ -5196,15 +5238,15 @@ void checkerboard_item_brighten (CheckerboardItem* self) {
self->priv->display_pixbuf = _tmp7_;
#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 5200 "CheckerboardLayout.c"
+#line 5242 "CheckerboardLayout.c"
}
void checkerboard_item_unbrighten (CheckerboardItem* self) {
gboolean _tmp0_ = FALSE;
- GdkPixbuf* _tmp1_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
+ GdkPixbuf* _tmp1_;
+ GdkPixbuf* _tmp3_;
+ GdkPixbuf* _tmp4_;
#line 774 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5213,20 +5255,20 @@ void checkerboard_item_unbrighten (CheckerboardItem* self) {
if (_tmp1_ == NULL) {
#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = TRUE;
-#line 5217 "CheckerboardLayout.c"
+#line 5259 "CheckerboardLayout.c"
} else {
- GdkPixbuf* _tmp2_ = NULL;
+ GdkPixbuf* _tmp2_;
#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->pixbuf;
#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 5224 "CheckerboardLayout.c"
+#line 5266 "CheckerboardLayout.c"
}
#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 5230 "CheckerboardLayout.c"
+#line 5272 "CheckerboardLayout.c"
}
#line 779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (self->priv->brightened);
@@ -5242,14 +5284,14 @@ void checkerboard_item_unbrighten (CheckerboardItem* self) {
self->priv->display_pixbuf = _tmp4_;
#line 784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView));
-#line 5246 "CheckerboardLayout.c"
+#line 5288 "CheckerboardLayout.c"
}
static void checkerboard_item_real_visibility_changed (DataView* base, gboolean visible) {
CheckerboardItem * self;
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
#line 787 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
#line 789 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5258,25 +5300,25 @@ static void checkerboard_item_real_visibility_changed (DataView* base, gboolean
if (!_tmp0_) {
#line 790 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_unbrighten (self);
-#line 5262 "CheckerboardLayout.c"
+#line 5304 "CheckerboardLayout.c"
}
#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = visible;
#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
DATA_VIEW_CLASS (checkerboard_item_parent_class)->visibility_changed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_VIEW, ThumbnailView), TYPE_DATA_VIEW, DataView), _tmp1_);
-#line 5268 "CheckerboardLayout.c"
+#line 5310 "CheckerboardLayout.c"
}
static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self, CheckerboardItemText* text, GtkTooltip* tooltip) {
gboolean result = FALSE;
- CheckerboardItemText* _tmp0_ = NULL;
- PangoLayout* _tmp1_ = NULL;
- PangoLayout* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
- CheckerboardItemText* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ CheckerboardItemText* _tmp0_;
+ PangoLayout* _tmp1_;
+ PangoLayout* _tmp2_;
+ gboolean _tmp3_;
+ gboolean _tmp4_;
+ CheckerboardItemText* _tmp5_;
+ gboolean _tmp6_;
#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5301,7 +5343,7 @@ static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self,
result = FALSE;
#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5305 "CheckerboardLayout.c"
+#line 5347 "CheckerboardLayout.c"
}
#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = text;
@@ -5309,11 +5351,11 @@ static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self,
_tmp6_ = checkerboard_item_text_is_marked_up (_tmp5_);
#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_) {
-#line 5313 "CheckerboardLayout.c"
- GtkTooltip* _tmp7_ = NULL;
- CheckerboardItemText* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+#line 5355 "CheckerboardLayout.c"
+ GtkTooltip* _tmp7_;
+ CheckerboardItemText* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = tooltip;
#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5326,12 +5368,12 @@ static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self,
gtk_tooltip_set_markup (_tmp7_, _tmp10_);
#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp10_);
-#line 5330 "CheckerboardLayout.c"
+#line 5372 "CheckerboardLayout.c"
} else {
- GtkTooltip* _tmp11_ = NULL;
- CheckerboardItemText* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ GtkTooltip* _tmp11_;
+ CheckerboardItemText* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = tooltip;
#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5344,13 +5386,13 @@ static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self,
gtk_tooltip_set_text (_tmp11_, _tmp14_);
#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp14_);
-#line 5348 "CheckerboardLayout.c"
+#line 5390 "CheckerboardLayout.c"
}
#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = TRUE;
#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5354 "CheckerboardLayout.c"
+#line 5396 "CheckerboardLayout.c"
}
@@ -5358,13 +5400,13 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
- CheckerboardItemText* _tmp2_ = NULL;
+ CheckerboardItemText* _tmp2_;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
- CheckerboardItemText* _tmp14_ = NULL;
+ CheckerboardItemText* _tmp14_;
gboolean _tmp24_ = FALSE;
gboolean _tmp25_ = FALSE;
- CheckerboardItemText* _tmp26_ = NULL;
+ CheckerboardItemText* _tmp26_;
#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5373,26 +5415,26 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
_tmp2_ = self->priv->title;
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_ != NULL) {
-#line 5377 "CheckerboardLayout.c"
- gboolean _tmp3_ = FALSE;
+#line 5419 "CheckerboardLayout.c"
+ gboolean _tmp3_;
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->title_visible;
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = _tmp3_;
-#line 5383 "CheckerboardLayout.c"
+#line 5425 "CheckerboardLayout.c"
} else {
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = FALSE;
-#line 5387 "CheckerboardLayout.c"
+#line 5429 "CheckerboardLayout.c"
}
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_) {
-#line 5391 "CheckerboardLayout.c"
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- CheckerboardItemText* _tmp6_ = NULL;
- GdkRectangle _tmp7_ = {0};
- gboolean _tmp8_ = FALSE;
+#line 5433 "CheckerboardLayout.c"
+ gint _tmp4_;
+ gint _tmp5_;
+ CheckerboardItemText* _tmp6_;
+ GdkRectangle _tmp7_;
+ gboolean _tmp8_;
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = x;
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5405,18 +5447,18 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
_tmp8_ = coord_in_rectangle (_tmp4_, _tmp5_, &_tmp7_);
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp8_;
-#line 5409 "CheckerboardLayout.c"
+#line 5451 "CheckerboardLayout.c"
} else {
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 5413 "CheckerboardLayout.c"
+#line 5455 "CheckerboardLayout.c"
}
#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
-#line 5417 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp9_ = NULL;
- GtkTooltip* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+#line 5459 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp9_;
+ GtkTooltip* _tmp10_;
+ gboolean _tmp11_;
#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp9_ = self->priv->title;
#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5427,32 +5469,32 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
result = _tmp11_;
#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5431 "CheckerboardLayout.c"
+#line 5473 "CheckerboardLayout.c"
}
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = self->priv->comment;
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_ != NULL) {
-#line 5437 "CheckerboardLayout.c"
- gboolean _tmp15_ = FALSE;
+#line 5479 "CheckerboardLayout.c"
+ gboolean _tmp15_;
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = self->priv->comment_visible;
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = _tmp15_;
-#line 5443 "CheckerboardLayout.c"
+#line 5485 "CheckerboardLayout.c"
} else {
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = FALSE;
-#line 5447 "CheckerboardLayout.c"
+#line 5489 "CheckerboardLayout.c"
}
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp13_) {
-#line 5451 "CheckerboardLayout.c"
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
- CheckerboardItemText* _tmp18_ = NULL;
- GdkRectangle _tmp19_ = {0};
- gboolean _tmp20_ = FALSE;
+#line 5493 "CheckerboardLayout.c"
+ gint _tmp16_;
+ gint _tmp17_;
+ CheckerboardItemText* _tmp18_;
+ GdkRectangle _tmp19_;
+ gboolean _tmp20_;
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = x;
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5465,18 +5507,18 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
_tmp20_ = coord_in_rectangle (_tmp16_, _tmp17_, &_tmp19_);
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp12_ = _tmp20_;
-#line 5469 "CheckerboardLayout.c"
+#line 5511 "CheckerboardLayout.c"
} else {
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp12_ = FALSE;
-#line 5473 "CheckerboardLayout.c"
+#line 5515 "CheckerboardLayout.c"
}
#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp12_) {
-#line 5477 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp21_ = NULL;
- GtkTooltip* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
+#line 5519 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp21_;
+ GtkTooltip* _tmp22_;
+ gboolean _tmp23_;
#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = self->priv->comment;
#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5487,32 +5529,32 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
result = _tmp23_;
#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5491 "CheckerboardLayout.c"
+#line 5533 "CheckerboardLayout.c"
}
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = self->priv->subtitle;
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp26_ != NULL) {
-#line 5497 "CheckerboardLayout.c"
- gboolean _tmp27_ = FALSE;
+#line 5539 "CheckerboardLayout.c"
+ gboolean _tmp27_;
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = self->priv->subtitle_visible;
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp25_ = _tmp27_;
-#line 5503 "CheckerboardLayout.c"
+#line 5545 "CheckerboardLayout.c"
} else {
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp25_ = FALSE;
-#line 5507 "CheckerboardLayout.c"
+#line 5549 "CheckerboardLayout.c"
}
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp25_) {
-#line 5511 "CheckerboardLayout.c"
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- CheckerboardItemText* _tmp30_ = NULL;
- GdkRectangle _tmp31_ = {0};
- gboolean _tmp32_ = FALSE;
+#line 5553 "CheckerboardLayout.c"
+ gint _tmp28_;
+ gint _tmp29_;
+ CheckerboardItemText* _tmp30_;
+ GdkRectangle _tmp31_;
+ gboolean _tmp32_;
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp28_ = x;
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5525,18 +5567,18 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
_tmp32_ = coord_in_rectangle (_tmp28_, _tmp29_, &_tmp31_);
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = _tmp32_;
-#line 5529 "CheckerboardLayout.c"
+#line 5571 "CheckerboardLayout.c"
} else {
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = FALSE;
-#line 5533 "CheckerboardLayout.c"
+#line 5575 "CheckerboardLayout.c"
}
#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp24_) {
-#line 5537 "CheckerboardLayout.c"
- CheckerboardItemText* _tmp33_ = NULL;
- GtkTooltip* _tmp34_ = NULL;
- gboolean _tmp35_ = FALSE;
+#line 5579 "CheckerboardLayout.c"
+ CheckerboardItemText* _tmp33_;
+ GtkTooltip* _tmp34_;
+ gboolean _tmp35_;
#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = self->priv->subtitle;
#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5547,19 +5589,19 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y
result = _tmp35_;
#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5551 "CheckerboardLayout.c"
+#line 5593 "CheckerboardLayout.c"
}
#line 817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = FALSE;
#line 817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5557 "CheckerboardLayout.c"
+#line 5599 "CheckerboardLayout.c"
}
gboolean checkerboard_item_get_has_tags (CheckerboardItem* self) {
gboolean result;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), FALSE);
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5568,21 +5610,25 @@ gboolean checkerboard_item_get_has_tags (CheckerboardItem* self) {
result = _tmp0_;
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 5572 "CheckerboardLayout.c"
+#line 5614 "CheckerboardLayout.c"
}
static void checkerboard_item_set_has_tags (CheckerboardItem* self, gboolean value) {
- gboolean _tmp0_ = FALSE;
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (self));
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- _tmp0_ = value;
+ if (checkerboard_item_get_has_tags (self) != value) {
+#line 5623 "CheckerboardLayout.c"
+ gboolean _tmp0_;
+#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
+ _tmp0_ = value;
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- self->priv->_has_tags = _tmp0_;
+ self->priv->_has_tags = _tmp0_;
#line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- g_object_notify ((GObject *) self, "has-tags");
-#line 5586 "CheckerboardLayout.c"
+ g_object_notify ((GObject *) self, "has-tags");
+#line 5631 "CheckerboardLayout.c"
+ }
}
@@ -5592,33 +5638,33 @@ static void checkerboard_item_class_init (CheckerboardItemClass * klass) {
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_type_class_add_private (klass, sizeof (CheckerboardItemPrivate));
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((DataObjectClass *) klass)->get_name = (gchar* (*)(DataObject*)) checkerboard_item_real_get_name;
+ ((DataObjectClass *) klass)->get_name = (gchar* (*) (DataObject *)) checkerboard_item_real_get_name;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((DataObjectClass *) klass)->notify_membership_changed = (void (*)(DataObject*, DataCollection*)) checkerboard_item_real_notify_membership_changed;
+ ((DataObjectClass *) klass)->notify_membership_changed = (void (*) (DataObject *, DataCollection*)) checkerboard_item_real_notify_membership_changed;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((DataObjectClass *) klass)->notify_collection_property_set = (void (*)(DataObject*, const gchar*, GValue*, GValue*)) checkerboard_item_real_notify_collection_property_set;
+ ((DataObjectClass *) klass)->notify_collection_property_set = (void (*) (DataObject *, const gchar*, GValue*, GValue*)) checkerboard_item_real_notify_collection_property_set;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->exposed = (void (*)(CheckerboardItem*)) checkerboard_item_real_exposed;
+ ((CheckerboardItemClass *) klass)->exposed = (void (*) (CheckerboardItem *)) checkerboard_item_real_exposed;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->unexposed = (void (*)(CheckerboardItem*)) checkerboard_item_real_unexposed;
+ ((CheckerboardItemClass *) klass)->unexposed = (void (*) (CheckerboardItem *)) checkerboard_item_real_unexposed;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->is_exposed = (gboolean (*)(CheckerboardItem*)) checkerboard_item_real_is_exposed;
+ ((CheckerboardItemClass *) klass)->is_exposed = (gboolean (*) (CheckerboardItem *)) checkerboard_item_real_is_exposed;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->paint_shadow = (void (*)(CheckerboardItem*, cairo_t*, Dimensions*, GdkPoint*, gint, gfloat)) checkerboard_item_real_paint_shadow;
+ ((CheckerboardItemClass *) klass)->paint_shadow = (void (*) (CheckerboardItem *, cairo_t*, Dimensions*, GdkPoint*, gint, gfloat)) checkerboard_item_real_paint_shadow;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->paint_border = (void (*)(CheckerboardItem*, cairo_t*, Dimensions*, GdkPoint*, gint)) checkerboard_item_real_paint_border;
+ ((CheckerboardItemClass *) klass)->paint_border = (void (*) (CheckerboardItem *, cairo_t*, Dimensions*, GdkPoint*, gint)) checkerboard_item_real_paint_border;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->paint_image = (void (*)(CheckerboardItem*, cairo_t*, GdkPixbuf*, GdkPoint*)) checkerboard_item_real_paint_image;
+ ((CheckerboardItemClass *) klass)->paint_image = (void (*) (CheckerboardItem *, cairo_t*, GdkPixbuf*, GdkPoint*)) checkerboard_item_real_paint_image;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->get_top_left_trinket = (GdkPixbuf* (*)(CheckerboardItem*, gint)) checkerboard_item_real_get_top_left_trinket;
+ ((CheckerboardItemClass *) klass)->get_top_left_trinket = (GdkPixbuf* (*) (CheckerboardItem *, gint)) checkerboard_item_real_get_top_left_trinket;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->get_top_right_trinket = (GdkPixbuf* (*)(CheckerboardItem*, gint)) checkerboard_item_real_get_top_right_trinket;
+ ((CheckerboardItemClass *) klass)->get_top_right_trinket = (GdkPixbuf* (*) (CheckerboardItem *, gint)) checkerboard_item_real_get_top_right_trinket;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->get_bottom_left_trinket = (GdkPixbuf* (*)(CheckerboardItem*, gint)) checkerboard_item_real_get_bottom_left_trinket;
+ ((CheckerboardItemClass *) klass)->get_bottom_left_trinket = (GdkPixbuf* (*) (CheckerboardItem *, gint)) checkerboard_item_real_get_bottom_left_trinket;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((CheckerboardItemClass *) klass)->get_bottom_right_trinket = (GdkPixbuf* (*)(CheckerboardItem*, gint)) checkerboard_item_real_get_bottom_right_trinket;
+ ((CheckerboardItemClass *) klass)->get_bottom_right_trinket = (GdkPixbuf* (*) (CheckerboardItem *, gint)) checkerboard_item_real_get_bottom_right_trinket;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((DataViewClass *) klass)->visibility_changed = (void (*)(DataView*, gboolean)) checkerboard_item_real_visibility_changed;
+ ((DataViewClass *) klass)->visibility_changed = (void (*) (DataView *, gboolean)) checkerboard_item_real_visibility_changed;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_CLASS (klass)->get_property = _vala_checkerboard_item_get_property;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5626,8 +5672,8 @@ static void checkerboard_item_class_init (CheckerboardItemClass * klass) {
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_CLASS (klass)->finalize = checkerboard_item_finalize;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), CHECKERBOARD_ITEM_HAS_TAGS, g_param_spec_boolean ("has-tags", "has-tags", "has-tags", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 5631 "CheckerboardLayout.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), CHECKERBOARD_ITEM_HAS_TAGS_PROPERTY, g_param_spec_boolean ("has-tags", "has-tags", "has-tags", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+#line 5677 "CheckerboardLayout.c"
}
@@ -5672,11 +5718,11 @@ static void checkerboard_item_instance_init (CheckerboardItem * self) {
self->priv->row = -1;
#line 139 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->horizontal_trinket_offset = 0;
-#line 5676 "CheckerboardLayout.c"
+#line 5722 "CheckerboardLayout.c"
}
-static void checkerboard_item_finalize (GObject* obj) {
+static void checkerboard_item_finalize (GObject * obj) {
CheckerboardItem * self;
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
@@ -5698,7 +5744,7 @@ static void checkerboard_item_finalize (GObject* obj) {
_g_object_unref0 (self->priv->brightened);
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_CLASS (checkerboard_item_parent_class)->finalize (obj);
-#line 5702 "CheckerboardLayout.c"
+#line 5748 "CheckerboardLayout.c"
}
@@ -5720,18 +5766,18 @@ static void _vala_checkerboard_item_get_property (GObject * object, guint proper
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
switch (property_id) {
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- case CHECKERBOARD_ITEM_HAS_TAGS:
+ case CHECKERBOARD_ITEM_HAS_TAGS_PROPERTY:
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_value_set_boolean (value, checkerboard_item_get_has_tags (self));
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 5729 "CheckerboardLayout.c"
+#line 5775 "CheckerboardLayout.c"
default:
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 5735 "CheckerboardLayout.c"
+#line 5781 "CheckerboardLayout.c"
}
}
@@ -5742,18 +5788,18 @@ static void _vala_checkerboard_item_set_property (GObject * object, guint proper
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
switch (property_id) {
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- case CHECKERBOARD_ITEM_HAS_TAGS:
+ case CHECKERBOARD_ITEM_HAS_TAGS_PROPERTY:
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_set_has_tags (self, g_value_get_boolean (value));
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 5751 "CheckerboardLayout.c"
+#line 5797 "CheckerboardLayout.c"
default:
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 5757 "CheckerboardLayout.c"
+#line 5803 "CheckerboardLayout.c"
}
}
@@ -5761,112 +5807,112 @@ static void _vala_checkerboard_item_set_property (GObject * object, guint proper
static void _checkerboard_layout_on_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_contents_altered ((CheckerboardLayout*) self, added, removed);
-#line 5765 "CheckerboardLayout.c"
+#line 5811 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_items_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_items_altered ((CheckerboardLayout*) self);
-#line 5772 "CheckerboardLayout.c"
+#line 5818 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_items_state_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_items_state_changed ((CheckerboardLayout*) self, changed);
-#line 5779 "CheckerboardLayout.c"
+#line 5825 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_items_visibility_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_items_visibility_changed ((CheckerboardLayout*) self, changed);
-#line 5786 "CheckerboardLayout.c"
+#line 5832 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_ordering_changed_data_collection_ordering_changed (DataCollection* _sender, gpointer self) {
#line 911 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_ordering_changed ((CheckerboardLayout*) self);
-#line 5793 "CheckerboardLayout.c"
+#line 5839 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_views_altered_view_collection_views_altered (ViewCollection* _sender, GeeCollection* views, gpointer self) {
#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_views_altered ((CheckerboardLayout*) self, views);
-#line 5800 "CheckerboardLayout.c"
+#line 5846 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_geometries_altered_view_collection_geometries_altered (ViewCollection* _sender, GeeCollection* views, gpointer self) {
#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_geometries_altered ((CheckerboardLayout*) self);
-#line 5807 "CheckerboardLayout.c"
+#line 5853 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_items_selection_changed_view_collection_items_selected (ViewCollection* _sender, GeeIterable* selected, gpointer self) {
#line 914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_items_selection_changed ((CheckerboardLayout*) self);
-#line 5814 "CheckerboardLayout.c"
+#line 5860 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_items_selection_changed_view_collection_items_unselected (ViewCollection* _sender, GeeIterable* unselected, gpointer self) {
#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_items_selection_changed ((CheckerboardLayout*) self);
-#line 5821 "CheckerboardLayout.c"
+#line 5867 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_viewport_shifted_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) {
#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_viewport_shifted ((CheckerboardLayout*) self);
-#line 5828 "CheckerboardLayout.c"
+#line 5874 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_viewport_resized_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_viewport_resized ((CheckerboardLayout*) self);
-#line 5835 "CheckerboardLayout.c"
+#line 5881 "CheckerboardLayout.c"
}
static void _checkerboard_layout_on_colors_changed_config_facade_colors_changed (ConfigFacade* _sender, gpointer self) {
#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_on_colors_changed ((CheckerboardLayout*) self);
-#line 5842 "CheckerboardLayout.c"
+#line 5888 "CheckerboardLayout.c"
}
static gpointer _data_collection_ref0 (gpointer self) {
#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return self ? data_collection_ref (self) : NULL;
-#line 5849 "CheckerboardLayout.c"
+#line 5895 "CheckerboardLayout.c"
}
CheckerboardLayout* checkerboard_layout_construct (GType object_type, ViewCollection* view) {
CheckerboardLayout * self = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- ViewCollection* _tmp10_ = NULL;
- ConfigFacade* _tmp11_ = NULL;
- ConfigFacade* _tmp12_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ ViewCollection* _tmp3_;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ ViewCollection* _tmp10_;
+ ConfigFacade* _tmp11_;
+ ConfigFacade* _tmp12_;
GdkRGBA _tmp13_ = {0};
- ConfigFacade* _tmp14_ = NULL;
- ConfigFacade* _tmp15_ = NULL;
+ ConfigFacade* _tmp14_;
+ ConfigFacade* _tmp15_;
#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (view), NULL);
#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5939,26 +5985,26 @@ CheckerboardLayout* checkerboard_layout_construct (GType object_type, ViewCollec
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return self;
-#line 5943 "CheckerboardLayout.c"
+#line 5989 "CheckerboardLayout.c"
}
CheckerboardLayout* checkerboard_layout_new (ViewCollection* view) {
#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return checkerboard_layout_construct (TYPE_CHECKERBOARD_LAYOUT, view);
-#line 5950 "CheckerboardLayout.c"
+#line 5996 "CheckerboardLayout.c"
}
void checkerboard_layout_set_adjustments (CheckerboardLayout* self, GtkAdjustment* hadjustment, GtkAdjustment* vadjustment) {
- GtkAdjustment* _tmp0_ = NULL;
- GtkAdjustment* _tmp1_ = NULL;
- GtkAdjustment* _tmp2_ = NULL;
- GtkAdjustment* _tmp3_ = NULL;
- GtkAdjustment* _tmp4_ = NULL;
- GtkAdjustment* _tmp5_ = NULL;
- GtkContainer* _tmp6_ = NULL;
- GtkContainer* _tmp7_ = NULL;
+ GtkAdjustment* _tmp0_;
+ GtkAdjustment* _tmp1_;
+ GtkAdjustment* _tmp2_;
+ GtkAdjustment* _tmp3_;
+ GtkAdjustment* _tmp4_;
+ GtkAdjustment* _tmp5_;
+ GtkContainer* _tmp6_;
+ GtkContainer* _tmp7_;
#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -5995,25 +6041,25 @@ void checkerboard_layout_set_adjustments (CheckerboardLayout* self, GtkAdjustmen
_tmp7_ = _tmp6_;
#line 938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _checkerboard_layout_on_viewport_resized_gtk_widget_size_allocate, self, 0);
-#line 5999 "CheckerboardLayout.c"
+#line 6045 "CheckerboardLayout.c"
}
void checkerboard_layout_set_scale (CheckerboardLayout* self, gint scale) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 944 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = scale;
#line 944 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->scale = _tmp0_;
-#line 6011 "CheckerboardLayout.c"
+#line 6057 "CheckerboardLayout.c"
}
gint checkerboard_layout_get_scale (CheckerboardLayout* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), 0);
#line 948 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6022,13 +6068,13 @@ gint checkerboard_layout_get_scale (CheckerboardLayout* self) {
result = _tmp0_;
#line 948 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 6026 "CheckerboardLayout.c"
+#line 6072 "CheckerboardLayout.c"
}
void checkerboard_layout_set_name (CheckerboardLayout* self, const gchar* name) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6041,7 +6087,7 @@ void checkerboard_layout_set_name (CheckerboardLayout* self, const gchar* name)
_g_free0 (self->priv->page_name);
#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->page_name = _tmp1_;
-#line 6045 "CheckerboardLayout.c"
+#line 6091 "CheckerboardLayout.c"
}
@@ -6049,11 +6095,11 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) {
GtkRequisition req = {0};
GtkRequisition _tmp0_ = {0};
GtkAllocation parent_allocation = {0};
- GtkContainer* _tmp1_ = NULL;
- GtkContainer* _tmp2_ = NULL;
+ GtkContainer* _tmp1_;
+ GtkContainer* _tmp2_;
GtkAllocation _tmp3_ = {0};
- const gchar* _tmp4_ = NULL;
- gboolean _tmp15_ = FALSE;
+ const gchar* _tmp4_;
+ gboolean _tmp15_;
#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6072,20 +6118,20 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) {
_tmp4_ = self->priv->message;
#line 962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp4_ == NULL) {
-#line 6076 "CheckerboardLayout.c"
- GtkRequisition _tmp5_ = {0};
- gint _tmp6_ = 0;
+#line 6122 "CheckerboardLayout.c"
+ GtkRequisition _tmp5_;
+ gint _tmp6_;
#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = req;
#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = _tmp5_.height;
#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_ != 0) {
-#line 6085 "CheckerboardLayout.c"
- GtkAllocation _tmp7_ = {0};
- gint _tmp8_ = 0;
- GtkRequisition _tmp9_ = {0};
- gint _tmp10_ = 0;
+#line 6131 "CheckerboardLayout.c"
+ GtkAllocation _tmp7_;
+ gint _tmp8_;
+ GtkRequisition _tmp9_;
+ gint _tmp10_;
#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = parent_allocation;
#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6096,13 +6142,13 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) {
_tmp10_ = _tmp9_.height;
#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp8_ - CHECKERBOARD_LAYOUT_SCROLLBAR_PLACEHOLDER_WIDTH, _tmp10_);
-#line 6100 "CheckerboardLayout.c"
+#line 6146 "CheckerboardLayout.c"
}
} else {
- GtkAllocation _tmp11_ = {0};
- gint _tmp12_ = 0;
- GtkAllocation _tmp13_ = {0};
- gint _tmp14_ = 0;
+ GtkAllocation _tmp11_;
+ gint _tmp12_;
+ GtkAllocation _tmp13_;
+ gint _tmp14_;
#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = parent_allocation;
#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6113,7 +6159,7 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) {
_tmp14_ = _tmp13_.height;
#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp12_, _tmp14_);
-#line 6117 "CheckerboardLayout.c"
+#line 6163 "CheckerboardLayout.c"
}
#line 981 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_viewport_resized (self);
@@ -6123,11 +6169,11 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) {
if (!_tmp15_) {
#line 984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_clear_anchor (self);
-#line 6127 "CheckerboardLayout.c"
+#line 6173 "CheckerboardLayout.c"
} else {
#line 986 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->size_allocate_due_to_reflow = FALSE;
-#line 6131 "CheckerboardLayout.c"
+#line 6177 "CheckerboardLayout.c"
}
}
@@ -6141,7 +6187,7 @@ static void checkerboard_layout_on_viewport_shifted (CheckerboardLayout* self) {
checkerboard_layout_need_exposure (self, "on_viewport_shift");
#line 993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_clear_anchor (self);
-#line 6145 "CheckerboardLayout.c"
+#line 6191 "CheckerboardLayout.c"
}
@@ -6150,12 +6196,12 @@ static void checkerboard_layout_on_items_selection_changed (CheckerboardLayout*
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_clear_anchor (self);
-#line 6154 "CheckerboardLayout.c"
+#line 6200 "CheckerboardLayout.c"
}
static void checkerboard_layout_clear_anchor (CheckerboardLayout* self) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 1000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6164,31 +6210,31 @@ static void checkerboard_layout_clear_anchor (CheckerboardLayout* self) {
if (_tmp0_) {
#line 1002 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6168 "CheckerboardLayout.c"
+#line 6214 "CheckerboardLayout.c"
}
#line 1004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (self->priv->anchor);
#line 1004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->anchor = NULL;
-#line 6174 "CheckerboardLayout.c"
+#line 6220 "CheckerboardLayout.c"
}
static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
GeeList* items_on_page = NULL;
- GdkRectangle _tmp1_ = {0};
- GeeList* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GtkAdjustment* _tmp21_ = NULL;
- gdouble _tmp22_ = 0.0;
- GeeList* _tmp23_ = NULL;
- GeeList* _tmp24_ = NULL;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
- gpointer _tmp27_ = NULL;
+ GdkRectangle _tmp1_;
+ GeeList* _tmp2_;
+ GeeList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GtkAdjustment* _tmp21_;
+ gdouble _tmp22_;
+ GeeList* _tmp23_;
+ GeeList* _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
+ gpointer _tmp27_;
#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6217,16 +6263,16 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
_g_object_unref0 (items_on_page);
#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6221 "CheckerboardLayout.c"
+#line 6267 "CheckerboardLayout.c"
}
{
GeeList* _item_list = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
gint _item_size = 0;
- GeeList* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+ GeeList* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
gint _item_index = 0;
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = items_on_page;
@@ -6246,16 +6292,16 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
_item_index = -1;
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 6250 "CheckerboardLayout.c"
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+#line 6296 "CheckerboardLayout.c"
+ gint _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
CheckerboardItem* item = NULL;
- GeeList* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gpointer _tmp16_ = NULL;
- CheckerboardItem* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
+ GeeList* _tmp14_;
+ gint _tmp15_;
+ gpointer _tmp16_;
+ CheckerboardItem* _tmp17_;
+ gboolean _tmp18_;
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = _item_index;
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6268,7 +6314,7 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
if (!(_tmp12_ < _tmp13_)) {
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 6272 "CheckerboardLayout.c"
+#line 6318 "CheckerboardLayout.c"
}
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _item_list;
@@ -6284,9 +6330,9 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
_tmp18_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_VIEW, DataView));
#line 1017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp18_) {
-#line 6288 "CheckerboardLayout.c"
- CheckerboardItem* _tmp19_ = NULL;
- CheckerboardItem* _tmp20_ = NULL;
+#line 6334 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp19_;
+ CheckerboardItem* _tmp20_;
#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp19_ = item;
#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6303,15 +6349,15 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
_g_object_unref0 (items_on_page);
#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6307 "CheckerboardLayout.c"
+#line 6353 "CheckerboardLayout.c"
}
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 6311 "CheckerboardLayout.c"
+#line 6357 "CheckerboardLayout.c"
}
#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_item_list);
-#line 6315 "CheckerboardLayout.c"
+#line 6361 "CheckerboardLayout.c"
}
#line 1023 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = self->priv->vadjustment;
@@ -6327,7 +6373,7 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
_g_object_unref0 (items_on_page);
#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6331 "CheckerboardLayout.c"
+#line 6377 "CheckerboardLayout.c"
}
#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp23_ = items_on_page;
@@ -6345,30 +6391,30 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) {
self->priv->anchor = (CheckerboardItem*) _tmp27_;
#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (items_on_page);
-#line 6349 "CheckerboardLayout.c"
+#line 6395 "CheckerboardLayout.c"
}
static void checkerboard_layout_center_on_anchor (CheckerboardLayout* self, gdouble upper) {
- CheckerboardItem* _tmp0_ = NULL;
+ CheckerboardItem* _tmp0_;
gdouble anchor_pos = 0.0;
- CheckerboardItem* _tmp1_ = NULL;
- GdkRectangle _tmp2_ = {0};
- gint _tmp3_ = 0;
- CheckerboardItem* _tmp4_ = NULL;
- GdkRectangle _tmp5_ = {0};
- gint _tmp6_ = 0;
- GtkAdjustment* _tmp7_ = NULL;
- gdouble _tmp8_ = 0.0;
- GtkAdjustment* _tmp9_ = NULL;
- gdouble _tmp10_ = 0.0;
- GtkAdjustment* _tmp11_ = NULL;
- gdouble _tmp12_ = 0.0;
- GtkAdjustment* _tmp13_ = NULL;
- gdouble _tmp14_ = 0.0;
- GtkAdjustment* _tmp15_ = NULL;
- gdouble _tmp16_ = 0.0;
- gdouble _tmp17_ = 0.0;
+ CheckerboardItem* _tmp1_;
+ GdkRectangle _tmp2_;
+ gint _tmp3_;
+ CheckerboardItem* _tmp4_;
+ GdkRectangle _tmp5_;
+ gint _tmp6_;
+ GtkAdjustment* _tmp7_;
+ gdouble _tmp8_;
+ GtkAdjustment* _tmp9_;
+ gdouble _tmp10_;
+ GtkAdjustment* _tmp11_;
+ gdouble _tmp12_;
+ GtkAdjustment* _tmp13_;
+ gdouble _tmp14_;
+ GtkAdjustment* _tmp15_;
+ gdouble _tmp16_;
+ gdouble _tmp17_;
#line 1033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6377,7 +6423,7 @@ static void checkerboard_layout_center_on_anchor (CheckerboardLayout* self, gdou
if (_tmp0_ == NULL) {
#line 1035 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6381 "CheckerboardLayout.c"
+#line 6427 "CheckerboardLayout.c"
}
#line 1037 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->in_center_on_anchor = TRUE;
@@ -6421,20 +6467,20 @@ static void checkerboard_layout_center_on_anchor (CheckerboardLayout* self, gdou
gtk_adjustment_set_value (_tmp9_, _tmp17_);
#line 1044 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->in_center_on_anchor = FALSE;
-#line 6425 "CheckerboardLayout.c"
+#line 6471 "CheckerboardLayout.c"
}
void checkerboard_layout_set_cursor (CheckerboardLayout* self, CheckerboardItem* item) {
GeeHashSet* collection = NULL;
- GeeHashSet* _tmp0_ = NULL;
- CheckerboardItem* _tmp1_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp9_ = NULL;
- CheckerboardItem* _tmp10_ = NULL;
- GeeHashSet* _tmp11_ = NULL;
- CheckerboardItem* _tmp12_ = NULL;
- GeeHashSet* _tmp13_ = NULL;
+ GeeHashSet* _tmp0_;
+ CheckerboardItem* _tmp1_;
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp9_;
+ CheckerboardItem* _tmp10_;
+ GeeHashSet* _tmp11_;
+ CheckerboardItem* _tmp12_;
+ GeeHashSet* _tmp13_;
#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6447,11 +6493,11 @@ void checkerboard_layout_set_cursor (CheckerboardLayout* self, CheckerboardItem*
_tmp1_ = self->priv->cursor;
#line 1049 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 6451 "CheckerboardLayout.c"
- CheckerboardItem* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- CheckerboardItem* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+#line 6497 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp2_;
+ ViewCollection* _tmp3_;
+ CheckerboardItem* _tmp4_;
+ gboolean _tmp5_;
#line 1050 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->cursor;
#line 1050 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6464,16 +6510,16 @@ void checkerboard_layout_set_cursor (CheckerboardLayout* self, CheckerboardItem*
_tmp5_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject));
#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp5_) {
-#line 6468 "CheckerboardLayout.c"
- GeeHashSet* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
+#line 6514 "CheckerboardLayout.c"
+ GeeHashSet* _tmp6_;
+ CheckerboardItem* _tmp7_;
#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = collection;
#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = self->priv->cursor;
#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_VIEW, DataView));
-#line 6477 "CheckerboardLayout.c"
+#line 6523 "CheckerboardLayout.c"
}
}
#line 1056 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6500,14 +6546,14 @@ void checkerboard_layout_set_cursor (CheckerboardLayout* self, CheckerboardItem*
checkerboard_layout_on_items_state_changed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ITERABLE, GeeIterable));
#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (collection);
-#line 6504 "CheckerboardLayout.c"
+#line 6550 "CheckerboardLayout.c"
}
CheckerboardItem* checkerboard_layout_get_cursor (CheckerboardLayout* self) {
CheckerboardItem* result = NULL;
- CheckerboardItem* _tmp0_ = NULL;
- CheckerboardItem* _tmp1_ = NULL;
+ CheckerboardItem* _tmp0_;
+ CheckerboardItem* _tmp1_;
#line 1062 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1063 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6518,13 +6564,13 @@ CheckerboardItem* checkerboard_layout_get_cursor (CheckerboardLayout* self) {
result = _tmp1_;
#line 1063 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 6522 "CheckerboardLayout.c"
+#line 6568 "CheckerboardLayout.c"
}
static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, GeeIterable* added, GeeIterable* removed) {
- GeeIterable* _tmp0_ = NULL;
- GeeIterable* _tmp1_ = NULL;
+ GeeIterable* _tmp0_;
+ GeeIterable* _tmp1_;
#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6539,17 +6585,17 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G
_g_free0 (self->priv->message);
#line 1070 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->message = NULL;
-#line 6543 "CheckerboardLayout.c"
+#line 6589 "CheckerboardLayout.c"
}
#line 1072 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = removed;
#line 1072 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 6549 "CheckerboardLayout.c"
+#line 6595 "CheckerboardLayout.c"
{
GeeIterator* _object_it = NULL;
- GeeIterable* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
+ GeeIterable* _tmp2_;
+ GeeIterator* _tmp3_;
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = removed;
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6558,14 +6604,14 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G
_object_it = _tmp3_;
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 6562 "CheckerboardLayout.c"
- GeeIterator* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+#line 6608 "CheckerboardLayout.c"
+ GeeIterator* _tmp4_;
+ gboolean _tmp5_;
DataObject* object = NULL;
- GeeIterator* _tmp6_ = NULL;
- gpointer _tmp7_ = NULL;
- GeeHashSet* _tmp8_ = NULL;
- DataObject* _tmp9_ = NULL;
+ GeeIterator* _tmp6_;
+ gpointer _tmp7_;
+ GeeHashSet* _tmp8_;
+ DataObject* _tmp9_;
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = _object_it;
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6574,7 +6620,7 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G
if (!_tmp5_) {
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 6578 "CheckerboardLayout.c"
+#line 6624 "CheckerboardLayout.c"
}
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = _object_it;
@@ -6590,11 +6636,11 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G
gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (object);
-#line 6594 "CheckerboardLayout.c"
+#line 6640 "CheckerboardLayout.c"
}
#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_object_it);
-#line 6598 "CheckerboardLayout.c"
+#line 6644 "CheckerboardLayout.c"
}
}
#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6607,7 +6653,7 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G
self->priv->_item_rows_size_ = self->priv->item_rows_length1;
#line 1081 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "on_contents_altered");
-#line 6611 "CheckerboardLayout.c"
+#line 6657 "CheckerboardLayout.c"
}
@@ -6616,12 +6662,12 @@ static void checkerboard_layout_on_items_altered (CheckerboardLayout* self) {
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1085 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "on_items_altered");
-#line 6620 "CheckerboardLayout.c"
+#line 6666 "CheckerboardLayout.c"
}
static void checkerboard_layout_on_items_state_changed (CheckerboardLayout* self, GeeIterable* changed) {
- GeeIterable* _tmp0_ = NULL;
+ GeeIterable* _tmp0_;
#line 1088 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1088 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6630,7 +6676,7 @@ static void checkerboard_layout_on_items_state_changed (CheckerboardLayout* self
_tmp0_ = changed;
#line 1089 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_items_dirty (self, "on_items_state_changed", _tmp0_);
-#line 6634 "CheckerboardLayout.c"
+#line 6680 "CheckerboardLayout.c"
}
@@ -6641,7 +6687,7 @@ static void checkerboard_layout_on_items_visibility_changed (CheckerboardLayout*
g_return_if_fail (GEE_IS_ITERABLE (changed));
#line 1093 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "on_items_visibility_changed");
-#line 6645 "CheckerboardLayout.c"
+#line 6691 "CheckerboardLayout.c"
}
@@ -6650,12 +6696,12 @@ static void checkerboard_layout_on_ordering_changed (CheckerboardLayout* self) {
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1097 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "on_ordering_changed");
-#line 6654 "CheckerboardLayout.c"
+#line 6700 "CheckerboardLayout.c"
}
static void checkerboard_layout_on_views_altered (CheckerboardLayout* self, GeeCollection* altered) {
- GeeCollection* _tmp0_ = NULL;
+ GeeCollection* _tmp0_;
#line 1100 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1100 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6664,7 +6710,7 @@ static void checkerboard_layout_on_views_altered (CheckerboardLayout* self, GeeC
_tmp0_ = altered;
#line 1101 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_items_dirty (self, "on_views_altered", G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 6668 "CheckerboardLayout.c"
+#line 6714 "CheckerboardLayout.c"
}
@@ -6673,7 +6719,7 @@ static void checkerboard_layout_on_geometries_altered (CheckerboardLayout* self)
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1105 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "on_geometries_altered");
-#line 6677 "CheckerboardLayout.c"
+#line 6723 "CheckerboardLayout.c"
}
@@ -6682,13 +6728,13 @@ static gboolean _checkerboard_layout_do_reflow_gsource_func (gpointer self) {
result = checkerboard_layout_do_reflow ((CheckerboardLayout*) self);
#line 1121 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 6686 "CheckerboardLayout.c"
+#line 6732 "CheckerboardLayout.c"
}
static void checkerboard_layout_need_reflow (CheckerboardLayout* self, const gchar* caller) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
#line 1108 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1108 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6699,7 +6745,7 @@ static void checkerboard_layout_need_reflow (CheckerboardLayout* self, const gch
if (_tmp0_) {
#line 1110 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6703 "CheckerboardLayout.c"
+#line 6749 "CheckerboardLayout.c"
}
#line 1112 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->is_in_view;
@@ -6709,13 +6755,13 @@ static void checkerboard_layout_need_reflow (CheckerboardLayout* self, const gch
self->priv->reflow_needed = TRUE;
#line 1114 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6713 "CheckerboardLayout.c"
+#line 6759 "CheckerboardLayout.c"
}
#line 1120 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->flow_scheduled = TRUE;
#line 1121 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_idle_add_full (G_PRIORITY_HIGH, _checkerboard_layout_do_reflow_gsource_func, g_object_ref (self), g_object_unref);
-#line 6719 "CheckerboardLayout.c"
+#line 6765 "CheckerboardLayout.c"
}
@@ -6733,7 +6779,7 @@ static gboolean checkerboard_layout_do_reflow (CheckerboardLayout* self) {
result = FALSE;
#line 1130 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 6737 "CheckerboardLayout.c"
+#line 6783 "CheckerboardLayout.c"
}
@@ -6746,16 +6792,16 @@ static void checkerboard_layout_need_exposure (CheckerboardLayout* self, const g
self->priv->exposure_dirty = TRUE;
#line 1138 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 6750 "CheckerboardLayout.c"
+#line 6796 "CheckerboardLayout.c"
}
void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* text) {
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
#line 1141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6766,7 +6812,7 @@ void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* tex
if (g_strcmp0 (_tmp0_, _tmp1_) == 0) {
#line 1143 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 6770 "CheckerboardLayout.c"
+#line 6816 "CheckerboardLayout.c"
}
#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = text;
@@ -6780,24 +6826,24 @@ void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* tex
_tmp4_ = text;
#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp4_ != NULL) {
-#line 6784 "CheckerboardLayout.c"
- GtkContainer* _tmp5_ = NULL;
- GtkContainer* _tmp6_ = NULL;
+#line 6830 "CheckerboardLayout.c"
+ GtkContainer* _tmp5_;
+ GtkContainer* _tmp6_;
#line 1150 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1150 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = _tmp5_;
#line 1150 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_ != NULL) {
-#line 6793 "CheckerboardLayout.c"
+#line 6839 "CheckerboardLayout.c"
GtkAllocation parent_allocation = {0};
- GtkContainer* _tmp7_ = NULL;
- GtkContainer* _tmp8_ = NULL;
+ GtkContainer* _tmp7_;
+ GtkContainer* _tmp8_;
GtkAllocation _tmp9_ = {0};
- GtkAllocation _tmp10_ = {0};
- gint _tmp11_ = 0;
- GtkAllocation _tmp12_ = {0};
- gint _tmp13_ = 0;
+ GtkAllocation _tmp10_;
+ gint _tmp11_;
+ GtkAllocation _tmp12_;
+ gint _tmp13_;
#line 1152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6816,12 +6862,12 @@ void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* tex
_tmp13_ = _tmp12_.height;
#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp11_, _tmp13_);
-#line 6820 "CheckerboardLayout.c"
+#line 6866 "CheckerboardLayout.c"
}
} else {
#line 1158 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "set_message");
-#line 6825 "CheckerboardLayout.c"
+#line 6871 "CheckerboardLayout.c"
}
}
@@ -6831,36 +6877,36 @@ void checkerboard_layout_unset_message (CheckerboardLayout* self) {
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_set_message (self, NULL);
-#line 6835 "CheckerboardLayout.c"
+#line 6881 "CheckerboardLayout.c"
}
static void checkerboard_layout_update_visible_page (CheckerboardLayout* self) {
gboolean _tmp0_ = FALSE;
- GtkAdjustment* _tmp1_ = NULL;
+ GtkAdjustment* _tmp1_;
#line 1166 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->hadjustment;
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != NULL) {
-#line 6848 "CheckerboardLayout.c"
- GtkAdjustment* _tmp2_ = NULL;
+#line 6894 "CheckerboardLayout.c"
+ GtkAdjustment* _tmp2_;
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->vadjustment;
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp2_ != NULL;
-#line 6854 "CheckerboardLayout.c"
+#line 6900 "CheckerboardLayout.c"
} else {
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 6858 "CheckerboardLayout.c"
+#line 6904 "CheckerboardLayout.c"
}
#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
-#line 6862 "CheckerboardLayout.c"
- GtkAdjustment* _tmp3_ = NULL;
- GtkAdjustment* _tmp4_ = NULL;
+#line 6908 "CheckerboardLayout.c"
+ GtkAdjustment* _tmp3_;
+ GtkAdjustment* _tmp4_;
GdkRectangle _tmp5_ = {0};
#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->hadjustment;
@@ -6870,14 +6916,14 @@ static void checkerboard_layout_update_visible_page (CheckerboardLayout* self) {
get_adjustment_page (_tmp3_, _tmp4_, &_tmp5_);
#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->visible_page = _tmp5_;
-#line 6874 "CheckerboardLayout.c"
+#line 6920 "CheckerboardLayout.c"
}
}
void checkerboard_layout_set_in_view (CheckerboardLayout* self, gboolean in_view) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
#line 1171 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6888,24 +6934,24 @@ void checkerboard_layout_set_in_view (CheckerboardLayout* self, gboolean in_view
_tmp1_ = in_view;
#line 1174 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_) {
-#line 6892 "CheckerboardLayout.c"
- gboolean _tmp2_ = FALSE;
+#line 6938 "CheckerboardLayout.c"
+ gboolean _tmp2_;
#line 1175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->reflow_needed;
#line 1175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_) {
#line 1176 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_reflow (self, "set_in_view (true)");
-#line 6900 "CheckerboardLayout.c"
+#line 6946 "CheckerboardLayout.c"
} else {
#line 1178 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_need_exposure (self, "set_in_view (true)");
-#line 6904 "CheckerboardLayout.c"
+#line 6950 "CheckerboardLayout.c"
}
} else {
#line 1180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_unexpose_items (self, "set_in_view (false)");
-#line 6909 "CheckerboardLayout.c"
+#line 6955 "CheckerboardLayout.c"
}
}
@@ -6913,27 +6959,27 @@ void checkerboard_layout_set_in_view (CheckerboardLayout* self, gboolean in_view
static gpointer _checkerboard_layout_layout_row_ref0 (gpointer self) {
#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return self ? checkerboard_layout_layout_row_ref (self) : NULL;
-#line 6917 "CheckerboardLayout.c"
+#line 6963 "CheckerboardLayout.c"
}
CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* self, gdouble xd, gdouble yd) {
CheckerboardItem* result = NULL;
gboolean _tmp0_ = FALSE;
- const gchar* _tmp1_ = NULL;
+ const gchar* _tmp1_;
gint x = 0;
- gdouble _tmp3_ = 0.0;
+ gdouble _tmp3_;
gint y = 0;
- gdouble _tmp4_ = 0.0;
+ gdouble _tmp4_;
CheckerboardLayoutLayoutRow* in_range = NULL;
gint min = 0;
gint max = 0;
- CheckerboardLayoutLayoutRow** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- CheckerboardLayoutLayoutRow* _tmp30_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp31_ = NULL;
- CheckerboardItem** _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
+ CheckerboardLayoutLayoutRow** _tmp5_;
+ gint _tmp5__length1;
+ CheckerboardLayoutLayoutRow* _tmp30_;
+ CheckerboardLayoutLayoutRow* _tmp31_;
+ CheckerboardItem** _tmp32_;
+ gint _tmp32__length1;
#line 1183 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -6942,17 +6988,17 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
if (_tmp1_ != NULL) {
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = TRUE;
-#line 6946 "CheckerboardLayout.c"
+#line 6992 "CheckerboardLayout.c"
} else {
- CheckerboardLayoutLayoutRow** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
+ CheckerboardLayoutLayoutRow** _tmp2_;
+ gint _tmp2__length1;
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->item_rows;
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2__length1 = self->priv->item_rows_length1;
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 6956 "CheckerboardLayout.c"
+#line 7002 "CheckerboardLayout.c"
}
#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
@@ -6960,7 +7006,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
result = NULL;
#line 1185 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 6964 "CheckerboardLayout.c"
+#line 7010 "CheckerboardLayout.c"
}
#line 1187 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = xd;
@@ -6980,31 +7026,31 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp5__length1 = self->priv->item_rows_length1;
#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max = _tmp5__length1;
-#line 6984 "CheckerboardLayout.c"
+#line 7030 "CheckerboardLayout.c"
{
gboolean _tmp6_ = FALSE;
#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = TRUE;
#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 6991 "CheckerboardLayout.c"
+#line 7037 "CheckerboardLayout.c"
gint mid = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
CheckerboardLayoutLayoutRow* row = NULL;
- CheckerboardLayoutLayoutRow** _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- gint _tmp11_ = 0;
- CheckerboardLayoutLayoutRow* _tmp12_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp13_ = NULL;
+ CheckerboardLayoutLayoutRow** _tmp10_;
+ gint _tmp10__length1;
+ gint _tmp11_;
+ CheckerboardLayoutLayoutRow* _tmp12_;
+ CheckerboardLayoutLayoutRow* _tmp13_;
gboolean _tmp14_ = FALSE;
- CheckerboardLayoutLayoutRow* _tmp15_ = NULL;
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
+ CheckerboardLayoutLayoutRow* _tmp15_;
+ gint _tmp28_;
+ gint _tmp29_;
#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp6_) {
-#line 7008 "CheckerboardLayout.c"
+#line 7054 "CheckerboardLayout.c"
}
#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = FALSE;
@@ -7034,11 +7080,11 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
if (_tmp15_ == NULL) {
#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = TRUE;
-#line 7038 "CheckerboardLayout.c"
+#line 7084 "CheckerboardLayout.c"
} else {
- gint _tmp16_ = 0;
- CheckerboardLayoutLayoutRow* _tmp17_ = NULL;
- gint _tmp18_ = 0;
+ gint _tmp16_;
+ CheckerboardLayoutLayoutRow* _tmp17_;
+ gint _tmp18_;
#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = y;
#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7047,23 +7093,23 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp18_ = _tmp17_->y;
#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _tmp16_ < _tmp18_;
-#line 7051 "CheckerboardLayout.c"
+#line 7097 "CheckerboardLayout.c"
}
#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_) {
-#line 7055 "CheckerboardLayout.c"
- gint _tmp19_ = 0;
+#line 7101 "CheckerboardLayout.c"
+ gint _tmp19_;
#line 1201 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp19_ = mid;
#line 1201 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max = _tmp19_ - 1;
-#line 7061 "CheckerboardLayout.c"
+#line 7107 "CheckerboardLayout.c"
} else {
- gint _tmp20_ = 0;
- CheckerboardLayoutLayoutRow* _tmp21_ = NULL;
- gint _tmp22_ = 0;
- CheckerboardLayoutLayoutRow* _tmp23_ = NULL;
- gint _tmp24_ = 0;
+ gint _tmp20_;
+ CheckerboardLayoutLayoutRow* _tmp21_;
+ gint _tmp22_;
+ CheckerboardLayoutLayoutRow* _tmp23_;
+ gint _tmp24_;
#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = y;
#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7076,16 +7122,16 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp24_ = _tmp23_->height;
#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp20_ > (_tmp22_ + _tmp24_)) {
-#line 7080 "CheckerboardLayout.c"
- gint _tmp25_ = 0;
+#line 7126 "CheckerboardLayout.c"
+ gint _tmp25_;
#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp25_ = mid;
#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
min = _tmp25_ + 1;
-#line 7086 "CheckerboardLayout.c"
+#line 7132 "CheckerboardLayout.c"
} else {
- CheckerboardLayoutLayoutRow* _tmp26_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp27_ = NULL;
+ CheckerboardLayoutLayoutRow* _tmp26_;
+ CheckerboardLayoutLayoutRow* _tmp27_;
#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = row;
#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7098,7 +7144,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_checkerboard_layout_layout_row_unref0 (row);
#line 1209 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 7102 "CheckerboardLayout.c"
+#line 7148 "CheckerboardLayout.c"
}
}
#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7111,11 +7157,11 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_checkerboard_layout_layout_row_unref0 (row);
#line 1213 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 7115 "CheckerboardLayout.c"
+#line 7161 "CheckerboardLayout.c"
}
#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_layout_layout_row_unref0 (row);
-#line 7119 "CheckerboardLayout.c"
+#line 7165 "CheckerboardLayout.c"
}
}
#line 1216 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7128,7 +7174,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_checkerboard_layout_layout_row_unref0 (in_range);
#line 1217 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7132 "CheckerboardLayout.c"
+#line 7178 "CheckerboardLayout.c"
}
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp31_ = in_range;
@@ -7136,7 +7182,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp32_ = _tmp31_->items;
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp32__length1 = _tmp31_->items_length1;
-#line 7140 "CheckerboardLayout.c"
+#line 7186 "CheckerboardLayout.c"
{
CheckerboardItem** item_collection = NULL;
gint item_collection_length1 = 0;
@@ -7148,29 +7194,29 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
item_collection_length1 = _tmp32__length1;
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
for (item_it = 0; item_it < _tmp32__length1; item_it = item_it + 1) {
-#line 7152 "CheckerboardLayout.c"
- CheckerboardItem* _tmp33_ = NULL;
+#line 7198 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp33_;
CheckerboardItem* item = NULL;
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = _g_object_ref0 (item_collection[item_it]);
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
item = _tmp33_;
-#line 7159 "CheckerboardLayout.c"
+#line 7205 "CheckerboardLayout.c"
{
- CheckerboardItem* _tmp34_ = NULL;
- gint _tmp35_ = 0;
- CheckerboardItem* _tmp36_ = NULL;
- GdkRectangle _tmp37_ = {0};
- gint _tmp38_ = 0;
+ CheckerboardItem* _tmp34_;
+ gint _tmp35_;
+ CheckerboardItem* _tmp36_;
+ GdkRectangle _tmp37_;
+ gint _tmp38_;
gboolean _tmp39_ = FALSE;
gboolean _tmp40_ = FALSE;
- gint _tmp41_ = 0;
- CheckerboardItem* _tmp42_ = NULL;
- GdkRectangle _tmp43_ = {0};
- gint _tmp44_ = 0;
- CheckerboardItem* _tmp45_ = NULL;
- GdkRectangle _tmp46_ = {0};
- gint _tmp47_ = 0;
+ gint _tmp41_;
+ CheckerboardItem* _tmp42_;
+ GdkRectangle _tmp43_;
+ gint _tmp44_;
+ CheckerboardItem* _tmp45_;
+ GdkRectangle _tmp46_;
+ gint _tmp47_;
#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp34_ = item;
#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7179,7 +7225,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_g_object_unref0 (item);
#line 1224 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 7183 "CheckerboardLayout.c"
+#line 7229 "CheckerboardLayout.c"
}
#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = x;
@@ -7195,7 +7241,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_g_object_unref0 (item);
#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 7199 "CheckerboardLayout.c"
+#line 7245 "CheckerboardLayout.c"
}
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp41_ = x;
@@ -7213,11 +7259,11 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp47_ = _tmp46_.width;
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp41_ <= (_tmp44_ + _tmp47_)) {
-#line 7217 "CheckerboardLayout.c"
- gint _tmp48_ = 0;
- CheckerboardItem* _tmp49_ = NULL;
- GdkRectangle _tmp50_ = {0};
- gint _tmp51_ = 0;
+#line 7263 "CheckerboardLayout.c"
+ gint _tmp48_;
+ CheckerboardItem* _tmp49_;
+ GdkRectangle _tmp50_;
+ gint _tmp51_;
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp48_ = y;
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7228,22 +7274,22 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp51_ = _tmp50_.y;
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp40_ = _tmp48_ >= _tmp51_;
-#line 7232 "CheckerboardLayout.c"
+#line 7278 "CheckerboardLayout.c"
} else {
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp40_ = FALSE;
-#line 7236 "CheckerboardLayout.c"
+#line 7282 "CheckerboardLayout.c"
}
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp40_) {
-#line 7240 "CheckerboardLayout.c"
- gint _tmp52_ = 0;
- CheckerboardItem* _tmp53_ = NULL;
- GdkRectangle _tmp54_ = {0};
- gint _tmp55_ = 0;
- CheckerboardItem* _tmp56_ = NULL;
- GdkRectangle _tmp57_ = {0};
- gint _tmp58_ = 0;
+#line 7286 "CheckerboardLayout.c"
+ gint _tmp52_;
+ CheckerboardItem* _tmp53_;
+ GdkRectangle _tmp54_;
+ gint _tmp55_;
+ CheckerboardItem* _tmp56_;
+ GdkRectangle _tmp57_;
+ gint _tmp58_;
#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp52_ = y;
#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7260,11 +7306,11 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_tmp58_ = _tmp57_.height;
#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = _tmp52_ <= (_tmp55_ + _tmp58_);
-#line 7264 "CheckerboardLayout.c"
+#line 7310 "CheckerboardLayout.c"
} else {
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = FALSE;
-#line 7268 "CheckerboardLayout.c"
+#line 7314 "CheckerboardLayout.c"
}
#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp39_) {
@@ -7274,11 +7320,11 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_checkerboard_layout_layout_row_unref0 (in_range);
#line 1235 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7278 "CheckerboardLayout.c"
+#line 7324 "CheckerboardLayout.c"
}
#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 7282 "CheckerboardLayout.c"
+#line 7328 "CheckerboardLayout.c"
}
}
}
@@ -7288,68 +7334,68 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel
_checkerboard_layout_layout_row_unref0 (in_range);
#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7292 "CheckerboardLayout.c"
+#line 7338 "CheckerboardLayout.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 7310 "CheckerboardLayout.c"
+#line 7356 "CheckerboardLayout.c"
}
static glong string_strnlen (gchar* str, glong maxlen) {
glong result = 0L;
gchar* end = NULL;
- gchar* _tmp0_ = NULL;
- glong _tmp1_ = 0L;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+ glong _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 7333 "CheckerboardLayout.c"
- glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 7379 "CheckerboardLayout.c"
+ glong _tmp4_;
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 7341 "CheckerboardLayout.c"
+#line 7387 "CheckerboardLayout.c"
} else {
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 7353 "CheckerboardLayout.c"
+#line 7399 "CheckerboardLayout.c"
}
}
@@ -7358,138 +7404,138 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
gchar* result = NULL;
glong string_length = 0L;
gboolean _tmp0_ = FALSE;
- glong _tmp1_ = 0L;
- glong _tmp8_ = 0L;
- glong _tmp14_ = 0L;
- glong _tmp17_ = 0L;
- glong _tmp18_ = 0L;
- glong _tmp19_ = 0L;
- glong _tmp20_ = 0L;
- glong _tmp21_ = 0L;
- gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp1_;
+ glong _tmp8_;
+ glong _tmp14_;
+ glong _tmp17_;
+ glong _tmp18_;
+ glong _tmp19_;
+ glong _tmp20_;
+ glong _tmp21_;
+ gchar* _tmp22_;
+#line 1333 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 7377 "CheckerboardLayout.c"
- glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 7423 "CheckerboardLayout.c"
+ glong _tmp2_;
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 7383 "CheckerboardLayout.c"
+#line 7429 "CheckerboardLayout.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 7387 "CheckerboardLayout.c"
+#line 7433 "CheckerboardLayout.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 7391 "CheckerboardLayout.c"
- glong _tmp3_ = 0L;
- glong _tmp4_ = 0L;
- glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 7437 "CheckerboardLayout.c"
+ glong _tmp3_;
+ glong _tmp4_;
+ glong _tmp5_;
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 7403 "CheckerboardLayout.c"
+#line 7449 "CheckerboardLayout.c"
} else {
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gint _tmp6_;
+ gint _tmp7_;
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 7413 "CheckerboardLayout.c"
+#line 7459 "CheckerboardLayout.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 7419 "CheckerboardLayout.c"
- glong _tmp9_ = 0L;
- glong _tmp10_ = 0L;
- glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 7465 "CheckerboardLayout.c"
+ glong _tmp9_;
+ glong _tmp10_;
+ glong _tmp11_;
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 7433 "CheckerboardLayout.c"
+#line 7479 "CheckerboardLayout.c"
} else {
- glong _tmp12_ = 0L;
- glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp12_;
+ glong _tmp13_;
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 7443 "CheckerboardLayout.c"
+#line 7489 "CheckerboardLayout.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 7449 "CheckerboardLayout.c"
- glong _tmp15_ = 0L;
- glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 7495 "CheckerboardLayout.c"
+ glong _tmp15_;
+ glong _tmp16_;
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 7458 "CheckerboardLayout.c"
+#line 7504 "CheckerboardLayout.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 7478 "CheckerboardLayout.c"
+#line 7524 "CheckerboardLayout.c"
}
gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos) {
gint result = 0;
gint sep_len = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
gint len = 0;
- const gchar* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ const gchar* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
gboolean _tmp6_ = FALSE;
- gint _tmp7_ = 0;
+ gint _tmp7_;
gint index = 0;
#line 1241 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (tag_list != NULL, 0);
@@ -7517,17 +7563,17 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
if (_tmp7_ < 0) {
#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = TRUE;
-#line 7521 "CheckerboardLayout.c"
+#line 7567 "CheckerboardLayout.c"
} else {
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+ gint _tmp8_;
+ gint _tmp9_;
#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = pos;
#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp9_ = len;
#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = _tmp8_ >= _tmp9_;
-#line 7531 "CheckerboardLayout.c"
+#line 7577 "CheckerboardLayout.c"
}
#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_) {
@@ -7535,37 +7581,37 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
result = -1;
#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7539 "CheckerboardLayout.c"
+#line 7585 "CheckerboardLayout.c"
}
{
gint i = 0;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
i = 0;
-#line 7545 "CheckerboardLayout.c"
+#line 7591 "CheckerboardLayout.c"
{
gboolean _tmp10_ = FALSE;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = TRUE;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 7552 "CheckerboardLayout.c"
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+#line 7598 "CheckerboardLayout.c"
+ gint _tmp12_;
+ gint _tmp13_;
gboolean _tmp14_ = FALSE;
- const gchar* _tmp15_ = NULL;
- gint _tmp16_ = 0;
- gchar _tmp17_ = '\0';
- gint _tmp18_ = 0;
- gchar _tmp19_ = '\0';
+ const gchar* _tmp15_;
+ gint _tmp16_;
+ gchar _tmp17_;
+ gint _tmp18_;
+ gchar _tmp19_;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp10_) {
-#line 7563 "CheckerboardLayout.c"
- gint _tmp11_ = 0;
+#line 7609 "CheckerboardLayout.c"
+ gint _tmp11_;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = i;
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
i = _tmp11_ + 1;
-#line 7569 "CheckerboardLayout.c"
+#line 7615 "CheckerboardLayout.c"
}
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = FALSE;
@@ -7577,7 +7623,7 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
if (!(_tmp12_ < _tmp13_)) {
#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 7581 "CheckerboardLayout.c"
+#line 7627 "CheckerboardLayout.c"
}
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = tag_list;
@@ -7591,31 +7637,31 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
_tmp19_ = string_get (TAG_TAG_LIST_SEPARATOR_STRING, (glong) _tmp18_);
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp17_ == _tmp19_) {
-#line 7595 "CheckerboardLayout.c"
- gint _tmp20_ = 0;
- gint _tmp21_ = 0;
+#line 7641 "CheckerboardLayout.c"
+ gint _tmp20_;
+ gint _tmp21_;
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = pos;
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = i;
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _tmp20_ >= _tmp21_;
-#line 7604 "CheckerboardLayout.c"
+#line 7650 "CheckerboardLayout.c"
} else {
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = FALSE;
-#line 7608 "CheckerboardLayout.c"
+#line 7654 "CheckerboardLayout.c"
}
#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_) {
-#line 7612 "CheckerboardLayout.c"
- const gchar* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gchar* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
- gboolean _tmp28_ = FALSE;
+#line 7658 "CheckerboardLayout.c"
+ const gchar* _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ gchar* _tmp26_;
+ gchar* _tmp27_;
+ gboolean _tmp28_;
#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp22_ = tag_list;
#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7638,7 +7684,7 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
result = -1;
#line 1252 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7642 "CheckerboardLayout.c"
+#line 7688 "CheckerboardLayout.c"
}
}
}
@@ -7646,36 +7692,36 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
}
#line 1259 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
index = 0;
-#line 7650 "CheckerboardLayout.c"
+#line 7696 "CheckerboardLayout.c"
{
gint i = 0;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
i = 0;
-#line 7655 "CheckerboardLayout.c"
+#line 7701 "CheckerboardLayout.c"
{
gboolean _tmp29_ = FALSE;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp29_ = TRUE;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 7662 "CheckerboardLayout.c"
- gint _tmp31_ = 0;
- gint _tmp32_ = 0;
+#line 7708 "CheckerboardLayout.c"
+ gint _tmp31_;
+ gint _tmp32_;
gboolean _tmp33_ = FALSE;
gboolean _tmp34_ = FALSE;
- const gchar* _tmp35_ = NULL;
- gint _tmp36_ = 0;
- gchar _tmp37_ = '\0';
- gchar _tmp38_ = '\0';
+ const gchar* _tmp35_;
+ gint _tmp36_;
+ gchar _tmp37_;
+ gchar _tmp38_;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp29_) {
-#line 7673 "CheckerboardLayout.c"
- gint _tmp30_ = 0;
+#line 7719 "CheckerboardLayout.c"
+ gint _tmp30_;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp30_ = i;
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
i = _tmp30_ + 1;
-#line 7679 "CheckerboardLayout.c"
+#line 7725 "CheckerboardLayout.c"
}
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp29_ = FALSE;
@@ -7687,7 +7733,7 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
if (!(_tmp31_ < _tmp32_)) {
#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 7691 "CheckerboardLayout.c"
+#line 7737 "CheckerboardLayout.c"
}
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = tag_list;
@@ -7699,10 +7745,10 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
_tmp38_ = string_get (TAG_TAG_LIST_SEPARATOR_STRING, (glong) 0);
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp37_ == _tmp38_) {
-#line 7703 "CheckerboardLayout.c"
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
- gint _tmp41_ = 0;
+#line 7749 "CheckerboardLayout.c"
+ gint _tmp39_;
+ gint _tmp40_;
+ gint _tmp41_;
#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = i;
#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7711,20 +7757,20 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
_tmp41_ = len;
#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp34_ = (_tmp39_ + _tmp40_) <= _tmp41_;
-#line 7715 "CheckerboardLayout.c"
+#line 7761 "CheckerboardLayout.c"
} else {
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp34_ = FALSE;
-#line 7719 "CheckerboardLayout.c"
+#line 7765 "CheckerboardLayout.c"
}
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp34_) {
-#line 7723 "CheckerboardLayout.c"
- const gchar* _tmp42_ = NULL;
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
- gchar* _tmp45_ = NULL;
- gchar* _tmp46_ = NULL;
+#line 7769 "CheckerboardLayout.c"
+ const gchar* _tmp42_;
+ gint _tmp43_;
+ gint _tmp44_;
+ gchar* _tmp45_;
+ gchar* _tmp46_;
#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp42_ = tag_list;
#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7739,18 +7785,18 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
_tmp33_ = g_strcmp0 (_tmp46_, TAG_TAG_LIST_SEPARATOR_STRING) == 0;
#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp46_);
-#line 7743 "CheckerboardLayout.c"
+#line 7789 "CheckerboardLayout.c"
} else {
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = FALSE;
-#line 7747 "CheckerboardLayout.c"
+#line 7793 "CheckerboardLayout.c"
}
#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp33_) {
-#line 7751 "CheckerboardLayout.c"
- gint _tmp47_ = 0;
- gint _tmp48_ = 0;
- gint _tmp49_ = 0;
+#line 7797 "CheckerboardLayout.c"
+ gint _tmp47_;
+ gint _tmp48_;
+ gint _tmp49_;
#line 1264 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp47_ = index;
#line 1264 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7761,7 +7807,7 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
_tmp49_ = sep_len;
#line 1265 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
i = _tmp48_ + (_tmp49_ - 1);
-#line 7765 "CheckerboardLayout.c"
+#line 7811 "CheckerboardLayout.c"
}
}
}
@@ -7770,35 +7816,35 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos)
result = index;
#line 1268 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7774 "CheckerboardLayout.c"
+#line 7820 "CheckerboardLayout.c"
}
static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLayout* self, CheckerboardItem* item, gint x, gint y) {
gint result = 0;
PangoLayout* layout = NULL;
- CheckerboardItem* _tmp0_ = NULL;
- PangoLayout* _tmp1_ = NULL;
- PangoLayout* _tmp2_ = NULL;
+ CheckerboardItem* _tmp0_;
+ PangoLayout* _tmp1_;
+ PangoLayout* _tmp2_;
GdkRectangle rect = {0};
- CheckerboardItem* _tmp3_ = NULL;
+ CheckerboardItem* _tmp3_;
GdkRectangle _tmp4_ = {0};
gint index = 0;
gint trailing = 0;
gint px = 0;
- gint _tmp5_ = 0;
- GdkRectangle _tmp6_ = {0};
- gint _tmp7_ = 0;
+ gint _tmp5_;
+ GdkRectangle _tmp6_;
+ gint _tmp7_;
gint py = 0;
- gint _tmp8_ = 0;
- GdkRectangle _tmp9_ = {0};
- gint _tmp10_ = 0;
- PangoLayout* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ gint _tmp8_;
+ GdkRectangle _tmp9_;
+ gint _tmp10_;
+ PangoLayout* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
- gboolean _tmp16_ = FALSE;
+ gboolean _tmp16_;
#line 1271 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), 0);
#line 1271 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7819,7 +7865,7 @@ static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLay
_g_object_unref0 (layout);
#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7823 "CheckerboardLayout.c"
+#line 7869 "CheckerboardLayout.c"
}
#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = item;
@@ -7857,11 +7903,11 @@ static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLay
trailing = _tmp15_;
#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp16_) {
-#line 7861 "CheckerboardLayout.c"
- PangoLayout* _tmp17_ = NULL;
- const gchar* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
+#line 7907 "CheckerboardLayout.c"
+ PangoLayout* _tmp17_;
+ const gchar* _tmp18_;
+ gint _tmp19_;
+ gint _tmp20_;
#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = layout;
#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7876,7 +7922,7 @@ static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLay
_g_object_unref0 (layout);
#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7880 "CheckerboardLayout.c"
+#line 7926 "CheckerboardLayout.c"
}
#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = -1;
@@ -7884,24 +7930,24 @@ static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLay
_g_object_unref0 (layout);
#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7888 "CheckerboardLayout.c"
+#line 7934 "CheckerboardLayout.c"
}
gboolean checkerboard_layout_handle_mouse_motion (CheckerboardLayout* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
- CheckerboardItem* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
+ CheckerboardItem* _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
gint tag_index = 0;
- CheckerboardItem* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- CheckerboardItem* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+ CheckerboardItem* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ CheckerboardItem* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), FALSE);
#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7916,14 +7962,14 @@ gboolean checkerboard_layout_handle_mouse_motion (CheckerboardLayout* self, Chec
if (!_tmp3_) {
#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = TRUE;
-#line 7920 "CheckerboardLayout.c"
+#line 7966 "CheckerboardLayout.c"
} else {
- gboolean _tmp4_ = FALSE;
+ gboolean _tmp4_;
#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = checkerboard_layout_is_drag_select_active (self);
#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_;
-#line 7927 "CheckerboardLayout.c"
+#line 7973 "CheckerboardLayout.c"
}
#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
@@ -7931,7 +7977,7 @@ gboolean checkerboard_layout_handle_mouse_motion (CheckerboardLayout* self, Chec
result = FALSE;
#line 1286 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7935 "CheckerboardLayout.c"
+#line 7981 "CheckerboardLayout.c"
}
#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = item;
@@ -7955,20 +8001,20 @@ gboolean checkerboard_layout_handle_mouse_motion (CheckerboardLayout* self, Chec
result = _tmp11_ >= 0;
#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 7959 "CheckerboardLayout.c"
+#line 8005 "CheckerboardLayout.c"
}
gboolean checkerboard_layout_handle_left_click (CheckerboardLayout* self, CheckerboardItem* item, gdouble xd, gdouble yd, GdkModifierType mask) {
gboolean result = FALSE;
gint tag_index = 0;
- CheckerboardItem* _tmp0_ = NULL;
- gdouble _tmp1_ = 0.0;
- gdouble _tmp2_ = 0.0;
- gdouble _tmp3_ = 0.0;
- gdouble _tmp4_ = 0.0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ CheckerboardItem* _tmp0_;
+ gdouble _tmp1_;
+ gdouble _tmp2_;
+ gdouble _tmp3_;
+ gdouble _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), FALSE);
#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -7991,14 +8037,14 @@ gboolean checkerboard_layout_handle_left_click (CheckerboardLayout* self, Checke
_tmp6_ = tag_index;
#line 1294 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp6_ >= 0) {
-#line 7995 "CheckerboardLayout.c"
+#line 8041 "CheckerboardLayout.c"
Tag* tag = NULL;
- CheckerboardItem* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- Tag* _tmp9_ = NULL;
- LibraryWindow* _tmp10_ = NULL;
- LibraryWindow* _tmp11_ = NULL;
- Tag* _tmp12_ = NULL;
+ CheckerboardItem* _tmp7_;
+ gint _tmp8_;
+ Tag* _tmp9_;
+ LibraryWindow* _tmp10_;
+ LibraryWindow* _tmp11_;
+ Tag* _tmp12_;
#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = item;
#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8023,20 +8069,20 @@ gboolean checkerboard_layout_handle_left_click (CheckerboardLayout* self, Checke
_g_object_unref0 (tag);
#line 1297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8027 "CheckerboardLayout.c"
+#line 8073 "CheckerboardLayout.c"
}
#line 1299 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = FALSE;
#line 1299 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8033 "CheckerboardLayout.c"
+#line 8079 "CheckerboardLayout.c"
}
GeeList* checkerboard_layout_get_visible_items (CheckerboardLayout* self) {
GeeList* result = NULL;
- GdkRectangle _tmp0_ = {0};
- GeeList* _tmp1_ = NULL;
+ GdkRectangle _tmp0_;
+ GeeList* _tmp1_;
#line 1302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8047,19 +8093,19 @@ GeeList* checkerboard_layout_get_visible_items (CheckerboardLayout* self) {
result = _tmp1_;
#line 1303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8051 "CheckerboardLayout.c"
+#line 8097 "CheckerboardLayout.c"
}
GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangle* area) {
GeeList* result = NULL;
GeeArrayList* intersects = NULL;
- GeeArrayList* _tmp0_ = NULL;
+ GeeArrayList* _tmp0_;
GtkAllocation allocation = {0};
GtkAllocation _tmp1_ = {0};
GdkRectangle bitbucket = {0};
- CheckerboardLayoutLayoutRow** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
+ CheckerboardLayoutLayoutRow** _tmp2_;
+ gint _tmp2__length1;
#line 1306 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1306 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8078,7 +8124,7 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
_tmp2_ = self->priv->item_rows;
#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2__length1 = self->priv->item_rows_length1;
-#line 8082 "CheckerboardLayout.c"
+#line 8128 "CheckerboardLayout.c"
{
CheckerboardLayoutLayoutRow** row_collection = NULL;
gint row_collection_length1 = 0;
@@ -8090,38 +8136,38 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
row_collection_length1 = _tmp2__length1;
#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
for (row_it = 0; row_it < _tmp2__length1; row_it = row_it + 1) {
-#line 8094 "CheckerboardLayout.c"
- CheckerboardLayoutLayoutRow* _tmp3_ = NULL;
+#line 8140 "CheckerboardLayout.c"
+ CheckerboardLayoutLayoutRow* _tmp3_;
CheckerboardLayoutLayoutRow* row = NULL;
#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = _checkerboard_layout_layout_row_ref0 (row_collection[row_it]);
#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = _tmp3_;
-#line 8101 "CheckerboardLayout.c"
+#line 8147 "CheckerboardLayout.c"
{
- CheckerboardLayoutLayoutRow* _tmp4_ = NULL;
- GdkRectangle _tmp5_ = {0};
- gint _tmp6_ = 0;
- GdkRectangle _tmp7_ = {0};
- gint _tmp8_ = 0;
- CheckerboardLayoutLayoutRow* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- CheckerboardLayoutLayoutRow* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- CheckerboardLayoutLayoutRow* _tmp13_ = NULL;
- gint _tmp14_ = 0;
- GdkRectangle _tmp15_ = {0};
- gint _tmp16_ = 0;
+ CheckerboardLayoutLayoutRow* _tmp4_;
+ GdkRectangle _tmp5_;
+ gint _tmp6_;
+ GdkRectangle _tmp7_;
+ gint _tmp8_;
+ CheckerboardLayoutLayoutRow* _tmp9_;
+ gint _tmp10_;
+ CheckerboardLayoutLayoutRow* _tmp11_;
+ gint _tmp12_;
+ CheckerboardLayoutLayoutRow* _tmp13_;
+ gint _tmp14_;
+ GdkRectangle _tmp15_;
+ gint _tmp16_;
GdkRectangle row_rect = {0};
- CheckerboardLayoutLayoutRow* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- GtkAllocation _tmp19_ = {0};
- gint _tmp20_ = 0;
- CheckerboardLayoutLayoutRow* _tmp21_ = NULL;
- gint _tmp22_ = 0;
- GdkRectangle _tmp23_ = {0};
+ CheckerboardLayoutLayoutRow* _tmp17_;
+ gint _tmp18_;
+ GtkAllocation _tmp19_;
+ gint _tmp20_;
+ CheckerboardLayoutLayoutRow* _tmp21_;
+ gint _tmp22_;
+ GdkRectangle _tmp23_;
GdkRectangle _tmp24_ = {0};
- gboolean _tmp25_ = FALSE;
+ gboolean _tmp25_;
#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = row;
#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8130,7 +8176,7 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
_checkerboard_layout_layout_row_unref0 (row);
#line 1315 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 8134 "CheckerboardLayout.c"
+#line 8180 "CheckerboardLayout.c"
}
#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = *area;
@@ -8150,7 +8196,7 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
_checkerboard_layout_layout_row_unref0 (row);
#line 1319 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 8154 "CheckerboardLayout.c"
+#line 8200 "CheckerboardLayout.c"
}
#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = row;
@@ -8170,7 +8216,7 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
_checkerboard_layout_layout_row_unref0 (row);
#line 1324 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 8174 "CheckerboardLayout.c"
+#line 8220 "CheckerboardLayout.c"
}
#line 1328 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
memset (&row_rect, 0, sizeof (GdkRectangle));
@@ -8202,17 +8248,17 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
bitbucket = _tmp24_;
#line 1334 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp25_) {
-#line 8206 "CheckerboardLayout.c"
- CheckerboardLayoutLayoutRow* _tmp26_ = NULL;
- CheckerboardItem** _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
+#line 8252 "CheckerboardLayout.c"
+ CheckerboardLayoutLayoutRow* _tmp26_;
+ CheckerboardItem** _tmp27_;
+ gint _tmp27__length1;
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = row;
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = _tmp26_->items;
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27__length1 = _tmp26_->items_length1;
-#line 8216 "CheckerboardLayout.c"
+#line 8262 "CheckerboardLayout.c"
{
CheckerboardItem** item_collection = NULL;
gint item_collection_length1 = 0;
@@ -8224,20 +8270,20 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
item_collection_length1 = _tmp27__length1;
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
for (item_it = 0; item_it < _tmp27__length1; item_it = item_it + 1) {
-#line 8228 "CheckerboardLayout.c"
- CheckerboardItem* _tmp28_ = NULL;
+#line 8274 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp28_;
CheckerboardItem* item = NULL;
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp28_ = _g_object_ref0 (item_collection[item_it]);
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
item = _tmp28_;
-#line 8235 "CheckerboardLayout.c"
+#line 8281 "CheckerboardLayout.c"
{
- CheckerboardItem* _tmp29_ = NULL;
- CheckerboardItem* _tmp30_ = NULL;
- GdkRectangle _tmp31_ = {0};
+ CheckerboardItem* _tmp29_;
+ CheckerboardItem* _tmp30_;
+ GdkRectangle _tmp31_;
GdkRectangle _tmp32_ = {0};
- gboolean _tmp33_ = FALSE;
+ gboolean _tmp33_;
#line 1337 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp29_ = item;
#line 1337 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8246,7 +8292,7 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
_g_object_unref0 (item);
#line 1338 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 8250 "CheckerboardLayout.c"
+#line 8296 "CheckerboardLayout.c"
}
#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp30_ = item;
@@ -8258,27 +8304,27 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
bitbucket = _tmp32_;
#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp33_) {
-#line 8262 "CheckerboardLayout.c"
- GeeArrayList* _tmp34_ = NULL;
- CheckerboardItem* _tmp35_ = NULL;
+#line 8308 "CheckerboardLayout.c"
+ GeeArrayList* _tmp34_;
+ CheckerboardItem* _tmp35_;
#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp34_ = intersects;
#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = item;
#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp35_);
-#line 8271 "CheckerboardLayout.c"
+#line 8317 "CheckerboardLayout.c"
}
#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 8275 "CheckerboardLayout.c"
+#line 8321 "CheckerboardLayout.c"
}
}
}
}
#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_layout_layout_row_unref0 (row);
-#line 8282 "CheckerboardLayout.c"
+#line 8328 "CheckerboardLayout.c"
}
}
}
@@ -8286,34 +8332,34 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl
result = G_TYPE_CHECK_INSTANCE_CAST (intersects, GEE_TYPE_LIST, GeeList);
#line 1346 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8290 "CheckerboardLayout.c"
+#line 8336 "CheckerboardLayout.c"
}
CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout* self, CheckerboardItem* item, CompassPoint point) {
CheckerboardItem* result = NULL;
- ViewCollection* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
+ ViewCollection* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
gint col = 0;
- CheckerboardItem* _tmp4_ = NULL;
- gint _tmp5_ = 0;
+ CheckerboardItem* _tmp4_;
+ gint _tmp5_;
gint row = 0;
- CheckerboardItem* _tmp6_ = NULL;
- gint _tmp7_ = 0;
+ CheckerboardItem* _tmp6_;
+ gint _tmp7_;
gboolean _tmp8_ = FALSE;
- gint _tmp9_ = 0;
- CompassPoint _tmp14_ = 0;
+ gint _tmp9_;
+ CompassPoint _tmp14_;
CheckerboardItem* new_item = NULL;
- gint _tmp35_ = 0;
- gint _tmp36_ = 0;
- CheckerboardItem* _tmp37_ = NULL;
+ gint _tmp35_;
+ gint _tmp36_;
+ CheckerboardItem* _tmp37_;
gboolean _tmp38_ = FALSE;
- CheckerboardItem* _tmp39_ = NULL;
+ CheckerboardItem* _tmp39_;
CheckerboardItem* _tmp47_ = NULL;
- CheckerboardItem* _tmp48_ = NULL;
- CheckerboardItem* _tmp51_ = NULL;
+ CheckerboardItem* _tmp48_;
+ CheckerboardItem* _tmp51_;
#line 1349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8328,7 +8374,7 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
result = NULL;
#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8332 "CheckerboardLayout.c"
+#line 8378 "CheckerboardLayout.c"
}
#line 1353 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->columns;
@@ -8356,21 +8402,21 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
if (_tmp9_ < 0) {
#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = TRUE;
-#line 8360 "CheckerboardLayout.c"
+#line 8406 "CheckerboardLayout.c"
} else {
- gint _tmp10_ = 0;
+ gint _tmp10_;
#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = row;
#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = _tmp10_ < 0;
-#line 8367 "CheckerboardLayout.c"
+#line 8413 "CheckerboardLayout.c"
}
#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp8_) {
-#line 8371 "CheckerboardLayout.c"
- CheckerboardItem* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+#line 8417 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = item;
#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8386,7 +8432,7 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
result = NULL;
#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8389 "CheckerboardLayout.c"
+#line 8435 "CheckerboardLayout.c"
}
#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = point;
@@ -8394,10 +8440,10 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
switch (_tmp14_) {
#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
case COMPASS_POINT_NORTH:
-#line 8397 "CheckerboardLayout.c"
+#line 8443 "CheckerboardLayout.c"
{
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ gint _tmp15_;
+ gint _tmp16_;
#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = row;
#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8408,19 +8454,19 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
if (_tmp16_ < 0) {
#line 1368 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = 0;
-#line 8411 "CheckerboardLayout.c"
+#line 8457 "CheckerboardLayout.c"
}
#line 1369 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 8415 "CheckerboardLayout.c"
+#line 8461 "CheckerboardLayout.c"
}
#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
case COMPASS_POINT_SOUTH:
-#line 8419 "CheckerboardLayout.c"
+#line 8465 "CheckerboardLayout.c"
{
- gint _tmp17_ = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
+ gint _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = row;
#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8431,25 +8477,25 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp19_ = self->priv->rows;
#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp18_ >= _tmp19_) {
-#line 8434 "CheckerboardLayout.c"
- gint _tmp20_ = 0;
+#line 8480 "CheckerboardLayout.c"
+ gint _tmp20_;
#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = self->priv->rows;
#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = _tmp20_ - 1;
-#line 8440 "CheckerboardLayout.c"
+#line 8486 "CheckerboardLayout.c"
}
#line 1374 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 8444 "CheckerboardLayout.c"
+#line 8490 "CheckerboardLayout.c"
}
#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
case COMPASS_POINT_EAST:
-#line 8448 "CheckerboardLayout.c"
+#line 8494 "CheckerboardLayout.c"
{
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
+ gint _tmp21_;
+ gint _tmp22_;
+ gint _tmp23_;
#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = col;
#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8460,10 +8506,10 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp23_ = self->priv->columns;
#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp22_ >= _tmp23_) {
-#line 8463 "CheckerboardLayout.c"
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
+#line 8509 "CheckerboardLayout.c"
+ gint _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = row;
#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8474,9 +8520,9 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp26_ = self->priv->rows;
#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp25_ >= _tmp26_) {
-#line 8477 "CheckerboardLayout.c"
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
+#line 8523 "CheckerboardLayout.c"
+ gint _tmp27_;
+ gint _tmp28_;
#line 1379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = self->priv->rows;
#line 1379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8485,23 +8531,23 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp28_ = self->priv->columns;
#line 1380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = _tmp28_ - 1;
-#line 8488 "CheckerboardLayout.c"
+#line 8534 "CheckerboardLayout.c"
} else {
#line 1382 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = 0;
-#line 8492 "CheckerboardLayout.c"
+#line 8538 "CheckerboardLayout.c"
}
}
#line 1385 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 8497 "CheckerboardLayout.c"
+#line 8543 "CheckerboardLayout.c"
}
#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
case COMPASS_POINT_WEST:
-#line 8501 "CheckerboardLayout.c"
+#line 8547 "CheckerboardLayout.c"
{
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
+ gint _tmp29_;
+ gint _tmp30_;
#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp29_ = col;
#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8510,9 +8556,9 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp30_ = col;
#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp30_ < 0) {
-#line 8513 "CheckerboardLayout.c"
- gint _tmp31_ = 0;
- gint _tmp32_ = 0;
+#line 8559 "CheckerboardLayout.c"
+ gint _tmp31_;
+ gint _tmp32_;
#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp31_ = row;
#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8525,28 +8571,28 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
row = 0;
#line 1391 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = 0;
-#line 8528 "CheckerboardLayout.c"
+#line 8574 "CheckerboardLayout.c"
} else {
- gint _tmp33_ = 0;
+ gint _tmp33_;
#line 1393 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = self->priv->columns;
#line 1393 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = _tmp33_ - 1;
-#line 8535 "CheckerboardLayout.c"
+#line 8581 "CheckerboardLayout.c"
}
}
#line 1396 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 8540 "CheckerboardLayout.c"
+#line 8586 "CheckerboardLayout.c"
}
default:
{
- CompassPoint _tmp34_ = 0;
+ CompassPoint _tmp34_;
#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp34_ = point;
#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_error ("CheckerboardLayout.vala:1399: Bad compass point %d", (gint) _tmp34_);
-#line 8549 "CheckerboardLayout.c"
+#line 8595 "CheckerboardLayout.c"
}
}
#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8561,27 +8607,27 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_tmp39_ = new_item;
#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp39_ == NULL) {
-#line 8564 "CheckerboardLayout.c"
- CompassPoint _tmp40_ = 0;
+#line 8610 "CheckerboardLayout.c"
+ CompassPoint _tmp40_;
#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp40_ = point;
#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp38_ = _tmp40_ == COMPASS_POINT_SOUTH;
-#line 8570 "CheckerboardLayout.c"
+#line 8616 "CheckerboardLayout.c"
} else {
#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp38_ = FALSE;
-#line 8574 "CheckerboardLayout.c"
+#line 8620 "CheckerboardLayout.c"
}
#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp38_) {
-#line 8578 "CheckerboardLayout.c"
- ViewCollection* _tmp41_ = NULL;
- DataView* _tmp42_ = NULL;
- CheckerboardItem* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- CheckerboardItem* _tmp45_ = NULL;
- gint _tmp46_ = 0;
+#line 8624 "CheckerboardLayout.c"
+ ViewCollection* _tmp41_;
+ DataView* _tmp42_;
+ CheckerboardItem* _tmp43_;
+ gint _tmp44_;
+ CheckerboardItem* _tmp45_;
+ gint _tmp46_;
#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp41_ = self->priv->view;
#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8604,27 +8650,27 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_g_object_unref0 (new_item);
#line 1408 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
new_item = NULL;
-#line 8607 "CheckerboardLayout.c"
+#line 8653 "CheckerboardLayout.c"
}
}
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp48_ = new_item;
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp48_ != NULL) {
-#line 8614 "CheckerboardLayout.c"
- CheckerboardItem* _tmp49_ = NULL;
+#line 8660 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp49_;
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp49_ = new_item;
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp47_ = _tmp49_;
-#line 8620 "CheckerboardLayout.c"
+#line 8666 "CheckerboardLayout.c"
} else {
- CheckerboardItem* _tmp50_ = NULL;
+ CheckerboardItem* _tmp50_;
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp50_ = item;
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp47_ = _tmp50_;
-#line 8627 "CheckerboardLayout.c"
+#line 8673 "CheckerboardLayout.c"
}
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp51_ = _g_object_ref0 (_tmp47_);
@@ -8634,32 +8680,32 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout*
_g_object_unref0 (new_item);
#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8637 "CheckerboardLayout.c"
+#line 8683 "CheckerboardLayout.c"
}
CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout* self, gint col, gint row) {
CheckerboardItem* result = NULL;
- gint _tmp0_ = 0;
- CheckerboardLayoutLayoutRow** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ gint _tmp0_;
+ CheckerboardLayoutLayoutRow** _tmp1_;
+ gint _tmp1__length1;
CheckerboardLayoutLayoutRow* item_row = NULL;
- CheckerboardLayoutLayoutRow** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gint _tmp3_ = 0;
- CheckerboardLayoutLayoutRow* _tmp4_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp5_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- CheckerboardLayoutLayoutRow* _tmp8_ = NULL;
- CheckerboardItem** _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- CheckerboardLayoutLayoutRow* _tmp10_ = NULL;
- CheckerboardItem** _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- gint _tmp12_ = 0;
- CheckerboardItem* _tmp13_ = NULL;
- CheckerboardItem* _tmp14_ = NULL;
+ CheckerboardLayoutLayoutRow** _tmp2_;
+ gint _tmp2__length1;
+ gint _tmp3_;
+ CheckerboardLayoutLayoutRow* _tmp4_;
+ CheckerboardLayoutLayoutRow* _tmp5_;
+ CheckerboardLayoutLayoutRow* _tmp6_;
+ gint _tmp7_;
+ CheckerboardLayoutLayoutRow* _tmp8_;
+ CheckerboardItem** _tmp9_;
+ gint _tmp9__length1;
+ CheckerboardLayoutLayoutRow* _tmp10_;
+ CheckerboardItem** _tmp11_;
+ gint _tmp11__length1;
+ gint _tmp12_;
+ CheckerboardItem* _tmp13_;
+ CheckerboardItem* _tmp14_;
#line 1414 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8674,7 +8720,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout
result = NULL;
#line 1416 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8677 "CheckerboardLayout.c"
+#line 8723 "CheckerboardLayout.c"
}
#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = self->priv->item_rows;
@@ -8698,7 +8744,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout
_checkerboard_layout_layout_row_unref0 (item_row);
#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8701 "CheckerboardLayout.c"
+#line 8747 "CheckerboardLayout.c"
}
#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = col;
@@ -8716,7 +8762,7 @@ CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout
_checkerboard_layout_layout_row_unref0 (item_row);
#line 1423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8719 "CheckerboardLayout.c"
+#line 8765 "CheckerboardLayout.c"
}
#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = item_row;
@@ -8736,21 +8782,21 @@ CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout
_checkerboard_layout_layout_row_unref0 (item_row);
#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8739 "CheckerboardLayout.c"
+#line 8785 "CheckerboardLayout.c"
}
void checkerboard_layout_set_drag_select_origin (CheckerboardLayout* self, gint x, gint y) {
GtkAllocation allocation = {0};
GtkAllocation _tmp0_ = {0};
- gint _tmp1_ = 0;
- GtkAllocation _tmp2_ = {0};
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GtkAllocation _tmp6_ = {0};
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp1_;
+ GtkAllocation _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GtkAllocation _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
#line 1428 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8779,28 +8825,28 @@ void checkerboard_layout_set_drag_select_origin (CheckerboardLayout* self, gint
_tmp8_ = CLAMP (_tmp5_, 0, _tmp7_);
#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->drag_origin.y = _tmp8_;
-#line 8782 "CheckerboardLayout.c"
+#line 8828 "CheckerboardLayout.c"
}
void checkerboard_layout_set_drag_select_endpoint (CheckerboardLayout* self, gint x, gint y) {
GtkAllocation allocation = {0};
GtkAllocation _tmp0_ = {0};
- gint _tmp1_ = 0;
- GtkAllocation _tmp2_ = {0};
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GtkAllocation _tmp6_ = {0};
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp1_;
+ GtkAllocation _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GtkAllocation _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
GdkRectangle old_selection_band = {0};
- GdkRectangle _tmp9_ = {0};
- GdkPoint _tmp10_ = {0};
- GdkPoint _tmp11_ = {0};
+ GdkRectangle _tmp9_;
+ GdkPoint _tmp10_;
+ GdkPoint _tmp11_;
Box _tmp12_ = {0};
GdkRectangle _tmp13_ = {0};
- GdkWindow* _tmp14_ = NULL;
+ GdkWindow* _tmp14_;
#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1440 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8845,18 +8891,18 @@ void checkerboard_layout_set_drag_select_endpoint (CheckerboardLayout* self, gin
_tmp14_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp14_ != NULL) {
-#line 8848 "CheckerboardLayout.c"
+#line 8894 "CheckerboardLayout.c"
GdkRectangle _union_ = {0};
- GdkRectangle _tmp15_ = {0};
+ GdkRectangle _tmp15_;
GdkRectangle _tmp16_ = {0};
- GdkRectangle _tmp17_ = {0};
- gint _tmp18_ = 0;
- GdkRectangle _tmp19_ = {0};
- gint _tmp20_ = 0;
- GdkRectangle _tmp21_ = {0};
- gint _tmp22_ = 0;
- GdkRectangle _tmp23_ = {0};
- gint _tmp24_ = 0;
+ GdkRectangle _tmp17_;
+ gint _tmp18_;
+ GdkRectangle _tmp19_;
+ gint _tmp20_;
+ GdkRectangle _tmp21_;
+ gint _tmp22_;
+ GdkRectangle _tmp23_;
+ gint _tmp24_;
#line 1453 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = old_selection_band;
#line 1453 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8881,18 +8927,18 @@ void checkerboard_layout_set_drag_select_endpoint (CheckerboardLayout* self, gin
_tmp24_ = _tmp23_.height;
#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_queue_draw_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp18_, _tmp20_, _tmp22_, _tmp24_);
-#line 8884 "CheckerboardLayout.c"
+#line 8930 "CheckerboardLayout.c"
}
}
GeeList* checkerboard_layout_items_in_selection_band (CheckerboardLayout* self) {
GeeList* result = NULL;
- GdkRectangle _tmp0_ = {0};
+ GdkRectangle _tmp0_;
Dimensions _tmp1_ = {0};
- gboolean _tmp2_ = FALSE;
- GdkRectangle _tmp3_ = {0};
- GeeList* _tmp4_ = NULL;
+ gboolean _tmp2_;
+ GdkRectangle _tmp3_;
+ GeeList* _tmp4_;
#line 1459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), NULL);
#line 1460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8907,7 +8953,7 @@ GeeList* checkerboard_layout_items_in_selection_band (CheckerboardLayout* self)
result = NULL;
#line 1461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8910 "CheckerboardLayout.c"
+#line 8956 "CheckerboardLayout.c"
}
#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->selection_band;
@@ -8917,15 +8963,15 @@ GeeList* checkerboard_layout_items_in_selection_band (CheckerboardLayout* self)
result = _tmp4_;
#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8920 "CheckerboardLayout.c"
+#line 8966 "CheckerboardLayout.c"
}
gboolean checkerboard_layout_is_drag_select_active (CheckerboardLayout* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
- GdkPoint _tmp1_ = {0};
- gint _tmp2_ = 0;
+ GdkPoint _tmp1_;
+ gint _tmp2_;
#line 1466 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), FALSE);
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8934,26 +8980,26 @@ gboolean checkerboard_layout_is_drag_select_active (CheckerboardLayout* self) {
_tmp2_ = _tmp1_.x;
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp2_ >= 0) {
-#line 8937 "CheckerboardLayout.c"
- GdkPoint _tmp3_ = {0};
- gint _tmp4_ = 0;
+#line 8983 "CheckerboardLayout.c"
+ GdkPoint _tmp3_;
+ gint _tmp4_;
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->drag_origin;
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = _tmp3_.y;
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_ >= 0;
-#line 8946 "CheckerboardLayout.c"
+#line 8992 "CheckerboardLayout.c"
} else {
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = FALSE;
-#line 8950 "CheckerboardLayout.c"
+#line 8996 "CheckerboardLayout.c"
}
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp0_;
#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 8956 "CheckerboardLayout.c"
+#line 9002 "CheckerboardLayout.c"
}
@@ -8972,14 +9018,14 @@ void checkerboard_layout_clear_drag_select (CheckerboardLayout* self) {
self->priv->drag_endpoint.y = -1;
#line 1478 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 8975 "CheckerboardLayout.c"
+#line 9021 "CheckerboardLayout.c"
}
static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) {
- GdkRectangle _tmp0_ = {0};
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
+ GdkRectangle _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1483 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -8992,16 +9038,16 @@ static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) {
_tmp2_ = self->priv->last_width;
#line 1486 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp1_ != _tmp2_) {
-#line 8995 "CheckerboardLayout.c"
+#line 9041 "CheckerboardLayout.c"
gint old_width = 0;
- gint _tmp3_ = 0;
- GdkRectangle _tmp4_ = {0};
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- GdkRectangle _tmp7_ = {0};
- gint _tmp8_ = 0;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ gint _tmp3_;
+ GdkRectangle _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ GdkRectangle _tmp7_;
+ gint _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 1487 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->last_width;
#line 1487 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9026,11 +9072,11 @@ static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) {
checkerboard_layout_need_reflow (self, _tmp10_);
#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp10_);
-#line 9029 "CheckerboardLayout.c"
+#line 9075 "CheckerboardLayout.c"
} else {
- gint _tmp11_ = 0;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+ gint _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = self->priv->last_width;
#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9041,20 +9087,20 @@ static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) {
checkerboard_layout_need_exposure (self, _tmp13_);
#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_free0 (_tmp13_);
-#line 9044 "CheckerboardLayout.c"
+#line 9090 "CheckerboardLayout.c"
}
}
static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gchar* caller) {
GeeHashSet* new_exposed_items = NULL;
- GeeHashSet* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
+ GeeHashSet* _tmp0_;
+ ViewCollection* _tmp1_;
GeeList* items = NULL;
- GeeList* _tmp2_ = NULL;
- GeeHashSet* _tmp27_ = NULL;
- GeeHashSet* _tmp28_ = NULL;
- ViewCollection* _tmp29_ = NULL;
+ GeeList* _tmp2_;
+ GeeHashSet* _tmp27_;
+ GeeHashSet* _tmp28_;
+ ViewCollection* _tmp29_;
#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9071,15 +9117,15 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
_tmp2_ = checkerboard_layout_get_visible_items (self);
#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
items = _tmp2_;
-#line 9074 "CheckerboardLayout.c"
+#line 9120 "CheckerboardLayout.c"
{
GeeList* _item_list = NULL;
- GeeList* _tmp3_ = NULL;
- GeeList* _tmp4_ = NULL;
+ GeeList* _tmp3_;
+ GeeList* _tmp4_;
gint _item_size = 0;
- GeeList* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ GeeList* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
gint _item_index = 0;
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = items;
@@ -9099,19 +9145,19 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
_item_index = -1;
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9102 "CheckerboardLayout.c"
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+#line 9148 "CheckerboardLayout.c"
+ gint _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
CheckerboardItem* item = NULL;
- GeeList* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gpointer _tmp13_ = NULL;
- GeeHashSet* _tmp14_ = NULL;
- CheckerboardItem* _tmp15_ = NULL;
- GeeHashSet* _tmp16_ = NULL;
- CheckerboardItem* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
+ GeeList* _tmp11_;
+ gint _tmp12_;
+ gpointer _tmp13_;
+ GeeHashSet* _tmp14_;
+ CheckerboardItem* _tmp15_;
+ GeeHashSet* _tmp16_;
+ CheckerboardItem* _tmp17_;
+ gboolean _tmp18_;
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = _item_index;
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9124,7 +9170,7 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
if (!(_tmp9_ < _tmp10_)) {
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9127 "CheckerboardLayout.c"
+#line 9173 "CheckerboardLayout.c"
}
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp11_ = _item_list;
@@ -9148,26 +9194,26 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
_tmp18_ = gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_);
#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp18_) {
-#line 9151 "CheckerboardLayout.c"
- CheckerboardItem* _tmp19_ = NULL;
+#line 9197 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp19_;
#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp19_ = item;
#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_item_exposed (_tmp19_);
-#line 9157 "CheckerboardLayout.c"
+#line 9203 "CheckerboardLayout.c"
}
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 9161 "CheckerboardLayout.c"
+#line 9207 "CheckerboardLayout.c"
}
#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_item_list);
-#line 9165 "CheckerboardLayout.c"
+#line 9211 "CheckerboardLayout.c"
}
{
GeeIterator* _item_it = NULL;
- GeeHashSet* _tmp20_ = NULL;
- GeeIterator* _tmp21_ = NULL;
+ GeeHashSet* _tmp20_;
+ GeeIterator* _tmp21_;
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = self->priv->exposed_items;
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9176,13 +9222,13 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
_item_it = _tmp21_;
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9179 "CheckerboardLayout.c"
- GeeIterator* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
+#line 9225 "CheckerboardLayout.c"
+ GeeIterator* _tmp22_;
+ gboolean _tmp23_;
CheckerboardItem* item = NULL;
- GeeIterator* _tmp24_ = NULL;
- gpointer _tmp25_ = NULL;
- CheckerboardItem* _tmp26_ = NULL;
+ GeeIterator* _tmp24_;
+ gpointer _tmp25_;
+ CheckerboardItem* _tmp26_;
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp22_ = _item_it;
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9191,7 +9237,7 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
if (!_tmp23_) {
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9194 "CheckerboardLayout.c"
+#line 9240 "CheckerboardLayout.c"
}
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = _item_it;
@@ -9205,11 +9251,11 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
checkerboard_item_unexposed (_tmp26_);
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 9208 "CheckerboardLayout.c"
+#line 9254 "CheckerboardLayout.c"
}
#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_item_it);
-#line 9212 "CheckerboardLayout.c"
+#line 9258 "CheckerboardLayout.c"
}
#line 1518 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = new_exposed_items;
@@ -9229,14 +9275,14 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc
_g_object_unref0 (items);
#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (new_exposed_items);
-#line 9232 "CheckerboardLayout.c"
+#line 9278 "CheckerboardLayout.c"
}
static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const gchar* caller) {
- ViewCollection* _tmp0_ = NULL;
- GeeHashSet* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
+ ViewCollection* _tmp0_;
+ GeeHashSet* _tmp8_;
+ ViewCollection* _tmp9_;
#line 1530 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1530 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9245,11 +9291,11 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const
_tmp0_ = self->priv->view;
#line 1531 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection));
-#line 9248 "CheckerboardLayout.c"
+#line 9294 "CheckerboardLayout.c"
{
GeeIterator* _item_it = NULL;
- GeeHashSet* _tmp1_ = NULL;
- GeeIterator* _tmp2_ = NULL;
+ GeeHashSet* _tmp1_;
+ GeeIterator* _tmp2_;
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp1_ = self->priv->exposed_items;
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9258,13 +9304,13 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const
_item_it = _tmp2_;
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9261 "CheckerboardLayout.c"
- GeeIterator* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+#line 9307 "CheckerboardLayout.c"
+ GeeIterator* _tmp3_;
+ gboolean _tmp4_;
CheckerboardItem* item = NULL;
- GeeIterator* _tmp5_ = NULL;
- gpointer _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
+ GeeIterator* _tmp5_;
+ gpointer _tmp6_;
+ CheckerboardItem* _tmp7_;
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = _item_it;
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9273,7 +9319,7 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const
if (!_tmp4_) {
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9276 "CheckerboardLayout.c"
+#line 9322 "CheckerboardLayout.c"
}
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = _item_it;
@@ -9287,11 +9333,11 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const
checkerboard_item_unexposed (_tmp7_);
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 9290 "CheckerboardLayout.c"
+#line 9336 "CheckerboardLayout.c"
}
#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_item_it);
-#line 9294 "CheckerboardLayout.c"
+#line 9340 "CheckerboardLayout.c"
}
#line 1536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = self->priv->exposed_items;
@@ -9303,31 +9349,31 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const
_tmp9_ = self->priv->view;
#line 1542 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection));
-#line 9306 "CheckerboardLayout.c"
+#line 9352 "CheckerboardLayout.c"
}
static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* caller) {
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
GtkAllocation allocation = {0};
GtkAllocation _tmp1_ = {0};
gint _tmp2_ = 0;
- GdkRectangle _tmp3_ = {0};
- gint _tmp4_ = 0;
+ GdkRectangle _tmp3_;
+ gint _tmp4_;
gint visible_width = 0;
- gint _tmp9_ = 0;
+ gint _tmp9_;
gint total_items = 0;
- ViewCollection* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
+ ViewCollection* _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
gboolean _tmp15_ = FALSE;
- CheckerboardItem* _tmp16_ = NULL;
+ CheckerboardItem* _tmp16_;
gint max_cols = 0;
- gint _tmp19_ = 0;
- gint _tmp64_ = 0;
+ gint _tmp19_;
+ gint _tmp64_;
gint max_rows = 0;
- gint _tmp65_ = 0;
- gint _tmp66_ = 0;
+ gint _tmp65_;
+ gint _tmp66_;
gint row = 0;
gint tallest = 0;
gint widest = 0;
@@ -9335,42 +9381,42 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
gint total_width = 0;
gint col = 0;
gint* column_widths = NULL;
- gint _tmp67_ = 0;
- gint* _tmp68_ = NULL;
- gint column_widths_length1 = 0;
- gint _column_widths_size_ = 0;
+ gint _tmp67_;
+ gint* _tmp68_;
+ gint column_widths_length1;
+ gint _column_widths_size_;
gint* row_heights = NULL;
- gint _tmp69_ = 0;
- gint* _tmp70_ = NULL;
- gint row_heights_length1 = 0;
- gint _row_heights_size_ = 0;
+ gint _tmp69_;
+ gint* _tmp70_;
+ gint row_heights_length1;
+ gint _row_heights_size_;
gint* alignment_points = NULL;
- gint _tmp71_ = 0;
- gint* _tmp72_ = NULL;
- gint alignment_points_length1 = 0;
- gint _alignment_points_size_ = 0;
+ gint _tmp71_;
+ gint* _tmp72_;
+ gint alignment_points_length1;
+ gint _alignment_points_size_;
gint gutter = 0;
- gint _tmp183_ = 0;
- CheckerboardLayoutLayoutRow** _tmp184_ = NULL;
+ gint _tmp183_;
+ CheckerboardLayoutLayoutRow** _tmp184_;
gint x = 0;
- gint _tmp185_ = 0;
+ gint _tmp185_;
gint y = 0;
CheckerboardLayoutLayoutRow* current_row = NULL;
- CheckerboardLayoutLayoutRow* _tmp255_ = NULL;
- gint _tmp261_ = 0;
- gint _tmp262_ = 0;
- gint _tmp263_ = 0;
- gint _tmp264_ = 0;
+ CheckerboardLayoutLayoutRow* _tmp255_;
+ gint _tmp261_;
+ gint _tmp262_;
+ gint _tmp263_;
+ gint _tmp264_;
gint total_height = 0;
- gint _tmp265_ = 0;
- gint* _tmp266_ = NULL;
- gint _tmp266__length1 = 0;
- gint _tmp267_ = 0;
- gint _tmp268_ = 0;
+ gint _tmp265_;
+ gint* _tmp266_;
+ gint _tmp266__length1;
+ gint _tmp267_;
+ gint _tmp268_;
gboolean _tmp269_ = FALSE;
- gint _tmp270_ = 0;
- GtkAllocation _tmp271_ = {0};
- gint _tmp272_ = 0;
+ gint _tmp270_;
+ GtkAllocation _tmp271_;
+ gint _tmp272_;
#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9383,7 +9429,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp0_ != NULL) {
#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 9386 "CheckerboardLayout.c"
+#line 9432 "CheckerboardLayout.c"
}
#line 1556 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp1_);
@@ -9395,26 +9441,26 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp4_ = _tmp3_.width;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp4_ > 0) {
-#line 9398 "CheckerboardLayout.c"
- GdkRectangle _tmp5_ = {0};
- gint _tmp6_ = 0;
+#line 9444 "CheckerboardLayout.c"
+ GdkRectangle _tmp5_;
+ gint _tmp6_;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = self->priv->visible_page;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = _tmp5_.width;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = _tmp6_;
-#line 9407 "CheckerboardLayout.c"
+#line 9453 "CheckerboardLayout.c"
} else {
- GtkAllocation _tmp7_ = {0};
- gint _tmp8_ = 0;
+ GtkAllocation _tmp7_;
+ gint _tmp8_;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = allocation;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = _tmp7_.width;
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = _tmp8_;
-#line 9417 "CheckerboardLayout.c"
+#line 9463 "CheckerboardLayout.c"
}
#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
visible_width = _tmp2_;
@@ -9424,7 +9470,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp9_ <= 1) {
#line 1567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 9427 "CheckerboardLayout.c"
+#line 9473 "CheckerboardLayout.c"
}
#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = self->priv->view;
@@ -9436,9 +9482,9 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp12_ = total_items;
#line 1572 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp12_ == 0) {
-#line 9439 "CheckerboardLayout.c"
- gint _tmp13_ = 0;
- CheckerboardLayoutLayoutRow** _tmp14_ = NULL;
+#line 9485 "CheckerboardLayout.c"
+ gint _tmp13_;
+ CheckerboardLayoutLayoutRow** _tmp14_;
#line 1573 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = visible_width;
#line 1573 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9455,7 +9501,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
self->priv->_item_rows_size_ = self->priv->item_rows_length1;
#line 1576 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 9458 "CheckerboardLayout.c"
+#line 9504 "CheckerboardLayout.c"
}
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = self->priv->anchor;
@@ -9463,23 +9509,23 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp16_ == NULL) {
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = TRUE;
-#line 9466 "CheckerboardLayout.c"
+#line 9512 "CheckerboardLayout.c"
} else {
- CheckerboardItem* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
+ CheckerboardItem* _tmp17_;
+ gboolean _tmp18_;
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = self->priv->anchor;
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp18_ = data_view_is_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_VIEW, DataView));
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp15_ = !_tmp18_;
-#line 9476 "CheckerboardLayout.c"
+#line 9522 "CheckerboardLayout.c"
}
#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp15_) {
#line 1585 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_update_anchor (self);
-#line 9482 "CheckerboardLayout.c"
+#line 9528 "CheckerboardLayout.c"
}
#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->item_rows = (_vala_array_free (self->priv->item_rows, self->priv->item_rows_length1, (GDestroyNotify) checkerboard_layout_layout_row_unref), NULL);
@@ -9495,17 +9541,17 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp19_ = self->priv->scale;
#line 1594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp19_ > 0) {
-#line 9498 "CheckerboardLayout.c"
+#line 9544 "CheckerboardLayout.c"
gint remaining_width = 0;
- gint _tmp20_ = 0;
+ gint _tmp20_;
gint max_item_width = 0;
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gint _tmp33_ = 0;
- gint _tmp34_ = 0;
+ gint _tmp21_;
+ gint _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ gint _tmp33_;
+ gint _tmp34_;
#line 1596 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = visible_width;
#line 1596 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9528,23 +9574,23 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp25_ <= 0) {
#line 1600 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max_cols = 1;
-#line 9531 "CheckerboardLayout.c"
+#line 9577 "CheckerboardLayout.c"
}
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9535 "CheckerboardLayout.c"
+#line 9581 "CheckerboardLayout.c"
gboolean _tmp26_ = FALSE;
- gint _tmp27_ = 0;
- gint _tmp32_ = 0;
+ gint _tmp27_;
+ gint _tmp32_;
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = max_cols;
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp27_ > 1) {
-#line 9543 "CheckerboardLayout.c"
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
- gint _tmp31_ = 0;
+#line 9589 "CheckerboardLayout.c"
+ gint _tmp28_;
+ gint _tmp29_;
+ gint _tmp30_;
+ gint _tmp31_;
#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp28_ = max_cols;
#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9555,23 +9601,23 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp31_ = remaining_width;
#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = ((_tmp28_ * _tmp29_) + ((_tmp30_ - 1) * CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING)) > _tmp31_;
-#line 9558 "CheckerboardLayout.c"
+#line 9604 "CheckerboardLayout.c"
} else {
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = FALSE;
-#line 9562 "CheckerboardLayout.c"
+#line 9608 "CheckerboardLayout.c"
}
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp26_) {
#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9568 "CheckerboardLayout.c"
+#line 9614 "CheckerboardLayout.c"
}
#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp32_ = max_cols;
#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max_cols = _tmp32_ - 1;
-#line 9574 "CheckerboardLayout.c"
+#line 9620 "CheckerboardLayout.c"
}
#line 1613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = total_items;
@@ -9579,21 +9625,21 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp34_ = max_cols;
#line 1613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp33_ < _tmp34_) {
-#line 9582 "CheckerboardLayout.c"
- gint _tmp35_ = 0;
+#line 9628 "CheckerboardLayout.c"
+ gint _tmp35_;
#line 1614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = total_items;
#line 1614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max_cols = _tmp35_;
-#line 9588 "CheckerboardLayout.c"
+#line 9634 "CheckerboardLayout.c"
}
} else {
gint x = 0;
gint col = 0;
gint row_width = 0;
gint widest_row = 0;
- gint _tmp61_ = 0;
- gint _tmp62_ = 0;
+ gint _tmp61_;
+ gint _tmp62_;
#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
x = CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING;
#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9602,49 +9648,49 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
row_width = 0;
#line 1624 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
widest_row = 0;
-#line 9605 "CheckerboardLayout.c"
+#line 9651 "CheckerboardLayout.c"
{
gint ctr = 0;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = 0;
-#line 9610 "CheckerboardLayout.c"
+#line 9656 "CheckerboardLayout.c"
{
gboolean _tmp36_ = FALSE;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp36_ = TRUE;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9617 "CheckerboardLayout.c"
- gint _tmp38_ = 0;
- gint _tmp39_ = 0;
+#line 9663 "CheckerboardLayout.c"
+ gint _tmp38_;
+ gint _tmp39_;
CheckerboardItem* item = NULL;
- ViewCollection* _tmp40_ = NULL;
- gint _tmp41_ = 0;
- DataObject* _tmp42_ = NULL;
+ ViewCollection* _tmp40_;
+ gint _tmp41_;
+ DataObject* _tmp42_;
Dimensions req = {0};
- CheckerboardItem* _tmp43_ = NULL;
- Dimensions _tmp44_ = {0};
- gboolean _tmp45_ = FALSE;
- gint _tmp46_ = 0;
- Dimensions _tmp47_ = {0};
- gint _tmp48_ = 0;
- gint _tmp49_ = 0;
- gint _tmp54_ = 0;
- Dimensions _tmp55_ = {0};
- gint _tmp56_ = 0;
- gint _tmp57_ = 0;
- Dimensions _tmp58_ = {0};
- gint _tmp59_ = 0;
- gint _tmp60_ = 0;
+ CheckerboardItem* _tmp43_;
+ Dimensions _tmp44_;
+ gboolean _tmp45_;
+ gint _tmp46_;
+ Dimensions _tmp47_;
+ gint _tmp48_;
+ gint _tmp49_;
+ gint _tmp54_;
+ Dimensions _tmp55_;
+ gint _tmp56_;
+ gint _tmp57_;
+ Dimensions _tmp58_;
+ gint _tmp59_;
+ gint _tmp60_;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp36_) {
-#line 9641 "CheckerboardLayout.c"
- gint _tmp37_ = 0;
+#line 9687 "CheckerboardLayout.c"
+ gint _tmp37_;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp37_ = ctr;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = _tmp37_ + 1;
-#line 9647 "CheckerboardLayout.c"
+#line 9693 "CheckerboardLayout.c"
}
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp36_ = FALSE;
@@ -9656,7 +9702,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (!(_tmp38_ < _tmp39_)) {
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9659 "CheckerboardLayout.c"
+#line 9705 "CheckerboardLayout.c"
}
#line 1627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp40_ = self->priv->view;
@@ -9686,18 +9732,18 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp49_ = visible_width;
#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (((_tmp46_ + _tmp48_) + CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING) > _tmp49_) {
-#line 9689 "CheckerboardLayout.c"
- gint _tmp50_ = 0;
- gint _tmp51_ = 0;
+#line 9735 "CheckerboardLayout.c"
+ gint _tmp50_;
+ gint _tmp51_;
#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp50_ = row_width;
#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp51_ = widest_row;
#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp50_ > _tmp51_) {
-#line 9698 "CheckerboardLayout.c"
- gint _tmp52_ = 0;
- gint _tmp53_ = 0;
+#line 9744 "CheckerboardLayout.c"
+ gint _tmp52_;
+ gint _tmp53_;
#line 1636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp52_ = row_width;
#line 1636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9706,7 +9752,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp53_ = col;
#line 1637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max_cols = _tmp53_;
-#line 9709 "CheckerboardLayout.c"
+#line 9755 "CheckerboardLayout.c"
}
#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = 0;
@@ -9714,7 +9760,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
x = CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING;
#line 1642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row_width = 0;
-#line 9717 "CheckerboardLayout.c"
+#line 9763 "CheckerboardLayout.c"
}
#line 1645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp54_ = x;
@@ -9738,7 +9784,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
col = _tmp60_ + 1;
#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 9741 "CheckerboardLayout.c"
+#line 9787 "CheckerboardLayout.c"
}
}
}
@@ -9748,13 +9794,13 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp62_ = widest_row;
#line 1652 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp61_ > _tmp62_) {
-#line 9751 "CheckerboardLayout.c"
- gint _tmp63_ = 0;
+#line 9797 "CheckerboardLayout.c"
+ gint _tmp63_;
#line 1653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp63_ = col;
#line 1653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
max_cols = _tmp63_;
-#line 9757 "CheckerboardLayout.c"
+#line 9803 "CheckerboardLayout.c"
}
}
#line 1661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -9811,80 +9857,80 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_alignment_points_size_ = alignment_points_length1;
#line 1675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gutter = 0;
-#line 9814 "CheckerboardLayout.c"
+#line 9860 "CheckerboardLayout.c"
{
gboolean _tmp73_ = FALSE;
#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp73_ = TRUE;
#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9821 "CheckerboardLayout.c"
- gint _tmp129_ = 0;
- gint _tmp138_ = 0;
- gint _tmp139_ = 0;
- gint _tmp140_ = 0;
- gint _tmp141_ = 0;
- gint _tmp142_ = 0;
+#line 9867 "CheckerboardLayout.c"
+ gint _tmp129_;
+ gint _tmp138_;
+ gint _tmp139_;
+ gint _tmp140_;
+ gint _tmp141_;
+ gint _tmp142_;
#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp73_) {
-#line 9830 "CheckerboardLayout.c"
+#line 9876 "CheckerboardLayout.c"
}
#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp73_ = FALSE;
-#line 9834 "CheckerboardLayout.c"
+#line 9880 "CheckerboardLayout.c"
{
gint ctr = 0;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = 0;
-#line 9839 "CheckerboardLayout.c"
+#line 9885 "CheckerboardLayout.c"
{
gboolean _tmp74_ = FALSE;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp74_ = TRUE;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 9846 "CheckerboardLayout.c"
- gint _tmp76_ = 0;
- gint _tmp77_ = 0;
+#line 9892 "CheckerboardLayout.c"
+ gint _tmp76_;
+ gint _tmp77_;
CheckerboardItem* item = NULL;
- ViewCollection* _tmp78_ = NULL;
- gint _tmp79_ = 0;
- DataObject* _tmp80_ = NULL;
+ ViewCollection* _tmp78_;
+ gint _tmp79_;
+ DataObject* _tmp80_;
Dimensions req = {0};
- CheckerboardItem* _tmp81_ = NULL;
- Dimensions _tmp82_ = {0};
+ CheckerboardItem* _tmp81_;
+ Dimensions _tmp82_;
gint alignment_point = 0;
- CheckerboardItem* _tmp83_ = NULL;
- gint _tmp84_ = 0;
- gint _tmp85_ = 0;
- Dimensions _tmp86_ = {0};
- gint _tmp87_ = 0;
- Dimensions _tmp88_ = {0};
- gint _tmp89_ = 0;
- gint _tmp90_ = 0;
- Dimensions _tmp93_ = {0};
- gint _tmp94_ = 0;
- gint _tmp95_ = 0;
- gint _tmp98_ = 0;
- gint _tmp99_ = 0;
- gint* _tmp101_ = NULL;
- gint _tmp101__length1 = 0;
- gint _tmp102_ = 0;
- gint _tmp103_ = 0;
- Dimensions _tmp104_ = {0};
- gint _tmp105_ = 0;
- gint _tmp118_ = 0;
- gint _tmp119_ = 0;
- gint _tmp120_ = 0;
+ CheckerboardItem* _tmp83_;
+ gint _tmp84_;
+ gint _tmp85_;
+ Dimensions _tmp86_;
+ gint _tmp87_;
+ Dimensions _tmp88_;
+ gint _tmp89_;
+ gint _tmp90_;
+ Dimensions _tmp93_;
+ gint _tmp94_;
+ gint _tmp95_;
+ gint _tmp98_;
+ gint _tmp99_;
+ gint* _tmp101_;
+ gint _tmp101__length1;
+ gint _tmp102_;
+ gint _tmp103_;
+ Dimensions _tmp104_;
+ gint _tmp105_;
+ gint _tmp118_;
+ gint _tmp119_;
+ gint _tmp120_;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp74_) {
-#line 9881 "CheckerboardLayout.c"
- gint _tmp75_ = 0;
+#line 9927 "CheckerboardLayout.c"
+ gint _tmp75_;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp75_ = ctr;
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = _tmp75_ + 1;
-#line 9887 "CheckerboardLayout.c"
+#line 9933 "CheckerboardLayout.c"
}
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp74_ = FALSE;
@@ -9896,7 +9942,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (!(_tmp76_ < _tmp77_)) {
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 9899 "CheckerboardLayout.c"
+#line 9945 "CheckerboardLayout.c"
}
#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp78_ = self->priv->view;
@@ -9934,16 +9980,16 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp90_ = tallest;
#line 1686 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp89_ > _tmp90_) {
-#line 9937 "CheckerboardLayout.c"
- Dimensions _tmp91_ = {0};
- gint _tmp92_ = 0;
+#line 9983 "CheckerboardLayout.c"
+ Dimensions _tmp91_;
+ gint _tmp92_;
#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp91_ = req;
#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp92_ = _tmp91_.height;
#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
tallest = _tmp92_;
-#line 9946 "CheckerboardLayout.c"
+#line 9992 "CheckerboardLayout.c"
}
#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp93_ = req;
@@ -9953,16 +9999,16 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp95_ = widest;
#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp94_ > _tmp95_) {
-#line 9956 "CheckerboardLayout.c"
- Dimensions _tmp96_ = {0};
- gint _tmp97_ = 0;
+#line 10002 "CheckerboardLayout.c"
+ Dimensions _tmp96_;
+ gint _tmp97_;
#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp96_ = req;
#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp97_ = _tmp96_.width;
#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
widest = _tmp97_;
-#line 9965 "CheckerboardLayout.c"
+#line 10011 "CheckerboardLayout.c"
}
#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp98_ = alignment_point;
@@ -9970,13 +10016,13 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp99_ = row_alignment_point;
#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp98_ > _tmp99_) {
-#line 9973 "CheckerboardLayout.c"
- gint _tmp100_ = 0;
+#line 10019 "CheckerboardLayout.c"
+ gint _tmp100_;
#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp100_ = alignment_point;
#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row_alignment_point = _tmp100_;
-#line 9979 "CheckerboardLayout.c"
+#line 10025 "CheckerboardLayout.c"
}
#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp101_ = column_widths;
@@ -9992,21 +10038,21 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp105_ = _tmp104_.width;
#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp103_ < _tmp105_) {
-#line 9995 "CheckerboardLayout.c"
- gint _tmp106_ = 0;
- gint* _tmp107_ = NULL;
- gint _tmp107__length1 = 0;
- gint _tmp108_ = 0;
- gint _tmp109_ = 0;
- gint* _tmp110_ = NULL;
- gint _tmp110__length1 = 0;
- gint _tmp111_ = 0;
- Dimensions _tmp112_ = {0};
- gint _tmp113_ = 0;
- gint _tmp114_ = 0;
- gint _tmp115_ = 0;
- Dimensions _tmp116_ = {0};
- gint _tmp117_ = 0;
+#line 10041 "CheckerboardLayout.c"
+ gint _tmp106_;
+ gint* _tmp107_;
+ gint _tmp107__length1;
+ gint _tmp108_;
+ gint _tmp109_;
+ gint* _tmp110_;
+ gint _tmp110__length1;
+ gint _tmp111_;
+ Dimensions _tmp112_;
+ gint _tmp113_;
+ gint _tmp114_;
+ gint _tmp115_;
+ Dimensions _tmp116_;
+ gint _tmp117_;
#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp106_ = total_width;
#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10041,7 +10087,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp117_ = _tmp116_.width;
#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
total_width = _tmp115_ + _tmp117_;
-#line 10044 "CheckerboardLayout.c"
+#line 10090 "CheckerboardLayout.c"
}
#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp118_ = col;
@@ -10053,17 +10099,17 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp120_ = max_cols;
#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp119_ >= _tmp120_) {
-#line 10056 "CheckerboardLayout.c"
- gint* _tmp121_ = NULL;
- gint _tmp121__length1 = 0;
- gint _tmp122_ = 0;
- gint _tmp123_ = 0;
- gint _tmp124_ = 0;
- gint* _tmp125_ = NULL;
- gint _tmp125__length1 = 0;
- gint _tmp126_ = 0;
- gint _tmp127_ = 0;
- gint _tmp128_ = 0;
+#line 10102 "CheckerboardLayout.c"
+ gint* _tmp121_;
+ gint _tmp121__length1;
+ gint _tmp122_;
+ gint _tmp123_;
+ gint _tmp124_;
+ gint* _tmp125_;
+ gint _tmp125__length1;
+ gint _tmp126_;
+ gint _tmp127_;
+ gint _tmp128_;
#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp121_ = alignment_points;
#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10096,11 +10142,11 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
row_alignment_point = 0;
#line 1709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
tallest = 0;
-#line 10099 "CheckerboardLayout.c"
+#line 10145 "CheckerboardLayout.c"
}
#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 10103 "CheckerboardLayout.c"
+#line 10149 "CheckerboardLayout.c"
}
}
}
@@ -10108,17 +10154,17 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp129_ = col;
#line 1714 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp129_ != 0) {
-#line 10111 "CheckerboardLayout.c"
- gint* _tmp130_ = NULL;
- gint _tmp130__length1 = 0;
- gint _tmp131_ = 0;
- gint _tmp132_ = 0;
- gint _tmp133_ = 0;
- gint* _tmp134_ = NULL;
- gint _tmp134__length1 = 0;
- gint _tmp135_ = 0;
- gint _tmp136_ = 0;
- gint _tmp137_ = 0;
+#line 10157 "CheckerboardLayout.c"
+ gint* _tmp130_;
+ gint _tmp130__length1;
+ gint _tmp131_;
+ gint _tmp132_;
+ gint _tmp133_;
+ gint* _tmp134_;
+ gint _tmp134__length1;
+ gint _tmp135_;
+ gint _tmp136_;
+ gint _tmp137_;
#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp130_ = alignment_points;
#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10143,7 +10189,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp134_[_tmp135_] = _tmp136_;
#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp137_ = _tmp134_[_tmp135_];
-#line 10146 "CheckerboardLayout.c"
+#line 10192 "CheckerboardLayout.c"
}
#line 1721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp138_ = visible_width;
@@ -10159,22 +10205,22 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp141_ == 1) {
#line 1725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 10162 "CheckerboardLayout.c"
+#line 10208 "CheckerboardLayout.c"
}
#line 1730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp142_ = gutter;
#line 1730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp142_ < CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING) {
-#line 10168 "CheckerboardLayout.c"
- gint _tmp143_ = 0;
- gint _tmp144_ = 0;
- gint _tmp145_ = 0;
- gint _tmp146_ = 0;
- gint* _tmp147_ = NULL;
- gint _tmp148_ = 0;
- gint* _tmp149_ = NULL;
- gint _tmp150_ = 0;
- gint* _tmp151_ = NULL;
+#line 10214 "CheckerboardLayout.c"
+ gint _tmp143_;
+ gint _tmp144_;
+ gint _tmp145_;
+ gint _tmp146_;
+ gint* _tmp147_;
+ gint _tmp148_;
+ gint* _tmp149_;
+ gint _tmp150_;
+ gint* _tmp151_;
#line 1731 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp143_ = max_cols;
#line 1731 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10233,11 +10279,11 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
alignment_points_length1 = _tmp150_;
#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_alignment_points_size_ = alignment_points_length1;
-#line 10236 "CheckerboardLayout.c"
+#line 10282 "CheckerboardLayout.c"
} else {
#line 1749 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 10240 "CheckerboardLayout.c"
+#line 10286 "CheckerboardLayout.c"
}
}
}
@@ -10245,57 +10291,57 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
col = 0;
#line 1762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = 0;
-#line 10248 "CheckerboardLayout.c"
+#line 10294 "CheckerboardLayout.c"
{
gint ctr = 0;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = 0;
-#line 10253 "CheckerboardLayout.c"
+#line 10299 "CheckerboardLayout.c"
{
gboolean _tmp152_ = FALSE;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp152_ = TRUE;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 10260 "CheckerboardLayout.c"
- gint _tmp154_ = 0;
- gint _tmp155_ = 0;
+#line 10306 "CheckerboardLayout.c"
+ gint _tmp154_;
+ gint _tmp155_;
CheckerboardItem* item = NULL;
- ViewCollection* _tmp156_ = NULL;
- gint _tmp157_ = 0;
- DataObject* _tmp158_ = NULL;
+ ViewCollection* _tmp156_;
+ gint _tmp157_;
+ DataObject* _tmp158_;
Dimensions req = {0};
- CheckerboardItem* _tmp159_ = NULL;
- Dimensions _tmp160_ = {0};
+ CheckerboardItem* _tmp159_;
+ Dimensions _tmp160_;
gint true_height = 0;
- Dimensions _tmp161_ = {0};
- gint _tmp162_ = 0;
- gint* _tmp163_ = NULL;
- gint _tmp163__length1 = 0;
- gint _tmp164_ = 0;
- gint _tmp165_ = 0;
- CheckerboardItem* _tmp166_ = NULL;
- gint _tmp167_ = 0;
- gint _tmp168_ = 0;
- Dimensions _tmp169_ = {0};
- gint _tmp170_ = 0;
- gint _tmp171_ = 0;
- gint* _tmp172_ = NULL;
- gint _tmp172__length1 = 0;
- gint _tmp173_ = 0;
- gint _tmp174_ = 0;
- gint _tmp179_ = 0;
- gint _tmp180_ = 0;
- gint _tmp181_ = 0;
+ Dimensions _tmp161_;
+ gint _tmp162_;
+ gint* _tmp163_;
+ gint _tmp163__length1;
+ gint _tmp164_;
+ gint _tmp165_;
+ CheckerboardItem* _tmp166_;
+ gint _tmp167_;
+ gint _tmp168_;
+ Dimensions _tmp169_;
+ gint _tmp170_;
+ gint _tmp171_;
+ gint* _tmp172_;
+ gint _tmp172__length1;
+ gint _tmp173_;
+ gint _tmp174_;
+ gint _tmp179_;
+ gint _tmp180_;
+ gint _tmp181_;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp152_) {
-#line 10292 "CheckerboardLayout.c"
- gint _tmp153_ = 0;
+#line 10338 "CheckerboardLayout.c"
+ gint _tmp153_;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp153_ = ctr;
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = _tmp153_ + 1;
-#line 10298 "CheckerboardLayout.c"
+#line 10344 "CheckerboardLayout.c"
}
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp152_ = FALSE;
@@ -10307,7 +10353,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (!(_tmp154_ < _tmp155_)) {
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 10310 "CheckerboardLayout.c"
+#line 10356 "CheckerboardLayout.c"
}
#line 1765 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp156_ = self->priv->view;
@@ -10361,12 +10407,12 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp174_ = _tmp172_[_tmp173_];
#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp171_ > _tmp174_) {
-#line 10364 "CheckerboardLayout.c"
- gint* _tmp175_ = NULL;
- gint _tmp175__length1 = 0;
- gint _tmp176_ = 0;
- gint _tmp177_ = 0;
- gint _tmp178_ = 0;
+#line 10410 "CheckerboardLayout.c"
+ gint* _tmp175_;
+ gint _tmp175__length1;
+ gint _tmp176_;
+ gint _tmp177_;
+ gint _tmp178_;
#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp175_ = row_heights;
#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10379,7 +10425,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp175_[_tmp176_] = _tmp177_;
#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp178_ = _tmp175_[_tmp176_];
-#line 10382 "CheckerboardLayout.c"
+#line 10428 "CheckerboardLayout.c"
}
#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp179_ = col;
@@ -10391,19 +10437,19 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp181_ = max_cols;
#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp180_ >= _tmp181_) {
-#line 10394 "CheckerboardLayout.c"
- gint _tmp182_ = 0;
+#line 10440 "CheckerboardLayout.c"
+ gint _tmp182_;
#line 1785 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
col = 0;
#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp182_ = row;
#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = _tmp182_ + 1;
-#line 10402 "CheckerboardLayout.c"
+#line 10448 "CheckerboardLayout.c"
}
#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 10406 "CheckerboardLayout.c"
+#line 10452 "CheckerboardLayout.c"
}
}
}
@@ -10431,85 +10477,85 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
row = 0;
#line 1798 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
current_row = NULL;
-#line 10434 "CheckerboardLayout.c"
+#line 10480 "CheckerboardLayout.c"
{
gint ctr = 0;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = 0;
-#line 10439 "CheckerboardLayout.c"
+#line 10485 "CheckerboardLayout.c"
{
gboolean _tmp186_ = FALSE;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp186_ = TRUE;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 10446 "CheckerboardLayout.c"
- gint _tmp188_ = 0;
- gint _tmp189_ = 0;
+#line 10492 "CheckerboardLayout.c"
+ gint _tmp188_;
+ gint _tmp189_;
CheckerboardItem* item = NULL;
- ViewCollection* _tmp190_ = NULL;
- gint _tmp191_ = 0;
- DataObject* _tmp192_ = NULL;
+ ViewCollection* _tmp190_;
+ gint _tmp191_;
+ DataObject* _tmp192_;
Dimensions req = {0};
- CheckerboardItem* _tmp193_ = NULL;
- Dimensions _tmp194_ = {0};
+ CheckerboardItem* _tmp193_;
+ Dimensions _tmp194_;
gint xpadding = 0;
- gint* _tmp195_ = NULL;
- gint _tmp195__length1 = 0;
- gint _tmp196_ = 0;
- gint _tmp197_ = 0;
- Dimensions _tmp198_ = {0};
- gint _tmp199_ = 0;
- gint _tmp200_ = 0;
+ gint* _tmp195_;
+ gint _tmp195__length1;
+ gint _tmp196_;
+ gint _tmp197_;
+ Dimensions _tmp198_;
+ gint _tmp199_;
+ gint _tmp200_;
gint ypadding = 0;
- gint* _tmp201_ = NULL;
- gint _tmp201__length1 = 0;
- gint _tmp202_ = 0;
- gint _tmp203_ = 0;
- CheckerboardItem* _tmp204_ = NULL;
- gint _tmp205_ = 0;
- gint _tmp206_ = 0;
- CheckerboardItem* _tmp207_ = NULL;
- gint _tmp208_ = 0;
- gint _tmp209_ = 0;
- CheckerboardItem* _tmp210_ = NULL;
- gint _tmp211_ = 0;
- gint _tmp212_ = 0;
- CheckerboardItem* _tmp213_ = NULL;
- Dimensions _tmp214_ = {0};
- gint _tmp215_ = 0;
- CheckerboardItem* _tmp216_ = NULL;
- Dimensions _tmp217_ = {0};
- gint _tmp218_ = 0;
- CheckerboardItem* _tmp219_ = NULL;
- gint _tmp220_ = 0;
- gint _tmp221_ = 0;
- CheckerboardLayoutLayoutRow* _tmp222_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp229_ = NULL;
- CheckerboardItem** _tmp230_ = NULL;
- gint _tmp230__length1 = 0;
- gint _tmp231_ = 0;
- CheckerboardItem* _tmp232_ = NULL;
- CheckerboardItem* _tmp233_ = NULL;
- CheckerboardItem* _tmp234_ = NULL;
- gint _tmp235_ = 0;
- gint* _tmp236_ = NULL;
- gint _tmp236__length1 = 0;
- gint _tmp237_ = 0;
- gint _tmp238_ = 0;
- gint _tmp239_ = 0;
- gint _tmp240_ = 0;
- gint _tmp241_ = 0;
- gint _tmp242_ = 0;
+ gint* _tmp201_;
+ gint _tmp201__length1;
+ gint _tmp202_;
+ gint _tmp203_;
+ CheckerboardItem* _tmp204_;
+ gint _tmp205_;
+ gint _tmp206_;
+ CheckerboardItem* _tmp207_;
+ gint _tmp208_;
+ gint _tmp209_;
+ CheckerboardItem* _tmp210_;
+ gint _tmp211_;
+ gint _tmp212_;
+ CheckerboardItem* _tmp213_;
+ Dimensions _tmp214_;
+ gint _tmp215_;
+ CheckerboardItem* _tmp216_;
+ Dimensions _tmp217_;
+ gint _tmp218_;
+ CheckerboardItem* _tmp219_;
+ gint _tmp220_;
+ gint _tmp221_;
+ CheckerboardLayoutLayoutRow* _tmp222_;
+ CheckerboardLayoutLayoutRow* _tmp229_;
+ CheckerboardItem** _tmp230_;
+ gint _tmp230__length1;
+ gint _tmp231_;
+ CheckerboardItem* _tmp232_;
+ CheckerboardItem* _tmp233_;
+ CheckerboardItem* _tmp234_;
+ gint _tmp235_;
+ gint* _tmp236_;
+ gint _tmp236__length1;
+ gint _tmp237_;
+ gint _tmp238_;
+ gint _tmp239_;
+ gint _tmp240_;
+ gint _tmp241_;
+ gint _tmp242_;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!_tmp186_) {
-#line 10506 "CheckerboardLayout.c"
- gint _tmp187_ = 0;
+#line 10552 "CheckerboardLayout.c"
+ gint _tmp187_;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp187_ = ctr;
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
ctr = _tmp187_ + 1;
-#line 10512 "CheckerboardLayout.c"
+#line 10558 "CheckerboardLayout.c"
}
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp186_ = FALSE;
@@ -10521,7 +10567,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (!(_tmp188_ < _tmp189_)) {
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 10524 "CheckerboardLayout.c"
+#line 10570 "CheckerboardLayout.c"
}
#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp190_ = self->priv->view;
@@ -10617,14 +10663,14 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp222_ = current_row;
#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp222_ == NULL) {
-#line 10620 "CheckerboardLayout.c"
- gint _tmp223_ = 0;
- gint* _tmp224_ = NULL;
- gint _tmp224__length1 = 0;
- gint _tmp225_ = 0;
- gint _tmp226_ = 0;
- gint _tmp227_ = 0;
- CheckerboardLayoutLayoutRow* _tmp228_ = NULL;
+#line 10666 "CheckerboardLayout.c"
+ gint _tmp223_;
+ gint* _tmp224_;
+ gint _tmp224__length1;
+ gint _tmp225_;
+ gint _tmp226_;
+ gint _tmp227_;
+ CheckerboardLayoutLayoutRow* _tmp228_;
#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp223_ = y;
#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10643,7 +10689,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_checkerboard_layout_layout_row_unref0 (current_row);
#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
current_row = _tmp228_;
-#line 10646 "CheckerboardLayout.c"
+#line 10692 "CheckerboardLayout.c"
}
#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp229_ = current_row;
@@ -10687,21 +10733,21 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp242_ = max_cols;
#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp241_ >= _tmp242_) {
-#line 10690 "CheckerboardLayout.c"
- CheckerboardLayoutLayoutRow* _tmp243_ = NULL;
- CheckerboardLayoutLayoutRow** _tmp244_ = NULL;
- gint _tmp244__length1 = 0;
- gint _tmp245_ = 0;
- CheckerboardLayoutLayoutRow* _tmp246_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp247_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp248_ = NULL;
- gint _tmp249_ = 0;
- gint _tmp250_ = 0;
- gint* _tmp251_ = NULL;
- gint _tmp251__length1 = 0;
- gint _tmp252_ = 0;
- gint _tmp253_ = 0;
- gint _tmp254_ = 0;
+#line 10736 "CheckerboardLayout.c"
+ CheckerboardLayoutLayoutRow* _tmp243_;
+ CheckerboardLayoutLayoutRow** _tmp244_;
+ gint _tmp244__length1;
+ gint _tmp245_;
+ CheckerboardLayoutLayoutRow* _tmp246_;
+ CheckerboardLayoutLayoutRow* _tmp247_;
+ CheckerboardLayoutLayoutRow* _tmp248_;
+ gint _tmp249_;
+ gint _tmp250_;
+ gint* _tmp251_;
+ gint _tmp251__length1;
+ gint _tmp252_;
+ gint _tmp253_;
+ gint _tmp254_;
#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp243_ = current_row;
#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10748,11 +10794,11 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp254_ = row;
#line 1836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
row = _tmp254_ + 1;
-#line 10751 "CheckerboardLayout.c"
+#line 10797 "CheckerboardLayout.c"
}
#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 10755 "CheckerboardLayout.c"
+#line 10801 "CheckerboardLayout.c"
}
}
}
@@ -10760,13 +10806,13 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp255_ = current_row;
#line 1841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp255_ != NULL) {
-#line 10763 "CheckerboardLayout.c"
- CheckerboardLayoutLayoutRow** _tmp256_ = NULL;
- gint _tmp256__length1 = 0;
- gint _tmp257_ = 0;
- CheckerboardLayoutLayoutRow* _tmp258_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp259_ = NULL;
- CheckerboardLayoutLayoutRow* _tmp260_ = NULL;
+#line 10809 "CheckerboardLayout.c"
+ CheckerboardLayoutLayoutRow** _tmp256_;
+ gint _tmp256__length1;
+ gint _tmp257_;
+ CheckerboardLayoutLayoutRow* _tmp258_;
+ CheckerboardLayoutLayoutRow* _tmp259_;
+ CheckerboardLayoutLayoutRow* _tmp260_;
#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp256_ = self->priv->item_rows;
#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10783,7 +10829,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp256_[_tmp257_] = _tmp259_;
#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp260_ = _tmp256_[_tmp257_];
-#line 10786 "CheckerboardLayout.c"
+#line 10832 "CheckerboardLayout.c"
}
#line 1845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp261_ = max_cols;
@@ -10821,11 +10867,11 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
if (_tmp270_ != _tmp272_) {
#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp269_ = TRUE;
-#line 10824 "CheckerboardLayout.c"
+#line 10870 "CheckerboardLayout.c"
} else {
- gint _tmp273_ = 0;
- GtkAllocation _tmp274_ = {0};
- gint _tmp275_ = 0;
+ gint _tmp273_;
+ GtkAllocation _tmp274_;
+ gint _tmp275_;
#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp273_ = total_height;
#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10834,14 +10880,14 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp275_ = _tmp274_.height;
#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp269_ = _tmp273_ != _tmp275_;
-#line 10837 "CheckerboardLayout.c"
+#line 10883 "CheckerboardLayout.c"
}
#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp269_) {
-#line 10841 "CheckerboardLayout.c"
- gint _tmp276_ = 0;
- gint _tmp277_ = 0;
- gint _tmp278_ = 0;
+#line 10887 "CheckerboardLayout.c"
+ gint _tmp276_;
+ gint _tmp277_;
+ gint _tmp278_;
#line 1857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp276_ = visible_width;
#line 1857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10854,7 +10900,7 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
_tmp278_ = total_height;
#line 1861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_center_on_anchor (self, (gdouble) _tmp278_);
-#line 10857 "CheckerboardLayout.c"
+#line 10903 "CheckerboardLayout.c"
}
#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_checkerboard_layout_layout_row_unref0 (current_row);
@@ -10864,15 +10910,15 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c
row_heights = (g_free (row_heights), NULL);
#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
column_widths = (g_free (column_widths), NULL);
-#line 10867 "CheckerboardLayout.c"
+#line 10913 "CheckerboardLayout.c"
}
static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gchar* reason, GeeIterable* items) {
GdkRectangle dirty = {0};
gboolean _tmp35_ = FALSE;
- GdkRectangle _tmp36_ = {0};
- gint _tmp37_ = 0;
+ GdkRectangle _tmp36_;
+ gint _tmp37_;
#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10881,11 +10927,11 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
g_return_if_fail (GEE_IS_ITERABLE (items));
#line 1866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
memset (&dirty, 0, sizeof (GdkRectangle));
-#line 10884 "CheckerboardLayout.c"
+#line 10930 "CheckerboardLayout.c"
{
GeeIterator* _data_view_it = NULL;
- GeeIterable* _tmp0_ = NULL;
- GeeIterator* _tmp1_ = NULL;
+ GeeIterable* _tmp0_;
+ GeeIterator* _tmp1_;
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = items;
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10894,32 +10940,32 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_data_view_it = _tmp1_;
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 10897 "CheckerboardLayout.c"
- GeeIterator* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+#line 10943 "CheckerboardLayout.c"
+ GeeIterator* _tmp2_;
+ gboolean _tmp3_;
DataView* data_view = NULL;
- GeeIterator* _tmp4_ = NULL;
- gpointer _tmp5_ = NULL;
+ GeeIterator* _tmp4_;
+ gpointer _tmp5_;
CheckerboardItem* item = NULL;
- DataView* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
- ViewCollection* _tmp10_ = NULL;
- CheckerboardItem* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
+ DataView* _tmp6_;
+ CheckerboardItem* _tmp7_;
+ CheckerboardItem* _tmp8_;
+ gboolean _tmp9_;
+ ViewCollection* _tmp10_;
+ CheckerboardItem* _tmp11_;
+ gboolean _tmp12_;
gboolean _tmp13_ = FALSE;
- CheckerboardItem* _tmp14_ = NULL;
- GdkRectangle _tmp15_ = {0};
- gint _tmp16_ = 0;
+ CheckerboardItem* _tmp14_;
+ GdkRectangle _tmp15_;
+ gint _tmp16_;
GdkRectangle intersection = {0};
- CheckerboardItem* _tmp23_ = NULL;
- GdkRectangle _tmp24_ = {0};
+ CheckerboardItem* _tmp23_;
+ GdkRectangle _tmp24_;
GdkRectangle _tmp25_ = {0};
- gboolean _tmp26_ = FALSE;
+ gboolean _tmp26_;
gboolean _tmp27_ = FALSE;
- GdkRectangle _tmp28_ = {0};
- gint _tmp29_ = 0;
+ GdkRectangle _tmp28_;
+ gint _tmp29_;
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp2_ = _data_view_it;
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10928,7 +10974,7 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
if (!_tmp3_) {
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 10931 "CheckerboardLayout.c"
+#line 10977 "CheckerboardLayout.c"
}
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = _data_view_it;
@@ -10954,7 +11000,7 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_g_object_unref0 (data_view);
#line 1871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 10957 "CheckerboardLayout.c"
+#line 11003 "CheckerboardLayout.c"
}
#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp10_ = self->priv->view;
@@ -10974,11 +11020,11 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
if (_tmp16_ <= 0) {
#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = TRUE;
-#line 10977 "CheckerboardLayout.c"
+#line 11023 "CheckerboardLayout.c"
} else {
- CheckerboardItem* _tmp17_ = NULL;
- GdkRectangle _tmp18_ = {0};
- gint _tmp19_ = 0;
+ CheckerboardItem* _tmp17_;
+ GdkRectangle _tmp18_;
+ gint _tmp19_;
#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = item;
#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -10987,14 +11033,14 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_tmp19_ = _tmp18_.height;
#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = _tmp19_ <= 0;
-#line 10990 "CheckerboardLayout.c"
+#line 11036 "CheckerboardLayout.c"
}
#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp13_) {
-#line 10994 "CheckerboardLayout.c"
- const gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
+#line 11040 "CheckerboardLayout.c"
+ const gchar* _tmp20_;
+ gchar* _tmp21_;
+ gchar* _tmp22_;
#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = reason;
#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11013,7 +11059,7 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_g_object_unref0 (_data_view_it);
#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 11016 "CheckerboardLayout.c"
+#line 11062 "CheckerboardLayout.c"
}
#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
memset (&intersection, 0, sizeof (GdkRectangle));
@@ -11033,7 +11079,7 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_g_object_unref0 (data_view);
#line 1886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
continue;
-#line 11036 "CheckerboardLayout.c"
+#line 11082 "CheckerboardLayout.c"
}
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp28_ = dirty;
@@ -11043,29 +11089,29 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
if (_tmp29_ == 0) {
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = TRUE;
-#line 11046 "CheckerboardLayout.c"
+#line 11092 "CheckerboardLayout.c"
} else {
- GdkRectangle _tmp30_ = {0};
- gint _tmp31_ = 0;
+ GdkRectangle _tmp30_;
+ gint _tmp31_;
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp30_ = dirty;
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp31_ = _tmp30_.height;
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp27_ = _tmp31_ == 0;
-#line 11056 "CheckerboardLayout.c"
+#line 11102 "CheckerboardLayout.c"
}
#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp27_) {
-#line 11060 "CheckerboardLayout.c"
- GdkRectangle _tmp32_ = {0};
+#line 11106 "CheckerboardLayout.c"
+ GdkRectangle _tmp32_;
#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp32_ = intersection;
#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
dirty = _tmp32_;
-#line 11066 "CheckerboardLayout.c"
+#line 11112 "CheckerboardLayout.c"
} else {
- GdkRectangle _tmp33_ = {0};
+ GdkRectangle _tmp33_;
GdkRectangle _tmp34_ = {0};
#line 1892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp33_ = intersection;
@@ -11073,17 +11119,17 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
gdk_rectangle_union (&dirty, &_tmp33_, &_tmp34_);
#line 1892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
dirty = _tmp34_;
-#line 11076 "CheckerboardLayout.c"
+#line 11122 "CheckerboardLayout.c"
}
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (data_view);
-#line 11082 "CheckerboardLayout.c"
+#line 11128 "CheckerboardLayout.c"
}
#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_data_view_it);
-#line 11086 "CheckerboardLayout.c"
+#line 11132 "CheckerboardLayout.c"
}
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp36_ = dirty;
@@ -11091,32 +11137,32 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_tmp37_ = _tmp36_.width;
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp37_ > 0) {
-#line 11094 "CheckerboardLayout.c"
- GdkRectangle _tmp38_ = {0};
- gint _tmp39_ = 0;
+#line 11140 "CheckerboardLayout.c"
+ GdkRectangle _tmp38_;
+ gint _tmp39_;
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp38_ = dirty;
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = _tmp38_.height;
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = _tmp39_ > 0;
-#line 11103 "CheckerboardLayout.c"
+#line 11149 "CheckerboardLayout.c"
} else {
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = FALSE;
-#line 11107 "CheckerboardLayout.c"
+#line 11153 "CheckerboardLayout.c"
}
#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp35_) {
-#line 11111 "CheckerboardLayout.c"
- GdkRectangle _tmp40_ = {0};
- gint _tmp41_ = 0;
- GdkRectangle _tmp42_ = {0};
- gint _tmp43_ = 0;
- GdkRectangle _tmp44_ = {0};
- gint _tmp45_ = 0;
- GdkRectangle _tmp46_ = {0};
- gint _tmp47_ = 0;
+#line 11157 "CheckerboardLayout.c"
+ GdkRectangle _tmp40_;
+ gint _tmp41_;
+ GdkRectangle _tmp42_;
+ gint _tmp43_;
+ GdkRectangle _tmp44_;
+ gint _tmp45_;
+ GdkRectangle _tmp46_;
+ gint _tmp47_;
#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp40_ = dirty;
#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11135,7 +11181,7 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch
_tmp47_ = _tmp46_.height;
#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
gtk_widget_queue_draw_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp41_, _tmp43_, _tmp45_, _tmp47_);
-#line 11138 "CheckerboardLayout.c"
+#line 11184 "CheckerboardLayout.c"
}
}
@@ -11148,22 +11194,22 @@ static void checkerboard_layout_real_map (GtkWidget* base) {
GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->map (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea), gtk_widget_get_type (), GtkWidget));
#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_set_colors (self, TRUE);
-#line 11151 "CheckerboardLayout.c"
+#line 11197 "CheckerboardLayout.c"
}
static void checkerboard_layout_set_colors (CheckerboardLayout* self, gboolean in_focus) {
- ConfigFacade* _tmp0_ = NULL;
- ConfigFacade* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
+ ConfigFacade* _tmp0_;
+ ConfigFacade* _tmp1_;
+ gboolean _tmp2_;
GdkRGBA _tmp3_ = {0};
- ConfigFacade* _tmp4_ = NULL;
- ConfigFacade* _tmp5_ = NULL;
+ ConfigFacade* _tmp4_;
+ ConfigFacade* _tmp5_;
GdkRGBA _tmp6_ = {0};
- ConfigFacade* _tmp7_ = NULL;
- ConfigFacade* _tmp8_ = NULL;
+ ConfigFacade* _tmp7_;
+ ConfigFacade* _tmp8_;
GdkRGBA _tmp9_ = {0};
- GtkStyleContext* _tmp10_ = NULL;
+ GtkStyleContext* _tmp10_;
GdkRGBA _tmp11_ = {0};
#line 1910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
@@ -11205,13 +11251,13 @@ static void checkerboard_layout_set_colors (CheckerboardLayout* self, gboolean i
gtk_style_context_get_background_color (_tmp10_, GTK_STATE_FLAG_NORMAL, &_tmp11_);
#line 1915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->bg_color = _tmp11_;
-#line 11208 "CheckerboardLayout.c"
+#line 11254 "CheckerboardLayout.c"
}
static void checkerboard_layout_real_size_allocate (GtkWidget* base, GtkAllocation* allocation) {
CheckerboardLayout * self;
- GtkAllocation _tmp0_ = {0};
+ GtkAllocation _tmp0_;
#line 1918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 1918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11222,7 +11268,7 @@ static void checkerboard_layout_real_size_allocate (GtkWidget* base, GtkAllocati
GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->size_allocate (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea), gtk_widget_get_type (), GtkWidget), &_tmp0_);
#line 1921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_viewport_resized (self);
-#line 11225 "CheckerboardLayout.c"
+#line 11271 "CheckerboardLayout.c"
}
@@ -11231,16 +11277,16 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
gboolean result = FALSE;
GtkAllocation allocation = {0};
GtkAllocation _tmp0_ = {0};
- GtkStyleContext* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
- GtkAllocation _tmp3_ = {0};
- gint _tmp4_ = 0;
- GtkAllocation _tmp5_ = {0};
- gint _tmp6_ = 0;
- const gchar* _tmp7_ = NULL;
+ GtkStyleContext* _tmp1_;
+ cairo_t* _tmp2_;
+ GtkAllocation _tmp3_;
+ gint _tmp4_;
+ GtkAllocation _tmp5_;
+ gint _tmp6_;
+ const gchar* _tmp7_;
gboolean _tmp60_ = FALSE;
gboolean _result_ = FALSE;
- cairo_t* _tmp63_ = NULL;
+ cairo_t* _tmp63_;
#line 1924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 1924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11267,24 +11313,24 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
_tmp7_ = self->priv->message;
#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp7_ == NULL) {
-#line 11270 "CheckerboardLayout.c"
- gboolean _tmp8_ = FALSE;
+#line 11316 "CheckerboardLayout.c"
+ gboolean _tmp8_;
#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = self->priv->exposure_dirty;
#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp8_) {
#line 1943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_expose_items (self, "draw");
-#line 11278 "CheckerboardLayout.c"
+#line 11324 "CheckerboardLayout.c"
}
{
GeeList* _item_list = NULL;
- GdkRectangle _tmp9_ = {0};
- GeeList* _tmp10_ = NULL;
+ GdkRectangle _tmp9_;
+ GeeList* _tmp10_;
gint _item_size = 0;
- GeeList* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ GeeList* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
gint _item_index = 0;
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp9_ = self->priv->visible_page;
@@ -11304,22 +11350,22 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
_item_index = -1;
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
while (TRUE) {
-#line 11307 "CheckerboardLayout.c"
- gint _tmp14_ = 0;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+#line 11353 "CheckerboardLayout.c"
+ gint _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
CheckerboardItem* item = NULL;
- GeeList* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gpointer _tmp19_ = NULL;
+ GeeList* _tmp17_;
+ gint _tmp18_;
+ gpointer _tmp19_;
GdkRGBA _tmp20_ = {0};
- CheckerboardItem* _tmp21_ = NULL;
- gboolean _tmp22_ = FALSE;
- CheckerboardItem* _tmp25_ = NULL;
- cairo_t* _tmp26_ = NULL;
- GdkRGBA _tmp27_ = {0};
- GdkRGBA _tmp28_ = {0};
- GdkRGBA _tmp29_ = {0};
+ CheckerboardItem* _tmp21_;
+ gboolean _tmp22_;
+ CheckerboardItem* _tmp25_;
+ cairo_t* _tmp26_;
+ GdkRGBA _tmp27_;
+ GdkRGBA _tmp28_;
+ GdkRGBA _tmp29_;
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp14_ = _item_index;
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11332,7 +11378,7 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
if (!(_tmp15_ < _tmp16_)) {
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
break;
-#line 11335 "CheckerboardLayout.c"
+#line 11381 "CheckerboardLayout.c"
}
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = _item_list;
@@ -11348,20 +11394,20 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
_tmp22_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_VIEW, DataView));
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp22_) {
-#line 11351 "CheckerboardLayout.c"
- GdkRGBA _tmp23_ = {0};
+#line 11397 "CheckerboardLayout.c"
+ GdkRGBA _tmp23_;
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp23_ = self->priv->selected_color;
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = _tmp23_;
-#line 11357 "CheckerboardLayout.c"
+#line 11403 "CheckerboardLayout.c"
} else {
- GdkRGBA _tmp24_ = {0};
+ GdkRGBA _tmp24_;
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = self->priv->unselected_color;
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp20_ = _tmp24_;
-#line 11364 "CheckerboardLayout.c"
+#line 11410 "CheckerboardLayout.c"
}
#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp25_ = item;
@@ -11377,46 +11423,46 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
checkerboard_item_paint (_tmp25_, _tmp26_, &_tmp27_, &_tmp20_, &_tmp28_, &_tmp29_);
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (item);
-#line 11380 "CheckerboardLayout.c"
+#line 11426 "CheckerboardLayout.c"
}
#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (_item_list);
-#line 11384 "CheckerboardLayout.c"
+#line 11430 "CheckerboardLayout.c"
}
} else {
PangoLayout* pango_layout = NULL;
- const gchar* _tmp30_ = NULL;
- PangoLayout* _tmp31_ = NULL;
+ const gchar* _tmp30_;
+ PangoLayout* _tmp31_;
gint text_width = 0;
gint text_height = 0;
- PangoLayout* _tmp32_ = NULL;
+ PangoLayout* _tmp32_;
gint _tmp33_ = 0;
gint _tmp34_ = 0;
GtkAllocation _tmp35_ = {0};
gint x = 0;
- GtkAllocation _tmp36_ = {0};
- gint _tmp37_ = 0;
- gint _tmp38_ = 0;
+ GtkAllocation _tmp36_;
+ gint _tmp37_;
+ gint _tmp38_;
gint _tmp39_ = 0;
- gint _tmp40_ = 0;
+ gint _tmp40_;
gint y = 0;
- GtkAllocation _tmp42_ = {0};
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
+ GtkAllocation _tmp42_;
+ gint _tmp43_;
+ gint _tmp44_;
gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- cairo_t* _tmp48_ = NULL;
- GdkRGBA _tmp49_ = {0};
- gdouble _tmp50_ = 0.0;
- GdkRGBA _tmp51_ = {0};
- gdouble _tmp52_ = 0.0;
- GdkRGBA _tmp53_ = {0};
- gdouble _tmp54_ = 0.0;
- cairo_t* _tmp55_ = NULL;
- gint _tmp56_ = 0;
- gint _tmp57_ = 0;
- cairo_t* _tmp58_ = NULL;
- PangoLayout* _tmp59_ = NULL;
+ gint _tmp46_;
+ cairo_t* _tmp48_;
+ GdkRGBA _tmp49_;
+ gdouble _tmp50_;
+ GdkRGBA _tmp51_;
+ gdouble _tmp52_;
+ GdkRGBA _tmp53_;
+ gdouble _tmp54_;
+ cairo_t* _tmp55_;
+ gint _tmp56_;
+ gint _tmp57_;
+ cairo_t* _tmp58_;
+ PangoLayout* _tmp59_;
#line 1952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp30_ = self->priv->message;
#line 1952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11447,17 +11493,17 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
_tmp40_ = x;
#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp40_ > 0) {
-#line 11450 "CheckerboardLayout.c"
- gint _tmp41_ = 0;
+#line 11496 "CheckerboardLayout.c"
+ gint _tmp41_;
#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp41_ = x;
#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = _tmp41_ / 2;
-#line 11456 "CheckerboardLayout.c"
+#line 11502 "CheckerboardLayout.c"
} else {
#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp39_ = 0;
-#line 11460 "CheckerboardLayout.c"
+#line 11506 "CheckerboardLayout.c"
}
#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
x = _tmp39_;
@@ -11473,17 +11519,17 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
_tmp46_ = y;
#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp46_ > 0) {
-#line 11476 "CheckerboardLayout.c"
- gint _tmp47_ = 0;
+#line 11522 "CheckerboardLayout.c"
+ gint _tmp47_;
#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp47_ = y;
#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp45_ = _tmp47_ / 2;
-#line 11482 "CheckerboardLayout.c"
+#line 11528 "CheckerboardLayout.c"
} else {
#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp45_ = 0;
-#line 11486 "CheckerboardLayout.c"
+#line 11532 "CheckerboardLayout.c"
}
#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
y = _tmp45_;
@@ -11519,24 +11565,24 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
pango_cairo_show_layout (_tmp58_, _tmp59_);
#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_g_object_unref0 (pango_layout);
-#line 11522 "CheckerboardLayout.c"
+#line 11568 "CheckerboardLayout.c"
}
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->draw != NULL) {
-#line 11526 "CheckerboardLayout.c"
- cairo_t* _tmp61_ = NULL;
- gboolean _tmp62_ = FALSE;
+#line 11572 "CheckerboardLayout.c"
+ cairo_t* _tmp61_;
+ gboolean _tmp62_;
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp61_ = ctx;
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp62_ = GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->draw (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea), gtk_widget_get_type (), GtkWidget), _tmp61_);
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp60_ = _tmp62_;
-#line 11535 "CheckerboardLayout.c"
+#line 11581 "CheckerboardLayout.c"
} else {
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp60_ = TRUE;
-#line 11539 "CheckerboardLayout.c"
+#line 11585 "CheckerboardLayout.c"
}
#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_result_ = _tmp60_;
@@ -11548,45 +11594,45 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) {
result = _result_;
#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 11551 "CheckerboardLayout.c"
+#line 11597 "CheckerboardLayout.c"
}
static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, cairo_t* ctx) {
gboolean _tmp0_ = FALSE;
- GdkRectangle _tmp1_ = {0};
- gint _tmp2_ = 0;
+ GdkRectangle _tmp1_;
+ gint _tmp2_;
gboolean _tmp5_ = FALSE;
- GtkAdjustment* _tmp6_ = NULL;
+ GtkAdjustment* _tmp6_;
GdkRectangle visible_page = {0};
- GtkAdjustment* _tmp8_ = NULL;
- GtkAdjustment* _tmp9_ = NULL;
+ GtkAdjustment* _tmp8_;
+ GtkAdjustment* _tmp9_;
GdkRectangle _tmp10_ = {0};
GdkRectangle visible_band = {0};
- GdkRectangle _tmp11_ = {0};
+ GdkRectangle _tmp11_;
GdkRectangle _tmp12_ = {0};
gboolean _tmp13_ = FALSE;
- GdkRectangle _tmp14_ = {0};
- gint _tmp15_ = 0;
- cairo_t* _tmp35_ = NULL;
- cairo_t* _tmp36_ = NULL;
- cairo_t* _tmp37_ = NULL;
- GdkRGBA _tmp38_ = {0};
- gdouble _tmp39_ = 0.0;
- GdkRGBA _tmp40_ = {0};
- gdouble _tmp41_ = 0.0;
- GdkRGBA _tmp42_ = {0};
- gdouble _tmp43_ = 0.0;
- cairo_t* _tmp44_ = NULL;
- GdkRectangle _tmp45_ = {0};
- gint _tmp46_ = 0;
- GdkRectangle _tmp47_ = {0};
- gint _tmp48_ = 0;
- GdkRectangle _tmp49_ = {0};
- gint _tmp50_ = 0;
- GdkRectangle _tmp51_ = {0};
- gint _tmp52_ = 0;
- cairo_t* _tmp53_ = NULL;
+ GdkRectangle _tmp14_;
+ gint _tmp15_;
+ cairo_t* _tmp35_;
+ cairo_t* _tmp36_;
+ cairo_t* _tmp37_;
+ GdkRGBA _tmp38_;
+ gdouble _tmp39_;
+ GdkRGBA _tmp40_;
+ gdouble _tmp41_;
+ GdkRGBA _tmp42_;
+ gdouble _tmp43_;
+ cairo_t* _tmp44_;
+ GdkRectangle _tmp45_;
+ gint _tmp46_;
+ GdkRectangle _tmp47_;
+ gint _tmp48_;
+ GdkRectangle _tmp49_;
+ gint _tmp50_;
+ GdkRectangle _tmp51_;
+ gint _tmp52_;
+ cairo_t* _tmp53_;
#line 1977 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
#line 1977 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11599,23 +11645,23 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c
if (_tmp2_ <= 1) {
#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = TRUE;
-#line 11602 "CheckerboardLayout.c"
+#line 11648 "CheckerboardLayout.c"
} else {
- GdkRectangle _tmp3_ = {0};
- gint _tmp4_ = 0;
+ GdkRectangle _tmp3_;
+ gint _tmp4_;
#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = self->priv->selection_band;
#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp4_ = _tmp3_.height;
#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp0_ = _tmp4_ <= 1;
-#line 11612 "CheckerboardLayout.c"
+#line 11658 "CheckerboardLayout.c"
}
#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp0_) {
#line 1980 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 11618 "CheckerboardLayout.c"
+#line 11664 "CheckerboardLayout.c"
}
#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp6_ = self->priv->hadjustment;
@@ -11623,20 +11669,20 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c
if (_tmp6_ == NULL) {
#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = TRUE;
-#line 11626 "CheckerboardLayout.c"
+#line 11672 "CheckerboardLayout.c"
} else {
- GtkAdjustment* _tmp7_ = NULL;
+ GtkAdjustment* _tmp7_;
#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp7_ = self->priv->vadjustment;
#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = _tmp7_ == NULL;
-#line 11633 "CheckerboardLayout.c"
+#line 11679 "CheckerboardLayout.c"
}
#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp5_) {
#line 1984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return;
-#line 11639 "CheckerboardLayout.c"
+#line 11685 "CheckerboardLayout.c"
}
#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp8_ = self->priv->hadjustment;
@@ -11660,41 +11706,41 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c
_tmp15_ = _tmp14_.width;
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp15_ > 1) {
-#line 11663 "CheckerboardLayout.c"
- GdkRectangle _tmp16_ = {0};
- gint _tmp17_ = 0;
+#line 11709 "CheckerboardLayout.c"
+ GdkRectangle _tmp16_;
+ gint _tmp17_;
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp16_ = visible_band;
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp17_ = _tmp16_.height;
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = _tmp17_ > 1;
-#line 11672 "CheckerboardLayout.c"
+#line 11718 "CheckerboardLayout.c"
} else {
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp13_ = FALSE;
-#line 11676 "CheckerboardLayout.c"
+#line 11722 "CheckerboardLayout.c"
}
#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp13_) {
-#line 11680 "CheckerboardLayout.c"
- cairo_t* _tmp18_ = NULL;
- GdkRGBA _tmp19_ = {0};
- gdouble _tmp20_ = 0.0;
- GdkRGBA _tmp21_ = {0};
- gdouble _tmp22_ = 0.0;
- GdkRGBA _tmp23_ = {0};
- gdouble _tmp24_ = 0.0;
- cairo_t* _tmp25_ = NULL;
- GdkRectangle _tmp26_ = {0};
- gint _tmp27_ = 0;
- GdkRectangle _tmp28_ = {0};
- gint _tmp29_ = 0;
- GdkRectangle _tmp30_ = {0};
- gint _tmp31_ = 0;
- GdkRectangle _tmp32_ = {0};
- gint _tmp33_ = 0;
- cairo_t* _tmp34_ = NULL;
+#line 11726 "CheckerboardLayout.c"
+ cairo_t* _tmp18_;
+ GdkRGBA _tmp19_;
+ gdouble _tmp20_;
+ GdkRGBA _tmp21_;
+ gdouble _tmp22_;
+ GdkRGBA _tmp23_;
+ gdouble _tmp24_;
+ cairo_t* _tmp25_;
+ GdkRectangle _tmp26_;
+ gint _tmp27_;
+ GdkRectangle _tmp28_;
+ gint _tmp29_;
+ GdkRectangle _tmp30_;
+ gint _tmp31_;
+ GdkRectangle _tmp32_;
+ gint _tmp33_;
+ cairo_t* _tmp34_;
#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp18_ = ctx;
#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11735,7 +11781,7 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c
_tmp34_ = ctx;
#line 1997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_fill (_tmp34_);
-#line 11738 "CheckerboardLayout.c"
+#line 11784 "CheckerboardLayout.c"
}
#line 2003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp35_ = ctx;
@@ -11785,7 +11831,7 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c
_tmp53_ = ctx;
#line 2008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
cairo_stroke (_tmp53_);
-#line 11788 "CheckerboardLayout.c"
+#line 11834 "CheckerboardLayout.c"
}
@@ -11793,11 +11839,11 @@ static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x,
CheckerboardLayout * self;
gboolean result = FALSE;
CheckerboardItem* item = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- CheckerboardItem* _tmp2_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ CheckerboardItem* _tmp2_;
gboolean _tmp3_ = FALSE;
- CheckerboardItem* _tmp4_ = NULL;
+ CheckerboardItem* _tmp4_;
#line 2011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 2011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11814,12 +11860,12 @@ static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x,
_tmp4_ = item;
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp4_ != NULL) {
-#line 11817 "CheckerboardLayout.c"
- CheckerboardItem* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- GtkTooltip* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+#line 11863 "CheckerboardLayout.c"
+ CheckerboardItem* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ GtkTooltip* _tmp8_;
+ gboolean _tmp9_;
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp5_ = item;
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11832,11 +11878,11 @@ static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x,
_tmp9_ = checkerboard_item_query_tooltip (_tmp5_, _tmp6_, _tmp7_, _tmp8_);
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = _tmp9_;
-#line 11835 "CheckerboardLayout.c"
+#line 11881 "CheckerboardLayout.c"
} else {
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp3_ = FALSE;
-#line 11839 "CheckerboardLayout.c"
+#line 11885 "CheckerboardLayout.c"
}
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
result = _tmp3_;
@@ -11844,13 +11890,13 @@ static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x,
_g_object_unref0 (item);
#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 11847 "CheckerboardLayout.c"
+#line 11893 "CheckerboardLayout.c"
}
static void checkerboard_layout_on_colors_changed (CheckerboardLayout* self) {
- ConfigFacade* _tmp0_ = NULL;
- ConfigFacade* _tmp1_ = NULL;
+ ConfigFacade* _tmp0_;
+ ConfigFacade* _tmp1_;
GdkRGBA _tmp2_ = {0};
#line 2017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self));
@@ -11866,18 +11912,18 @@ static void checkerboard_layout_on_colors_changed (CheckerboardLayout* self) {
_g_object_unref0 (_tmp1_);
#line 2019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_set_colors (self, TRUE);
-#line 11869 "CheckerboardLayout.c"
+#line 11915 "CheckerboardLayout.c"
}
static gboolean checkerboard_layout_real_focus_in_event (GtkWidget* base, GdkEventFocus* event) {
CheckerboardLayout * self;
gboolean result = FALSE;
- ViewCollection* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GdkEventFocus* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ ViewCollection* _tmp0_;
+ GeeList* _tmp1_;
+ GeeList* _tmp2_;
+ GdkEventFocus* _tmp3_;
+ gboolean _tmp4_;
#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11902,18 +11948,18 @@ static gboolean checkerboard_layout_real_focus_in_event (GtkWidget* base, GdkEve
result = _tmp4_;
#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 11905 "CheckerboardLayout.c"
+#line 11951 "CheckerboardLayout.c"
}
static gboolean checkerboard_layout_real_focus_out_event (GtkWidget* base, GdkEventFocus* event) {
CheckerboardLayout * self;
gboolean result = FALSE;
- ViewCollection* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GdkEventFocus* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ ViewCollection* _tmp0_;
+ GeeList* _tmp1_;
+ GeeList* _tmp2_;
+ GdkEventFocus* _tmp3_;
+ gboolean _tmp4_;
#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11938,16 +11984,16 @@ static gboolean checkerboard_layout_real_focus_out_event (GtkWidget* base, GdkEv
result = _tmp4_;
#line 2033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return result;
-#line 11941 "CheckerboardLayout.c"
+#line 11987 "CheckerboardLayout.c"
}
static CheckerboardLayoutLayoutRow* checkerboard_layout_layout_row_construct (GType object_type, gint y, gint height, gint num_in_row) {
CheckerboardLayoutLayoutRow* self = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- CheckerboardItem** _tmp3_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ CheckerboardItem** _tmp3_;
#line 843 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = (CheckerboardLayoutLayoutRow*) g_type_create_instance (object_type);
#line 844 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -11972,21 +12018,21 @@ static CheckerboardLayoutLayoutRow* checkerboard_layout_layout_row_construct (GT
self->_items_size_ = self->items_length1;
#line 843 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return self;
-#line 11975 "CheckerboardLayout.c"
+#line 12021 "CheckerboardLayout.c"
}
static CheckerboardLayoutLayoutRow* checkerboard_layout_layout_row_new (gint y, gint height, gint num_in_row) {
#line 843 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return checkerboard_layout_layout_row_construct (CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW, y, height, num_in_row);
-#line 11982 "CheckerboardLayout.c"
+#line 12028 "CheckerboardLayout.c"
}
static void checkerboard_layout_value_layout_row_init (GValue* value) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = NULL;
-#line 11989 "CheckerboardLayout.c"
+#line 12035 "CheckerboardLayout.c"
}
@@ -11995,7 +12041,7 @@ static void checkerboard_layout_value_layout_row_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_layout_row_unref (value->data[0].v_pointer);
-#line 11998 "CheckerboardLayout.c"
+#line 12044 "CheckerboardLayout.c"
}
}
@@ -12005,11 +12051,11 @@ static void checkerboard_layout_value_layout_row_copy_value (const GValue* src_v
if (src_value->data[0].v_pointer) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
dest_value->data[0].v_pointer = checkerboard_layout_layout_row_ref (src_value->data[0].v_pointer);
-#line 12008 "CheckerboardLayout.c"
+#line 12054 "CheckerboardLayout.c"
} else {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
dest_value->data[0].v_pointer = NULL;
-#line 12012 "CheckerboardLayout.c"
+#line 12058 "CheckerboardLayout.c"
}
}
@@ -12017,66 +12063,66 @@ static void checkerboard_layout_value_layout_row_copy_value (const GValue* src_v
static gpointer checkerboard_layout_value_layout_row_peek_pointer (const GValue* value) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return value->data[0].v_pointer;
-#line 12020 "CheckerboardLayout.c"
+#line 12066 "CheckerboardLayout.c"
}
static gchar* checkerboard_layout_value_layout_row_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (collect_values[0].v_pointer) {
-#line 12027 "CheckerboardLayout.c"
- CheckerboardLayoutLayoutRow* object;
+#line 12073 "CheckerboardLayout.c"
+ CheckerboardLayoutLayoutRow * object;
object = collect_values[0].v_pointer;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (object->parent_instance.g_class == NULL) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 12034 "CheckerboardLayout.c"
+#line 12080 "CheckerboardLayout.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.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 12038 "CheckerboardLayout.c"
+#line 12084 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = checkerboard_layout_layout_row_ref (object);
-#line 12042 "CheckerboardLayout.c"
+#line 12088 "CheckerboardLayout.c"
} else {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = NULL;
-#line 12046 "CheckerboardLayout.c"
+#line 12092 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return NULL;
-#line 12050 "CheckerboardLayout.c"
+#line 12096 "CheckerboardLayout.c"
}
static gchar* checkerboard_layout_value_layout_row_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- CheckerboardLayoutLayoutRow** object_p;
+ CheckerboardLayoutLayoutRow ** object_p;
object_p = collect_values[0].v_pointer;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!object_p) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 12061 "CheckerboardLayout.c"
+#line 12107 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (!value->data[0].v_pointer) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
*object_p = NULL;
-#line 12067 "CheckerboardLayout.c"
+#line 12113 "CheckerboardLayout.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
*object_p = value->data[0].v_pointer;
-#line 12071 "CheckerboardLayout.c"
+#line 12117 "CheckerboardLayout.c"
} else {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
*object_p = checkerboard_layout_layout_row_ref (value->data[0].v_pointer);
-#line 12075 "CheckerboardLayout.c"
+#line 12121 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return NULL;
-#line 12079 "CheckerboardLayout.c"
+#line 12125 "CheckerboardLayout.c"
}
@@ -12090,7 +12136,7 @@ static GParamSpec* checkerboard_layout_param_spec_layout_row (const gchar* name,
G_PARAM_SPEC (spec)->value_type = object_type;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return G_PARAM_SPEC (spec);
-#line 12093 "CheckerboardLayout.c"
+#line 12139 "CheckerboardLayout.c"
}
@@ -12099,12 +12145,12 @@ static gpointer checkerboard_layout_value_get_layout_row (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW), NULL);
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return value->data[0].v_pointer;
-#line 12102 "CheckerboardLayout.c"
+#line 12148 "CheckerboardLayout.c"
}
static void checkerboard_layout_value_set_layout_row (GValue* value, gpointer v_object) {
- CheckerboardLayoutLayoutRow* old;
+ CheckerboardLayoutLayoutRow * old;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW));
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -12119,23 +12165,23 @@ static void checkerboard_layout_value_set_layout_row (GValue* value, gpointer v_
value->data[0].v_pointer = v_object;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_layout_row_ref (value->data[0].v_pointer);
-#line 12122 "CheckerboardLayout.c"
+#line 12168 "CheckerboardLayout.c"
} else {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = NULL;
-#line 12126 "CheckerboardLayout.c"
+#line 12172 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (old) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_layout_row_unref (old);
-#line 12132 "CheckerboardLayout.c"
+#line 12178 "CheckerboardLayout.c"
}
}
static void checkerboard_layout_value_take_layout_row (GValue* value, gpointer v_object) {
- CheckerboardLayoutLayoutRow* old;
+ CheckerboardLayoutLayoutRow * old;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW));
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -12148,17 +12194,17 @@ static void checkerboard_layout_value_take_layout_row (GValue* value, gpointer v
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = v_object;
-#line 12151 "CheckerboardLayout.c"
+#line 12197 "CheckerboardLayout.c"
} else {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
value->data[0].v_pointer = NULL;
-#line 12155 "CheckerboardLayout.c"
+#line 12201 "CheckerboardLayout.c"
}
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (old) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
checkerboard_layout_layout_row_unref (old);
-#line 12161 "CheckerboardLayout.c"
+#line 12207 "CheckerboardLayout.c"
}
}
@@ -12168,18 +12214,18 @@ static void checkerboard_layout_layout_row_class_init (CheckerboardLayoutLayoutR
checkerboard_layout_layout_row_parent_class = g_type_class_peek_parent (klass);
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
((CheckerboardLayoutLayoutRowClass *) klass)->finalize = checkerboard_layout_layout_row_finalize;
-#line 12171 "CheckerboardLayout.c"
+#line 12217 "CheckerboardLayout.c"
}
static void checkerboard_layout_layout_row_instance_init (CheckerboardLayoutLayoutRow * self) {
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->ref_count = 1;
-#line 12178 "CheckerboardLayout.c"
+#line 12224 "CheckerboardLayout.c"
}
-static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow* obj) {
+static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow * obj) {
CheckerboardLayoutLayoutRow * self;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW, CheckerboardLayoutLayoutRow);
@@ -12187,7 +12233,7 @@ static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow
g_signal_handlers_destroy (self);
#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->items = (_vala_array_free (self->items, self->items_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 12190 "CheckerboardLayout.c"
+#line 12236 "CheckerboardLayout.c"
}
@@ -12206,18 +12252,18 @@ static GType checkerboard_layout_layout_row_get_type (void) {
static gpointer checkerboard_layout_layout_row_ref (gpointer instance) {
- CheckerboardLayoutLayoutRow* self;
+ CheckerboardLayoutLayoutRow * self;
self = instance;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_atomic_int_inc (&self->ref_count);
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
return instance;
-#line 12215 "CheckerboardLayout.c"
+#line 12261 "CheckerboardLayout.c"
}
static void checkerboard_layout_layout_row_unref (gpointer instance) {
- CheckerboardLayoutLayoutRow* self;
+ CheckerboardLayoutLayoutRow * self;
self = instance;
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -12225,7 +12271,7 @@ static void checkerboard_layout_layout_row_unref (gpointer instance) {
CHECKERBOARD_LAYOUT_LAYOUT_ROW_GET_CLASS (self)->finalize (self);
#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 12228 "CheckerboardLayout.c"
+#line 12274 "CheckerboardLayout.c"
}
}
@@ -12236,26 +12282,26 @@ static void checkerboard_layout_class_init (CheckerboardLayoutClass * klass) {
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_type_class_add_private (klass, sizeof (CheckerboardLayoutPrivate));
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->map = (void (*)(GtkWidget*)) checkerboard_layout_real_map;
+ ((GtkWidgetClass *) klass)->map = (void (*) (GtkWidget *)) checkerboard_layout_real_map;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->size_allocate = (void (*)(GtkWidget*, GtkAllocation*)) checkerboard_layout_real_size_allocate;
+ ((GtkWidgetClass *) klass)->size_allocate = (void (*) (GtkWidget *, GtkAllocation*)) checkerboard_layout_real_size_allocate;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->draw = (gboolean (*)(GtkWidget*, cairo_t*)) checkerboard_layout_real_draw;
+ ((GtkWidgetClass *) klass)->draw = (gboolean (*) (GtkWidget *, cairo_t*)) checkerboard_layout_real_draw;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->query_tooltip = (gboolean (*)(GtkWidget*, gint, gint, gboolean, GtkTooltip*)) checkerboard_layout_real_query_tooltip;
+ ((GtkWidgetClass *) klass)->query_tooltip = (gboolean (*) (GtkWidget *, gint, gint, gboolean, GtkTooltip*)) checkerboard_layout_real_query_tooltip;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->focus_in_event = (gboolean (*)(GtkWidget*, GdkEventFocus*)) checkerboard_layout_real_focus_in_event;
+ ((GtkWidgetClass *) klass)->focus_in_event = (gboolean (*) (GtkWidget *, GdkEventFocus*)) checkerboard_layout_real_focus_in_event;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
- ((GtkWidgetClass *) klass)->focus_out_event = (gboolean (*)(GtkWidget*, GdkEventFocus*)) checkerboard_layout_real_focus_out_event;
+ ((GtkWidgetClass *) klass)->focus_out_event = (gboolean (*) (GtkWidget *, GdkEventFocus*)) checkerboard_layout_real_focus_out_event;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_CLASS (klass)->finalize = checkerboard_layout_finalize;
-#line 12252 "CheckerboardLayout.c"
+#line 12298 "CheckerboardLayout.c"
}
static void checkerboard_layout_instance_init (CheckerboardLayout * self) {
- gchar* _tmp0_ = NULL;
- GeeHashSet* _tmp1_ = NULL;
+ gchar* _tmp0_;
+ GeeHashSet* _tmp1_;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv = CHECKERBOARD_LAYOUT_GET_PRIVATE (self);
#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -12310,37 +12356,37 @@ static void checkerboard_layout_instance_init (CheckerboardLayout * self) {
self->priv->is_in_view = FALSE;
#line 876 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self->priv->reflow_needed = FALSE;
-#line 12313 "CheckerboardLayout.c"
+#line 12359 "CheckerboardLayout.c"
}
-static void checkerboard_layout_finalize (GObject* obj) {
+static void checkerboard_layout_finalize (GObject * obj) {
CheckerboardLayout * self;
- ViewCollection* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- ViewCollection* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- ViewCollection* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- ViewCollection* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
- ViewCollection* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- ViewCollection* _tmp10_ = NULL;
- guint _tmp11_ = 0U;
- ViewCollection* _tmp12_ = NULL;
- guint _tmp13_ = 0U;
- ViewCollection* _tmp14_ = NULL;
- guint _tmp15_ = 0U;
- ViewCollection* _tmp16_ = NULL;
- guint _tmp17_ = 0U;
- GtkAdjustment* _tmp18_ = NULL;
- GtkAdjustment* _tmp21_ = NULL;
- GtkContainer* _tmp24_ = NULL;
- GtkContainer* _tmp25_ = NULL;
- ConfigFacade* _tmp29_ = NULL;
- ConfigFacade* _tmp30_ = NULL;
- guint _tmp31_ = 0U;
+ ViewCollection* _tmp0_;
+ guint _tmp1_;
+ ViewCollection* _tmp2_;
+ guint _tmp3_;
+ ViewCollection* _tmp4_;
+ guint _tmp5_;
+ ViewCollection* _tmp6_;
+ guint _tmp7_;
+ ViewCollection* _tmp8_;
+ guint _tmp9_;
+ ViewCollection* _tmp10_;
+ guint _tmp11_;
+ ViewCollection* _tmp12_;
+ guint _tmp13_;
+ ViewCollection* _tmp14_;
+ guint _tmp15_;
+ ViewCollection* _tmp16_;
+ guint _tmp17_;
+ GtkAdjustment* _tmp18_;
+ GtkAdjustment* _tmp21_;
+ GtkContainer* _tmp24_;
+ GtkContainer* _tmp25_;
+ ConfigFacade* _tmp29_;
+ ConfigFacade* _tmp30_;
+ guint _tmp31_;
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout);
#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -12401,31 +12447,31 @@ static void checkerboard_layout_finalize (GObject* obj) {
_tmp18_ = self->priv->hadjustment;
#line 917 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp18_ != NULL) {
-#line 12404 "CheckerboardLayout.c"
- GtkAdjustment* _tmp19_ = NULL;
- guint _tmp20_ = 0U;
+#line 12450 "CheckerboardLayout.c"
+ GtkAdjustment* _tmp19_;
+ guint _tmp20_;
#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp19_ = self->priv->hadjustment;
#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_parse_name ("value-changed", gtk_adjustment_get_type (), &_tmp20_, NULL, FALSE);
#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_handlers_disconnect_matched (_tmp19_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _checkerboard_layout_on_viewport_shifted_gtk_adjustment_value_changed, self);
-#line 12413 "CheckerboardLayout.c"
+#line 12459 "CheckerboardLayout.c"
}
#line 920 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp21_ = self->priv->vadjustment;
#line 920 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp21_ != NULL) {
-#line 12419 "CheckerboardLayout.c"
- GtkAdjustment* _tmp22_ = NULL;
- guint _tmp23_ = 0U;
+#line 12465 "CheckerboardLayout.c"
+ GtkAdjustment* _tmp22_;
+ guint _tmp23_;
#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp22_ = self->priv->vadjustment;
#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_parse_name ("value-changed", gtk_adjustment_get_type (), &_tmp23_, NULL, FALSE);
#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_handlers_disconnect_matched (_tmp22_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, 0, NULL, (GCallback) _checkerboard_layout_on_viewport_shifted_gtk_adjustment_value_changed, self);
-#line 12428 "CheckerboardLayout.c"
+#line 12474 "CheckerboardLayout.c"
}
#line 923 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp24_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -12433,10 +12479,10 @@ static void checkerboard_layout_finalize (GObject* obj) {
_tmp25_ = _tmp24_;
#line 923 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
if (_tmp25_ != NULL) {
-#line 12436 "CheckerboardLayout.c"
- GtkContainer* _tmp26_ = NULL;
- GtkContainer* _tmp27_ = NULL;
- guint _tmp28_ = 0U;
+#line 12482 "CheckerboardLayout.c"
+ GtkContainer* _tmp26_;
+ GtkContainer* _tmp27_;
+ guint _tmp28_;
#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp26_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
@@ -12445,7 +12491,7 @@ static void checkerboard_layout_finalize (GObject* obj) {
g_signal_parse_name ("size-allocate", gtk_widget_get_type (), &_tmp28_, NULL, FALSE);
#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp28_, 0, NULL, (GCallback) _checkerboard_layout_on_viewport_resized_gtk_widget_size_allocate, self);
-#line 12448 "CheckerboardLayout.c"
+#line 12494 "CheckerboardLayout.c"
}
#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
_tmp29_ = config_facade_get_instance ();
@@ -12477,7 +12523,7 @@ static void checkerboard_layout_finalize (GObject* obj) {
_g_object_unref0 (self->priv->cursor);
#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala"
G_OBJECT_CLASS (checkerboard_layout_parent_class)->finalize (obj);
-#line 12480 "CheckerboardLayout.c"
+#line 12526 "CheckerboardLayout.c"
}