diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:34:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:34:32 +0200 |
commit | 49120f48474fc8fdc2448c75d961bc238213cfac (patch) | |
tree | 05bcdb95d65a807cf0f1ffffd066c09074b5cf56 /src/CheckerboardLayout.c | |
parent | 2492891f112caac6076ce49721d9d5d78a152c3a (diff) |
New upstream version 0.28.2upstream/0.28.2
Diffstat (limited to 'src/CheckerboardLayout.c')
-rw-r--r-- | src/CheckerboardLayout.c | 6972 |
1 files changed, 3463 insertions, 3509 deletions
diff --git a/src/CheckerboardLayout.c b/src/CheckerboardLayout.c index ba1ba15..1ba0afb 100644 --- a/src/CheckerboardLayout.c +++ b/src/CheckerboardLayout.c @@ -563,6 +563,7 @@ static void checkerboard_item_real_paint_border (CheckerboardItem* self, cairo_t void draw_rounded_corners_filled (cairo_t* ctx, Dimensions* dim, GdkPoint* origin, gdouble radius_proportion); void checkerboard_item_paint_image (CheckerboardItem* self, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin); static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin); +void paint_pixmap_with_background (cairo_t* ctx, GdkPixbuf* pixbuf, gint x, gint y); static gint checkerboard_item_get_selection_border_width (CheckerboardItem* self, gint scale); gint thumbnail_get_MIN_SCALE (void); gint thumbnail_get_MAX_SCALE (void); @@ -705,6 +706,7 @@ static void checkerboard_layout_real_size_allocate (GtkWidget* base, GtkAllocati static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx); static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, cairo_t* ctx); static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x, gint y, gboolean keyboard_mode, GtkTooltip* tooltip); +void invalidate_transparent_background (void); static gboolean checkerboard_layout_real_focus_in_event (GtkWidget* base, GdkEventFocus* event); GeeList* view_collection_get_selected (ViewCollection* self); static gboolean checkerboard_layout_real_focus_out_event (GtkWidget* base, GdkEventFocus* event); @@ -750,14 +752,14 @@ CheckerboardItemText* checkerboard_item_text_construct (GType object_type, const self->priv->single_line = _tmp4_; #line 19 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self; -#line 754 "CheckerboardLayout.c" +#line 756 "CheckerboardLayout.c" } CheckerboardItemText* checkerboard_item_text_new (const gchar* text, PangoAlignment alignment, gboolean marked_up) { #line 19 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return checkerboard_item_text_construct (TYPE_CHECKERBOARD_ITEM_TEXT, text, alignment, marked_up); -#line 761 "CheckerboardLayout.c" +#line 763 "CheckerboardLayout.c" } @@ -775,7 +777,7 @@ static gboolean checkerboard_item_text_is_single_line (CheckerboardItemText* sel result = !_tmp1_; #line 29 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 779 "CheckerboardLayout.c" +#line 781 "CheckerboardLayout.c" } @@ -790,7 +792,7 @@ gboolean checkerboard_item_text_is_marked_up (CheckerboardItemText* self) { result = _tmp0_; #line 33 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 794 "CheckerboardLayout.c" +#line 796 "CheckerboardLayout.c" } @@ -810,7 +812,7 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch _tmp3_ = marked_up; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_ == _tmp3_) { -#line 814 "CheckerboardLayout.c" +#line 816 "CheckerboardLayout.c" PangoAlignment _tmp4_; PangoAlignment _tmp5_; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -819,15 +821,15 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch _tmp5_ = alignment; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp4_ == _tmp5_; -#line 823 "CheckerboardLayout.c" +#line 825 "CheckerboardLayout.c" } else { #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = FALSE; -#line 827 "CheckerboardLayout.c" +#line 829 "CheckerboardLayout.c" } #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_) { -#line 831 "CheckerboardLayout.c" +#line 833 "CheckerboardLayout.c" const gchar* _tmp6_; const gchar* _tmp7_; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -836,17 +838,17 @@ gboolean checkerboard_item_text_is_set_to (CheckerboardItemText* self, const gch _tmp7_ = text; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = g_strcmp0 (_tmp6_, _tmp7_) == 0; -#line 840 "CheckerboardLayout.c" +#line 842 "CheckerboardLayout.c" } else { #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 844 "CheckerboardLayout.c" +#line 846 "CheckerboardLayout.c" } #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; #line 37 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 850 "CheckerboardLayout.c" +#line 852 "CheckerboardLayout.c" } @@ -864,7 +866,7 @@ gchar* checkerboard_item_text_get_text (CheckerboardItemText* self) { result = _tmp1_; #line 41 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 868 "CheckerboardLayout.c" +#line 870 "CheckerboardLayout.c" } @@ -880,7 +882,7 @@ gint checkerboard_item_text_get_height (CheckerboardItemText* self) { if (_tmp0_ == 0) { #line 46 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_update_height (self); -#line 884 "CheckerboardLayout.c" +#line 886 "CheckerboardLayout.c" } #line 48 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->height; @@ -888,14 +890,14 @@ gint checkerboard_item_text_get_height (CheckerboardItemText* self) { result = _tmp1_; #line 48 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 892 "CheckerboardLayout.c" +#line 894 "CheckerboardLayout.c" } static gpointer _g_object_ref0 (gpointer self) { #line 58 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self ? g_object_ref (self) : NULL; -#line 899 "CheckerboardLayout.c" +#line 901 "CheckerboardLayout.c" } @@ -913,13 +915,13 @@ PangoLayout* checkerboard_item_text_get_pango_layout (CheckerboardItemText* self if (_tmp0_ == NULL) { #line 53 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_create_pango (self); -#line 917 "CheckerboardLayout.c" +#line 919 "CheckerboardLayout.c" } #line 55 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = max_width; #line 55 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ > 0) { -#line 923 "CheckerboardLayout.c" +#line 925 "CheckerboardLayout.c" PangoLayout* _tmp2_; gint _tmp3_; #line 56 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -928,7 +930,7 @@ PangoLayout* checkerboard_item_text_get_pango_layout (CheckerboardItemText* self _tmp3_ = max_width; #line 56 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_layout_set_width (_tmp2_, _tmp3_ * PANGO_SCALE); -#line 932 "CheckerboardLayout.c" +#line 934 "CheckerboardLayout.c" } #line 58 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->layout; @@ -938,7 +940,7 @@ PangoLayout* checkerboard_item_text_get_pango_layout (CheckerboardItemText* self result = _tmp5_; #line 58 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 942 "CheckerboardLayout.c" +#line 944 "CheckerboardLayout.c" } @@ -949,7 +951,7 @@ void checkerboard_item_text_clear_pango_layout (CheckerboardItemText* self) { _g_object_unref0 (self->priv->layout); #line 62 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->layout = NULL; -#line 953 "CheckerboardLayout.c" +#line 955 "CheckerboardLayout.c" } @@ -962,31 +964,31 @@ static void checkerboard_item_text_update_height (CheckerboardItemText* self) { _tmp1_ = checkerboard_item_text_one_line_height; #line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != 0) { -#line 966 "CheckerboardLayout.c" +#line 968 "CheckerboardLayout.c" 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" _tmp0_ = _tmp2_; -#line 972 "CheckerboardLayout.c" +#line 974 "CheckerboardLayout.c" } else { #line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 976 "CheckerboardLayout.c" +#line 978 "CheckerboardLayout.c" } #line 66 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 980 "CheckerboardLayout.c" +#line 982 "CheckerboardLayout.c" 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" self->priv->height = _tmp3_; -#line 986 "CheckerboardLayout.c" +#line 988 "CheckerboardLayout.c" } else { #line 69 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_create_pango (self); -#line 990 "CheckerboardLayout.c" +#line 992 "CheckerboardLayout.c" } } @@ -1019,7 +1021,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { _tmp3_ = self->priv->marked_up; #line 75 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp3_) { -#line 1023 "CheckerboardLayout.c" +#line 1025 "CheckerboardLayout.c" PangoLayout* _tmp4_; const gchar* _tmp5_; #line 76 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1028,7 +1030,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { _tmp5_ = self->priv->text; #line 76 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_layout_set_text (_tmp4_, _tmp5_, -1); -#line 1032 "CheckerboardLayout.c" +#line 1034 "CheckerboardLayout.c" } else { PangoLayout* _tmp6_; const gchar* _tmp7_; @@ -1038,7 +1040,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { _tmp7_ = self->priv->text; #line 78 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_layout_set_markup (_tmp6_, _tmp7_, -1); -#line 1042 "CheckerboardLayout.c" +#line 1044 "CheckerboardLayout.c" } #line 80 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->layout; @@ -1054,27 +1056,27 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { _tmp12_ = checkerboard_item_text_one_line_height; #line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp12_ != 0) { -#line 1058 "CheckerboardLayout.c" +#line 1060 "CheckerboardLayout.c" 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" _tmp11_ = _tmp13_; -#line 1064 "CheckerboardLayout.c" +#line 1066 "CheckerboardLayout.c" } else { #line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = FALSE; -#line 1068 "CheckerboardLayout.c" +#line 1070 "CheckerboardLayout.c" } #line 85 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp11_) { -#line 1072 "CheckerboardLayout.c" +#line 1074 "CheckerboardLayout.c" 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" self->priv->height = _tmp14_; -#line 1078 "CheckerboardLayout.c" +#line 1080 "CheckerboardLayout.c" } else { gint width = 0; PangoLayout* _tmp15_; @@ -1094,27 +1096,27 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { _tmp19_ = checkerboard_item_text_one_line_height; #line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp19_ == 0) { -#line 1098 "CheckerboardLayout.c" +#line 1100 "CheckerboardLayout.c" 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" _tmp18_ = _tmp20_; -#line 1104 "CheckerboardLayout.c" +#line 1106 "CheckerboardLayout.c" } else { #line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = FALSE; -#line 1108 "CheckerboardLayout.c" +#line 1110 "CheckerboardLayout.c" } #line 92 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp18_) { -#line 1112 "CheckerboardLayout.c" +#line 1114 "CheckerboardLayout.c" gint _tmp21_; #line 93 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->height; #line 93 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_one_line_height = _tmp21_; -#line 1118 "CheckerboardLayout.c" +#line 1120 "CheckerboardLayout.c" } } } @@ -1123,7 +1125,7 @@ static void checkerboard_item_text_create_pango (CheckerboardItemText* self) { static void value_checkerboard_item_text_init (GValue* value) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 1127 "CheckerboardLayout.c" +#line 1129 "CheckerboardLayout.c" } @@ -1132,7 +1134,7 @@ static void value_checkerboard_item_text_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_unref (value->data[0].v_pointer); -#line 1136 "CheckerboardLayout.c" +#line 1138 "CheckerboardLayout.c" } } @@ -1142,11 +1144,11 @@ static void value_checkerboard_item_text_copy_value (const GValue* src_value, GV if (src_value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dest_value->data[0].v_pointer = checkerboard_item_text_ref (src_value->data[0].v_pointer); -#line 1146 "CheckerboardLayout.c" +#line 1148 "CheckerboardLayout.c" } else { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dest_value->data[0].v_pointer = NULL; -#line 1150 "CheckerboardLayout.c" +#line 1152 "CheckerboardLayout.c" } } @@ -1154,37 +1156,37 @@ static void value_checkerboard_item_text_copy_value (const GValue* src_value, GV static gpointer value_checkerboard_item_text_peek_pointer (const GValue* value) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return value->data[0].v_pointer; -#line 1158 "CheckerboardLayout.c" +#line 1160 "CheckerboardLayout.c" } static gchar* value_checkerboard_item_text_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (collect_values[0].v_pointer) { -#line 1165 "CheckerboardLayout.c" +#line 1167 "CheckerboardLayout.c" CheckerboardItemText * object; object = collect_values[0].v_pointer; #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (object->parent_instance.g_class == NULL) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1172 "CheckerboardLayout.c" +#line 1174 "CheckerboardLayout.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 7 "/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 1176 "CheckerboardLayout.c" +#line 1178 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = checkerboard_item_text_ref (object); -#line 1180 "CheckerboardLayout.c" +#line 1182 "CheckerboardLayout.c" } else { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 1184 "CheckerboardLayout.c" +#line 1186 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return NULL; -#line 1188 "CheckerboardLayout.c" +#line 1190 "CheckerboardLayout.c" } @@ -1195,25 +1197,25 @@ static gchar* value_checkerboard_item_text_lcopy_value (const GValue* value, gui if (!object_p) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1199 "CheckerboardLayout.c" +#line 1201 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!value->data[0].v_pointer) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = NULL; -#line 1205 "CheckerboardLayout.c" +#line 1207 "CheckerboardLayout.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = value->data[0].v_pointer; -#line 1209 "CheckerboardLayout.c" +#line 1211 "CheckerboardLayout.c" } else { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = checkerboard_item_text_ref (value->data[0].v_pointer); -#line 1213 "CheckerboardLayout.c" +#line 1215 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return NULL; -#line 1217 "CheckerboardLayout.c" +#line 1219 "CheckerboardLayout.c" } @@ -1227,7 +1229,7 @@ GParamSpec* param_spec_checkerboard_item_text (const gchar* name, const gchar* n G_PARAM_SPEC (spec)->value_type = object_type; #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return G_PARAM_SPEC (spec); -#line 1231 "CheckerboardLayout.c" +#line 1233 "CheckerboardLayout.c" } @@ -1236,7 +1238,7 @@ gpointer value_get_checkerboard_item_text (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_CHECKERBOARD_ITEM_TEXT), NULL); #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return value->data[0].v_pointer; -#line 1240 "CheckerboardLayout.c" +#line 1242 "CheckerboardLayout.c" } @@ -1256,17 +1258,17 @@ void value_set_checkerboard_item_text (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_ref (value->data[0].v_pointer); -#line 1260 "CheckerboardLayout.c" +#line 1262 "CheckerboardLayout.c" } else { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 1264 "CheckerboardLayout.c" +#line 1266 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (old) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_unref (old); -#line 1270 "CheckerboardLayout.c" +#line 1272 "CheckerboardLayout.c" } } @@ -1285,17 +1287,17 @@ void value_take_checkerboard_item_text (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = v_object; -#line 1289 "CheckerboardLayout.c" +#line 1291 "CheckerboardLayout.c" } else { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 1293 "CheckerboardLayout.c" +#line 1295 "CheckerboardLayout.c" } #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (old) { #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_text_unref (old); -#line 1299 "CheckerboardLayout.c" +#line 1301 "CheckerboardLayout.c" } } @@ -1307,7 +1309,7 @@ static void checkerboard_item_text_class_init (CheckerboardItemTextClass * klass ((CheckerboardItemTextClass *) klass)->finalize = checkerboard_item_text_finalize; #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_type_class_add_private (klass, sizeof (CheckerboardItemTextPrivate)); -#line 1311 "CheckerboardLayout.c" +#line 1313 "CheckerboardLayout.c" } @@ -1324,7 +1326,7 @@ static void checkerboard_item_text_instance_init (CheckerboardItemText * self) { memset (&self->allocation, 0, sizeof (GdkRectangle)); #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->ref_count = 1; -#line 1328 "CheckerboardLayout.c" +#line 1330 "CheckerboardLayout.c" } @@ -1338,7 +1340,7 @@ static void checkerboard_item_text_finalize (CheckerboardItemText * obj) { _g_free0 (self->priv->text); #line 13 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->layout); -#line 1342 "CheckerboardLayout.c" +#line 1344 "CheckerboardLayout.c" } @@ -1363,7 +1365,7 @@ gpointer checkerboard_item_text_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return instance; -#line 1367 "CheckerboardLayout.c" +#line 1369 "CheckerboardLayout.c" } @@ -1376,7 +1378,7 @@ void checkerboard_item_text_unref (gpointer instance) { CHECKERBOARD_ITEM_TEXT_GET_CLASS (self)->finalize (self); #line 7 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1380 "CheckerboardLayout.c" +#line 1382 "CheckerboardLayout.c" } } @@ -1396,20 +1398,20 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if ((*((gchar*) self)) == '\0') { #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = TRUE; -#line 1400 "CheckerboardLayout.c" +#line 1402 "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 1409 "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" +#line 1415 "CheckerboardLayout.c" } else { const gchar* _tmp3_; const gchar* _tmp4_; @@ -1419,11 +1421,11 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _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 1425 "CheckerboardLayout.c" } #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 1427 "CheckerboardLayout.c" +#line 1429 "CheckerboardLayout.c" gchar* _tmp5_; #line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp5_ = g_strdup (self); @@ -1431,7 +1433,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* result = _tmp5_; #line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1435 "CheckerboardLayout.c" +#line 1437 "CheckerboardLayout.c" } { GRegex* regex = NULL; @@ -1463,8 +1465,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 1467 "CheckerboardLayout.c" - goto __catch243_g_regex_error; +#line 1469 "CheckerboardLayout.c" + goto __catch254_g_regex_error; } #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); @@ -1472,7 +1474,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 1476 "CheckerboardLayout.c" +#line 1478 "CheckerboardLayout.c" } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp12_ = regex; @@ -1488,8 +1490,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 1492 "CheckerboardLayout.c" - goto __catch243_g_regex_error; +#line 1494 "CheckerboardLayout.c" + goto __catch254_g_regex_error; } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -1499,7 +1501,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 1503 "CheckerboardLayout.c" +#line 1505 "CheckerboardLayout.c" } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp15_ = _tmp11_; @@ -1513,10 +1515,10 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1517 "CheckerboardLayout.c" +#line 1519 "CheckerboardLayout.c" } - goto __finally243; - __catch243_g_regex_error: + goto __finally254; + __catch254_g_regex_error: { GError* e = NULL; #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -1527,9 +1529,9 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_assert_not_reached (); #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 1531 "CheckerboardLayout.c" +#line 1533 "CheckerboardLayout.c" } - __finally243: + __finally254: #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -1538,7 +1540,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 1542 "CheckerboardLayout.c" +#line 1544 "CheckerboardLayout.c" } } @@ -1582,7 +1584,7 @@ CheckerboardItem* checkerboard_item_construct (GType object_type, ThumbnailSourc _tmp6_ = comment; #line 152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ != NULL) { -#line 1586 "CheckerboardLayout.c" +#line 1588 "CheckerboardLayout.c" const gchar* _tmp7_; gchar* _tmp8_; gchar* _tmp9_; @@ -1607,11 +1609,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 1611 "CheckerboardLayout.c" +#line 1613 "CheckerboardLayout.c" } #line 141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self; -#line 1615 "CheckerboardLayout.c" +#line 1617 "CheckerboardLayout.c" } @@ -1626,7 +1628,7 @@ static gchar* checkerboard_item_real_get_name (DataObject* base) { _tmp1_ = self->priv->title; #line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 1630 "CheckerboardLayout.c" +#line 1632 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; gchar* _tmp3_; #line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1637,7 +1639,7 @@ static gchar* checkerboard_item_real_get_name (DataObject* base) { _g_free0 (_tmp0_); #line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp3_; -#line 1641 "CheckerboardLayout.c" +#line 1643 "CheckerboardLayout.c" } else { gchar* _tmp4_; #line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1646,13 +1648,13 @@ static gchar* checkerboard_item_real_get_name (DataObject* base) { _g_free0 (_tmp0_); #line 164 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_; -#line 1650 "CheckerboardLayout.c" +#line 1652 "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 1656 "CheckerboardLayout.c" +#line 1658 "CheckerboardLayout.c" } @@ -1666,7 +1668,7 @@ gchar* checkerboard_item_get_title (CheckerboardItem* self) { _tmp1_ = self->priv->title; #line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 1670 "CheckerboardLayout.c" +#line 1672 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; gchar* _tmp3_; #line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1677,7 +1679,7 @@ gchar* checkerboard_item_get_title (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp3_; -#line 1681 "CheckerboardLayout.c" +#line 1683 "CheckerboardLayout.c" } else { gchar* _tmp4_; #line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1686,13 +1688,13 @@ gchar* checkerboard_item_get_title (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_; -#line 1690 "CheckerboardLayout.c" +#line 1692 "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 1696 "CheckerboardLayout.c" +#line 1698 "CheckerboardLayout.c" } @@ -1706,7 +1708,7 @@ gchar* checkerboard_item_get_comment (CheckerboardItem* self) { _tmp1_ = self->priv->comment; #line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 1710 "CheckerboardLayout.c" +#line 1712 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; gchar* _tmp3_; #line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1717,7 +1719,7 @@ gchar* checkerboard_item_get_comment (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp3_; -#line 1721 "CheckerboardLayout.c" +#line 1723 "CheckerboardLayout.c" } else { gchar* _tmp4_; #line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -1726,13 +1728,13 @@ gchar* checkerboard_item_get_comment (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_; -#line 1730 "CheckerboardLayout.c" +#line 1732 "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 1736 "CheckerboardLayout.c" +#line 1738 "CheckerboardLayout.c" } @@ -1752,7 +1754,7 @@ 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 1756 "CheckerboardLayout.c" +#line 1758 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; const gchar* _tmp3_; gboolean _tmp4_; @@ -1770,17 +1772,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 1774 "CheckerboardLayout.c" +#line 1776 "CheckerboardLayout.c" } else { #line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 1778 "CheckerboardLayout.c" +#line 1780 "CheckerboardLayout.c" } #line 177 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { #line 178 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 1784 "CheckerboardLayout.c" +#line 1786 "CheckerboardLayout.c" } #line 180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = text; @@ -1802,7 +1804,7 @@ 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 1806 "CheckerboardLayout.c" +#line 1808 "CheckerboardLayout.c" } } @@ -1818,7 +1820,7 @@ void checkerboard_item_clear_title (CheckerboardItem* self) { if (_tmp0_ == NULL) { #line 190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 1822 "CheckerboardLayout.c" +#line 1824 "CheckerboardLayout.c" } #line 192 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_item_text_unref0 (self->priv->title); @@ -1832,7 +1834,7 @@ 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 1836 "CheckerboardLayout.c" +#line 1838 "CheckerboardLayout.c" } } @@ -1851,7 +1853,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 1855 "CheckerboardLayout.c" +#line 1857 "CheckerboardLayout.c" } #line 204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = visible; @@ -1861,7 +1863,7 @@ 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 1865 "CheckerboardLayout.c" +#line 1867 "CheckerboardLayout.c" } @@ -1883,7 +1885,7 @@ 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 1887 "CheckerboardLayout.c" +#line 1889 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; const gchar* _tmp3_; gboolean _tmp4_; @@ -1901,17 +1903,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 1905 "CheckerboardLayout.c" +#line 1907 "CheckerboardLayout.c" } else { #line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 1909 "CheckerboardLayout.c" +#line 1911 "CheckerboardLayout.c" } #line 212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { #line 213 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 1915 "CheckerboardLayout.c" +#line 1917 "CheckerboardLayout.c" } #line 215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = text; @@ -1939,7 +1941,7 @@ 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 1943 "CheckerboardLayout.c" +#line 1945 "CheckerboardLayout.c" } } @@ -1955,7 +1957,7 @@ void checkerboard_item_clear_comment (CheckerboardItem* self) { if (_tmp0_ == NULL) { #line 225 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 1959 "CheckerboardLayout.c" +#line 1961 "CheckerboardLayout.c" } #line 227 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_item_text_unref0 (self->priv->comment); @@ -1969,7 +1971,7 @@ 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 1973 "CheckerboardLayout.c" +#line 1975 "CheckerboardLayout.c" } } @@ -1988,7 +1990,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 1992 "CheckerboardLayout.c" +#line 1994 "CheckerboardLayout.c" } #line 239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = visible; @@ -1998,7 +2000,7 @@ 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 2002 "CheckerboardLayout.c" +#line 2004 "CheckerboardLayout.c" } @@ -2022,7 +2024,7 @@ 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 2026 "CheckerboardLayout.c" +#line 2028 "CheckerboardLayout.c" GeeCollection* _tmp2_; gint _tmp3_; gint _tmp4_; @@ -2034,11 +2036,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 2038 "CheckerboardLayout.c" +#line 2040 "CheckerboardLayout.c" } else { #line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 2042 "CheckerboardLayout.c" +#line 2044 "CheckerboardLayout.c" } #line 247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_set_has_tags (self, _tmp0_); @@ -2050,7 +2052,7 @@ 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 2054 "CheckerboardLayout.c" +#line 2056 "CheckerboardLayout.c" GeeCollection* _tmp7_; GeeCollection* _tmp8_; GeeCollection* _tmp9_; @@ -2081,7 +2083,7 @@ 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 2085 "CheckerboardLayout.c" +#line 2087 "CheckerboardLayout.c" } else { gchar* _tmp13_; #line 255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -2090,13 +2092,13 @@ void checkerboard_item_set_tags (CheckerboardItem* self, GeeCollection* tags, Pa _g_free0 (text); #line 255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text = _tmp13_; -#line 2094 "CheckerboardLayout.c" +#line 2096 "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 2100 "CheckerboardLayout.c" +#line 2102 "CheckerboardLayout.c" CheckerboardItemText* _tmp16_; const gchar* _tmp17_; PangoAlignment _tmp18_; @@ -2111,11 +2113,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 2115 "CheckerboardLayout.c" +#line 2117 "CheckerboardLayout.c" } else { #line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = FALSE; -#line 2119 "CheckerboardLayout.c" +#line 2121 "CheckerboardLayout.c" } #line 258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_) { @@ -2123,7 +2125,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 2127 "CheckerboardLayout.c" +#line 2129 "CheckerboardLayout.c" } #line 260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = text; @@ -2143,11 +2145,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 2147 "CheckerboardLayout.c" +#line 2149 "CheckerboardLayout.c" } #line 245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (text); -#line 2151 "CheckerboardLayout.c" +#line 2153 "CheckerboardLayout.c" } @@ -2162,7 +2164,7 @@ 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 2166 "CheckerboardLayout.c" +#line 2168 "CheckerboardLayout.c" } @@ -2206,11 +2208,11 @@ 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 2210 "CheckerboardLayout.c" +#line 2212 "CheckerboardLayout.c" } #line 274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (text); -#line 2214 "CheckerboardLayout.c" +#line 2216 "CheckerboardLayout.c" } @@ -2248,7 +2250,7 @@ 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 2252 "CheckerboardLayout.c" +#line 2254 "CheckerboardLayout.c" } @@ -2262,7 +2264,7 @@ PangoLayout* checkerboard_item_get_tag_list_layout (CheckerboardItem* self) { _tmp1_ = self->priv->_has_tags; #line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_) { -#line 2266 "CheckerboardLayout.c" +#line 2268 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; PangoLayout* _tmp3_; #line 289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -2273,19 +2275,19 @@ 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 2277 "CheckerboardLayout.c" +#line 2279 "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 2283 "CheckerboardLayout.c" +#line 2285 "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 2289 "CheckerboardLayout.c" +#line 2291 "CheckerboardLayout.c" } @@ -2302,7 +2304,7 @@ void checkerboard_item_get_subtitle_allocation (CheckerboardItem* self, GdkRecta *result = _tmp1_; #line 293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 2306 "CheckerboardLayout.c" +#line 2308 "CheckerboardLayout.c" } @@ -2316,7 +2318,7 @@ gchar* checkerboard_item_get_subtitle (CheckerboardItem* self) { _tmp1_ = self->priv->subtitle; #line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 2320 "CheckerboardLayout.c" +#line 2322 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; gchar* _tmp3_; #line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -2327,7 +2329,7 @@ gchar* checkerboard_item_get_subtitle (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp3_; -#line 2331 "CheckerboardLayout.c" +#line 2333 "CheckerboardLayout.c" } else { gchar* _tmp4_; #line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -2336,13 +2338,13 @@ gchar* checkerboard_item_get_subtitle (CheckerboardItem* self) { _g_free0 (_tmp0_); #line 297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_; -#line 2340 "CheckerboardLayout.c" +#line 2342 "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 2346 "CheckerboardLayout.c" +#line 2348 "CheckerboardLayout.c" } @@ -2362,7 +2364,7 @@ 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 2366 "CheckerboardLayout.c" +#line 2368 "CheckerboardLayout.c" CheckerboardItemText* _tmp2_; const gchar* _tmp3_; gboolean _tmp4_; @@ -2380,17 +2382,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 2384 "CheckerboardLayout.c" +#line 2386 "CheckerboardLayout.c" } else { #line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 2388 "CheckerboardLayout.c" +#line 2390 "CheckerboardLayout.c" } #line 302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { #line 303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 2394 "CheckerboardLayout.c" +#line 2396 "CheckerboardLayout.c" } #line 305 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = text; @@ -2412,7 +2414,7 @@ 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 2416 "CheckerboardLayout.c" +#line 2418 "CheckerboardLayout.c" } } @@ -2428,7 +2430,7 @@ void checkerboard_item_clear_subtitle (CheckerboardItem* self) { if (_tmp0_ == NULL) { #line 315 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 2432 "CheckerboardLayout.c" +#line 2434 "CheckerboardLayout.c" } #line 317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_item_text_unref0 (self->priv->subtitle); @@ -2442,7 +2444,7 @@ 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 2446 "CheckerboardLayout.c" +#line 2448 "CheckerboardLayout.c" } } @@ -2461,7 +2463,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 2465 "CheckerboardLayout.c" +#line 2467 "CheckerboardLayout.c" } #line 329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = visible; @@ -2471,7 +2473,7 @@ 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 2475 "CheckerboardLayout.c" +#line 2477 "CheckerboardLayout.c" } @@ -2483,7 +2485,7 @@ void checkerboard_item_set_is_cursor (CheckerboardItem* self, gboolean is_cursor _tmp0_ = is_cursor; #line 336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->is_cursor = _tmp0_; -#line 2487 "CheckerboardLayout.c" +#line 2489 "CheckerboardLayout.c" } @@ -2498,7 +2500,7 @@ gboolean checkerboard_item_get_is_cursor (CheckerboardItem* self) { result = _tmp0_; #line 340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 2502 "CheckerboardLayout.c" +#line 2504 "CheckerboardLayout.c" } @@ -2507,7 +2509,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 2511 "CheckerboardLayout.c" +#line 2513 "CheckerboardLayout.c" } @@ -2589,7 +2591,7 @@ 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 2593 "CheckerboardLayout.c" +#line 2595 "CheckerboardLayout.c" gboolean _tmp11_; #line 350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = title_visible; @@ -2597,7 +2599,7 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base, self->priv->title_visible = _tmp11_; #line 351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" altered = TRUE; -#line 2601 "CheckerboardLayout.c" +#line 2603 "CheckerboardLayout.c" } #line 354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = self->priv->comment_visible; @@ -2605,7 +2607,7 @@ 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 2609 "CheckerboardLayout.c" +#line 2611 "CheckerboardLayout.c" gboolean _tmp14_; #line 355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = comment_visible; @@ -2613,7 +2615,7 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base, self->priv->comment_visible = _tmp14_; #line 356 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" altered = TRUE; -#line 2617 "CheckerboardLayout.c" +#line 2619 "CheckerboardLayout.c" } #line 359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = self->priv->subtitle_visible; @@ -2621,7 +2623,7 @@ 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 2625 "CheckerboardLayout.c" +#line 2627 "CheckerboardLayout.c" gboolean _tmp17_; #line 360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = subtitle_visible; @@ -2629,7 +2631,7 @@ static void checkerboard_item_real_notify_membership_changed (DataObject* base, self->priv->subtitle_visible = _tmp17_; #line 361 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" altered = TRUE; -#line 2633 "CheckerboardLayout.c" +#line 2635 "CheckerboardLayout.c" } #line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = altered; @@ -2637,14 +2639,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 2641 "CheckerboardLayout.c" +#line 2643 "CheckerboardLayout.c" } else { 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 2648 "CheckerboardLayout.c" +#line 2650 "CheckerboardLayout.c" } #line 364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp18_) { @@ -2652,13 +2654,13 @@ 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 2656 "CheckerboardLayout.c" +#line 2658 "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 2662 "CheckerboardLayout.c" +#line 2664 "CheckerboardLayout.c" } @@ -2686,7 +2688,7 @@ 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 2690 "CheckerboardLayout.c" +#line 2692 "CheckerboardLayout.c" default: { GValue _tmp4_; @@ -2696,13 +2698,13 @@ static void checkerboard_item_real_notify_collection_property_set (DataObject* b checkerboard_item_set_title_visible (self, g_value_get_boolean (&_tmp4_)); #line 376 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 2700 "CheckerboardLayout.c" +#line 2702 "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 2706 "CheckerboardLayout.c" +#line 2708 "CheckerboardLayout.c" default: { GValue _tmp5_; @@ -2712,13 +2714,13 @@ static void checkerboard_item_real_notify_collection_property_set (DataObject* b checkerboard_item_set_comment_visible (self, g_value_get_boolean (&_tmp5_)); #line 380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 2716 "CheckerboardLayout.c" +#line 2718 "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 2722 "CheckerboardLayout.c" +#line 2724 "CheckerboardLayout.c" default: { GValue _tmp6_; @@ -2728,7 +2730,7 @@ static void checkerboard_item_real_notify_collection_property_set (DataObject* b checkerboard_item_set_subtitle_visible (self, g_value_get_boolean (&_tmp6_)); #line 384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 2732 "CheckerboardLayout.c" +#line 2734 "CheckerboardLayout.c" } } } @@ -2740,7 +2742,7 @@ 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 2744 "CheckerboardLayout.c" +#line 2746 "CheckerboardLayout.c" } @@ -2758,14 +2760,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 2762 "CheckerboardLayout.c" +#line 2764 "CheckerboardLayout.c" } static void checkerboard_item_real_exposed (CheckerboardItem* self) { #line 398 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposure = TRUE; -#line 2769 "CheckerboardLayout.c" +#line 2771 "CheckerboardLayout.c" } @@ -2774,7 +2776,7 @@ 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 2778 "CheckerboardLayout.c" +#line 2780 "CheckerboardLayout.c" } @@ -2788,37 +2790,37 @@ static void checkerboard_item_real_unexposed (CheckerboardItem* self) { _tmp0_ = self->priv->title; #line 404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_ != NULL) { -#line 2792 "CheckerboardLayout.c" +#line 2794 "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 2798 "CheckerboardLayout.c" +#line 2800 "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 2804 "CheckerboardLayout.c" +#line 2806 "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 2810 "CheckerboardLayout.c" +#line 2812 "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 2816 "CheckerboardLayout.c" +#line 2818 "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 2822 "CheckerboardLayout.c" +#line 2824 "CheckerboardLayout.c" } } @@ -2828,7 +2830,7 @@ 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 2832 "CheckerboardLayout.c" +#line 2834 "CheckerboardLayout.c" } @@ -2841,7 +2843,7 @@ static gboolean checkerboard_item_real_is_exposed (CheckerboardItem* self) { result = _tmp0_; #line 415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 2845 "CheckerboardLayout.c" +#line 2847 "CheckerboardLayout.c" } @@ -2850,7 +2852,7 @@ 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 2854 "CheckerboardLayout.c" +#line 2856 "CheckerboardLayout.c" } @@ -2865,7 +2867,7 @@ gboolean checkerboard_item_has_image (CheckerboardItem* self) { result = _tmp0_ != NULL; #line 419 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 2869 "CheckerboardLayout.c" +#line 2871 "CheckerboardLayout.c" } @@ -2883,7 +2885,7 @@ GdkPixbuf* checkerboard_item_get_image (CheckerboardItem* self) { result = _tmp1_; #line 423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 2887 "CheckerboardLayout.c" +#line 2889 "CheckerboardLayout.c" } @@ -2924,7 +2926,7 @@ 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 2928 "CheckerboardLayout.c" +#line 2930 "CheckerboardLayout.c" } @@ -2961,7 +2963,7 @@ 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 2965 "CheckerboardLayout.c" +#line 2967 "CheckerboardLayout.c" } } @@ -2975,7 +2977,7 @@ gint checkerboard_item_get_max_width (gint scale) { result = (CHECKERBOARD_ITEM_FRAME_WIDTH * 2) + _tmp0_; #line 451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 2979 "CheckerboardLayout.c" +#line 2981 "CheckerboardLayout.c" } @@ -3015,21 +3017,21 @@ 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 3019 "CheckerboardLayout.c" +#line 3021 "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 3025 "CheckerboardLayout.c" +#line 3027 "CheckerboardLayout.c" } else { #line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = FALSE; -#line 3029 "CheckerboardLayout.c" +#line 3031 "CheckerboardLayout.c" } #line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_) { -#line 3033 "CheckerboardLayout.c" +#line 3035 "CheckerboardLayout.c" CheckerboardItemText* _tmp5_; gint _tmp6_; #line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -3038,11 +3040,11 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar* _tmp6_ = checkerboard_item_text_get_height (_tmp5_); #line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp6_ + CHECKERBOARD_ITEM_LABEL_PADDING; -#line 3042 "CheckerboardLayout.c" +#line 3044 "CheckerboardLayout.c" } else { #line 459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = 0; -#line 3046 "CheckerboardLayout.c" +#line 3048 "CheckerboardLayout.c" } #line 458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" title_height = _tmp1_; @@ -3050,21 +3052,21 @@ 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 3054 "CheckerboardLayout.c" +#line 3056 "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 3060 "CheckerboardLayout.c" +#line 3062 "CheckerboardLayout.c" } else { #line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = FALSE; -#line 3064 "CheckerboardLayout.c" +#line 3066 "CheckerboardLayout.c" } #line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp8_) { -#line 3068 "CheckerboardLayout.c" +#line 3070 "CheckerboardLayout.c" CheckerboardItemText* _tmp11_; gint _tmp12_; #line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -3073,11 +3075,11 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar* _tmp12_ = checkerboard_item_text_get_height (_tmp11_); #line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp12_ + CHECKERBOARD_ITEM_LABEL_PADDING; -#line 3077 "CheckerboardLayout.c" +#line 3079 "CheckerboardLayout.c" } else { #line 461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = 0; -#line 3081 "CheckerboardLayout.c" +#line 3083 "CheckerboardLayout.c" } #line 460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" comment_height = _tmp7_; @@ -3085,21 +3087,21 @@ 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 3089 "CheckerboardLayout.c" +#line 3091 "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 3095 "CheckerboardLayout.c" +#line 3097 "CheckerboardLayout.c" } else { #line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = FALSE; -#line 3099 "CheckerboardLayout.c" +#line 3101 "CheckerboardLayout.c" } #line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_) { -#line 3103 "CheckerboardLayout.c" +#line 3105 "CheckerboardLayout.c" CheckerboardItemText* _tmp17_; gint _tmp18_; #line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -3108,11 +3110,11 @@ static void checkerboard_item_recalc_size (CheckerboardItem* self, const gchar* _tmp18_ = checkerboard_item_text_get_height (_tmp17_); #line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp18_ + CHECKERBOARD_ITEM_LABEL_PADDING; -#line 3112 "CheckerboardLayout.c" +#line 3114 "CheckerboardLayout.c" } else { #line 463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = 0; -#line 3116 "CheckerboardLayout.c" +#line 3118 "CheckerboardLayout.c" } #line 462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" subtitle_height = _tmp13_; @@ -3142,7 +3144,7 @@ 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 3146 "CheckerboardLayout.c" +#line 3148 "CheckerboardLayout.c" } } @@ -3179,7 +3181,7 @@ void checkerboard_item_get_border_dimensions (Dimensions* object_dim, gint borde *result = dimensions; #line 492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 3183 "CheckerboardLayout.c" +#line 3185 "CheckerboardLayout.c" } @@ -3215,7 +3217,7 @@ 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 3219 "CheckerboardLayout.c" +#line 3221 "CheckerboardLayout.c" } @@ -3508,7 +3510,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 3512 "CheckerboardLayout.c" +#line 3514 "CheckerboardLayout.c" } @@ -3517,7 +3519,7 @@ 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 3521 "CheckerboardLayout.c" +#line 3523 "CheckerboardLayout.c" } @@ -3620,7 +3622,7 @@ 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 3624 "CheckerboardLayout.c" +#line 3626 "CheckerboardLayout.c" } @@ -3636,7 +3638,7 @@ 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 3640 "CheckerboardLayout.c" +#line 3642 "CheckerboardLayout.c" cairo_t* _tmp1_; GdkPoint _tmp2_; gint _tmp3_; @@ -3683,7 +3685,7 @@ 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 3687 "CheckerboardLayout.c" +#line 3689 "CheckerboardLayout.c" } else { Dimensions dimensions = {0}; Dimensions _tmp15_; @@ -3741,7 +3743,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 3745 "CheckerboardLayout.c" +#line 3747 "CheckerboardLayout.c" } } @@ -3751,20 +3753,17 @@ 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 3755 "CheckerboardLayout.c" +#line 3757 "CheckerboardLayout.c" } static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin) { - GdkPixbuf* _tmp0_; - gboolean _tmp1_; - cairo_t* _tmp12_; - GdkPixbuf* _tmp13_; - GdkPoint _tmp14_; - gint _tmp15_; - GdkPoint _tmp16_; - gint _tmp17_; - cairo_t* _tmp18_; + cairo_t* _tmp0_; + GdkPixbuf* _tmp1_; + GdkPoint _tmp2_; + gint _tmp3_; + GdkPoint _tmp4_; + gint _tmp5_; #line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (ctx != NULL); #line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" @@ -3772,67 +3771,20 @@ static void checkerboard_item_real_paint_image (CheckerboardItem* self, cairo_t* #line 565 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (origin != NULL); #line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp0_ = pixbuf; + _tmp0_ = ctx; #line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp1_ = gdk_pixbuf_get_has_alpha (_tmp0_); + _tmp1_ = pixbuf; #line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - if (_tmp1_) { -#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" - _tmp3_ = *origin; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp4_ = _tmp3_.x; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp5_ = *origin; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp6_ = _tmp5_.y; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp7_ = pixbuf; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp8_ = gdk_pixbuf_get_width (_tmp7_); -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp9_ = pixbuf; -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp10_ = gdk_pixbuf_get_height (_tmp9_); -#line 567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - cairo_rectangle (_tmp2_, (gdouble) _tmp4_, (gdouble) _tmp6_, (gdouble) _tmp8_, (gdouble) _tmp10_); -#line 568 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp11_ = ctx; -#line 568 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - cairo_fill (_tmp11_); -#line 3816 "CheckerboardLayout.c" - } -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp12_ = ctx; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp13_ = pixbuf; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp14_ = *origin; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp15_ = _tmp14_.x; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp16_ = *origin; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp17_ = _tmp16_.y; -#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - gdk_cairo_set_source_pixbuf (_tmp12_, _tmp13_, (gdouble) _tmp15_, (gdouble) _tmp17_); -#line 571 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - _tmp18_ = ctx; -#line 571 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - cairo_paint (_tmp18_); -#line 3836 "CheckerboardLayout.c" + _tmp2_ = *origin; +#line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + _tmp3_ = _tmp2_.x; +#line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + _tmp4_ = *origin; +#line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + _tmp5_ = _tmp4_.y; +#line 566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + paint_pixmap_with_background (_tmp0_, _tmp1_, _tmp3_, _tmp5_); +#line 3788 "CheckerboardLayout.c" } @@ -3841,7 +3793,7 @@ 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 3845 "CheckerboardLayout.c" +#line 3797 "CheckerboardLayout.c" } @@ -3853,109 +3805,109 @@ static gint checkerboard_item_get_selection_border_width (CheckerboardItem* self gint _tmp3_; gint _tmp4_; gint _tmp5_; -#line 574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 569 "/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" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = scale; -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = thumbnail_get_MIN_SCALE (); -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_; -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = thumbnail_get_MAX_SCALE (); -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_; -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ <= ((_tmp3_ + _tmp5_) / 3)) { -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = 2; -#line 3873 "CheckerboardLayout.c" +#line 3825 "CheckerboardLayout.c" } else { -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = 3; -#line 3877 "CheckerboardLayout.c" +#line 3829 "CheckerboardLayout.c" } -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_ + CHECKERBOARD_ITEM_BORDER_WIDTH; -#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 570 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 3883 "CheckerboardLayout.c" +#line 3835 "CheckerboardLayout.c" } static GdkPixbuf* checkerboard_item_real_get_top_left_trinket (CheckerboardItem* self, gint scale) { GdkPixbuf* result = NULL; -#line 580 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 580 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 575 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 3893 "CheckerboardLayout.c" +#line 3845 "CheckerboardLayout.c" } GdkPixbuf* checkerboard_item_get_top_left_trinket (CheckerboardItem* self, gint scale) { -#line 579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL); -#line 579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return CHECKERBOARD_ITEM_GET_CLASS (self)->get_top_left_trinket (self, scale); -#line 3902 "CheckerboardLayout.c" +#line 3854 "CheckerboardLayout.c" } static GdkPixbuf* checkerboard_item_real_get_top_right_trinket (CheckerboardItem* self, gint scale) { GdkPixbuf* result = NULL; -#line 584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 3912 "CheckerboardLayout.c" +#line 3864 "CheckerboardLayout.c" } GdkPixbuf* checkerboard_item_get_top_right_trinket (CheckerboardItem* self, gint scale) { -#line 583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 578 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL); -#line 583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 578 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return CHECKERBOARD_ITEM_GET_CLASS (self)->get_top_right_trinket (self, scale); -#line 3921 "CheckerboardLayout.c" +#line 3873 "CheckerboardLayout.c" } static GdkPixbuf* checkerboard_item_real_get_bottom_left_trinket (CheckerboardItem* self, gint scale) { GdkPixbuf* result = NULL; -#line 588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 3931 "CheckerboardLayout.c" +#line 3883 "CheckerboardLayout.c" } GdkPixbuf* checkerboard_item_get_bottom_left_trinket (CheckerboardItem* self, gint scale) { -#line 587 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 582 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL); -#line 587 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 582 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return CHECKERBOARD_ITEM_GET_CLASS (self)->get_bottom_left_trinket (self, scale); -#line 3940 "CheckerboardLayout.c" +#line 3892 "CheckerboardLayout.c" } static GdkPixbuf* checkerboard_item_real_get_bottom_right_trinket (CheckerboardItem* self, gint scale) { GdkPixbuf* result = NULL; -#line 592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 587 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 587 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 3950 "CheckerboardLayout.c" +#line 3902 "CheckerboardLayout.c" } GdkPixbuf* checkerboard_item_get_bottom_right_trinket (CheckerboardItem* self, gint scale) { -#line 591 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 586 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (self), NULL); -#line 591 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 586 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return CHECKERBOARD_ITEM_GET_CLASS (self)->get_bottom_right_trinket (self, scale); -#line 3959 "CheckerboardLayout.c" +#line 3911 "CheckerboardLayout.c" } @@ -4018,59 +3970,59 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp239_; GdkPixbuf* _tmp262_; GdkPixbuf* _tmp263_; -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (ctx != NULL); -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (bg_color != NULL); -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (selected_color != NULL); -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (text_color != NULL); -#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 593 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&pixbuf_origin, 0, sizeof (GdkPoint)); -#line 599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->allocation; -#line 599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp0_.x; -#line 599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pixbuf_origin.x = (_tmp1_ + CHECKERBOARD_ITEM_FRAME_WIDTH) + CHECKERBOARD_ITEM_BORDER_WIDTH; -#line 600 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->allocation; -#line 600 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_.y; -#line 600 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pixbuf_origin.y = (_tmp3_ + CHECKERBOARD_ITEM_FRAME_WIDTH) + CHECKERBOARD_ITEM_BORDER_WIDTH; -#line 602 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 597 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = ctx; -#line 602 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 597 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_line_width (_tmp4_, (gdouble) CHECKERBOARD_ITEM_FRAME_WIDTH); -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = ctx; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = *selected_color; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_.red; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = *selected_color; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = _tmp8_.green; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = *selected_color; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _tmp10_.blue; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = *selected_color; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp12_.alpha; -#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp5_, _tmp7_, _tmp9_, _tmp11_, _tmp13_); -#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 602 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = border_color; -#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 602 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_ != NULL) { -#line 4074 "CheckerboardLayout.c" +#line 4026 "CheckerboardLayout.c" cairo_t* _tmp15_; Dimensions shadow_dim = {0}; Dimensions _tmp16_; @@ -4081,43 +4033,43 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ Dimensions _tmp21_; GdkPoint _tmp22_; cairo_t* _tmp23_; -#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = ctx; -#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_save (_tmp15_); -#line 609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dimensions_init (&shadow_dim, 0, 0); -#line 610 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 605 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = self->priv->pixbuf_dim; -#line 610 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 605 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = _tmp16_.width; -#line 610 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 605 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" shadow_dim.width = _tmp17_ + CHECKERBOARD_ITEM_BORDER_WIDTH; -#line 611 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 606 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = self->priv->pixbuf_dim; -#line 611 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 606 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = _tmp18_.height; -#line 611 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 606 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" shadow_dim.height = _tmp19_ + CHECKERBOARD_ITEM_BORDER_WIDTH; -#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = ctx; -#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = shadow_dim; -#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = pixbuf_origin; -#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 607 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint_shadow (self, _tmp20_, &_tmp21_, &_tmp22_, CHECKERBOARD_ITEM_SHADOW_RADIUS, CHECKERBOARD_ITEM_SHADOW_INITIAL_ALPHA); -#line 613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = ctx; -#line 613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_restore (_tmp23_); -#line 4115 "CheckerboardLayout.c" +#line 4067 "CheckerboardLayout.c" } -#line 617 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = self->priv->is_cursor; -#line 617 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 612 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp24_) { -#line 4121 "CheckerboardLayout.c" +#line 4073 "CheckerboardLayout.c" cairo_t* _tmp25_; cairo_t* _tmp26_; GdkRGBA* _tmp27_; @@ -4138,61 +4090,61 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ gint _tmp42_; gint _tmp43_; cairo_t* _tmp44_; -#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = ctx; -#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_save (_tmp25_); -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = ctx; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = border_color; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = (*_tmp27_).red; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = border_color; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = (*_tmp29_).green; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = border_color; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = (*_tmp31_).blue; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = border_color; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = (*_tmp33_).alpha; -#line 619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp26_, _tmp28_, _tmp30_, _tmp32_, _tmp34_); -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = ctx; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = self->priv->pixbuf_dim; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = pixbuf_origin; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = self->priv->pixbuf_dim; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = _tmp38_.width; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = self->priv->pixbuf_dim; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = _tmp40_.height; -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = MAX (_tmp39_, _tmp41_); -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = checkerboard_item_get_selection_border_width (self, _tmp42_); -#line 621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint_border (self, _tmp35_, &_tmp36_, &_tmp37_, _tmp43_); -#line 623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = ctx; -#line 623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_restore (_tmp44_); -#line 4190 "CheckerboardLayout.c" +#line 4142 "CheckerboardLayout.c" } -#line 627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 622 "/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" +#line 622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp45_) { -#line 4196 "CheckerboardLayout.c" +#line 4148 "CheckerboardLayout.c" cairo_t* _tmp46_; cairo_t* _tmp47_; Dimensions _tmp48_; @@ -4204,41 +4156,41 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ gint _tmp54_; gint _tmp55_; cairo_t* _tmp56_; -#line 629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 624 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = ctx; -#line 629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 624 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_save (_tmp46_); -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = ctx; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = self->priv->pixbuf_dim; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = pixbuf_origin; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = self->priv->pixbuf_dim; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = _tmp50_.width; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp52_ = self->priv->pixbuf_dim; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp53_ = _tmp52_.height; -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp54_ = MAX (_tmp51_, _tmp53_); -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp55_ = checkerboard_item_get_selection_border_width (self, _tmp54_); -#line 630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 625 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint_border (self, _tmp47_, &_tmp48_, &_tmp49_, _tmp55_); -#line 632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp56_ = ctx; -#line 632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_restore (_tmp56_); -#line 4236 "CheckerboardLayout.c" +#line 4188 "CheckerboardLayout.c" } -#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp57_ = border_color; -#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp57_ != NULL) { -#line 4242 "CheckerboardLayout.c" +#line 4194 "CheckerboardLayout.c" cairo_t* _tmp58_; cairo_t* _tmp59_; GdkRGBA* _tmp60_; @@ -4253,49 +4205,49 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ Dimensions _tmp69_; GdkPoint _tmp70_; cairo_t* _tmp71_; -#line 637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp58_ = ctx; -#line 637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_save (_tmp58_); -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp59_ = ctx; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp60_ = border_color; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp61_ = (*_tmp60_).red; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp62_ = border_color; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp63_ = (*_tmp62_).green; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp64_ = border_color; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp65_ = (*_tmp64_).blue; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp66_ = border_color; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp67_ = (*_tmp66_).alpha; -#line 638 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 633 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp59_, _tmp61_, _tmp63_, _tmp65_, _tmp67_); -#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp68_ = ctx; -#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp69_ = self->priv->pixbuf_dim; -#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp70_ = pixbuf_origin; -#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint_border (self, _tmp68_, &_tmp69_, &_tmp70_, CHECKERBOARD_ITEM_BORDER_WIDTH); -#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp71_ = ctx; -#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_restore (_tmp71_); -#line 4293 "CheckerboardLayout.c" +#line 4245 "CheckerboardLayout.c" } -#line 644 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 639 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp72_ = self->priv->display_pixbuf; -#line 644 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 639 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp72_ != NULL) { -#line 4299 "CheckerboardLayout.c" +#line 4251 "CheckerboardLayout.c" cairo_t* _tmp73_; cairo_t* _tmp74_; GdkRGBA _tmp75_; @@ -4310,93 +4262,93 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp84_; GdkPoint _tmp85_; cairo_t* _tmp86_; -#line 645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp73_ = ctx; -#line 645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_save (_tmp73_); -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp74_ = ctx; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp75_ = *bg_color; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp76_ = _tmp75_.red; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp77_ = *bg_color; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp78_ = _tmp77_.green; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp79_ = *bg_color; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp80_ = _tmp79_.blue; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp81_ = *bg_color; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp82_ = _tmp81_.alpha; -#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp74_, _tmp76_, _tmp78_, _tmp80_, _tmp82_); -#line 647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp83_ = ctx; -#line 647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp84_ = self->priv->display_pixbuf; -#line 647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp85_ = pixbuf_origin; -#line 647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint_image (self, _tmp83_, _tmp84_, &_tmp85_); -#line 648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 643 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp86_ = ctx; -#line 648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 643 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_restore (_tmp86_); -#line 4350 "CheckerboardLayout.c" +#line 4302 "CheckerboardLayout.c" } -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp87_ = ctx; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp88_ = *text_color; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp89_ = _tmp88_.red; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp90_ = *text_color; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp91_ = _tmp90_.green; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp92_ = *text_color; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp93_ = _tmp92_.blue; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp94_ = *text_color; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp95_ = _tmp94_.alpha; -#line 651 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp87_, _tmp89_, _tmp91_, _tmp93_, _tmp95_); -#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 649 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp96_ = self->allocation; -#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 649 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp97_ = _tmp96_.y; -#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 649 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp98_ = self->priv->pixbuf_dim; -#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 649 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp99_ = _tmp98_.height; -#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 649 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text_y = (((_tmp97_ + CHECKERBOARD_ITEM_FRAME_WIDTH) + _tmp99_) + CHECKERBOARD_ITEM_FRAME_WIDTH) + CHECKERBOARD_ITEM_LABEL_PADDING; -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp101_ = self->priv->title; -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp101_ != NULL) { -#line 4386 "CheckerboardLayout.c" +#line 4338 "CheckerboardLayout.c" gboolean _tmp102_; -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp102_ = self->priv->title_visible; -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp100_ = _tmp102_; -#line 4392 "CheckerboardLayout.c" +#line 4344 "CheckerboardLayout.c" } else { -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp100_ = FALSE; -#line 4396 "CheckerboardLayout.c" +#line 4348 "CheckerboardLayout.c" } -#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 650 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp100_) { -#line 4400 "CheckerboardLayout.c" +#line 4352 "CheckerboardLayout.c" CheckerboardItemText* _tmp103_; GdkRectangle _tmp104_; gint _tmp105_; @@ -4424,97 +4376,97 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ gint _tmp127_; CheckerboardItemText* _tmp128_; gint _tmp129_; -#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp103_ = self->priv->title; -#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp104_ = self->allocation; -#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp105_ = _tmp104_.x; -#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp103_->allocation.x = _tmp105_ + CHECKERBOARD_ITEM_FRAME_WIDTH; -#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp106_ = self->priv->title; -#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp107_ = text_y; -#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 654 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp106_->allocation.y = _tmp107_; -#line 660 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp108_ = self->priv->title; -#line 660 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp109_ = self->priv->pixbuf_dim; -#line 660 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp110_ = _tmp109_.width; -#line 660 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 655 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp108_->allocation.width = _tmp110_; -#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp111_ = self->priv->title; -#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp112_ = self->priv->title; -#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp113_ = checkerboard_item_text_get_height (_tmp112_); -#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp111_->allocation.height = _tmp113_; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp114_ = ctx; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp115_ = self->priv->title; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp116_ = _tmp115_->allocation; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp117_ = _tmp116_.x; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp118_ = self->priv->title; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp119_ = _tmp118_->allocation; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp120_ = _tmp119_.y; -#line 663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 658 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_move_to (_tmp114_, (gdouble) _tmp117_, (gdouble) _tmp120_); -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp121_ = ctx; -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp122_ = self->priv->title; -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp123_ = self->priv->pixbuf_dim; -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp124_ = _tmp123_.width; -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp125_ = checkerboard_item_text_get_pango_layout (_tmp122_, _tmp124_); -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp126_ = _tmp125_; -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_cairo_show_layout (_tmp121_, _tmp126_); -#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 659 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp126_); -#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp127_ = text_y; -#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp128_ = self->priv->title; -#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp129_ = checkerboard_item_text_get_height (_tmp128_); -#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text_y = _tmp127_ + (_tmp129_ + CHECKERBOARD_ITEM_LABEL_PADDING); -#line 4498 "CheckerboardLayout.c" +#line 4450 "CheckerboardLayout.c" } -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp131_ = self->priv->comment; -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp131_ != NULL) { -#line 4504 "CheckerboardLayout.c" +#line 4456 "CheckerboardLayout.c" gboolean _tmp132_; -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp132_ = self->priv->comment_visible; -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp130_ = _tmp132_; -#line 4510 "CheckerboardLayout.c" +#line 4462 "CheckerboardLayout.c" } else { -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp130_ = FALSE; -#line 4514 "CheckerboardLayout.c" +#line 4466 "CheckerboardLayout.c" } -#line 669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp130_) { -#line 4518 "CheckerboardLayout.c" +#line 4470 "CheckerboardLayout.c" CheckerboardItemText* _tmp133_; GdkRectangle _tmp134_; gint _tmp135_; @@ -4542,97 +4494,97 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ gint _tmp157_; CheckerboardItemText* _tmp158_; gint _tmp159_; -#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 665 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp133_ = self->priv->comment; -#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 665 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp134_ = self->allocation; -#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 665 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp135_ = _tmp134_.x; -#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 665 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp133_->allocation.x = _tmp135_ + CHECKERBOARD_ITEM_FRAME_WIDTH; -#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp136_ = self->priv->comment; -#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp137_ = text_y; -#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp136_->allocation.y = _tmp137_; -#line 672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp138_ = self->priv->comment; -#line 672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp139_ = self->priv->pixbuf_dim; -#line 672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp140_ = _tmp139_.width; -#line 672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp138_->allocation.width = _tmp140_; -#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp141_ = self->priv->comment; -#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp142_ = self->priv->comment; -#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp143_ = checkerboard_item_text_get_height (_tmp142_); -#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp141_->allocation.height = _tmp143_; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp144_ = ctx; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp145_ = self->priv->comment; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp146_ = _tmp145_->allocation; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp147_ = _tmp146_.x; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp148_ = self->priv->comment; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp149_ = _tmp148_->allocation; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp150_ = _tmp149_.y; -#line 675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_move_to (_tmp144_, (gdouble) _tmp147_, (gdouble) _tmp150_); -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp151_ = ctx; -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp152_ = self->priv->comment; -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp153_ = self->priv->pixbuf_dim; -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp154_ = _tmp153_.width; -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp155_ = checkerboard_item_text_get_pango_layout (_tmp152_, _tmp154_); -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp156_ = _tmp155_; -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_cairo_show_layout (_tmp151_, _tmp156_); -#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp156_); -#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp157_ = text_y; -#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp158_ = self->priv->comment; -#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp159_ = checkerboard_item_text_get_height (_tmp158_); -#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text_y = _tmp157_ + (_tmp159_ + CHECKERBOARD_ITEM_LABEL_PADDING); -#line 4616 "CheckerboardLayout.c" +#line 4568 "CheckerboardLayout.c" } -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp161_ = self->priv->subtitle; -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp161_ != NULL) { -#line 4622 "CheckerboardLayout.c" +#line 4574 "CheckerboardLayout.c" gboolean _tmp162_; -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp162_ = self->priv->subtitle_visible; -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp160_ = _tmp162_; -#line 4628 "CheckerboardLayout.c" +#line 4580 "CheckerboardLayout.c" } else { -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp160_ = FALSE; -#line 4632 "CheckerboardLayout.c" +#line 4584 "CheckerboardLayout.c" } -#line 681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp160_) { -#line 4636 "CheckerboardLayout.c" +#line 4588 "CheckerboardLayout.c" CheckerboardItemText* _tmp163_; GdkRectangle _tmp164_; gint _tmp165_; @@ -4657,99 +4609,99 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ gint _tmp184_; PangoLayout* _tmp185_; PangoLayout* _tmp186_; -#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp163_ = self->priv->subtitle; -#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp164_ = self->allocation; -#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp165_ = _tmp164_.x; -#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp163_->allocation.x = _tmp165_ + CHECKERBOARD_ITEM_FRAME_WIDTH; -#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp166_ = self->priv->subtitle; -#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp167_ = text_y; -#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp166_->allocation.y = _tmp167_; -#line 684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp168_ = self->priv->subtitle; -#line 684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp169_ = self->priv->pixbuf_dim; -#line 684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp170_ = _tmp169_.width; -#line 684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp168_->allocation.width = _tmp170_; -#line 685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp171_ = self->priv->subtitle; -#line 685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp172_ = self->priv->subtitle; -#line 685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp173_ = checkerboard_item_text_get_height (_tmp172_); -#line 685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp171_->allocation.height = _tmp173_; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp174_ = ctx; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp175_ = self->priv->subtitle; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp176_ = _tmp175_->allocation; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp177_ = _tmp176_.x; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp178_ = self->priv->subtitle; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp179_ = _tmp178_->allocation; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp180_ = _tmp179_.y; -#line 687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_move_to (_tmp174_, (gdouble) _tmp177_, (gdouble) _tmp180_); -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp181_ = ctx; -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp182_ = self->priv->subtitle; -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp183_ = self->priv->pixbuf_dim; -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp184_ = _tmp183_.width; -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp185_ = checkerboard_item_text_get_pango_layout (_tmp182_, _tmp184_); -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp186_ = _tmp185_; -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_cairo_show_layout (_tmp181_, _tmp186_); -#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 683 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp186_); -#line 4723 "CheckerboardLayout.c" +#line 4675 "CheckerboardLayout.c" } -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp187_ = ctx; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp188_ = *selected_color; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp189_ = _tmp188_.red; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp190_ = *selected_color; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp191_ = _tmp190_.green; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp192_ = *selected_color; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp193_ = _tmp192_.blue; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp194_ = *selected_color; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp195_ = _tmp194_.alpha; -#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp187_, _tmp189_, _tmp191_, _tmp193_, _tmp195_); -#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp196_ = checkerboard_item_get_bottom_left_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE); -#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" trinket = _tmp196_; -#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp197_ = trinket; -#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp197_ != NULL) { -#line 4753 "CheckerboardLayout.c" +#line 4705 "CheckerboardLayout.c" gint x = 0; GdkPoint _tmp198_; gint _tmp199_; @@ -4773,71 +4725,71 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp216_; gint _tmp217_; cairo_t* _tmp218_; -#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp198_ = pixbuf_origin; -#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp199_ = _tmp198_.x; -#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp200_ = checkerboard_item_get_horizontal_trinket_offset (self); -#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = (_tmp199_ + CHECKERBOARD_ITEM_TRINKET_PADDING) + _tmp200_; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp201_ = pixbuf_origin; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp202_ = _tmp201_.y; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp203_ = self->priv->pixbuf_dim; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp204_ = _tmp203_.height; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp205_ = trinket; -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp206_ = gdk_pixbuf_get_height (_tmp205_); -#line 700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = ((_tmp202_ + _tmp204_) - _tmp206_) - CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp207_ = ctx; -#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp208_ = trinket; -#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp209_ = x; -#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp210_ = y; -#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_cairo_set_source_pixbuf (_tmp207_, _tmp208_, (gdouble) _tmp209_, (gdouble) _tmp210_); -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp211_ = ctx; -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp212_ = x; -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp213_ = y; -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp214_ = trinket; -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp215_ = gdk_pixbuf_get_width (_tmp214_); -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp216_ = trinket; -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp217_ = gdk_pixbuf_get_height (_tmp216_); -#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp211_, (gdouble) _tmp212_, (gdouble) _tmp213_, (gdouble) _tmp215_, (gdouble) _tmp217_); -#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp218_ = ctx; -#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_fill (_tmp218_); -#line 4829 "CheckerboardLayout.c" +#line 4781 "CheckerboardLayout.c" } -#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp219_ = checkerboard_item_get_top_left_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE); -#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (trinket); -#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" trinket = _tmp219_; -#line 708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp220_ = trinket; -#line 708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp220_ != NULL) { -#line 4841 "CheckerboardLayout.c" +#line 4793 "CheckerboardLayout.c" gint x = 0; GdkPoint _tmp221_; gint _tmp222_; @@ -4857,63 +4809,63 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp235_; gint _tmp236_; cairo_t* _tmp237_; -#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp221_ = pixbuf_origin; -#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp222_ = _tmp221_.x; -#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp223_ = checkerboard_item_get_horizontal_trinket_offset (self); -#line 709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = (_tmp222_ + CHECKERBOARD_ITEM_TRINKET_PADDING) + _tmp223_; -#line 710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp224_ = pixbuf_origin; -#line 710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp225_ = _tmp224_.y; -#line 710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = _tmp225_ + CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 706 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp226_ = ctx; -#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 706 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp227_ = trinket; -#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 706 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp228_ = x; -#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 706 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp229_ = y; -#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 706 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_cairo_set_source_pixbuf (_tmp226_, _tmp227_, (gdouble) _tmp228_, (gdouble) _tmp229_); -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp230_ = ctx; -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp231_ = x; -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp232_ = y; -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp233_ = trinket; -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp234_ = gdk_pixbuf_get_width (_tmp233_); -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp235_ = trinket; -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp236_ = gdk_pixbuf_get_height (_tmp235_); -#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp230_, (gdouble) _tmp231_, (gdouble) _tmp232_, (gdouble) _tmp234_, (gdouble) _tmp236_); -#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp237_ = ctx; -#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_fill (_tmp237_); -#line 4905 "CheckerboardLayout.c" +#line 4857 "CheckerboardLayout.c" } -#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp238_ = checkerboard_item_get_top_right_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE); -#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (trinket); -#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" trinket = _tmp238_; -#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp239_ = trinket; -#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 712 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp239_ != NULL) { -#line 4917 "CheckerboardLayout.c" +#line 4869 "CheckerboardLayout.c" gint x = 0; GdkPoint _tmp240_; gint _tmp241_; @@ -4938,73 +4890,73 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp259_; gint _tmp260_; cairo_t* _tmp261_; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp240_ = pixbuf_origin; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp241_ = _tmp240_.x; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp242_ = self->priv->pixbuf_dim; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp243_ = _tmp242_.width; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp244_ = trinket; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp245_ = gdk_pixbuf_get_width (_tmp244_); -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp246_ = _tmp245_; -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp247_ = checkerboard_item_get_horizontal_trinket_offset (self); -#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 713 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = (((_tmp241_ + _tmp243_) - _tmp246_) - _tmp247_) - CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 720 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp248_ = pixbuf_origin; -#line 720 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp249_ = _tmp248_.y; -#line 720 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = _tmp249_ + CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp250_ = ctx; -#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp251_ = trinket; -#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp252_ = x; -#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp253_ = y; -#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_cairo_set_source_pixbuf (_tmp250_, _tmp251_, (gdouble) _tmp252_, (gdouble) _tmp253_); -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp254_ = ctx; -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp255_ = x; -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp256_ = y; -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp257_ = trinket; -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp258_ = gdk_pixbuf_get_width (_tmp257_); -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp259_ = trinket; -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp260_ = gdk_pixbuf_get_height (_tmp259_); -#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 717 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp254_, (gdouble) _tmp255_, (gdouble) _tmp256_, (gdouble) _tmp258_, (gdouble) _tmp260_); -#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp261_ = ctx; -#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 718 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_fill (_tmp261_); -#line 4996 "CheckerboardLayout.c" +#line 4948 "CheckerboardLayout.c" } -#line 726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp262_ = checkerboard_item_get_bottom_right_trinket (self, CHECKERBOARD_ITEM_TRINKET_SCALE); -#line 726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (trinket); -#line 726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" trinket = _tmp262_; -#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp263_ = trinket; -#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 722 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp263_ != NULL) { -#line 5008 "CheckerboardLayout.c" +#line 4960 "CheckerboardLayout.c" gint x = 0; GdkPoint _tmp264_; gint _tmp265_; @@ -5034,154 +4986,154 @@ void checkerboard_item_paint (CheckerboardItem* self, cairo_t* ctx, GdkRGBA* bg_ GdkPixbuf* _tmp288_; gint _tmp289_; cairo_t* _tmp290_; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp264_ = pixbuf_origin; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp265_ = _tmp264_.x; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp266_ = self->priv->pixbuf_dim; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp267_ = _tmp266_.width; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp268_ = trinket; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp269_ = gdk_pixbuf_get_width (_tmp268_); -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp270_ = _tmp269_; -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp271_ = checkerboard_item_get_horizontal_trinket_offset (self); -#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 723 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = (((_tmp265_ + _tmp267_) - _tmp270_) - _tmp271_) - CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp272_ = pixbuf_origin; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp273_ = _tmp272_.y; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp274_ = self->priv->pixbuf_dim; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp275_ = _tmp274_.height; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp276_ = trinket; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp277_ = gdk_pixbuf_get_height (_tmp276_); -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp278_ = _tmp277_; -#line 730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = ((_tmp273_ + _tmp275_) - _tmp278_) - CHECKERBOARD_ITEM_TRINKET_PADDING; -#line 732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp279_ = ctx; -#line 732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp280_ = trinket; -#line 732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp281_ = x; -#line 732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp282_ = y; -#line 732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_cairo_set_source_pixbuf (_tmp279_, _tmp280_, (gdouble) _tmp281_, (gdouble) _tmp282_); -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp283_ = ctx; -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp284_ = x; -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp285_ = y; -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp286_ = trinket; -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp287_ = gdk_pixbuf_get_width (_tmp286_); -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp288_ = trinket; -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp289_ = gdk_pixbuf_get_height (_tmp288_); -#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 728 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp283_, (gdouble) _tmp284_, (gdouble) _tmp285_, (gdouble) _tmp287_, (gdouble) _tmp289_); -#line 734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 729 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp290_ = ctx; -#line 734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 729 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_fill (_tmp290_); -#line 5102 "CheckerboardLayout.c" +#line 5054 "CheckerboardLayout.c" } -#line 595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 590 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (trinket); -#line 5106 "CheckerboardLayout.c" +#line 5058 "CheckerboardLayout.c" } void checkerboard_item_set_horizontal_trinket_offset (CheckerboardItem* self, gint horizontal_trinket_offset) { gint _tmp0_; gint _tmp1_; -#line 738 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 733 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); -#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = horizontal_trinket_offset; -#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp0_ >= 0, "horizontal_trinket_offset >= 0"); -#line 740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 735 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = horizontal_trinket_offset; -#line 740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 735 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->horizontal_trinket_offset = _tmp1_; -#line 5123 "CheckerboardLayout.c" +#line 5075 "CheckerboardLayout.c" } gint checkerboard_item_get_horizontal_trinket_offset (CheckerboardItem* self) { gint result = 0; gint _tmp0_; -#line 743 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 738 "/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" +#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->horizontal_trinket_offset; -#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; -#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5138 "CheckerboardLayout.c" +#line 5090 "CheckerboardLayout.c" } void checkerboard_item_set_grid_coordinates (CheckerboardItem* self, gint col, gint row) { gint _tmp0_; gint _tmp1_; -#line 747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); -#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 743 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = col; -#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 743 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->col = _tmp0_; -#line 749 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = row; -#line 749 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->row = _tmp1_; -#line 5155 "CheckerboardLayout.c" +#line 5107 "CheckerboardLayout.c" } gint checkerboard_item_get_column (CheckerboardItem* self) { gint result = 0; gint _tmp0_; -#line 752 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 747 "/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" +#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->col; -#line 753 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; -#line 753 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 748 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5170 "CheckerboardLayout.c" +#line 5122 "CheckerboardLayout.c" } gint checkerboard_item_get_row (CheckerboardItem* self) { gint result = 0; gint _tmp0_; -#line 756 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 751 "/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" +#line 752 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->row; -#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 752 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; -#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 752 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5185 "CheckerboardLayout.c" +#line 5137 "CheckerboardLayout.c" } @@ -5193,52 +5145,52 @@ void checkerboard_item_brighten (CheckerboardItem* self) { GdkPixbuf* _tmp5_; GdkPixbuf* _tmp6_; GdkPixbuf* _tmp7_; -#line 760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 755 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->brightened; -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = TRUE; -#line 5205 "CheckerboardLayout.c" +#line 5157 "CheckerboardLayout.c" } else { GdkPixbuf* _tmp2_; -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->pixbuf; -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp2_ == NULL; -#line 5212 "CheckerboardLayout.c" +#line 5164 "CheckerboardLayout.c" } -#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 763 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 758 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 5218 "CheckerboardLayout.c" +#line 5170 "CheckerboardLayout.c" } -#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->pixbuf; -#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = gdk_pixbuf_copy (_tmp3_); -#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->brightened); -#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->brightened = _tmp4_; -#line 767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = self->priv->brightened; -#line 767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" shift_colors (_tmp5_, CHECKERBOARD_ITEM_BRIGHTEN_SHIFT, CHECKERBOARD_ITEM_BRIGHTEN_SHIFT, CHECKERBOARD_ITEM_BRIGHTEN_SHIFT, 0); -#line 769 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = self->priv->brightened; -#line 769 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _g_object_ref0 (_tmp6_); -#line 769 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->display_pixbuf); -#line 769 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->display_pixbuf = _tmp7_; -#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView)); -#line 5242 "CheckerboardLayout.c" +#line 5194 "CheckerboardLayout.c" } @@ -5247,44 +5199,44 @@ void checkerboard_item_unbrighten (CheckerboardItem* self) { GdkPixbuf* _tmp1_; GdkPixbuf* _tmp3_; GdkPixbuf* _tmp4_; -#line 774 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 769 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->brightened; -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ == NULL) { -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = TRUE; -#line 5259 "CheckerboardLayout.c" +#line 5211 "CheckerboardLayout.c" } else { GdkPixbuf* _tmp2_; -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->pixbuf; -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp2_ == NULL; -#line 5266 "CheckerboardLayout.c" +#line 5218 "CheckerboardLayout.c" } -#line 776 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 772 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 5272 "CheckerboardLayout.c" +#line 5224 "CheckerboardLayout.c" } -#line 779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 774 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->brightened); -#line 779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 774 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->brightened = NULL; -#line 782 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->pixbuf; -#line 782 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _g_object_ref0 (_tmp3_); -#line 782 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->display_pixbuf); -#line 782 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 777 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->display_pixbuf = _tmp4_; -#line 784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_view_notify_view_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_VIEW, DataView)); -#line 5288 "CheckerboardLayout.c" +#line 5240 "CheckerboardLayout.c" } @@ -5292,21 +5244,21 @@ static void checkerboard_item_real_visibility_changed (DataView* base, gboolean CheckerboardItem * self; gboolean _tmp0_; gboolean _tmp1_; -#line 787 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 782 "/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" +#line 784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = visible; -#line 789 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp0_) { -#line 790 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 785 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_unbrighten (self); -#line 5304 "CheckerboardLayout.c" +#line 5256 "CheckerboardLayout.c" } -#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 787 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = visible; -#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 787 "/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 5310 "CheckerboardLayout.c" +#line 5262 "CheckerboardLayout.c" } @@ -5319,80 +5271,80 @@ static gboolean checkerboard_item_query_tooltip_on_text (CheckerboardItem* self, gboolean _tmp4_; CheckerboardItemText* _tmp5_; gboolean _tmp6_; -#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 790 "/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" +#line 790 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM_TEXT (text), FALSE); -#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 790 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (GTK_IS_TOOLTIP (tooltip), FALSE); -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = text; -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = checkerboard_item_text_get_pango_layout (_tmp0_, 0); -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_; -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = pango_layout_is_ellipsized (_tmp2_); -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = !_tmp3_; -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp2_); -#line 796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_) { -#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = FALSE; -#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5347 "CheckerboardLayout.c" +#line 5299 "CheckerboardLayout.c" } -#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 794 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = text; -#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 794 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = checkerboard_item_text_is_marked_up (_tmp5_); -#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 794 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_) { -#line 5355 "CheckerboardLayout.c" +#line 5307 "CheckerboardLayout.c" GtkTooltip* _tmp7_; CheckerboardItemText* _tmp8_; gchar* _tmp9_; gchar* _tmp10_; -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = tooltip; -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = text; -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = checkerboard_item_text_get_text (_tmp8_); -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_; -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_tooltip_set_markup (_tmp7_, _tmp10_); -#line 800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp10_); -#line 5372 "CheckerboardLayout.c" +#line 5324 "CheckerboardLayout.c" } else { GtkTooltip* _tmp11_; CheckerboardItemText* _tmp12_; gchar* _tmp13_; gchar* _tmp14_; -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = tooltip; -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = text; -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = checkerboard_item_text_get_text (_tmp12_); -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _tmp13_; -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_tooltip_set_text (_tmp11_, _tmp14_); -#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp14_); -#line 5390 "CheckerboardLayout.c" +#line 5342 "CheckerboardLayout.c" } -#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = TRUE; -#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 799 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5396 "CheckerboardLayout.c" +#line 5348 "CheckerboardLayout.c" } @@ -5407,195 +5359,195 @@ gboolean checkerboard_item_query_tooltip (CheckerboardItem* self, gint x, gint y gboolean _tmp24_ = FALSE; gboolean _tmp25_ = FALSE; CheckerboardItemText* _tmp26_; -#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 802 "/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" +#line 802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (GTK_IS_TOOLTIP (tooltip), FALSE); -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->title; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_ != NULL) { -#line 5419 "CheckerboardLayout.c" +#line 5371 "CheckerboardLayout.c" gboolean _tmp3_; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->title_visible; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp3_; -#line 5425 "CheckerboardLayout.c" +#line 5377 "CheckerboardLayout.c" } else { -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = FALSE; -#line 5429 "CheckerboardLayout.c" +#line 5381 "CheckerboardLayout.c" } -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_) { -#line 5433 "CheckerboardLayout.c" +#line 5385 "CheckerboardLayout.c" gint _tmp4_; gint _tmp5_; CheckerboardItemText* _tmp6_; GdkRectangle _tmp7_; gboolean _tmp8_; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = x; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = y; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = self->priv->title; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_->allocation; -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = coord_in_rectangle (_tmp4_, _tmp5_, &_tmp7_); -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp8_; -#line 5451 "CheckerboardLayout.c" +#line 5403 "CheckerboardLayout.c" } else { -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 5455 "CheckerboardLayout.c" +#line 5407 "CheckerboardLayout.c" } -#line 808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 803 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 5459 "CheckerboardLayout.c" +#line 5411 "CheckerboardLayout.c" CheckerboardItemText* _tmp9_; GtkTooltip* _tmp10_; gboolean _tmp11_; -#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->title; -#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = tooltip; -#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = checkerboard_item_query_tooltip_on_text (self, _tmp9_, _tmp10_); -#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp11_; -#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5473 "CheckerboardLayout.c" +#line 5425 "CheckerboardLayout.c" } -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = self->priv->comment; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_ != NULL) { -#line 5479 "CheckerboardLayout.c" +#line 5431 "CheckerboardLayout.c" gboolean _tmp15_; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = self->priv->comment_visible; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp15_; -#line 5485 "CheckerboardLayout.c" +#line 5437 "CheckerboardLayout.c" } else { -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = FALSE; -#line 5489 "CheckerboardLayout.c" +#line 5441 "CheckerboardLayout.c" } -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp13_) { -#line 5493 "CheckerboardLayout.c" +#line 5445 "CheckerboardLayout.c" gint _tmp16_; gint _tmp17_; CheckerboardItemText* _tmp18_; GdkRectangle _tmp19_; gboolean _tmp20_; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = x; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = y; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = self->priv->comment; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = _tmp18_->allocation; -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = coord_in_rectangle (_tmp16_, _tmp17_, &_tmp19_); -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _tmp20_; -#line 5511 "CheckerboardLayout.c" +#line 5463 "CheckerboardLayout.c" } else { -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = FALSE; -#line 5515 "CheckerboardLayout.c" +#line 5467 "CheckerboardLayout.c" } -#line 811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp12_) { -#line 5519 "CheckerboardLayout.c" +#line 5471 "CheckerboardLayout.c" CheckerboardItemText* _tmp21_; GtkTooltip* _tmp22_; gboolean _tmp23_; -#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->comment; -#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = tooltip; -#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = checkerboard_item_query_tooltip_on_text (self, _tmp21_, _tmp22_); -#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp23_; -#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 807 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5533 "CheckerboardLayout.c" +#line 5485 "CheckerboardLayout.c" } -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = self->priv->subtitle; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp26_ != NULL) { -#line 5539 "CheckerboardLayout.c" +#line 5491 "CheckerboardLayout.c" gboolean _tmp27_; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = self->priv->subtitle_visible; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = _tmp27_; -#line 5545 "CheckerboardLayout.c" +#line 5497 "CheckerboardLayout.c" } else { -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = FALSE; -#line 5549 "CheckerboardLayout.c" +#line 5501 "CheckerboardLayout.c" } -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp25_) { -#line 5553 "CheckerboardLayout.c" +#line 5505 "CheckerboardLayout.c" gint _tmp28_; gint _tmp29_; CheckerboardItemText* _tmp30_; GdkRectangle _tmp31_; gboolean _tmp32_; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = x; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = y; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = self->priv->subtitle; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = _tmp30_->allocation; -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = coord_in_rectangle (_tmp28_, _tmp29_, &_tmp31_); -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _tmp32_; -#line 5571 "CheckerboardLayout.c" +#line 5523 "CheckerboardLayout.c" } else { -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = FALSE; -#line 5575 "CheckerboardLayout.c" +#line 5527 "CheckerboardLayout.c" } -#line 814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp24_) { -#line 5579 "CheckerboardLayout.c" +#line 5531 "CheckerboardLayout.c" CheckerboardItemText* _tmp33_; GtkTooltip* _tmp34_; gboolean _tmp35_; -#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = self->priv->subtitle; -#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = tooltip; -#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = checkerboard_item_query_tooltip_on_text (self, _tmp33_, _tmp34_); -#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp35_; -#line 815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5593 "CheckerboardLayout.c" +#line 5545 "CheckerboardLayout.c" } -#line 817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = FALSE; -#line 817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5599 "CheckerboardLayout.c" +#line 5551 "CheckerboardLayout.c" } @@ -5610,7 +5562,7 @@ gboolean checkerboard_item_get_has_tags (CheckerboardItem* self) { result = _tmp0_; #line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 5614 "CheckerboardLayout.c" +#line 5566 "CheckerboardLayout.c" } @@ -5619,7 +5571,7 @@ static void checkerboard_item_set_has_tags (CheckerboardItem* self, gboolean val g_return_if_fail (IS_CHECKERBOARD_ITEM (self)); #line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (checkerboard_item_get_has_tags (self) != value) { -#line 5623 "CheckerboardLayout.c" +#line 5575 "CheckerboardLayout.c" gboolean _tmp0_; #line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = value; @@ -5627,7 +5579,7 @@ static void checkerboard_item_set_has_tags (CheckerboardItem* self, gboolean val self->priv->_has_tags = _tmp0_; #line 161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_object_notify ((GObject *) self, "has-tags"); -#line 5631 "CheckerboardLayout.c" +#line 5583 "CheckerboardLayout.c" } } @@ -5673,7 +5625,7 @@ static void checkerboard_item_class_init (CheckerboardItemClass * klass) { 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_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" +#line 5629 "CheckerboardLayout.c" } @@ -5718,7 +5670,7 @@ 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 5722 "CheckerboardLayout.c" +#line 5674 "CheckerboardLayout.c" } @@ -5744,7 +5696,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 5748 "CheckerboardLayout.c" +#line 5700 "CheckerboardLayout.c" } @@ -5771,13 +5723,13 @@ static void _vala_checkerboard_item_get_property (GObject * object, guint proper g_value_set_boolean (value, checkerboard_item_get_has_tags (self)); #line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 5775 "CheckerboardLayout.c" +#line 5727 "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 5781 "CheckerboardLayout.c" +#line 5733 "CheckerboardLayout.c" } } @@ -5793,105 +5745,105 @@ static void _vala_checkerboard_item_set_property (GObject * object, guint proper checkerboard_item_set_has_tags (self, g_value_get_boolean (value)); #line 98 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 5797 "CheckerboardLayout.c" +#line 5749 "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 5803 "CheckerboardLayout.c" +#line 5755 "CheckerboardLayout.c" } } 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" +#line 902 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_contents_altered ((CheckerboardLayout*) self, added, removed); -#line 5811 "CheckerboardLayout.c" +#line 5763 "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" +#line 903 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_items_altered ((CheckerboardLayout*) self); -#line 5818 "CheckerboardLayout.c" +#line 5770 "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" +#line 904 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_items_state_changed ((CheckerboardLayout*) self, changed); -#line 5825 "CheckerboardLayout.c" +#line 5777 "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" +#line 905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_items_visibility_changed ((CheckerboardLayout*) self, changed); -#line 5832 "CheckerboardLayout.c" +#line 5784 "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" +#line 906 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_ordering_changed ((CheckerboardLayout*) self); -#line 5839 "CheckerboardLayout.c" +#line 5791 "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" +#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_views_altered ((CheckerboardLayout*) self, views); -#line 5846 "CheckerboardLayout.c" +#line 5798 "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" +#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_geometries_altered ((CheckerboardLayout*) self); -#line 5853 "CheckerboardLayout.c" +#line 5805 "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" +#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_items_selection_changed ((CheckerboardLayout*) self); -#line 5860 "CheckerboardLayout.c" +#line 5812 "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" +#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_items_selection_changed ((CheckerboardLayout*) self); -#line 5867 "CheckerboardLayout.c" +#line 5819 "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" +#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_viewport_shifted ((CheckerboardLayout*) self); -#line 5874 "CheckerboardLayout.c" +#line 5826 "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" +#line 919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_viewport_resized ((CheckerboardLayout*) self); -#line 5881 "CheckerboardLayout.c" +#line 5833 "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" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_on_colors_changed ((CheckerboardLayout*) self); -#line 5888 "CheckerboardLayout.c" +#line 5840 "CheckerboardLayout.c" } static gpointer _data_collection_ref0 (gpointer self) { -#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self ? data_collection_ref (self) : NULL; -#line 5895 "CheckerboardLayout.c" +#line 5847 "CheckerboardLayout.c" } @@ -5913,86 +5865,86 @@ CheckerboardLayout* checkerboard_layout_construct (GType object_type, ViewCollec GdkRGBA _tmp13_ = {0}; ConfigFacade* _tmp14_; ConfigFacade* _tmp15_; -#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 873 "/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" +#line 873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self = (CheckerboardLayout*) g_object_new (object_type, NULL); -#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = view; -#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _data_collection_ref0 (_tmp0_); -#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _data_collection_unref0 (self->priv->view); -#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->view = _tmp1_; -#line 881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 876 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_clear_drag_select (self); -#line 884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = view; -#line 884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _checkerboard_layout_on_contents_altered_data_collection_contents_altered, self, 0); -#line 885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = view; -#line 885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), "items-altered", (GCallback) _checkerboard_layout_on_items_altered_data_collection_items_altered, self, 0); -#line 886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = view; -#line 886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp4_, "items-state-changed", (GCallback) _checkerboard_layout_on_items_state_changed_view_collection_items_state_changed, self, 0); -#line 887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 882 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = view; -#line 887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 882 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp5_, "items-visibility-changed", (GCallback) _checkerboard_layout_on_items_visibility_changed_view_collection_items_visibility_changed, self, 0); -#line 888 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 883 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = view; -#line 888 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 883 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection), "ordering-changed", (GCallback) _checkerboard_layout_on_ordering_changed_data_collection_ordering_changed, self, 0); -#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = view; -#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp7_, "views-altered", (GCallback) _checkerboard_layout_on_views_altered_view_collection_views_altered, self, 0); -#line 890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = view; -#line 890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp8_, "geometries-altered", (GCallback) _checkerboard_layout_on_geometries_altered_view_collection_geometries_altered, self, 0); -#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = view; -#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp9_, "items-selected", (GCallback) _checkerboard_layout_on_items_selection_changed_view_collection_items_selected, self, 0); -#line 892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = view; -#line 892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp10_, "items-unselected", (GCallback) _checkerboard_layout_on_items_selection_changed_view_collection_items_unselected, self, 0); -#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = config_facade_get_instance (); -#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _tmp11_; -#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" config_facade_get_bg_color (_tmp12_, &_tmp13_); -#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_override_background_color (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), GTK_STATE_FLAG_NORMAL, &_tmp13_); -#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp12_); -#line 896 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = config_facade_get_instance (); -#line 896 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = _tmp14_; -#line 896 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp15_, "colors-changed", (GCallback) _checkerboard_layout_on_colors_changed_config_facade_colors_changed, self, 0); -#line 896 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 891 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp15_); -#line 899 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 894 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self; -#line 5989 "CheckerboardLayout.c" +#line 5941 "CheckerboardLayout.c" } CheckerboardLayout* checkerboard_layout_new (ViewCollection* view) { -#line 878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return checkerboard_layout_construct (TYPE_CHECKERBOARD_LAYOUT, view); -#line 5996 "CheckerboardLayout.c" +#line 5948 "CheckerboardLayout.c" } @@ -6005,89 +5957,89 @@ void checkerboard_layout_set_adjustments (CheckerboardLayout* self, GtkAdjustmen GtkAdjustment* _tmp5_; GtkContainer* _tmp6_; GtkContainer* _tmp7_; -#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GTK_IS_ADJUSTMENT (hadjustment)); -#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GTK_IS_ADJUSTMENT (vadjustment)); -#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 925 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = hadjustment; -#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 925 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 925 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->hadjustment); -#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 925 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->hadjustment = _tmp1_; -#line 931 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = vadjustment; -#line 931 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 931 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->vadjustment); -#line 931 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->vadjustment = _tmp3_; -#line 934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = hadjustment; -#line 934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp4_, "value-changed", (GCallback) _checkerboard_layout_on_viewport_shifted_gtk_adjustment_value_changed, self, 0); -#line 935 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = vadjustment; -#line 935 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 930 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_connect_object (_tmp5_, "value-changed", (GCallback) _checkerboard_layout_on_viewport_shifted_gtk_adjustment_value_changed, self, 0); -#line 938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 933 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 933 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_; -#line 938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 933 "/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 6045 "CheckerboardLayout.c" +#line 5997 "CheckerboardLayout.c" } void checkerboard_layout_set_scale (CheckerboardLayout* self, gint scale) { gint _tmp0_; -#line 943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 944 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 939 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = scale; -#line 944 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 939 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->scale = _tmp0_; -#line 6057 "CheckerboardLayout.c" +#line 6009 "CheckerboardLayout.c" } gint checkerboard_layout_get_scale (CheckerboardLayout* self) { gint result = 0; gint _tmp0_; -#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 942 "/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" +#line 943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->scale; -#line 948 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; -#line 948 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 6072 "CheckerboardLayout.c" +#line 6024 "CheckerboardLayout.c" } void checkerboard_layout_set_name (CheckerboardLayout* self, const gchar* name) { const gchar* _tmp0_; gchar* _tmp1_; -#line 951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (name != NULL); -#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = name; -#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = g_strdup (_tmp0_); -#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (self->priv->page_name); -#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->page_name = _tmp1_; -#line 6091 "CheckerboardLayout.c" +#line 6043 "CheckerboardLayout.c" } @@ -6100,123 +6052,123 @@ static void checkerboard_layout_on_viewport_resized (CheckerboardLayout* self) { GtkAllocation _tmp3_ = {0}; const gchar* _tmp4_; gboolean _tmp15_; -#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 950 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_preferred_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL, &_tmp0_); -#line 957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" req = _tmp0_; -#line 960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_; -#line 960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), &_tmp3_); -#line 960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 955 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" parent_allocation = _tmp3_; -#line 962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->message; -#line 962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_ == NULL) { -#line 6122 "CheckerboardLayout.c" +#line 6074 "CheckerboardLayout.c" GtkRequisition _tmp5_; gint _tmp6_; -#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = req; -#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_.height; -#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ != 0) { -#line 6131 "CheckerboardLayout.c" +#line 6083 "CheckerboardLayout.c" GtkAllocation _tmp7_; gint _tmp8_; GtkRequisition _tmp9_; gint _tmp10_; -#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = parent_allocation; -#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_.width; -#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = req; -#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_.height; -#line 972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 967 "/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 6146 "CheckerboardLayout.c" +#line 6098 "CheckerboardLayout.c" } } else { GtkAllocation _tmp11_; gint _tmp12_; GtkAllocation _tmp13_; gint _tmp14_; -#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = parent_allocation; -#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _tmp11_.width; -#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = parent_allocation; -#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 971 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _tmp13_.height; -#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 971 "/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 6163 "CheckerboardLayout.c" +#line 6115 "CheckerboardLayout.c" } -#line 981 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 976 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_viewport_resized (self); -#line 983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = self->priv->size_allocate_due_to_reflow; -#line 983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp15_) { -#line 984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_clear_anchor (self); -#line 6173 "CheckerboardLayout.c" +#line 6125 "CheckerboardLayout.c" } else { -#line 986 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 981 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->size_allocate_due_to_reflow = FALSE; -#line 6177 "CheckerboardLayout.c" +#line 6129 "CheckerboardLayout.c" } } static void checkerboard_layout_on_viewport_shifted (CheckerboardLayout* self) { -#line 989 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 985 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_update_visible_page (self); -#line 991 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 986 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_exposure (self, "on_viewport_shift"); -#line 993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_clear_anchor (self); -#line 6191 "CheckerboardLayout.c" +#line 6143 "CheckerboardLayout.c" } static void checkerboard_layout_on_items_selection_changed (CheckerboardLayout* self) { -#line 996 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 991 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_clear_anchor (self); -#line 6200 "CheckerboardLayout.c" +#line 6152 "CheckerboardLayout.c" } static void checkerboard_layout_clear_anchor (CheckerboardLayout* self) { gboolean _tmp0_; -#line 1000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 996 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->in_center_on_anchor; -#line 1001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 996 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 1002 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6214 "CheckerboardLayout.c" +#line 6166 "CheckerboardLayout.c" } -#line 1004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 999 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 1004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 999 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = NULL; -#line 6220 "CheckerboardLayout.c" +#line 6172 "CheckerboardLayout.c" } @@ -6235,35 +6187,35 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) { gint _tmp25_; gint _tmp26_; gpointer _tmp27_; -#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1002 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->in_center_on_anchor; -#line 1008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (!_tmp0_, "!in_center_on_anchor"); -#line 1010 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->visible_page; -#line 1010 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = checkerboard_layout_intersection (self, &_tmp1_); -#line 1010 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" items_on_page = _tmp2_; -#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = items_on_page; -#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_; -#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp5_ == 0) { -#line 1012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 1012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = NULL; -#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (items_on_page); -#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6267 "CheckerboardLayout.c" +#line 6219 "CheckerboardLayout.c" } { GeeList* _item_list = NULL; @@ -6274,25 +6226,25 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) { gint _tmp9_; gint _tmp10_; gint _item_index = 0; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = items_on_page; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _g_object_ref0 (_tmp6_); -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_list = _tmp7_; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _item_list; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_size = _tmp10_; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = -1; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 6296 "CheckerboardLayout.c" +#line 6248 "CheckerboardLayout.c" gint _tmp11_; gint _tmp12_; gint _tmp13_; @@ -6302,96 +6254,96 @@ static void checkerboard_layout_update_anchor (CheckerboardLayout* self) { gpointer _tmp16_; CheckerboardItem* _tmp17_; gboolean _tmp18_; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _item_index; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = _tmp11_ + 1; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _item_index; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _item_size; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp12_ < _tmp13_)) { -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 6318 "CheckerboardLayout.c" +#line 6270 "CheckerboardLayout.c" } -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _item_list; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = _item_index; -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = gee_list_get (_tmp14_, _tmp15_); -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = (CheckerboardItem*) _tmp16_; -#line 1017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = item; -#line 1017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_VIEW, DataView)); -#line 1017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp18_) { -#line 6334 "CheckerboardLayout.c" +#line 6286 "CheckerboardLayout.c" CheckerboardItem* _tmp19_; CheckerboardItem* _tmp20_; -#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = item; -#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _g_object_ref0 (_tmp19_); -#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = _tmp20_; -#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_list); -#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (items_on_page); -#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6353 "CheckerboardLayout.c" +#line 6305 "CheckerboardLayout.c" } -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 6357 "CheckerboardLayout.c" +#line 6309 "CheckerboardLayout.c" } -#line 1016 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_list); -#line 6361 "CheckerboardLayout.c" +#line 6313 "CheckerboardLayout.c" } -#line 1023 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->vadjustment; -#line 1023 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = gtk_adjustment_get_value (_tmp21_); -#line 1023 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp22_ == ((gdouble) 0)) { -#line 1024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 1024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = NULL; -#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (items_on_page); -#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6377 "CheckerboardLayout.c" +#line 6329 "CheckerboardLayout.c" } -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = items_on_page; -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = items_on_page; -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = _tmp25_; -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = gee_list_get (_tmp23_, ((gint) _tmp26_) / 2); -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = (CheckerboardItem*) _tmp27_; -#line 1007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1002 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (items_on_page); -#line 6395 "CheckerboardLayout.c" +#line 6347 "CheckerboardLayout.c" } @@ -6415,59 +6367,59 @@ static void checkerboard_layout_center_on_anchor (CheckerboardLayout* self, gdou GtkAdjustment* _tmp15_; gdouble _tmp16_; gdouble _tmp17_; -#line 1033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1028 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->anchor; -#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_ == NULL) { -#line 1035 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6427 "CheckerboardLayout.c" +#line 6379 "CheckerboardLayout.c" } -#line 1037 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1032 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->in_center_on_anchor = TRUE; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->anchor; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_->allocation; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_.y; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->anchor; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_->allocation; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_.height; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = self->priv->vadjustment; -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = gtk_adjustment_get_page_size (_tmp7_); -#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1034 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" anchor_pos = (_tmp3_ + (_tmp6_ / 2)) - (_tmp8_ / 2); -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->vadjustment; -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = anchor_pos; -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = self->priv->vadjustment; -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = gtk_adjustment_get_lower (_tmp11_); -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = self->priv->vadjustment; -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = gtk_adjustment_get_upper (_tmp13_); -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = self->priv->vadjustment; -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = gtk_adjustment_get_page_size (_tmp15_); -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = CLAMP (_tmp10_, _tmp12_, _tmp14_ - _tmp16_); -#line 1041 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1036 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_adjustment_set_value (_tmp9_, _tmp17_); -#line 1044 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1039 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->in_center_on_anchor = FALSE; -#line 6471 "CheckerboardLayout.c" +#line 6423 "CheckerboardLayout.c" } @@ -6481,72 +6433,72 @@ void checkerboard_layout_set_cursor (CheckerboardLayout* self, CheckerboardItem* GeeHashSet* _tmp11_; CheckerboardItem* _tmp12_; GeeHashSet* _tmp13_; -#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1042 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1042 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); -#line 1048 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1043 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = gee_hash_set_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 1048 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1043 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" collection = _tmp0_; -#line 1049 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1044 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->cursor; -#line 1049 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1044 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 6497 "CheckerboardLayout.c" +#line 6449 "CheckerboardLayout.c" CheckerboardItem* _tmp2_; ViewCollection* _tmp3_; CheckerboardItem* _tmp4_; gboolean _tmp5_; -#line 1050 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1045 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->cursor; -#line 1050 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1045 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_set_is_cursor (_tmp2_, FALSE); -#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->view; -#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->cursor; -#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _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" +#line 1047 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp5_) { -#line 6514 "CheckerboardLayout.c" +#line 6466 "CheckerboardLayout.c" GeeHashSet* _tmp6_; CheckerboardItem* _tmp7_; -#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1048 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = collection; -#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1048 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = self->priv->cursor; -#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1048 "/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 6523 "CheckerboardLayout.c" +#line 6475 "CheckerboardLayout.c" } } -#line 1056 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1051 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = item; -#line 1056 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1051 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_set_is_cursor (_tmp8_, TRUE); -#line 1057 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = item; -#line 1057 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _g_object_ref0 (_tmp9_); -#line 1057 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->cursor); -#line 1057 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1052 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->cursor = _tmp10_; -#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = collection; -#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = item; -#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1053 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_VIEW, DataView)); -#line 1059 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1054 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = collection; -#line 1059 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1054 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 1042 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (collection); -#line 6550 "CheckerboardLayout.c" +#line 6502 "CheckerboardLayout.c" } @@ -6554,57 +6506,57 @@ CheckerboardItem* checkerboard_layout_get_cursor (CheckerboardLayout* self) { CheckerboardItem* result = NULL; CheckerboardItem* _tmp0_; CheckerboardItem* _tmp1_; -#line 1062 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1057 "/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" +#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->cursor; -#line 1063 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1063 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp1_; -#line 1063 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1058 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 6568 "CheckerboardLayout.c" +#line 6520 "CheckerboardLayout.c" } static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, GeeIterable* added, GeeIterable* removed) { GeeIterable* _tmp0_; GeeIterable* _tmp1_; -#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1062 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1062 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added)); -#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1062 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed)); -#line 1069 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1064 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = added; -#line 1069 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1064 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_ != NULL) { -#line 1070 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1065 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (self->priv->message); -#line 1070 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1065 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->message = NULL; -#line 6589 "CheckerboardLayout.c" +#line 6541 "CheckerboardLayout.c" } -#line 1072 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = removed; -#line 1072 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1067 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 6595 "CheckerboardLayout.c" +#line 6547 "CheckerboardLayout.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp2_; GeeIterator* _tmp3_; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = removed; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = gee_iterable_iterator (_tmp2_); -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _object_it = _tmp3_; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 6608 "CheckerboardLayout.c" +#line 6560 "CheckerboardLayout.c" GeeIterator* _tmp4_; gboolean _tmp5_; DataObject* object = NULL; @@ -6612,187 +6564,187 @@ static void checkerboard_layout_on_contents_altered (CheckerboardLayout* self, G gpointer _tmp7_; GeeHashSet* _tmp8_; DataObject* _tmp9_; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _object_it; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = gee_iterator_next (_tmp4_); -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp5_) { -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 6624 "CheckerboardLayout.c" +#line 6576 "CheckerboardLayout.c" } -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _object_it; -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = gee_iterator_get (_tmp6_); -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" object = (DataObject*) _tmp7_; -#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1069 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->exposed_items; -#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1069 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = object; -#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1069 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (object); -#line 6640 "CheckerboardLayout.c" +#line 6592 "CheckerboardLayout.c" } -#line 1073 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1068 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_object_it); -#line 6644 "CheckerboardLayout.c" +#line 6596 "CheckerboardLayout.c" } } -#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1074 "/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); -#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows = NULL; -#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows_length1 = 0; -#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1074 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->_item_rows_size_ = self->priv->item_rows_length1; -#line 1081 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1076 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "on_contents_altered"); -#line 6657 "CheckerboardLayout.c" +#line 6609 "CheckerboardLayout.c" } static void checkerboard_layout_on_items_altered (CheckerboardLayout* self) { -#line 1084 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1079 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1085 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1080 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "on_items_altered"); -#line 6666 "CheckerboardLayout.c" +#line 6618 "CheckerboardLayout.c" } static void checkerboard_layout_on_items_state_changed (CheckerboardLayout* self, GeeIterable* changed) { GeeIterable* _tmp0_; -#line 1088 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1083 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1088 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1083 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GEE_IS_ITERABLE (changed)); -#line 1089 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1084 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = changed; -#line 1089 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1084 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_items_dirty (self, "on_items_state_changed", _tmp0_); -#line 6680 "CheckerboardLayout.c" +#line 6632 "CheckerboardLayout.c" } static void checkerboard_layout_on_items_visibility_changed (CheckerboardLayout* self, GeeIterable* changed) { -#line 1092 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1087 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1092 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1087 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GEE_IS_ITERABLE (changed)); -#line 1093 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1088 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "on_items_visibility_changed"); -#line 6691 "CheckerboardLayout.c" +#line 6643 "CheckerboardLayout.c" } static void checkerboard_layout_on_ordering_changed (CheckerboardLayout* self) { -#line 1096 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1091 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1097 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1092 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "on_ordering_changed"); -#line 6700 "CheckerboardLayout.c" +#line 6652 "CheckerboardLayout.c" } static void checkerboard_layout_on_views_altered (CheckerboardLayout* self, GeeCollection* altered) { GeeCollection* _tmp0_; -#line 1100 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1095 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1100 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1095 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GEE_IS_COLLECTION (altered)); -#line 1101 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1096 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = altered; -#line 1101 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1096 "/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 6714 "CheckerboardLayout.c" +#line 6666 "CheckerboardLayout.c" } static void checkerboard_layout_on_geometries_altered (CheckerboardLayout* self) { -#line 1104 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1099 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1105 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1100 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "on_geometries_altered"); -#line 6723 "CheckerboardLayout.c" +#line 6675 "CheckerboardLayout.c" } static gboolean _checkerboard_layout_do_reflow_gsource_func (gpointer self) { gboolean result; result = checkerboard_layout_do_reflow ((CheckerboardLayout*) self); -#line 1121 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1116 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 6732 "CheckerboardLayout.c" +#line 6684 "CheckerboardLayout.c" } static void checkerboard_layout_need_reflow (CheckerboardLayout* self, const gchar* caller) { gboolean _tmp0_; gboolean _tmp1_; -#line 1108 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1103 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1108 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1103 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (caller != NULL); -#line 1109 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1104 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->flow_scheduled; -#line 1109 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1104 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 1110 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1105 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6749 "CheckerboardLayout.c" +#line 6701 "CheckerboardLayout.c" } -#line 1112 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1107 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->is_in_view; -#line 1112 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1107 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp1_) { -#line 1113 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1108 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->reflow_needed = TRUE; -#line 1114 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1109 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6759 "CheckerboardLayout.c" +#line 6711 "CheckerboardLayout.c" } -#line 1120 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1115 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->flow_scheduled = TRUE; -#line 1121 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1116 "/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 6765 "CheckerboardLayout.c" +#line 6717 "CheckerboardLayout.c" } static gboolean checkerboard_layout_do_reflow (CheckerboardLayout* self) { gboolean result = FALSE; -#line 1124 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1119 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_LAYOUT (self), FALSE); -#line 1125 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1120 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_reflow (self, "do_reflow"); -#line 1126 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1121 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_exposure (self, "do_reflow"); -#line 1128 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1123 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->flow_scheduled = FALSE; -#line 1130 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1125 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = FALSE; -#line 1130 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1125 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 6783 "CheckerboardLayout.c" +#line 6735 "CheckerboardLayout.c" } static void checkerboard_layout_need_exposure (CheckerboardLayout* self, const gchar* caller) { -#line 1133 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1128 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1133 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1128 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (caller != NULL); -#line 1137 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1132 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposure_dirty = TRUE; -#line 1138 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1133 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 6796 "CheckerboardLayout.c" +#line 6748 "CheckerboardLayout.c" } @@ -6802,40 +6754,40 @@ void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* tex const gchar* _tmp2_; gchar* _tmp3_; const gchar* _tmp4_; -#line 1141 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1136 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1137 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = text; -#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1137 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->message; -#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1137 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (g_strcmp0 (_tmp0_, _tmp1_) == 0) { -#line 1143 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1138 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 6816 "CheckerboardLayout.c" +#line 6768 "CheckerboardLayout.c" } -#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1140 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = text; -#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1140 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = g_strdup (_tmp2_); -#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1140 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (self->priv->message); -#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1140 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->message = _tmp3_; -#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = text; -#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1142 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_ != NULL) { -#line 6830 "CheckerboardLayout.c" +#line 6782 "CheckerboardLayout.c" GtkContainer* _tmp5_; GtkContainer* _tmp6_; -#line 1150 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1145 "/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" +#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_; -#line 1150 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1145 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ != NULL) { -#line 6839 "CheckerboardLayout.c" +#line 6791 "CheckerboardLayout.c" GtkAllocation parent_allocation = {0}; GtkContainer* _tmp7_; GtkContainer* _tmp8_; @@ -6844,79 +6796,79 @@ void checkerboard_layout_set_message (CheckerboardLayout* self, const gchar* tex gint _tmp11_; GtkAllocation _tmp12_; gint _tmp13_; -#line 1152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1147 "/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" +#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_; -#line 1152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), &_tmp9_); -#line 1152 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1147 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" parent_allocation = _tmp9_; -#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1149 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = parent_allocation; -#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1149 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _tmp10_.width; -#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1149 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = parent_allocation; -#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1149 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp12_.height; -#line 1154 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1149 "/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 6866 "CheckerboardLayout.c" +#line 6818 "CheckerboardLayout.c" } } else { -#line 1158 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1153 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "set_message"); -#line 6871 "CheckerboardLayout.c" +#line 6823 "CheckerboardLayout.c" } } void checkerboard_layout_unset_message (CheckerboardLayout* self) { -#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1157 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1158 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_set_message (self, NULL); -#line 6881 "CheckerboardLayout.c" +#line 6833 "CheckerboardLayout.c" } static void checkerboard_layout_update_visible_page (CheckerboardLayout* self) { gboolean _tmp0_ = FALSE; GtkAdjustment* _tmp1_; -#line 1166 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1161 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->hadjustment; -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 6894 "CheckerboardLayout.c" +#line 6846 "CheckerboardLayout.c" GtkAdjustment* _tmp2_; -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->vadjustment; -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp2_ != NULL; -#line 6900 "CheckerboardLayout.c" +#line 6852 "CheckerboardLayout.c" } else { -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 6904 "CheckerboardLayout.c" +#line 6856 "CheckerboardLayout.c" } -#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1162 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 6908 "CheckerboardLayout.c" +#line 6860 "CheckerboardLayout.c" GtkAdjustment* _tmp3_; GtkAdjustment* _tmp4_; GdkRectangle _tmp5_ = {0}; -#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->hadjustment; -#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->vadjustment; -#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" get_adjustment_page (_tmp3_, _tmp4_, &_tmp5_); -#line 1168 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1163 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->visible_page = _tmp5_; -#line 6920 "CheckerboardLayout.c" +#line 6872 "CheckerboardLayout.c" } } @@ -6924,42 +6876,42 @@ static void checkerboard_layout_update_visible_page (CheckerboardLayout* self) { void checkerboard_layout_set_in_view (CheckerboardLayout* self, gboolean in_view) { gboolean _tmp0_; gboolean _tmp1_; -#line 1171 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1166 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = in_view; -#line 1172 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1167 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->is_in_view = _tmp0_; -#line 1174 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1169 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = in_view; -#line 1174 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1169 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_) { -#line 6938 "CheckerboardLayout.c" +#line 6890 "CheckerboardLayout.c" gboolean _tmp2_; -#line 1175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1170 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->reflow_needed; -#line 1175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1170 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_) { -#line 1176 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1171 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, "set_in_view (true)"); -#line 6946 "CheckerboardLayout.c" +#line 6898 "CheckerboardLayout.c" } else { -#line 1178 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1173 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_exposure (self, "set_in_view (true)"); -#line 6950 "CheckerboardLayout.c" +#line 6902 "CheckerboardLayout.c" } } else { -#line 1180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1175 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_unexpose_items (self, "set_in_view (false)"); -#line 6955 "CheckerboardLayout.c" +#line 6907 "CheckerboardLayout.c" } } static gpointer _checkerboard_layout_layout_row_ref0 (gpointer self) { -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self ? checkerboard_layout_layout_row_ref (self) : NULL; -#line 6963 "CheckerboardLayout.c" +#line 6915 "CheckerboardLayout.c" } @@ -6980,60 +6932,60 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel CheckerboardLayoutLayoutRow* _tmp31_; CheckerboardItem** _tmp32_; gint _tmp32__length1; -#line 1183 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1178 "/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" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->message; -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != NULL) { -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = TRUE; -#line 6992 "CheckerboardLayout.c" +#line 6944 "CheckerboardLayout.c" } else { CheckerboardLayoutLayoutRow** _tmp2_; gint _tmp2__length1; -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->item_rows; -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2__length1 = self->priv->item_rows_length1; -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp2_ == NULL; -#line 7002 "CheckerboardLayout.c" +#line 6954 "CheckerboardLayout.c" } -#line 1184 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1179 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 1185 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1185 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1180 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7010 "CheckerboardLayout.c" +#line 6962 "CheckerboardLayout.c" } -#line 1187 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1182 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = xd; -#line 1187 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1182 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = (gint) _tmp3_; -#line 1188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1183 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = yd; -#line 1188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1183 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = (gint) _tmp4_; -#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1186 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" in_range = NULL; -#line 1192 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1187 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" min = 0; -#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = self->priv->item_rows; -#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5__length1 = self->priv->item_rows_length1; -#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1188 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max = _tmp5__length1; -#line 7030 "CheckerboardLayout.c" +#line 6982 "CheckerboardLayout.c" { gboolean _tmp6_ = FALSE; -#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = TRUE; -#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 7037 "CheckerboardLayout.c" +#line 6989 "CheckerboardLayout.c" gint mid = 0; gint _tmp7_; gint _tmp8_; @@ -7048,160 +7000,160 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel CheckerboardLayoutLayoutRow* _tmp15_; gint _tmp28_; gint _tmp29_; -#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp6_) { -#line 7054 "CheckerboardLayout.c" +#line 7006 "CheckerboardLayout.c" } -#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = FALSE; -#line 1195 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = min; -#line 1195 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = max; -#line 1195 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = min; -#line 1195 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1190 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" mid = _tmp7_ + ((_tmp8_ - _tmp9_) / 2); -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = self->priv->item_rows; -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10__length1 = self->priv->item_rows_length1; -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = mid; -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _tmp10_[_tmp11_]; -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _checkerboard_layout_layout_row_ref0 (_tmp12_); -#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1191 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp13_; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = row; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp15_ == NULL) { -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = TRUE; -#line 7084 "CheckerboardLayout.c" +#line 7036 "CheckerboardLayout.c" } else { gint _tmp16_; CheckerboardLayoutLayoutRow* _tmp17_; gint _tmp18_; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = y; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = row; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = _tmp17_->y; -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _tmp16_ < _tmp18_; -#line 7097 "CheckerboardLayout.c" +#line 7049 "CheckerboardLayout.c" } -#line 1198 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1193 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_) { -#line 7101 "CheckerboardLayout.c" +#line 7053 "CheckerboardLayout.c" gint _tmp19_; -#line 1201 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = mid; -#line 1201 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1196 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max = _tmp19_ - 1; -#line 7107 "CheckerboardLayout.c" +#line 7059 "CheckerboardLayout.c" } else { gint _tmp20_; CheckerboardLayoutLayoutRow* _tmp21_; gint _tmp22_; CheckerboardLayoutLayoutRow* _tmp23_; gint _tmp24_; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = y; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = row; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _tmp21_->y; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = row; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _tmp23_->height; -#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1197 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp20_ > (_tmp22_ + _tmp24_)) { -#line 7126 "CheckerboardLayout.c" +#line 7078 "CheckerboardLayout.c" gint _tmp25_; -#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1199 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = mid; -#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1199 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" min = _tmp25_ + 1; -#line 7132 "CheckerboardLayout.c" +#line 7084 "CheckerboardLayout.c" } else { CheckerboardLayoutLayoutRow* _tmp26_; CheckerboardLayoutLayoutRow* _tmp27_; -#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = row; -#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _checkerboard_layout_layout_row_ref0 (_tmp26_); -#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (in_range); -#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1202 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" in_range = _tmp27_; -#line 1209 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 1209 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1204 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 7148 "CheckerboardLayout.c" +#line 7100 "CheckerboardLayout.c" } } -#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = min; -#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = max; -#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1207 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp28_ > _tmp29_) { -#line 1213 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1208 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 1213 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1208 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 7161 "CheckerboardLayout.c" +#line 7113 "CheckerboardLayout.c" } -#line 1194 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1189 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 7165 "CheckerboardLayout.c" +#line 7117 "CheckerboardLayout.c" } } -#line 1216 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1211 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = in_range; -#line 1216 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1211 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp30_ == NULL) { -#line 1217 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1217 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (in_range); -#line 1217 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1212 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7178 "CheckerboardLayout.c" +#line 7130 "CheckerboardLayout.c" } -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = in_range; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = _tmp31_->items; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32__length1 = _tmp31_->items_length1; -#line 7186 "CheckerboardLayout.c" +#line 7138 "CheckerboardLayout.c" { CheckerboardItem** item_collection = NULL; gint item_collection_length1 = 0; gint _item_collection_size_ = 0; gint item_it = 0; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item_collection = _tmp32_; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item_collection_length1 = _tmp32__length1; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" for (item_it = 0; item_it < _tmp32__length1; item_it = item_it + 1) { -#line 7198 "CheckerboardLayout.c" +#line 7150 "CheckerboardLayout.c" CheckerboardItem* _tmp33_; CheckerboardItem* item = NULL; -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = _g_object_ref0 (item_collection[item_it]); -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = _tmp33_; -#line 7205 "CheckerboardLayout.c" +#line 7157 "CheckerboardLayout.c" { CheckerboardItem* _tmp34_; gint _tmp35_; @@ -7217,72 +7169,72 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel CheckerboardItem* _tmp45_; GdkRectangle _tmp46_; gint _tmp47_; -#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1218 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = item; -#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1218 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp34_ == NULL) { -#line 1224 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1219 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1224 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1219 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 7229 "CheckerboardLayout.c" +#line 7181 "CheckerboardLayout.c" } -#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1221 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = x; -#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1221 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = item; -#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1221 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = _tmp36_->allocation; -#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1221 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = _tmp37_.x; -#line 1226 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1221 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp35_ < _tmp38_) { -#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1223 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 7245 "CheckerboardLayout.c" +#line 7197 "CheckerboardLayout.c" } -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = x; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = item; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = _tmp42_->allocation; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = _tmp43_.x; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = item; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = _tmp45_->allocation; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = _tmp46_.width; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp41_ <= (_tmp44_ + _tmp47_)) { -#line 7263 "CheckerboardLayout.c" +#line 7215 "CheckerboardLayout.c" gint _tmp48_; CheckerboardItem* _tmp49_; GdkRectangle _tmp50_; gint _tmp51_; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = y; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = item; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = _tmp49_->allocation; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = _tmp50_.y; -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = _tmp48_ >= _tmp51_; -#line 7278 "CheckerboardLayout.c" +#line 7230 "CheckerboardLayout.c" } else { -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = FALSE; -#line 7282 "CheckerboardLayout.c" +#line 7234 "CheckerboardLayout.c" } -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp40_) { -#line 7286 "CheckerboardLayout.c" +#line 7238 "CheckerboardLayout.c" gint _tmp52_; CheckerboardItem* _tmp53_; GdkRectangle _tmp54_; @@ -7290,51 +7242,51 @@ CheckerboardItem* checkerboard_layout_get_item_at_pixel (CheckerboardLayout* sel CheckerboardItem* _tmp56_; GdkRectangle _tmp57_; gint _tmp58_; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp52_ = y; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp53_ = item; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp54_ = _tmp53_->allocation; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp55_ = _tmp54_.y; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp56_ = item; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp57_ = _tmp56_->allocation; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp58_ = _tmp57_.height; -#line 1234 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1229 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = _tmp52_ <= (_tmp55_ + _tmp58_); -#line 7310 "CheckerboardLayout.c" +#line 7262 "CheckerboardLayout.c" } else { -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = FALSE; -#line 7314 "CheckerboardLayout.c" +#line 7266 "CheckerboardLayout.c" } -#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1228 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp39_) { -#line 1235 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1230 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = item; -#line 1235 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1230 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (in_range); -#line 1235 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1230 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7324 "CheckerboardLayout.c" +#line 7276 "CheckerboardLayout.c" } -#line 1220 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1215 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 7328 "CheckerboardLayout.c" +#line 7280 "CheckerboardLayout.c" } } } -#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (in_range); -#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1233 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7338 "CheckerboardLayout.c" +#line 7290 "CheckerboardLayout.c" } @@ -7352,7 +7304,7 @@ static gchar string_get (const gchar* self, glong index) { result = _tmp1_; #line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 7356 "CheckerboardLayout.c" +#line 7308 "CheckerboardLayout.c" } @@ -7375,7 +7327,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 7379 "CheckerboardLayout.c" +#line 7331 "CheckerboardLayout.c" glong _tmp4_; #line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -7383,7 +7335,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 7387 "CheckerboardLayout.c" +#line 7339 "CheckerboardLayout.c" } else { gchar* _tmp5_; gchar* _tmp6_; @@ -7395,7 +7347,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 7399 "CheckerboardLayout.c" +#line 7351 "CheckerboardLayout.c" } } @@ -7419,21 +7371,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 7423 "CheckerboardLayout.c" +#line 7375 "CheckerboardLayout.c" glong _tmp2_; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 7429 "CheckerboardLayout.c" +#line 7381 "CheckerboardLayout.c" } else { #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 7433 "CheckerboardLayout.c" +#line 7385 "CheckerboardLayout.c" } #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 7437 "CheckerboardLayout.c" +#line 7389 "CheckerboardLayout.c" glong _tmp3_; glong _tmp4_; glong _tmp5_; @@ -7445,7 +7397,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 7449 "CheckerboardLayout.c" +#line 7401 "CheckerboardLayout.c" } else { gint _tmp6_; gint _tmp7_; @@ -7455,13 +7407,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 7459 "CheckerboardLayout.c" +#line 7411 "CheckerboardLayout.c" } #line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 7465 "CheckerboardLayout.c" +#line 7417 "CheckerboardLayout.c" glong _tmp9_; glong _tmp10_; glong _tmp11_; @@ -7475,7 +7427,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 7479 "CheckerboardLayout.c" +#line 7431 "CheckerboardLayout.c" } else { glong _tmp12_; glong _tmp13_; @@ -7485,13 +7437,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 7489 "CheckerboardLayout.c" +#line 7441 "CheckerboardLayout.c" } #line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 7495 "CheckerboardLayout.c" +#line 7447 "CheckerboardLayout.c" glong _tmp15_; glong _tmp16_; #line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -7500,7 +7452,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 7504 "CheckerboardLayout.c" +#line 7456 "CheckerboardLayout.c" } #line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -7520,7 +7472,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 7524 "CheckerboardLayout.c" +#line 7476 "CheckerboardLayout.c" } @@ -7537,64 +7489,64 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos) gboolean _tmp6_ = FALSE; gint _tmp7_; gint index = 0; -#line 1241 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1236 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (tag_list != NULL, 0); -#line 1242 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1237 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = strlen (TAG_TAG_LIST_SEPARATOR_STRING); -#line 1242 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1237 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp0_; -#line 1242 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1237 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" sep_len = _tmp1_; -#line 1243 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = sep_len; -#line 1243 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1238 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp2_ > 0, "sep_len > 0"); -#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = tag_list; -#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = strlen (_tmp3_); -#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_; -#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1239 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" len = _tmp5_; -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = pos; -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp7_ < 0) { -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = TRUE; -#line 7567 "CheckerboardLayout.c" +#line 7519 "CheckerboardLayout.c" } else { gint _tmp8_; gint _tmp9_; -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = pos; -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = len; -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp8_ >= _tmp9_; -#line 7577 "CheckerboardLayout.c" +#line 7529 "CheckerboardLayout.c" } -#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1240 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_) { -#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1241 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = -1; -#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1241 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7585 "CheckerboardLayout.c" +#line 7537 "CheckerboardLayout.c" } { gint i = 0; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" i = 0; -#line 7591 "CheckerboardLayout.c" +#line 7543 "CheckerboardLayout.c" { gboolean _tmp10_ = FALSE; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = TRUE; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 7598 "CheckerboardLayout.c" +#line 7550 "CheckerboardLayout.c" gint _tmp12_; gint _tmp13_; gboolean _tmp14_ = FALSE; @@ -7603,58 +7555,58 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos) gchar _tmp17_; gint _tmp18_; gchar _tmp19_; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp10_) { -#line 7609 "CheckerboardLayout.c" +#line 7561 "CheckerboardLayout.c" gint _tmp11_; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = i; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" i = _tmp11_ + 1; -#line 7615 "CheckerboardLayout.c" +#line 7567 "CheckerboardLayout.c" } -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = FALSE; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = i; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = sep_len; -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp12_ < _tmp13_)) { -#line 1249 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1244 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 7627 "CheckerboardLayout.c" +#line 7579 "CheckerboardLayout.c" } -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = tag_list; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = pos; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = string_get (_tmp15_, (glong) _tmp16_); -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = i; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = string_get (TAG_TAG_LIST_SEPARATOR_STRING, (glong) _tmp18_); -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp17_ == _tmp19_) { -#line 7641 "CheckerboardLayout.c" +#line 7593 "CheckerboardLayout.c" gint _tmp20_; gint _tmp21_; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = pos; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = i; -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _tmp20_ >= _tmp21_; -#line 7650 "CheckerboardLayout.c" +#line 7602 "CheckerboardLayout.c" } else { -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = FALSE; -#line 7654 "CheckerboardLayout.c" +#line 7606 "CheckerboardLayout.c" } -#line 1250 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1245 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_) { -#line 7658 "CheckerboardLayout.c" +#line 7610 "CheckerboardLayout.c" const gchar* _tmp22_; gint _tmp23_; gint _tmp24_; @@ -7662,49 +7614,49 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos) gchar* _tmp26_; gchar* _tmp27_; gboolean _tmp28_; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = tag_list; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = pos; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = i; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = sep_len; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = string_substring (_tmp22_, (glong) (_tmp23_ - _tmp24_), (glong) _tmp25_); -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _tmp26_; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = g_strcmp0 (_tmp27_, TAG_TAG_LIST_SEPARATOR_STRING) == 0; -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp27_); -#line 1251 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1246 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp28_) { -#line 1252 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = -1; -#line 1252 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1247 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7688 "CheckerboardLayout.c" +#line 7640 "CheckerboardLayout.c" } } } } } -#line 1259 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1254 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" index = 0; -#line 7696 "CheckerboardLayout.c" +#line 7648 "CheckerboardLayout.c" { gint i = 0; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" i = 0; -#line 7701 "CheckerboardLayout.c" +#line 7653 "CheckerboardLayout.c" { gboolean _tmp29_ = FALSE; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = TRUE; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 7708 "CheckerboardLayout.c" +#line 7660 "CheckerboardLayout.c" gint _tmp31_; gint _tmp32_; gboolean _tmp33_ = FALSE; @@ -7713,110 +7665,110 @@ gint checkerboard_layout_get_tag_index_at_pos (const gchar* tag_list, gint pos) gint _tmp36_; gchar _tmp37_; gchar _tmp38_; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp29_) { -#line 7719 "CheckerboardLayout.c" +#line 7671 "CheckerboardLayout.c" gint _tmp30_; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = i; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" i = _tmp30_ + 1; -#line 7725 "CheckerboardLayout.c" +#line 7677 "CheckerboardLayout.c" } -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = FALSE; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = i; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = pos; -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp31_ < _tmp32_)) { -#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1255 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 7737 "CheckerboardLayout.c" +#line 7689 "CheckerboardLayout.c" } -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = tag_list; -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = i; -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = string_get (_tmp35_, (glong) _tmp36_); -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = string_get (TAG_TAG_LIST_SEPARATOR_STRING, (glong) 0); -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp37_ == _tmp38_) { -#line 7749 "CheckerboardLayout.c" +#line 7701 "CheckerboardLayout.c" gint _tmp39_; gint _tmp40_; gint _tmp41_; -#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1257 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = i; -#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1257 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = sep_len; -#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1257 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = len; -#line 1262 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1257 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = (_tmp39_ + _tmp40_) <= _tmp41_; -#line 7761 "CheckerboardLayout.c" +#line 7713 "CheckerboardLayout.c" } else { -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = FALSE; -#line 7765 "CheckerboardLayout.c" +#line 7717 "CheckerboardLayout.c" } -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp34_) { -#line 7769 "CheckerboardLayout.c" +#line 7721 "CheckerboardLayout.c" const gchar* _tmp42_; gint _tmp43_; gint _tmp44_; gchar* _tmp45_; gchar* _tmp46_; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = tag_list; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = i; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = sep_len; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = string_substring (_tmp42_, (glong) _tmp43_, (glong) _tmp44_); -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = _tmp45_; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = g_strcmp0 (_tmp46_, TAG_TAG_LIST_SEPARATOR_STRING) == 0; -#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1258 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp46_); -#line 7789 "CheckerboardLayout.c" +#line 7741 "CheckerboardLayout.c" } else { -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = FALSE; -#line 7793 "CheckerboardLayout.c" +#line 7745 "CheckerboardLayout.c" } -#line 1261 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1256 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp33_) { -#line 7797 "CheckerboardLayout.c" +#line 7749 "CheckerboardLayout.c" gint _tmp47_; gint _tmp48_; gint _tmp49_; -#line 1264 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1259 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = index; -#line 1264 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1259 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" index = _tmp47_ + 1; -#line 1265 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = i; -#line 1265 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = sep_len; -#line 1265 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1260 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" i = _tmp48_ + (_tmp49_ - 1); -#line 7811 "CheckerboardLayout.c" +#line 7763 "CheckerboardLayout.c" } } } } -#line 1268 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = index; -#line 1268 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1263 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7820 "CheckerboardLayout.c" +#line 7772 "CheckerboardLayout.c" } @@ -7845,92 +7797,92 @@ static gint checkerboard_layout_internal_handle_tag_mouse_event (CheckerboardLay gint _tmp14_ = 0; gint _tmp15_ = 0; gboolean _tmp16_; -#line 1271 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1266 "/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" +#line 1266 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (item), 0); -#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1267 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = item; -#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1267 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = checkerboard_item_get_tag_list_layout (_tmp0_); -#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1267 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" layout = _tmp1_; -#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1268 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = layout; -#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1268 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_ == NULL) { -#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1269 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = -1; -#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1269 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (layout); -#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1269 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7869 "CheckerboardLayout.c" +#line 7821 "CheckerboardLayout.c" } -#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1270 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = item; -#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1270 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_get_subtitle_allocation (_tmp3_, &_tmp4_); -#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1270 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" rect = _tmp4_; -#line 1277 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = x; -#line 1277 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = rect; -#line 1277 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_.x; -#line 1277 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1272 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" px = (_tmp5_ - _tmp7_) * PANGO_SCALE; -#line 1278 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = y; -#line 1278 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = rect; -#line 1278 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_.y; -#line 1278 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1273 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" py = (_tmp8_ - _tmp10_) * PANGO_SCALE; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = layout; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = px; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = py; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = pango_layout_xy_to_index (_tmp11_, _tmp12_, _tmp13_, &_tmp14_, &_tmp15_); -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" index = _tmp14_; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" trailing = _tmp15_; -#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1274 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp16_) { -#line 7907 "CheckerboardLayout.c" +#line 7859 "CheckerboardLayout.c" PangoLayout* _tmp17_; const gchar* _tmp18_; gint _tmp19_; gint _tmp20_; -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = layout; -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = pango_layout_get_text (_tmp17_); -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = index; -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = checkerboard_layout_get_tag_index_at_pos (_tmp18_, _tmp19_); -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp20_; -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (layout); -#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1275 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7926 "CheckerboardLayout.c" +#line 7878 "CheckerboardLayout.c" } -#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1276 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = -1; -#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1276 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (layout); -#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1276 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7934 "CheckerboardLayout.c" +#line 7886 "CheckerboardLayout.c" } @@ -7948,60 +7900,60 @@ gboolean checkerboard_layout_handle_mouse_motion (CheckerboardLayout* self, Chec CheckerboardItem* _tmp9_; gint _tmp10_; gint _tmp11_; -#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1279 "/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" +#line 1279 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (item), FALSE); -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = item; -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = checkerboard_item_get_has_tags (_tmp1_); -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_; -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp3_) { -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = TRUE; -#line 7966 "CheckerboardLayout.c" +#line 7918 "CheckerboardLayout.c" } else { gboolean _tmp4_; -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = checkerboard_layout_is_drag_select_active (self); -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_; -#line 7973 "CheckerboardLayout.c" +#line 7925 "CheckerboardLayout.c" } -#line 1285 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1280 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 1286 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = FALSE; -#line 1286 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1281 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 7981 "CheckerboardLayout.c" +#line 7933 "CheckerboardLayout.c" } -#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1282 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = item; -#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1282 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = x; -#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1282 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = y; -#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1282 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = checkerboard_layout_internal_handle_tag_mouse_event (self, _tmp5_, _tmp6_, _tmp7_); -#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1282 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tag_index = _tmp8_; -#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1283 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = item; -#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1283 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = tag_index; -#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1283 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_highlight_user_visible_tag (_tmp9_, _tmp10_); -#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = tag_index; -#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp11_ >= 0; -#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1284 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8005 "CheckerboardLayout.c" +#line 7957 "CheckerboardLayout.c" } @@ -8015,29 +7967,29 @@ gboolean checkerboard_layout_handle_left_click (CheckerboardLayout* self, Checke gdouble _tmp4_; gint _tmp5_; gint _tmp6_; -#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1287 "/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" +#line 1287 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (item), FALSE); -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = item; -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = xd; -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = round (_tmp1_); -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = yd; -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = round (_tmp3_); -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = checkerboard_layout_internal_handle_tag_mouse_event (self, _tmp0_, (gint) _tmp2_, (gint) _tmp4_); -#line 1293 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1288 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tag_index = _tmp5_; -#line 1294 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = tag_index; -#line 1294 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1289 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ >= 0) { -#line 8041 "CheckerboardLayout.c" +#line 7993 "CheckerboardLayout.c" Tag* tag = NULL; CheckerboardItem* _tmp7_; gint _tmp8_; @@ -8045,37 +7997,37 @@ gboolean checkerboard_layout_handle_left_click (CheckerboardLayout* self, Checke LibraryWindow* _tmp10_; LibraryWindow* _tmp11_; Tag* _tmp12_; -#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1290 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = item; -#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1290 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = tag_index; -#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1290 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = checkerboard_item_get_user_visible_tag (_tmp7_, _tmp8_); -#line 1295 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1290 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tag = _tmp9_; -#line 1296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1291 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = library_window_get_app (); -#line 1296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1291 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _tmp10_; -#line 1296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1291 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = tag; -#line 1296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1291 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" library_window_switch_to_tag (_tmp11_, _tmp12_); -#line 1296 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1291 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp11_); -#line 1297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = TRUE; -#line 1297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (tag); -#line 1297 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1292 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8073 "CheckerboardLayout.c" +#line 8025 "CheckerboardLayout.c" } -#line 1299 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1294 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = FALSE; -#line 1299 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1294 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8079 "CheckerboardLayout.c" +#line 8031 "CheckerboardLayout.c" } @@ -8083,17 +8035,17 @@ GeeList* checkerboard_layout_get_visible_items (CheckerboardLayout* self) { GeeList* result = NULL; GdkRectangle _tmp0_; GeeList* _tmp1_; -#line 1302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1297 "/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" +#line 1298 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->visible_page; -#line 1303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1298 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = checkerboard_layout_intersection (self, &_tmp0_); -#line 1303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1298 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp1_; -#line 1303 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1298 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8097 "CheckerboardLayout.c" +#line 8049 "CheckerboardLayout.c" } @@ -8106,44 +8058,44 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl GdkRectangle bitbucket = {0}; CheckerboardLayoutLayoutRow** _tmp2_; gint _tmp2__length1; -#line 1306 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1301 "/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" +#line 1301 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (area != NULL, NULL); -#line 1307 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = gee_array_list_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL); -#line 1307 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1302 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" intersects = _tmp0_; -#line 1310 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1305 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp1_); -#line 1310 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1305 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp1_; -#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1307 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&bitbucket, 0, sizeof (GdkRectangle)); -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->item_rows; -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2__length1 = self->priv->item_rows_length1; -#line 8128 "CheckerboardLayout.c" +#line 8080 "CheckerboardLayout.c" { CheckerboardLayoutLayoutRow** row_collection = NULL; gint row_collection_length1 = 0; gint _row_collection_size_ = 0; gint row_it = 0; -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_collection = _tmp2_; -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_collection_length1 = _tmp2__length1; -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" for (row_it = 0; row_it < _tmp2__length1; row_it = row_it + 1) { -#line 8140 "CheckerboardLayout.c" +#line 8092 "CheckerboardLayout.c" CheckerboardLayoutLayoutRow* _tmp3_; CheckerboardLayoutLayoutRow* row = NULL; -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/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" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp3_; -#line 8147 "CheckerboardLayout.c" +#line 8099 "CheckerboardLayout.c" { CheckerboardLayoutLayoutRow* _tmp4_; GdkRectangle _tmp5_; @@ -8168,171 +8120,171 @@ GeeList* checkerboard_layout_intersection (CheckerboardLayout* self, GdkRectangl GdkRectangle _tmp23_; GdkRectangle _tmp24_ = {0}; gboolean _tmp25_; -#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1309 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = row; -#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1309 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_ == NULL) { -#line 1315 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1310 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 1315 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1310 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 8180 "CheckerboardLayout.c" +#line 8132 "CheckerboardLayout.c" } -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = *area; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_.y; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = *area; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_.height; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = row; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_->y; -#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1312 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if ((_tmp6_ + _tmp8_) < _tmp10_) { -#line 1319 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 1319 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1314 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 8200 "CheckerboardLayout.c" +#line 8152 "CheckerboardLayout.c" } -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = row; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _tmp11_->y; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = row; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _tmp13_->height; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = *area; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = _tmp15_.y; -#line 1322 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1317 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if ((_tmp12_ + _tmp14_) < _tmp16_) { -#line 1324 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1319 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 1324 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1319 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 8220 "CheckerboardLayout.c" +#line 8172 "CheckerboardLayout.c" } -#line 1328 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1323 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&row_rect, 0, sizeof (GdkRectangle)); -#line 1329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1324 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_rect.x = 0; -#line 1330 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1325 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = row; -#line 1330 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1325 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = _tmp17_->y; -#line 1330 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1325 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_rect.y = _tmp18_; -#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1326 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = allocation; -#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1326 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _tmp19_.width; -#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1326 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_rect.width = _tmp20_; -#line 1332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1327 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = row; -#line 1332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1327 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _tmp21_->height; -#line 1332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1327 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_rect.height = _tmp22_; -#line 1334 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = row_rect; -#line 1334 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = gdk_rectangle_intersect (area, &_tmp23_, &_tmp24_); -#line 1334 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" bitbucket = _tmp24_; -#line 1334 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1329 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp25_) { -#line 8252 "CheckerboardLayout.c" +#line 8204 "CheckerboardLayout.c" CheckerboardLayoutLayoutRow* _tmp26_; CheckerboardItem** _tmp27_; gint _tmp27__length1; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = row; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _tmp26_->items; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27__length1 = _tmp26_->items_length1; -#line 8262 "CheckerboardLayout.c" +#line 8214 "CheckerboardLayout.c" { CheckerboardItem** item_collection = NULL; gint item_collection_length1 = 0; gint _item_collection_size_ = 0; gint item_it = 0; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item_collection = _tmp27_; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item_collection_length1 = _tmp27__length1; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" for (item_it = 0; item_it < _tmp27__length1; item_it = item_it + 1) { -#line 8274 "CheckerboardLayout.c" +#line 8226 "CheckerboardLayout.c" CheckerboardItem* _tmp28_; CheckerboardItem* item = NULL; -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = _g_object_ref0 (item_collection[item_it]); -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = _tmp28_; -#line 8281 "CheckerboardLayout.c" +#line 8233 "CheckerboardLayout.c" { CheckerboardItem* _tmp29_; CheckerboardItem* _tmp30_; GdkRectangle _tmp31_; GdkRectangle _tmp32_ = {0}; gboolean _tmp33_; -#line 1337 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = item; -#line 1337 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1332 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp29_ == NULL) { -#line 1338 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1333 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1338 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1333 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 8296 "CheckerboardLayout.c" +#line 8248 "CheckerboardLayout.c" } -#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = item; -#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = _tmp30_->allocation; -#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = gdk_rectangle_intersect (area, &_tmp31_, &_tmp32_); -#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" bitbucket = _tmp32_; -#line 1340 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1335 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp33_) { -#line 8308 "CheckerboardLayout.c" +#line 8260 "CheckerboardLayout.c" GeeArrayList* _tmp34_; CheckerboardItem* _tmp35_; -#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = intersects; -#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = item; -#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp35_); -#line 8317 "CheckerboardLayout.c" +#line 8269 "CheckerboardLayout.c" } -#line 1336 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1331 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 8321 "CheckerboardLayout.c" +#line 8273 "CheckerboardLayout.c" } } } } -#line 1313 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1308 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (row); -#line 8328 "CheckerboardLayout.c" +#line 8280 "CheckerboardLayout.c" } } } -#line 1346 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = G_TYPE_CHECK_INSTANCE_CAST (intersects, GEE_TYPE_LIST, GeeList); -#line 1346 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1341 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8336 "CheckerboardLayout.c" +#line 8288 "CheckerboardLayout.c" } @@ -8360,327 +8312,327 @@ CheckerboardItem* checkerboard_layout_get_item_relative_to (CheckerboardLayout* CheckerboardItem* _tmp47_ = NULL; CheckerboardItem* _tmp48_; CheckerboardItem* _tmp51_; -#line 1349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1344 "/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" +#line 1344 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (IS_CHECKERBOARD_ITEM (item), NULL); -#line 1350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1345 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->view; -#line 1350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1345 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1350 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1345 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ == 0) { -#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1346 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1346 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8378 "CheckerboardLayout.c" +#line 8330 "CheckerboardLayout.c" } -#line 1353 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1348 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->columns; -#line 1353 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1348 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp2_ > 0, "columns > 0"); -#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->rows; -#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1349 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp3_ > 0, "rows > 0"); -#line 1356 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = item; -#line 1356 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = checkerboard_item_get_column (_tmp4_); -#line 1356 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1351 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp5_; -#line 1357 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1352 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = item; -#line 1357 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1352 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = checkerboard_item_get_row (_tmp6_); -#line 1357 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1352 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp7_; -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = col; -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp9_ < 0) { -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = TRUE; -#line 8406 "CheckerboardLayout.c" +#line 8358 "CheckerboardLayout.c" } else { gint _tmp10_; -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = row; -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp10_ < 0; -#line 8413 "CheckerboardLayout.c" +#line 8365 "CheckerboardLayout.c" } -#line 1359 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1354 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp8_) { -#line 8417 "CheckerboardLayout.c" +#line 8369 "CheckerboardLayout.c" CheckerboardItem* _tmp11_; gchar* _tmp12_; gchar* _tmp13_; -#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = item; -#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = checkerboard_item_get_title (_tmp11_); -#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp12_; -#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" - g_critical ("CheckerboardLayout.vala:1360: Attempting to locate item not placed in " \ +#line 1355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + g_critical ("CheckerboardLayout.vala:1355: Attempting to locate item not placed in " \ "layout: %s", _tmp13_); -#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1355 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp13_); -#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1357 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1357 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8435 "CheckerboardLayout.c" +#line 8387 "CheckerboardLayout.c" } -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = point; -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" switch (_tmp14_) { -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" case COMPASS_POINT_NORTH: -#line 8443 "CheckerboardLayout.c" +#line 8395 "CheckerboardLayout.c" { gint _tmp15_; gint _tmp16_; -#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = row; -#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp15_ - 1; -#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = row; -#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1362 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp16_ < 0) { -#line 1368 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1363 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 8457 "CheckerboardLayout.c" +#line 8409 "CheckerboardLayout.c" } -#line 1369 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1364 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 8461 "CheckerboardLayout.c" +#line 8413 "CheckerboardLayout.c" } -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" case COMPASS_POINT_SOUTH: -#line 8465 "CheckerboardLayout.c" +#line 8417 "CheckerboardLayout.c" { gint _tmp17_; gint _tmp18_; gint _tmp19_; -#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = row; -#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp17_ + 1; -#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = row; -#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = self->priv->rows; -#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1367 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp18_ >= _tmp19_) { -#line 8480 "CheckerboardLayout.c" +#line 8432 "CheckerboardLayout.c" gint _tmp20_; -#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1368 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = self->priv->rows; -#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1368 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp20_ - 1; -#line 8486 "CheckerboardLayout.c" +#line 8438 "CheckerboardLayout.c" } -#line 1374 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1369 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 8490 "CheckerboardLayout.c" +#line 8442 "CheckerboardLayout.c" } -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" case COMPASS_POINT_EAST: -#line 8494 "CheckerboardLayout.c" +#line 8446 "CheckerboardLayout.c" { gint _tmp21_; gint _tmp22_; gint _tmp23_; -#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = col; -#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp21_ + 1; -#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = col; -#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = self->priv->columns; -#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1372 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp22_ >= _tmp23_) { -#line 8509 "CheckerboardLayout.c" +#line 8461 "CheckerboardLayout.c" gint _tmp24_; gint _tmp25_; gint _tmp26_; -#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = row; -#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp24_ + 1; -#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = row; -#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = self->priv->rows; -#line 1378 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1373 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp25_ >= _tmp26_) { -#line 8523 "CheckerboardLayout.c" +#line 8475 "CheckerboardLayout.c" gint _tmp27_; gint _tmp28_; -#line 1379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1374 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = self->priv->rows; -#line 1379 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1374 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp27_ - 1; -#line 1380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1375 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = self->priv->columns; -#line 1380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1375 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp28_ - 1; -#line 8534 "CheckerboardLayout.c" +#line 8486 "CheckerboardLayout.c" } else { -#line 1382 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1377 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 8538 "CheckerboardLayout.c" +#line 8490 "CheckerboardLayout.c" } } -#line 1385 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1380 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 8543 "CheckerboardLayout.c" +#line 8495 "CheckerboardLayout.c" } -#line 1365 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1360 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" case COMPASS_POINT_WEST: -#line 8547 "CheckerboardLayout.c" +#line 8499 "CheckerboardLayout.c" { gint _tmp29_; gint _tmp30_; -#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = col; -#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp29_ - 1; -#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = col; -#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1383 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp30_ < 0) { -#line 8559 "CheckerboardLayout.c" +#line 8511 "CheckerboardLayout.c" gint _tmp31_; gint _tmp32_; -#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = row; -#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp31_ - 1; -#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = row; -#line 1389 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1384 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp32_ < 0) { -#line 1390 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1385 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 1391 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1386 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 8574 "CheckerboardLayout.c" +#line 8526 "CheckerboardLayout.c" } else { gint _tmp33_; -#line 1393 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = self->priv->columns; -#line 1393 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1388 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp33_ - 1; -#line 8581 "CheckerboardLayout.c" +#line 8533 "CheckerboardLayout.c" } } -#line 1396 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1391 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 8586 "CheckerboardLayout.c" +#line 8538 "CheckerboardLayout.c" } default: { CompassPoint _tmp34_; -#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1394 "/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 8595 "CheckerboardLayout.c" +#line 1394 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + g_error ("CheckerboardLayout.vala:1394: Bad compass point %d", (gint) _tmp34_); +#line 8547 "CheckerboardLayout.c" } } -#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1397 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = col; -#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1397 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = row; -#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1397 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = checkerboard_layout_get_item_at_coordinate (self, _tmp35_, _tmp36_); -#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1397 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" new_item = _tmp37_; -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = new_item; -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp39_ == NULL) { -#line 8610 "CheckerboardLayout.c" +#line 8562 "CheckerboardLayout.c" CompassPoint _tmp40_; -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = point; -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = _tmp40_ == COMPASS_POINT_SOUTH; -#line 8616 "CheckerboardLayout.c" +#line 8568 "CheckerboardLayout.c" } else { -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = FALSE; -#line 8620 "CheckerboardLayout.c" +#line 8572 "CheckerboardLayout.c" } -#line 1404 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1399 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp38_) { -#line 8624 "CheckerboardLayout.c" +#line 8576 "CheckerboardLayout.c" ViewCollection* _tmp41_; DataView* _tmp42_; CheckerboardItem* _tmp43_; gint _tmp44_; CheckerboardItem* _tmp45_; gint _tmp46_; -#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1401 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = self->priv->view; -#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1401 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = view_collection_get_last (_tmp41_); -#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1401 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (new_item); -#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1401 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" new_item = G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = new_item; -#line 1407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = checkerboard_item_get_row (_tmp43_); -#line 1407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = item; -#line 1407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = checkerboard_item_get_row (_tmp45_); -#line 1407 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1402 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp44_ <= _tmp46_) { -#line 1408 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1403 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (new_item); -#line 1408 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1403 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" new_item = NULL; -#line 8653 "CheckerboardLayout.c" +#line 8605 "CheckerboardLayout.c" } } -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = new_item; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp48_ != NULL) { -#line 8660 "CheckerboardLayout.c" +#line 8612 "CheckerboardLayout.c" CheckerboardItem* _tmp49_; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = new_item; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = _tmp49_; -#line 8666 "CheckerboardLayout.c" +#line 8618 "CheckerboardLayout.c" } else { CheckerboardItem* _tmp50_; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = item; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = _tmp50_; -#line 8673 "CheckerboardLayout.c" +#line 8625 "CheckerboardLayout.c" } -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = _g_object_ref0 (_tmp47_); -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp51_; -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (new_item); -#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1406 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8683 "CheckerboardLayout.c" +#line 8635 "CheckerboardLayout.c" } @@ -8706,83 +8658,83 @@ CheckerboardItem* checkerboard_layout_get_item_at_coordinate (CheckerboardLayout gint _tmp12_; CheckerboardItem* _tmp13_; CheckerboardItem* _tmp14_; -#line 1414 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1409 "/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" +#line 1410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = row; -#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->item_rows; -#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1__length1 = self->priv->item_rows_length1; -#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1410 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_ >= _tmp1__length1) { -#line 1416 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1416 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1411 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8723 "CheckerboardLayout.c" +#line 8675 "CheckerboardLayout.c" } -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->item_rows; -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2__length1 = self->priv->item_rows_length1; -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = row; -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _tmp2_[_tmp3_]; -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _checkerboard_layout_layout_row_ref0 (_tmp4_); -#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1413 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item_row = _tmp5_; -#line 1419 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1414 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = item_row; -#line 1419 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1414 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ == NULL) { -#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (item_row); -#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1415 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8747 "CheckerboardLayout.c" +#line 8699 "CheckerboardLayout.c" } -#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1417 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = col; -#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1417 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = item_row; -#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1417 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = _tmp8_->items; -#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1417 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9__length1 = _tmp8_->items_length1; -#line 1422 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1417 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp7_ >= _tmp9__length1) { -#line 1423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (item_row); -#line 1423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1418 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8765 "CheckerboardLayout.c" +#line 8717 "CheckerboardLayout.c" } -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = item_row; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _tmp10_->items; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11__length1 = _tmp10_->items_length1; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = col; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp11_[_tmp12_]; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _g_object_ref0 (_tmp13_); -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp14_; -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (item_row); -#line 1425 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1420 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8785 "CheckerboardLayout.c" +#line 8737 "CheckerboardLayout.c" } @@ -8797,35 +8749,35 @@ void checkerboard_layout_set_drag_select_origin (CheckerboardLayout* self, gint GtkAllocation _tmp6_; gint _tmp7_; gint _tmp8_; -#line 1428 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1423 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1424 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_clear_drag_select (self); -#line 1432 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1427 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp0_); -#line 1432 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1427 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp0_; -#line 1434 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = x; -#line 1434 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = allocation; -#line 1434 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_.width; -#line 1434 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = CLAMP (_tmp1_, 0, _tmp3_); -#line 1434 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1429 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_origin.x = _tmp4_; -#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1430 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = y; -#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1430 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = allocation; -#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1430 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_.height; -#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1430 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = CLAMP (_tmp5_, 0, _tmp7_); -#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1430 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_origin.y = _tmp8_; -#line 8828 "CheckerboardLayout.c" +#line 8780 "CheckerboardLayout.c" } @@ -8847,51 +8799,51 @@ void checkerboard_layout_set_drag_select_endpoint (CheckerboardLayout* self, gin Box _tmp12_ = {0}; GdkRectangle _tmp13_ = {0}; GdkWindow* _tmp14_; -#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1433 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1440 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp0_); -#line 1440 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1435 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp0_; -#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1437 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = x; -#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1437 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = allocation; -#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1437 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp2_.width; -#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1437 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = CLAMP (_tmp1_, 0, _tmp3_); -#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1437 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_endpoint.x = _tmp4_; -#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = y; -#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = allocation; -#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_.height; -#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = CLAMP (_tmp5_, 0, _tmp7_); -#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1438 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_endpoint.y = _tmp8_; -#line 1447 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->selection_band; -#line 1447 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1442 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" old_selection_band = _tmp9_; -#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = self->priv->drag_origin; -#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = self->priv->drag_endpoint; -#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" box_from_points (&_tmp10_, &_tmp11_, &_tmp12_); -#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" box_get_rectangle (&_tmp12_, &_tmp13_); -#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1443 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->selection_band = _tmp13_; -#line 1451 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1446 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _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" +#line 1446 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp14_ != NULL) { -#line 8894 "CheckerboardLayout.c" +#line 8846 "CheckerboardLayout.c" GdkRectangle _union_ = {0}; GdkRectangle _tmp15_; GdkRectangle _tmp16_ = {0}; @@ -8903,31 +8855,31 @@ void checkerboard_layout_set_drag_select_endpoint (CheckerboardLayout* self, gin gint _tmp22_; GdkRectangle _tmp23_; gint _tmp24_; -#line 1453 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = old_selection_band; -#line 1453 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_rectangle_union (&self->priv->selection_band, &_tmp15_, &_tmp16_); -#line 1453 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1448 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _union_ = _tmp16_; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = _union_; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = _tmp17_.x; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = _union_; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _tmp19_.y; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = _union_; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _tmp21_.width; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = _union_; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _tmp23_.height; -#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1450 "/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 8930 "CheckerboardLayout.c" +#line 8882 "CheckerboardLayout.c" } } @@ -8939,31 +8891,31 @@ GeeList* checkerboard_layout_items_in_selection_band (CheckerboardLayout* self) gboolean _tmp2_; GdkRectangle _tmp3_; GeeList* _tmp4_; -#line 1459 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1454 "/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" +#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->selection_band; -#line 1460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dimensions_for_rectangle (&_tmp0_, &_tmp1_); -#line 1460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = dimensions_has_area (&_tmp1_); -#line 1460 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1455 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp2_) { -#line 1461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1456 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = NULL; -#line 1461 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1456 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8956 "CheckerboardLayout.c" +#line 8908 "CheckerboardLayout.c" } -#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->selection_band; -#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = checkerboard_layout_intersection (self, &_tmp3_); -#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp4_; -#line 1463 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1458 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 8966 "CheckerboardLayout.c" +#line 8918 "CheckerboardLayout.c" } @@ -8972,53 +8924,53 @@ gboolean checkerboard_layout_is_drag_select_active (CheckerboardLayout* self) { gboolean _tmp0_ = FALSE; GdkPoint _tmp1_; gint _tmp2_; -#line 1466 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1461 "/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" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->drag_origin; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_.x; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_ >= 0) { -#line 8983 "CheckerboardLayout.c" +#line 8935 "CheckerboardLayout.c" GdkPoint _tmp3_; gint _tmp4_; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->drag_origin; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _tmp3_.y; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_ >= 0; -#line 8992 "CheckerboardLayout.c" +#line 8944 "CheckerboardLayout.c" } else { -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = FALSE; -#line 8996 "CheckerboardLayout.c" +#line 8948 "CheckerboardLayout.c" } -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp0_; -#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1462 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 9002 "CheckerboardLayout.c" +#line 8954 "CheckerboardLayout.c" } void checkerboard_layout_clear_drag_select (CheckerboardLayout* self) { -#line 1470 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1465 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1471 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1466 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&self->priv->selection_band, 0, sizeof (GdkRectangle)); -#line 1472 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1467 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_origin.x = -1; -#line 1473 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1468 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_origin.y = -1; -#line 1474 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1469 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_endpoint.x = -1; -#line 1475 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1470 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->drag_endpoint.y = -1; -#line 1478 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1473 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 9021 "CheckerboardLayout.c" +#line 8973 "CheckerboardLayout.c" } @@ -9026,19 +8978,19 @@ static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) { GdkRectangle _tmp0_; gint _tmp1_; gint _tmp2_; -#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1476 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1483 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1478 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_update_visible_page (self); -#line 1486 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->visible_page; -#line 1486 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp0_.width; -#line 1486 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->last_width; -#line 1486 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1481 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp1_ != _tmp2_) { -#line 9041 "CheckerboardLayout.c" +#line 8993 "CheckerboardLayout.c" gint old_width = 0; gint _tmp3_; GdkRectangle _tmp4_; @@ -9048,46 +9000,46 @@ static void checkerboard_layout_viewport_resized (CheckerboardLayout* self) { gint _tmp8_; gchar* _tmp9_; gchar* _tmp10_; -#line 1487 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1482 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->last_width; -#line 1487 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1482 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" old_width = _tmp3_; -#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1483 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->visible_page; -#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1483 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_.width; -#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1483 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->last_width = _tmp5_; -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = old_width; -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = self->priv->visible_page; -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_.width; -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = g_strdup_printf ("viewport_resized (%d -> %d)", _tmp6_, _tmp8_); -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _tmp9_; -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, _tmp10_); -#line 1490 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1485 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp10_); -#line 9075 "CheckerboardLayout.c" +#line 9027 "CheckerboardLayout.c" } else { gint _tmp11_; gchar* _tmp12_; gchar* _tmp13_; -#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = self->priv->last_width; -#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = g_strdup_printf ("viewport_resized (same width=%d)", _tmp11_); -#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp12_; -#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_exposure (self, _tmp13_); -#line 1493 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1488 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp13_); -#line 9090 "CheckerboardLayout.c" +#line 9042 "CheckerboardLayout.c" } } @@ -9101,23 +9053,23 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc GeeHashSet* _tmp27_; GeeHashSet* _tmp28_; ViewCollection* _tmp29_; -#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (caller != NULL); -#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1495 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = gee_hash_set_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1495 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" new_exposed_items = _tmp0_; -#line 1502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->view; -#line 1502 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1499 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = checkerboard_layout_get_visible_items (self); -#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1499 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" items = _tmp2_; -#line 9120 "CheckerboardLayout.c" +#line 9072 "CheckerboardLayout.c" { GeeList* _item_list = NULL; GeeList* _tmp3_; @@ -9127,25 +9079,25 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc gint _tmp6_; gint _tmp7_; gint _item_index = 0; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = items; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _g_object_ref0 (_tmp3_); -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_list = _tmp4_; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _item_list; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _tmp6_; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_size = _tmp7_; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = -1; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9148 "CheckerboardLayout.c" +#line 9100 "CheckerboardLayout.c" gint _tmp8_; gint _tmp9_; gint _tmp10_; @@ -9158,124 +9110,124 @@ static void checkerboard_layout_expose_items (CheckerboardLayout* self, const gc GeeHashSet* _tmp16_; CheckerboardItem* _tmp17_; gboolean _tmp18_; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _item_index; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = _tmp8_ + 1; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = _item_index; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = _item_size; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp9_ < _tmp10_)) { -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9173 "CheckerboardLayout.c" +#line 9125 "CheckerboardLayout.c" } -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _item_list; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = _item_index; -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = gee_list_get (_tmp11_, _tmp12_); -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = (CheckerboardItem*) _tmp13_; -#line 1506 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1501 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = new_exposed_items; -#line 1506 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1501 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = item; -#line 1506 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1501 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp15_); -#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = self->priv->exposed_items; -#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = item; -#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _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" +#line 1504 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp18_) { -#line 9197 "CheckerboardLayout.c" +#line 9149 "CheckerboardLayout.c" CheckerboardItem* _tmp19_; -#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = item; -#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_exposed (_tmp19_); -#line 9203 "CheckerboardLayout.c" +#line 9155 "CheckerboardLayout.c" } -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 9207 "CheckerboardLayout.c" +#line 9159 "CheckerboardLayout.c" } -#line 1505 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1500 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_list); -#line 9211 "CheckerboardLayout.c" +#line 9163 "CheckerboardLayout.c" } { GeeIterator* _item_it = NULL; GeeHashSet* _tmp20_; GeeIterator* _tmp21_; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = self->priv->exposed_items; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_it = _tmp21_; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9225 "CheckerboardLayout.c" +#line 9177 "CheckerboardLayout.c" GeeIterator* _tmp22_; gboolean _tmp23_; CheckerboardItem* item = NULL; GeeIterator* _tmp24_; gpointer _tmp25_; CheckerboardItem* _tmp26_; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _item_it; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = gee_iterator_next (_tmp22_); -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp23_) { -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9240 "CheckerboardLayout.c" +#line 9192 "CheckerboardLayout.c" } -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _item_it; -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = gee_iterator_get (_tmp24_); -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = (CheckerboardItem*) _tmp25_; -#line 1515 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = item; -#line 1515 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1510 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_unexposed (_tmp26_); -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 9254 "CheckerboardLayout.c" +#line 9206 "CheckerboardLayout.c" } -#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1509 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_it); -#line 9258 "CheckerboardLayout.c" +#line 9210 "CheckerboardLayout.c" } -#line 1518 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1513 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = new_exposed_items; -#line 1518 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1513 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = _g_object_ref0 (_tmp27_); -#line 1518 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1513 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->exposed_items); -#line 1518 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1513 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposed_items = _tmp28_; -#line 1519 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1514 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposure_dirty = FALSE; -#line 1524 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1519 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = self->priv->view; -#line 1524 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1519 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (items); -#line 1497 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1492 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (new_exposed_items); -#line 9278 "CheckerboardLayout.c" +#line 9230 "CheckerboardLayout.c" } @@ -9283,73 +9235,73 @@ static void checkerboard_layout_unexpose_items (CheckerboardLayout* self, const ViewCollection* _tmp0_; GeeHashSet* _tmp8_; ViewCollection* _tmp9_; -#line 1530 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1525 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1530 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1525 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (caller != NULL); -#line 1531 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1526 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->view; -#line 1531 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1526 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection)); -#line 9294 "CheckerboardLayout.c" +#line 9246 "CheckerboardLayout.c" { GeeIterator* _item_it = NULL; GeeHashSet* _tmp1_; GeeIterator* _tmp2_; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->exposed_items; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_it = _tmp2_; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9307 "CheckerboardLayout.c" +#line 9259 "CheckerboardLayout.c" GeeIterator* _tmp3_; gboolean _tmp4_; CheckerboardItem* item = NULL; GeeIterator* _tmp5_; gpointer _tmp6_; CheckerboardItem* _tmp7_; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _item_it; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp4_) { -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9322 "CheckerboardLayout.c" +#line 9274 "CheckerboardLayout.c" } -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _item_it; -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = (CheckerboardItem*) _tmp6_; -#line 1534 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1529 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = item; -#line 1534 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1529 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_unexposed (_tmp7_); -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 9336 "CheckerboardLayout.c" +#line 9288 "CheckerboardLayout.c" } -#line 1533 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1528 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_it); -#line 9340 "CheckerboardLayout.c" +#line 9292 "CheckerboardLayout.c" } -#line 1536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1531 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->exposed_items; -#line 1536 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1531 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gee_abstract_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 1537 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1532 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposure_dirty = FALSE; -#line 1542 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1537 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->view; -#line 1542 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1537 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection)); -#line 9352 "CheckerboardLayout.c" +#line 9304 "CheckerboardLayout.c" } @@ -9417,131 +9369,131 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp270_; GtkAllocation _tmp271_; gint _tmp272_; -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (caller != NULL); -#line 1549 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1544 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->reflow_needed = FALSE; -#line 1552 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1547 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->message; -#line 1552 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1547 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_ != NULL) { -#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 9432 "CheckerboardLayout.c" +#line 9384 "CheckerboardLayout.c" } -#line 1556 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1551 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp1_); -#line 1556 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1551 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp1_; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->visible_page; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _tmp3_.width; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_ > 0) { -#line 9444 "CheckerboardLayout.c" +#line 9396 "CheckerboardLayout.c" GdkRectangle _tmp5_; gint _tmp6_; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = self->priv->visible_page; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_.width; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp6_; -#line 9453 "CheckerboardLayout.c" +#line 9405 "CheckerboardLayout.c" } else { GtkAllocation _tmp7_; gint _tmp8_; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = allocation; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_.width; -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp8_; -#line 9463 "CheckerboardLayout.c" +#line 9415 "CheckerboardLayout.c" } -#line 1558 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1553 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" visible_width = _tmp2_; -#line 1566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1561 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = visible_width; -#line 1566 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1561 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp9_ <= 1) { -#line 1567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1562 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 9473 "CheckerboardLayout.c" +#line 9425 "CheckerboardLayout.c" } -#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1564 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = self->priv->view; -#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1564 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1564 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_items = _tmp11_; -#line 1572 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = total_items; -#line 1572 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1567 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp12_ == 0) { -#line 9485 "CheckerboardLayout.c" +#line 9437 "CheckerboardLayout.c" gint _tmp13_; CheckerboardLayoutLayoutRow** _tmp14_; -#line 1573 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1568 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = visible_width; -#line 1573 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1568 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp13_, 0); -#line 1574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = g_new0 (CheckerboardLayoutLayoutRow*, 0 + 1); -#line 1574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1569 "/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); -#line 1574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows = _tmp14_; -#line 1574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows_length1 = 0; -#line 1574 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1569 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->_item_rows_size_ = self->priv->item_rows_length1; -#line 1576 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1571 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 9504 "CheckerboardLayout.c" +#line 9456 "CheckerboardLayout.c" } -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = self->priv->anchor; -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp16_ == NULL) { -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = TRUE; -#line 9512 "CheckerboardLayout.c" +#line 9464 "CheckerboardLayout.c" } else { CheckerboardItem* _tmp17_; gboolean _tmp18_; -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = self->priv->anchor; -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/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" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = !_tmp18_; -#line 9522 "CheckerboardLayout.c" +#line 9474 "CheckerboardLayout.c" } -#line 1584 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1579 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp15_) { -#line 1585 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1580 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_update_anchor (self); -#line 9528 "CheckerboardLayout.c" +#line 9480 "CheckerboardLayout.c" } -#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1583 "/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); -#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows = NULL; -#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows_length1 = 0; -#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1583 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->_item_rows_size_ = self->priv->item_rows_length1; -#line 1593 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1588 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = 0; -#line 1594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1589 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = self->priv->scale; -#line 1594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1589 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp19_ > 0) { -#line 9544 "CheckerboardLayout.c" +#line 9496 "CheckerboardLayout.c" gint remaining_width = 0; gint _tmp20_; gint max_item_width = 0; @@ -9552,86 +9504,86 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp25_; gint _tmp33_; gint _tmp34_; -#line 1596 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1591 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = visible_width; -#line 1596 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1591 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" remaining_width = _tmp20_ - (CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING * 2); -#line 1597 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->scale; -#line 1597 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = checkerboard_item_get_max_width (_tmp21_); -#line 1597 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1592 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_item_width = _tmp22_; -#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1593 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = remaining_width; -#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1593 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = max_item_width; -#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1593 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp23_ / _tmp24_; -#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = max_cols; -#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1594 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp25_ <= 0) { -#line 1600 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1595 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = 1; -#line 9577 "CheckerboardLayout.c" +#line 9529 "CheckerboardLayout.c" } -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9581 "CheckerboardLayout.c" +#line 9533 "CheckerboardLayout.c" gboolean _tmp26_ = FALSE; gint _tmp27_; gint _tmp32_; -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = max_cols; -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp27_ > 1) { -#line 9589 "CheckerboardLayout.c" +#line 9541 "CheckerboardLayout.c" gint _tmp28_; gint _tmp29_; gint _tmp30_; gint _tmp31_; -#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = max_cols; -#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = max_item_width; -#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = max_cols; -#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = remaining_width; -#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1599 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = ((_tmp28_ * _tmp29_) + ((_tmp30_ - 1) * CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING)) > _tmp31_; -#line 9604 "CheckerboardLayout.c" +#line 9556 "CheckerboardLayout.c" } else { -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = FALSE; -#line 9608 "CheckerboardLayout.c" +#line 9560 "CheckerboardLayout.c" } -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp26_) { -#line 1603 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1598 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9614 "CheckerboardLayout.c" +#line 9566 "CheckerboardLayout.c" } -#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = max_cols; -#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1604 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp32_ - 1; -#line 9620 "CheckerboardLayout.c" +#line 9572 "CheckerboardLayout.c" } -#line 1613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = total_items; -#line 1613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = max_cols; -#line 1613 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1608 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp33_ < _tmp34_) { -#line 9628 "CheckerboardLayout.c" +#line 9580 "CheckerboardLayout.c" gint _tmp35_; -#line 1614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = total_items; -#line 1614 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1609 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp35_; -#line 9634 "CheckerboardLayout.c" +#line 9586 "CheckerboardLayout.c" } } else { gint x = 0; @@ -9640,27 +9592,27 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint widest_row = 0; gint _tmp61_; gint _tmp62_; -#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1616 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING; -#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1617 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1618 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_width = 0; -#line 1624 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1619 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" widest_row = 0; -#line 9651 "CheckerboardLayout.c" +#line 9603 "CheckerboardLayout.c" { gint ctr = 0; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = 0; -#line 9656 "CheckerboardLayout.c" +#line 9608 "CheckerboardLayout.c" { gboolean _tmp36_ = FALSE; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = TRUE; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9663 "CheckerboardLayout.c" +#line 9615 "CheckerboardLayout.c" gint _tmp38_; gint _tmp39_; CheckerboardItem* item = NULL; @@ -9682,214 +9634,214 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c Dimensions _tmp58_; gint _tmp59_; gint _tmp60_; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp36_) { -#line 9687 "CheckerboardLayout.c" +#line 9639 "CheckerboardLayout.c" gint _tmp37_; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = ctr; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = _tmp37_ + 1; -#line 9693 "CheckerboardLayout.c" +#line 9645 "CheckerboardLayout.c" } -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = FALSE; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = ctr; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = total_items; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp38_ < _tmp39_)) { -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9705 "CheckerboardLayout.c" +#line 9657 "CheckerboardLayout.c" } -#line 1627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = self->priv->view; -#line 1627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = ctr; -#line 1627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_DATA_COLLECTION, DataCollection), _tmp41_); -#line 1627 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1622 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1628 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = item; -#line 1628 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = _tmp43_->requisition; -#line 1628 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1623 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" req = _tmp44_; -#line 1631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = dimensions_has_area (&req); -#line 1631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp45_, "req.has_area()"); -#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = x; -#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = req; -#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = _tmp47_.width; -#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = visible_width; -#line 1634 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1629 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (((_tmp46_ + _tmp48_) + CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING) > _tmp49_) { -#line 9735 "CheckerboardLayout.c" +#line 9687 "CheckerboardLayout.c" gint _tmp50_; gint _tmp51_; -#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = row_width; -#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = widest_row; -#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1630 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp50_ > _tmp51_) { -#line 9744 "CheckerboardLayout.c" +#line 9696 "CheckerboardLayout.c" gint _tmp52_; gint _tmp53_; -#line 1636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp52_ = row_width; -#line 1636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1631 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" widest_row = _tmp52_; -#line 1637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp53_ = col; -#line 1637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1632 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp53_; -#line 9755 "CheckerboardLayout.c" +#line 9707 "CheckerboardLayout.c" } -#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1635 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1636 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING; -#line 1642 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1637 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_width = 0; -#line 9763 "CheckerboardLayout.c" +#line 9715 "CheckerboardLayout.c" } -#line 1645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp54_ = x; -#line 1645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp55_ = req; -#line 1645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp56_ = _tmp55_.width; -#line 1645 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1640 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp54_ + (_tmp56_ + CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING); -#line 1646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp57_ = row_width; -#line 1646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp58_ = req; -#line 1646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp59_ = _tmp58_.width; -#line 1646 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1641 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_width = _tmp57_ + _tmp59_; -#line 1648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1643 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp60_ = col; -#line 1648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1643 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp60_ + 1; -#line 1626 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1621 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 9787 "CheckerboardLayout.c" +#line 9739 "CheckerboardLayout.c" } } } -#line 1652 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp61_ = row_width; -#line 1652 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp62_ = widest_row; -#line 1652 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1647 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp61_ > _tmp62_) { -#line 9797 "CheckerboardLayout.c" +#line 9749 "CheckerboardLayout.c" gint _tmp63_; -#line 1653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp63_ = col; -#line 1653 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1648 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp63_; -#line 9803 "CheckerboardLayout.c" +#line 9755 "CheckerboardLayout.c" } } -#line 1661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp64_ = max_cols; -#line 1661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1656 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp64_ > 0, "max_cols > 0"); -#line 1662 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1657 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp65_ = total_items; -#line 1662 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1657 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp66_ = max_cols; -#line 1662 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1657 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_rows = (_tmp65_ / _tmp66_) + 1; -#line 1666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1661 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1662 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tallest = 0; -#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1663 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" widest = 0; -#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1664 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_alignment_point = 0; -#line 1670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1665 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_width = 0; -#line 1671 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1666 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp67_ = max_cols; -#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp68_ = g_new0 (gint, _tmp67_); -#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths = _tmp68_; -#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths_length1 = _tmp67_; -#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1667 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _column_widths_size_ = column_widths_length1; -#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp69_ = max_rows; -#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp70_ = g_new0 (gint, _tmp69_); -#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights = _tmp70_; -#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights_length1 = _tmp69_; -#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1668 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _row_heights_size_ = row_heights_length1; -#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp71_ = max_rows; -#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp72_ = g_new0 (gint, _tmp71_); -#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points = _tmp72_; -#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points_length1 = _tmp71_; -#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1669 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _alignment_points_size_ = alignment_points_length1; -#line 1675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1670 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gutter = 0; -#line 9860 "CheckerboardLayout.c" +#line 9812 "CheckerboardLayout.c" { gboolean _tmp73_ = FALSE; -#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp73_ = TRUE; -#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9867 "CheckerboardLayout.c" +#line 9819 "CheckerboardLayout.c" gint _tmp129_; gint _tmp138_; gint _tmp139_; gint _tmp140_; gint _tmp141_; gint _tmp142_; -#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp73_) { -#line 9876 "CheckerboardLayout.c" +#line 9828 "CheckerboardLayout.c" } -#line 1677 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1672 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp73_ = FALSE; -#line 9880 "CheckerboardLayout.c" +#line 9832 "CheckerboardLayout.c" { gint ctr = 0; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = 0; -#line 9885 "CheckerboardLayout.c" +#line 9837 "CheckerboardLayout.c" { gboolean _tmp74_ = FALSE; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp74_ = TRUE; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 9892 "CheckerboardLayout.c" +#line 9844 "CheckerboardLayout.c" gint _tmp76_; gint _tmp77_; CheckerboardItem* item = NULL; @@ -9922,123 +9874,123 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp118_; gint _tmp119_; gint _tmp120_; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp74_) { -#line 9927 "CheckerboardLayout.c" +#line 9879 "CheckerboardLayout.c" gint _tmp75_; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp75_ = ctr; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = _tmp75_ + 1; -#line 9933 "CheckerboardLayout.c" +#line 9885 "CheckerboardLayout.c" } -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp74_ = FALSE; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp76_ = ctr; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp77_ = total_items; -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp76_ < _tmp77_)) { -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 9945 "CheckerboardLayout.c" +#line 9897 "CheckerboardLayout.c" } -#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp78_ = self->priv->view; -#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp79_ = ctr; -#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp80_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, TYPE_DATA_COLLECTION, DataCollection), _tmp79_); -#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1674 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp81_ = item; -#line 1680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp82_ = _tmp81_->requisition; -#line 1680 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1675 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" req = _tmp82_; -#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp83_ = item; -#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp84_ = checkerboard_item_get_alignment_point (_tmp83_); -#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1676 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_point = _tmp84_; -#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp85_ = alignment_point; -#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp86_ = req; -#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp87_ = _tmp86_.height; -#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1679 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp85_ < _tmp87_, "alignment_point < req.height"); -#line 1686 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp88_ = req; -#line 1686 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp89_ = _tmp88_.height; -#line 1686 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp90_ = tallest; -#line 1686 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1681 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp89_ > _tmp90_) { -#line 9983 "CheckerboardLayout.c" +#line 9935 "CheckerboardLayout.c" Dimensions _tmp91_; gint _tmp92_; -#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp91_ = req; -#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp92_ = _tmp91_.height; -#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1682 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tallest = _tmp92_; -#line 9992 "CheckerboardLayout.c" +#line 9944 "CheckerboardLayout.c" } -#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp93_ = req; -#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp94_ = _tmp93_.width; -#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp95_ = widest; -#line 1689 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1684 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp94_ > _tmp95_) { -#line 10002 "CheckerboardLayout.c" +#line 9954 "CheckerboardLayout.c" Dimensions _tmp96_; gint _tmp97_; -#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp96_ = req; -#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp97_ = _tmp96_.width; -#line 1690 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1685 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" widest = _tmp97_; -#line 10011 "CheckerboardLayout.c" +#line 9963 "CheckerboardLayout.c" } -#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp98_ = alignment_point; -#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp99_ = row_alignment_point; -#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1687 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp98_ > _tmp99_) { -#line 10019 "CheckerboardLayout.c" +#line 9971 "CheckerboardLayout.c" gint _tmp100_; -#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp100_ = alignment_point; -#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1688 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_alignment_point = _tmp100_; -#line 10025 "CheckerboardLayout.c" +#line 9977 "CheckerboardLayout.c" } -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp101_ = column_widths; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp101__length1 = column_widths_length1; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp102_ = col; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp103_ = _tmp101_[_tmp102_]; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp104_ = req; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp105_ = _tmp104_.width; -#line 1697 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1692 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp103_ < _tmp105_) { -#line 10041 "CheckerboardLayout.c" +#line 9993 "CheckerboardLayout.c" gint _tmp106_; gint* _tmp107_; gint _tmp107__length1; @@ -10053,53 +10005,53 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp115_; Dimensions _tmp116_; gint _tmp117_; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp106_ = total_width; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp107_ = column_widths; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp107__length1 = column_widths_length1; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp108_ = col; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp109_ = _tmp107_[_tmp108_]; -#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1693 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_width = _tmp106_ - _tmp109_; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp110_ = column_widths; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp110__length1 = column_widths_length1; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp111_ = col; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp112_ = req; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp113_ = _tmp112_.width; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp110_[_tmp111_] = _tmp113_; -#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1694 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp114_ = _tmp110_[_tmp111_]; -#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp115_ = total_width; -#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp116_ = req; -#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp117_ = _tmp116_.width; -#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1695 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_width = _tmp115_ + _tmp117_; -#line 10090 "CheckerboardLayout.c" +#line 10042 "CheckerboardLayout.c" } -#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp118_ = col; -#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp118_ + 1; -#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp119_ = col; -#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp120_ = max_cols; -#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1698 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp119_ >= _tmp120_) { -#line 10102 "CheckerboardLayout.c" +#line 10054 "CheckerboardLayout.c" gint* _tmp121_; gint _tmp121__length1; gint _tmp122_; @@ -10110,51 +10062,51 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp126_; gint _tmp127_; gint _tmp128_; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp121_ = alignment_points; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp121__length1 = alignment_points_length1; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp122_ = row; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp123_ = row_alignment_point; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp121_[_tmp122_] = _tmp123_; -#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1699 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp124_ = _tmp121_[_tmp122_]; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp125_ = row_heights; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp125__length1 = row_heights_length1; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp126_ = row; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp126_ + 1; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp127_ = tallest; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp125_[_tmp126_] = _tmp127_; -#line 1705 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1700 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp128_ = _tmp125_[_tmp126_]; -#line 1707 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1702 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1708 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1703 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_alignment_point = 0; -#line 1709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1704 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tallest = 0; -#line 10145 "CheckerboardLayout.c" +#line 10097 "CheckerboardLayout.c" } -#line 1678 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1673 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 10149 "CheckerboardLayout.c" +#line 10101 "CheckerboardLayout.c" } } } -#line 1714 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp129_ = col; -#line 1714 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1709 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp129_ != 0) { -#line 10157 "CheckerboardLayout.c" +#line 10109 "CheckerboardLayout.c" gint* _tmp130_; gint _tmp130__length1; gint _tmp131_; @@ -10165,53 +10117,53 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp135_; gint _tmp136_; gint _tmp137_; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp130_ = alignment_points; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp130__length1 = alignment_points_length1; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp131_ = row; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp132_ = row_alignment_point; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp130_[_tmp131_] = _tmp132_; -#line 1715 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1710 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp133_ = _tmp130_[_tmp131_]; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp134_ = row_heights; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp134__length1 = row_heights_length1; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp135_ = row; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp136_ = tallest; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp134_[_tmp135_] = _tmp136_; -#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1711 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp137_ = _tmp134_[_tmp135_]; -#line 10192 "CheckerboardLayout.c" +#line 10144 "CheckerboardLayout.c" } -#line 1721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp138_ = visible_width; -#line 1721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp139_ = total_width; -#line 1721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp140_ = max_cols; -#line 1721 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1716 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gutter = (_tmp138_ - _tmp139_) / (_tmp140_ + 1); -#line 1724 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1719 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp141_ = max_cols; -#line 1724 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1719 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp141_ == 1) { -#line 1725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1720 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 10208 "CheckerboardLayout.c" +#line 10160 "CheckerboardLayout.c" } -#line 1730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp142_ = gutter; -#line 1730 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1725 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp142_ < CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING) { -#line 10214 "CheckerboardLayout.c" +#line 10166 "CheckerboardLayout.c" gint _tmp143_; gint _tmp144_; gint _tmp145_; @@ -10221,89 +10173,89 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint* _tmp149_; gint _tmp150_; gint* _tmp151_; -#line 1731 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp143_ = max_cols; -#line 1731 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1726 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_cols = _tmp143_ - 1; -#line 1732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp144_ = total_items; -#line 1732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp145_ = max_cols; -#line 1732 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1727 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" max_rows = (_tmp144_ / _tmp145_) + 1; -#line 1739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1734 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1735 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1736 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" tallest = 0; -#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1737 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" widest = 0; -#line 1743 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1738 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_width = 0; -#line 1744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1739 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_alignment_point = 0; -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp146_ = max_cols; -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp147_ = g_new0 (gint, _tmp146_); -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths = (g_free (column_widths), NULL); -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths = _tmp147_; -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths_length1 = _tmp146_; -#line 1745 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1740 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _column_widths_size_ = column_widths_length1; -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp148_ = max_rows; -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp149_ = g_new0 (gint, _tmp148_); -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights = (g_free (row_heights), NULL); -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights = _tmp149_; -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights_length1 = _tmp148_; -#line 1746 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1741 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _row_heights_size_ = row_heights_length1; -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp150_ = max_rows; -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp151_ = g_new0 (gint, _tmp150_); -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points = (g_free (alignment_points), NULL); -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points = _tmp151_; -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points_length1 = _tmp150_; -#line 1747 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1742 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _alignment_points_size_ = alignment_points_length1; -#line 10282 "CheckerboardLayout.c" +#line 10234 "CheckerboardLayout.c" } else { -#line 1749 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1744 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 10286 "CheckerboardLayout.c" +#line 10238 "CheckerboardLayout.c" } } } -#line 1761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1756 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1762 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1757 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 10294 "CheckerboardLayout.c" +#line 10246 "CheckerboardLayout.c" { gint ctr = 0; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = 0; -#line 10299 "CheckerboardLayout.c" +#line 10251 "CheckerboardLayout.c" { gboolean _tmp152_ = FALSE; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp152_ = TRUE; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 10306 "CheckerboardLayout.c" +#line 10258 "CheckerboardLayout.c" gint _tmp154_; gint _tmp155_; CheckerboardItem* item = NULL; @@ -10333,163 +10285,163 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp179_; gint _tmp180_; gint _tmp181_; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp152_) { -#line 10338 "CheckerboardLayout.c" +#line 10290 "CheckerboardLayout.c" gint _tmp153_; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp153_ = ctr; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = _tmp153_ + 1; -#line 10344 "CheckerboardLayout.c" +#line 10296 "CheckerboardLayout.c" } -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp152_ = FALSE; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp154_ = ctr; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp155_ = total_items; -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp154_ < _tmp155_)) { -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 10356 "CheckerboardLayout.c" +#line 10308 "CheckerboardLayout.c" } -#line 1765 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp156_ = self->priv->view; -#line 1765 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp157_ = ctr; -#line 1765 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp158_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp156_, TYPE_DATA_COLLECTION, DataCollection), _tmp157_); -#line 1765 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1760 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp159_ = item; -#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp160_ = _tmp159_->requisition; -#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1761 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" req = _tmp160_; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp161_ = req; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp162_ = _tmp161_.height; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp163_ = alignment_points; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp163__length1 = alignment_points_length1; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp164_ = row; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp165_ = _tmp163_[_tmp164_]; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp166_ = item; -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp167_ = checkerboard_item_get_alignment_point (_tmp166_); -#line 1771 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1766 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" true_height = _tmp162_ + (_tmp165_ - _tmp167_); -#line 1772 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp168_ = true_height; -#line 1772 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp169_ = req; -#line 1772 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp170_ = _tmp169_.height; -#line 1772 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1767 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp168_ >= _tmp170_, "true_height >= req.height"); -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp171_ = true_height; -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp172_ = row_heights; -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp172__length1 = row_heights_length1; -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp173_ = row; -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp174_ = _tmp172_[_tmp173_]; -#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1770 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp171_ > _tmp174_) { -#line 10410 "CheckerboardLayout.c" +#line 10362 "CheckerboardLayout.c" gint* _tmp175_; gint _tmp175__length1; gint _tmp176_; gint _tmp177_; gint _tmp178_; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp175_ = row_heights; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp175__length1 = row_heights_length1; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp176_ = row; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp177_ = true_height; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp175_[_tmp176_] = _tmp177_; -#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1775 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp178_ = _tmp175_[_tmp176_]; -#line 10428 "CheckerboardLayout.c" +#line 10380 "CheckerboardLayout.c" } -#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp179_ = col; -#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp179_ + 1; -#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp180_ = col; -#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp181_ = max_cols; -#line 1784 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1779 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp180_ >= _tmp181_) { -#line 10440 "CheckerboardLayout.c" +#line 10392 "CheckerboardLayout.c" gint _tmp182_; -#line 1785 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1780 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1781 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp182_ = row; -#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1781 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp182_ + 1; -#line 10448 "CheckerboardLayout.c" +#line 10400 "CheckerboardLayout.c" } -#line 1764 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1759 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 10452 "CheckerboardLayout.c" +#line 10404 "CheckerboardLayout.c" } } } -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp183_ = max_rows; -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp184_ = g_new0 (CheckerboardLayoutLayoutRow*, _tmp183_ + 1); -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/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); -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows = _tmp184_; -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows_length1 = _tmp183_; -#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1786 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->_item_rows_size_ = self->priv->item_rows_length1; -#line 1794 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1789 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp185_ = gutter; -#line 1794 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1789 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp185_; -#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1790 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = CHECKERBOARD_LAYOUT_TOP_PADDING; -#line 1796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1791 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1792 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = 0; -#line 1798 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1793 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" current_row = NULL; -#line 10480 "CheckerboardLayout.c" +#line 10432 "CheckerboardLayout.c" { gint ctr = 0; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = 0; -#line 10485 "CheckerboardLayout.c" +#line 10437 "CheckerboardLayout.c" { gboolean _tmp186_ = FALSE; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp186_ = TRUE; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 10492 "CheckerboardLayout.c" +#line 10444 "CheckerboardLayout.c" gint _tmp188_; gint _tmp189_; CheckerboardItem* item = NULL; @@ -10547,123 +10499,123 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp240_; gint _tmp241_; gint _tmp242_; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp186_) { -#line 10552 "CheckerboardLayout.c" +#line 10504 "CheckerboardLayout.c" gint _tmp187_; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp187_ = ctr; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ctr = _tmp187_ + 1; -#line 10558 "CheckerboardLayout.c" +#line 10510 "CheckerboardLayout.c" } -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp186_ = FALSE; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp188_ = ctr; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp189_ = total_items; -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp188_ < _tmp189_)) { -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 10570 "CheckerboardLayout.c" +#line 10522 "CheckerboardLayout.c" } -#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp190_ = self->priv->view; -#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp191_ = ctr; -#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp192_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp190_, TYPE_DATA_COLLECTION, DataCollection), _tmp191_); -#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1796 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = G_TYPE_CHECK_INSTANCE_CAST (_tmp192_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp193_ = item; -#line 1802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp194_ = _tmp193_->requisition; -#line 1802 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1797 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" req = _tmp194_; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp195_ = column_widths; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp195__length1 = column_widths_length1; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp196_ = col; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp197_ = _tmp195_[_tmp196_]; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp198_ = req; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp199_ = _tmp198_.width; -#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" xpadding = (_tmp197_ - _tmp199_) / 2; -#line 1806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp200_ = xpadding; -#line 1806 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1801 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp200_ >= 0, "xpadding >= 0"); -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp201_ = alignment_points; -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp201__length1 = alignment_points_length1; -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp202_ = row; -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp203_ = _tmp201_[_tmp202_]; -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp204_ = item; -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp205_ = checkerboard_item_get_alignment_point (_tmp204_); -#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1804 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ypadding = _tmp203_ - _tmp205_; -#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp206_ = ypadding; -#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1805 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp206_ >= 0, "ypadding >= 0"); -#line 1813 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp207_ = item; -#line 1813 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp208_ = x; -#line 1813 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp209_ = xpadding; -#line 1813 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1808 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp207_->allocation.x = _tmp208_ + _tmp209_; -#line 1814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp210_ = item; -#line 1814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp211_ = y; -#line 1814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp212_ = ypadding; -#line 1814 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1809 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp210_->allocation.y = _tmp211_ + _tmp212_; -#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp213_ = item; -#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp214_ = req; -#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp215_ = _tmp214_.width; -#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1810 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp213_->allocation.width = _tmp215_; -#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp216_ = item; -#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp217_ = req; -#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp218_ = _tmp217_.height; -#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1811 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp216_->allocation.height = _tmp218_; -#line 1817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp219_ = item; -#line 1817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp220_ = col; -#line 1817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp221_ = row; -#line 1817 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1812 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_set_grid_coordinates (_tmp219_, _tmp220_, _tmp221_); -#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp222_ = current_row; -#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1815 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp222_ == NULL) { -#line 10666 "CheckerboardLayout.c" +#line 10618 "CheckerboardLayout.c" gint _tmp223_; gint* _tmp224_; gint _tmp224__length1; @@ -10671,69 +10623,69 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp226_; gint _tmp227_; CheckerboardLayoutLayoutRow* _tmp228_; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp223_ = y; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp224_ = row_heights; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp224__length1 = row_heights_length1; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp225_ = row; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp226_ = _tmp224_[_tmp225_]; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp227_ = max_cols; -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp228_ = checkerboard_layout_layout_row_new (_tmp223_, _tmp226_, _tmp227_); -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (current_row); -#line 1821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" current_row = _tmp228_; -#line 10692 "CheckerboardLayout.c" +#line 10644 "CheckerboardLayout.c" } -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp229_ = current_row; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp230_ = _tmp229_->items; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp230__length1 = _tmp229_->items_length1; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp231_ = col; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp232_ = item; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp233_ = _g_object_ref0 (_tmp232_); -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp230_[_tmp231_]); -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp230_[_tmp231_] = _tmp233_; -#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1818 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp234_ = _tmp230_[_tmp231_]; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp235_ = x; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp236_ = column_widths; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp236__length1 = column_widths_length1; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp237_ = col; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp238_ = _tmp236_[_tmp237_]; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp239_ = gutter; -#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1820 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp235_ + (_tmp238_ + _tmp239_); -#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp240_ = col; -#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = _tmp240_ + 1; -#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp241_ = col; -#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp242_ = max_cols; -#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1823 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp241_ >= _tmp242_) { -#line 10736 "CheckerboardLayout.c" +#line 10688 "CheckerboardLayout.c" CheckerboardLayoutLayoutRow* _tmp243_; CheckerboardLayoutLayoutRow** _tmp244_; gint _tmp244__length1; @@ -10748,169 +10700,169 @@ static void checkerboard_layout_reflow (CheckerboardLayout* self, const gchar* c gint _tmp252_; gint _tmp253_; gint _tmp254_; -#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1824 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp243_ = current_row; -#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1824 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp243_ != NULL, "current_row != null"); -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp244_ = self->priv->item_rows; -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp244__length1 = self->priv->item_rows_length1; -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp245_ = row; -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp246_ = current_row; -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp247_ = _checkerboard_layout_layout_row_ref0 (_tmp246_); -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (_tmp244_[_tmp245_]); -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp244_[_tmp245_] = _tmp247_; -#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1825 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp248_ = _tmp244_[_tmp245_]; -#line 1831 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1826 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (current_row); -#line 1831 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1826 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" current_row = NULL; -#line 1833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp249_ = gutter; -#line 1833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1828 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp249_; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp250_ = y; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp251_ = row_heights; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp251__length1 = row_heights_length1; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp252_ = row; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp253_ = _tmp251_[_tmp252_]; -#line 1834 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1829 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = _tmp250_ + (_tmp253_ + CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING); -#line 1835 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1830 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" col = 0; -#line 1836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1831 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp254_ = row; -#line 1836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1831 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row = _tmp254_ + 1; -#line 10797 "CheckerboardLayout.c" +#line 10749 "CheckerboardLayout.c" } -#line 1800 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1795 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 10801 "CheckerboardLayout.c" +#line 10753 "CheckerboardLayout.c" } } } -#line 1841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp255_ = current_row; -#line 1841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp255_ != NULL) { -#line 10809 "CheckerboardLayout.c" +#line 10761 "CheckerboardLayout.c" CheckerboardLayoutLayoutRow** _tmp256_; gint _tmp256__length1; gint _tmp257_; CheckerboardLayoutLayoutRow* _tmp258_; CheckerboardLayoutLayoutRow* _tmp259_; CheckerboardLayoutLayoutRow* _tmp260_; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp256_ = self->priv->item_rows; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp256__length1 = self->priv->item_rows_length1; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp257_ = row; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp258_ = current_row; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp259_ = _checkerboard_layout_layout_row_ref0 (_tmp258_); -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (_tmp256_[_tmp257_]); -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp256_[_tmp257_] = _tmp259_; -#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1837 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp260_ = _tmp256_[_tmp257_]; -#line 10832 "CheckerboardLayout.c" +#line 10784 "CheckerboardLayout.c" } -#line 1845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1840 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp261_ = max_cols; -#line 1845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1840 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->columns = _tmp261_; -#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp262_ = row; -#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->rows = _tmp262_ + 1; -#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp263_ = self->priv->rows; -#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp264_ = max_rows; -#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1842 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp263_ == _tmp264_, "rows == max_rows"); -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp265_ = y; -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp266_ = row_heights; -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp266__length1 = row_heights_length1; -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp267_ = row; -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp268_ = _tmp266_[_tmp267_]; -#line 1851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" total_height = (_tmp265_ + _tmp268_) + CHECKERBOARD_LAYOUT_BOTTOM_PADDING; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp270_ = visible_width; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp271_ = allocation; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp272_ = _tmp271_.width; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp270_ != _tmp272_) { -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp269_ = TRUE; -#line 10870 "CheckerboardLayout.c" +#line 10822 "CheckerboardLayout.c" } else { gint _tmp273_; GtkAllocation _tmp274_; gint _tmp275_; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp273_ = total_height; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp274_ = allocation; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp275_ = _tmp274_.height; -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp269_ = _tmp273_ != _tmp275_; -#line 10883 "CheckerboardLayout.c" +#line 10835 "CheckerboardLayout.c" } -#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp269_) { -#line 10887 "CheckerboardLayout.c" +#line 10839 "CheckerboardLayout.c" gint _tmp276_; gint _tmp277_; gint _tmp278_; -#line 1857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp276_ = visible_width; -#line 1857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp277_ = total_height; -#line 1857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp276_, _tmp277_); -#line 1858 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1853 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->size_allocate_due_to_reflow = TRUE; -#line 1861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1856 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp278_ = total_height; -#line 1861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1856 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_center_on_anchor (self, (gdouble) _tmp278_); -#line 10903 "CheckerboardLayout.c" +#line 10855 "CheckerboardLayout.c" } -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _checkerboard_layout_layout_row_unref0 (current_row); -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" alignment_points = (g_free (alignment_points), NULL); -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" row_heights = (g_free (row_heights), NULL); -#line 1548 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1543 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" column_widths = (g_free (column_widths), NULL); -#line 10913 "CheckerboardLayout.c" +#line 10865 "CheckerboardLayout.c" } @@ -10919,28 +10871,28 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch gboolean _tmp35_ = FALSE; GdkRectangle _tmp36_; gint _tmp37_; -#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1860 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1860 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (reason != NULL); -#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1860 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (GEE_IS_ITERABLE (items)); -#line 1866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&dirty, 0, sizeof (GdkRectangle)); -#line 10930 "CheckerboardLayout.c" +#line 10882 "CheckerboardLayout.c" { GeeIterator* _data_view_it = NULL; GeeIterable* _tmp0_; GeeIterator* _tmp1_; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = items; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = gee_iterable_iterator (_tmp0_); -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _data_view_it = _tmp1_; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 10943 "CheckerboardLayout.c" +#line 10895 "CheckerboardLayout.c" GeeIterator* _tmp2_; gboolean _tmp3_; DataView* data_view = NULL; @@ -10966,195 +10918,195 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch gboolean _tmp27_ = FALSE; GdkRectangle _tmp28_; gint _tmp29_; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _data_view_it; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp3_) { -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 10977 "CheckerboardLayout.c" +#line 10929 "CheckerboardLayout.c" } -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _data_view_it; -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" data_view = (DataView*) _tmp5_; -#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1863 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = data_view; -#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1863 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem)); -#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1863 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = _tmp7_; -#line 1870 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = item; -#line 1870 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = data_view_is_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView)); -#line 1870 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp9_) { -#line 1871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (data_view); -#line 1871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 11003 "CheckerboardLayout.c" +#line 10955 "CheckerboardLayout.c" } -#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = self->priv->view; -#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = item; -#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject)); -#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _vala_assert (_tmp12_, "view.contains(item)"); -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = item; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = _tmp14_->allocation; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = _tmp15_.width; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp16_ <= 0) { -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = TRUE; -#line 11023 "CheckerboardLayout.c" +#line 10975 "CheckerboardLayout.c" } else { CheckerboardItem* _tmp17_; GdkRectangle _tmp18_; gint _tmp19_; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = item; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = _tmp17_->allocation; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = _tmp18_.height; -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp19_ <= 0; -#line 11036 "CheckerboardLayout.c" +#line 10988 "CheckerboardLayout.c" } -#line 1877 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp13_) { -#line 11040 "CheckerboardLayout.c" +#line 10992 "CheckerboardLayout.c" const gchar* _tmp20_; gchar* _tmp21_; gchar* _tmp22_; -#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = reason; -#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = g_strdup_printf ("items_dirty: %s", _tmp20_); -#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _tmp21_; -#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_need_reflow (self, _tmp22_); -#line 1878 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (_tmp22_); -#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1875 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1875 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (data_view); -#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1875 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_data_view_it); -#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1875 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 11062 "CheckerboardLayout.c" +#line 11014 "CheckerboardLayout.c" } -#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1879 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&intersection, 0, sizeof (GdkRectangle)); -#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = item; -#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _tmp23_->allocation; -#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = gdk_rectangle_intersect (&self->priv->visible_page, &_tmp24_, &_tmp25_); -#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" intersection = _tmp25_; -#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1880 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!_tmp26_) { -#line 1886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (data_view); -#line 1886 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1881 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" continue; -#line 11082 "CheckerboardLayout.c" +#line 11034 "CheckerboardLayout.c" } -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = dirty; -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = _tmp28_.width; -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp29_ == 0) { -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = TRUE; -#line 11092 "CheckerboardLayout.c" +#line 11044 "CheckerboardLayout.c" } else { GdkRectangle _tmp30_; gint _tmp31_; -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = dirty; -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = _tmp30_.height; -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _tmp31_ == 0; -#line 11102 "CheckerboardLayout.c" +#line 11054 "CheckerboardLayout.c" } -#line 1889 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1884 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp27_) { -#line 11106 "CheckerboardLayout.c" +#line 11058 "CheckerboardLayout.c" GdkRectangle _tmp32_; -#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = intersection; -#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1885 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dirty = _tmp32_; -#line 11112 "CheckerboardLayout.c" +#line 11064 "CheckerboardLayout.c" } else { GdkRectangle _tmp33_; GdkRectangle _tmp34_ = {0}; -#line 1892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = intersection; -#line 1892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_rectangle_union (&dirty, &_tmp33_, &_tmp34_); -#line 1892 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1887 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dirty = _tmp34_; -#line 11122 "CheckerboardLayout.c" +#line 11074 "CheckerboardLayout.c" } -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (data_view); -#line 11128 "CheckerboardLayout.c" +#line 11080 "CheckerboardLayout.c" } -#line 1867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_data_view_it); -#line 11132 "CheckerboardLayout.c" +#line 11084 "CheckerboardLayout.c" } -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = dirty; -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = _tmp36_.width; -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp37_ > 0) { -#line 11140 "CheckerboardLayout.c" +#line 11092 "CheckerboardLayout.c" GdkRectangle _tmp38_; gint _tmp39_; -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = dirty; -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = _tmp38_.height; -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = _tmp39_ > 0; -#line 11149 "CheckerboardLayout.c" +#line 11101 "CheckerboardLayout.c" } else { -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = FALSE; -#line 11153 "CheckerboardLayout.c" +#line 11105 "CheckerboardLayout.c" } -#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1890 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp35_) { -#line 11157 "CheckerboardLayout.c" +#line 11109 "CheckerboardLayout.c" GdkRectangle _tmp40_; gint _tmp41_; GdkRectangle _tmp42_; @@ -11163,38 +11115,38 @@ static void checkerboard_layout_items_dirty (CheckerboardLayout* self, const gch gint _tmp45_; GdkRectangle _tmp46_; gint _tmp47_; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = dirty; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = _tmp40_.x; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = dirty; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = _tmp42_.y; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = dirty; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = _tmp44_.width; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = dirty; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = _tmp46_.height; -#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1895 "/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 11184 "CheckerboardLayout.c" +#line 11136 "CheckerboardLayout.c" } } static void checkerboard_layout_real_map (GtkWidget* base) { CheckerboardLayout * self; -#line 1904 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1899 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_LAYOUT, CheckerboardLayout); -#line 1905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1900 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 1902 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_set_colors (self, TRUE); -#line 11197 "CheckerboardLayout.c" +#line 11149 "CheckerboardLayout.c" } @@ -11211,64 +11163,64 @@ static void checkerboard_layout_set_colors (CheckerboardLayout* self, gboolean i GdkRGBA _tmp9_ = {0}; GtkStyleContext* _tmp10_; GdkRGBA _tmp11_ = {0}; -#line 1910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = config_facade_get_instance (); -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp0_; -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = in_focus; -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" config_facade_get_selected_color (_tmp1_, _tmp2_, &_tmp3_); -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->selected_color = _tmp3_; -#line 1912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp1_); -#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = config_facade_get_instance (); -#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp4_; -#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" config_facade_get_unselected_color (_tmp5_, &_tmp6_); -#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->unselected_color = _tmp6_; -#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp5_); -#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = config_facade_get_instance (); -#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = _tmp7_; -#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" config_facade_get_border_color (_tmp8_, &_tmp9_); -#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->border_color = _tmp9_; -#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp8_); -#line 1915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_style_context_get_background_color (_tmp10_, GTK_STATE_FLAG_NORMAL, &_tmp11_); -#line 1915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->bg_color = _tmp11_; -#line 11254 "CheckerboardLayout.c" +#line 11206 "CheckerboardLayout.c" } static void checkerboard_layout_real_size_allocate (GtkWidget* base, GtkAllocation* allocation) { CheckerboardLayout * self; GtkAllocation _tmp0_; -#line 1918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1913 "/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" +#line 1913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (allocation != NULL); -#line 1919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = *allocation; -#line 1919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 1916 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_viewport_resized (self); -#line 11271 "CheckerboardLayout.c" +#line 11223 "CheckerboardLayout.c" } @@ -11287,41 +11239,41 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) { gboolean _tmp60_ = FALSE; gboolean _result_ = FALSE; cairo_t* _tmp63_; -#line 1924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1919 "/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" +#line 1919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (ctx != NULL, FALSE); -#line 1933 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1928 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp0_); -#line 1933 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1928 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp0_; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = ctx; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = allocation; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _tmp3_.width; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = allocation; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = _tmp5_.height; -#line 1934 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1929 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_render_background (_tmp1_, _tmp2_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp4_, (gdouble) _tmp6_); -#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1932 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = self->priv->message; -#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1932 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp7_ == NULL) { -#line 11316 "CheckerboardLayout.c" +#line 11268 "CheckerboardLayout.c" gboolean _tmp8_; -#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->exposure_dirty; -#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp8_) { -#line 1943 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1938 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_expose_items (self, "draw"); -#line 11324 "CheckerboardLayout.c" +#line 11276 "CheckerboardLayout.c" } { GeeList* _item_list = NULL; @@ -11332,25 +11284,25 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) { gint _tmp12_; gint _tmp13_; gint _item_index = 0; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->visible_page; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = checkerboard_layout_intersection (self, &_tmp9_); -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_list = _tmp10_; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = _item_list; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp12_; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_size = _tmp13_; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = -1; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" while (TRUE) { -#line 11353 "CheckerboardLayout.c" +#line 11305 "CheckerboardLayout.c" gint _tmp14_; gint _tmp15_; gint _tmp16_; @@ -11366,68 +11318,68 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) { GdkRGBA _tmp27_; GdkRGBA _tmp28_; GdkRGBA _tmp29_; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = _item_index; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _item_index = _tmp14_ + 1; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = _item_index; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = _item_size; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!(_tmp15_ < _tmp16_)) { -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" break; -#line 11381 "CheckerboardLayout.c" +#line 11333 "CheckerboardLayout.c" } -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = _item_list; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = _item_index; -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = gee_list_get (_tmp17_, _tmp18_); -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = (CheckerboardItem*) _tmp19_; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = item; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_VIEW, DataView)); -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp22_) { -#line 11397 "CheckerboardLayout.c" +#line 11349 "CheckerboardLayout.c" GdkRGBA _tmp23_; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = self->priv->selected_color; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _tmp23_; -#line 11403 "CheckerboardLayout.c" +#line 11355 "CheckerboardLayout.c" } else { GdkRGBA _tmp24_; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = self->priv->unselected_color; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _tmp24_; -#line 11410 "CheckerboardLayout.c" +#line 11362 "CheckerboardLayout.c" } -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = item; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = ctx; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = self->priv->bg_color; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = self->priv->unselected_color; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = self->priv->border_color; -#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1942 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_item_paint (_tmp25_, _tmp26_, &_tmp27_, &_tmp20_, &_tmp28_, &_tmp29_); -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 11426 "CheckerboardLayout.c" +#line 11378 "CheckerboardLayout.c" } -#line 1946 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1941 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_item_list); -#line 11430 "CheckerboardLayout.c" +#line 11382 "CheckerboardLayout.c" } } else { PangoLayout* pango_layout = NULL; @@ -11463,138 +11415,138 @@ static gboolean checkerboard_layout_real_draw (GtkWidget* base, cairo_t* ctx) { gint _tmp57_; cairo_t* _tmp58_; PangoLayout* _tmp59_; -#line 1952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = self->priv->message; -#line 1952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = gtk_widget_create_pango_layout (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp30_); -#line 1952 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1947 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_layout = _tmp31_; -#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1949 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = pango_layout; -#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1949 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_layout_get_pixel_size (_tmp32_, &_tmp33_, &_tmp34_); -#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1949 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text_width = _tmp33_; -#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1949 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" text_height = _tmp34_; -#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp35_); -#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1951 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" allocation = _tmp35_; -#line 1958 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1953 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = allocation; -#line 1958 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1953 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = _tmp36_.width; -#line 1958 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1953 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = text_width; -#line 1958 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1953 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp37_ - _tmp38_; -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = x; -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp40_ > 0) { -#line 11496 "CheckerboardLayout.c" +#line 11448 "CheckerboardLayout.c" gint _tmp41_; -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = x; -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = _tmp41_ / 2; -#line 11502 "CheckerboardLayout.c" +#line 11454 "CheckerboardLayout.c" } else { -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = 0; -#line 11506 "CheckerboardLayout.c" +#line 11458 "CheckerboardLayout.c" } -#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1954 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" x = _tmp39_; -#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = allocation; -#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = _tmp42_.height; -#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = text_height; -#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1956 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = _tmp43_ - _tmp44_; -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = y; -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp46_ > 0) { -#line 11522 "CheckerboardLayout.c" +#line 11474 "CheckerboardLayout.c" gint _tmp47_; -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = y; -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = _tmp47_ / 2; -#line 11528 "CheckerboardLayout.c" +#line 11480 "CheckerboardLayout.c" } else { -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = 0; -#line 11532 "CheckerboardLayout.c" +#line 11484 "CheckerboardLayout.c" } -#line 1962 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1957 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" y = _tmp45_; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = ctx; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = self->priv->unselected_color; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = _tmp49_.red; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = self->priv->unselected_color; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp52_ = _tmp51_.green; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp53_ = self->priv->unselected_color; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp54_ = _tmp53_.blue; -#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1959 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgb (_tmp48_, _tmp50_, _tmp52_, _tmp54_); -#line 1965 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp55_ = ctx; -#line 1965 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp56_ = x; -#line 1965 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp57_ = y; -#line 1965 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1960 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_move_to (_tmp55_, (gdouble) _tmp56_, (gdouble) _tmp57_); -#line 1966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp58_ = ctx; -#line 1966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp59_ = pango_layout; -#line 1966 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1961 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" pango_cairo_show_layout (_tmp58_, _tmp59_); -#line 1937 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1932 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (pango_layout); -#line 11568 "CheckerboardLayout.c" +#line 11520 "CheckerboardLayout.c" } -#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->draw != NULL) { -#line 11572 "CheckerboardLayout.c" +#line 11524 "CheckerboardLayout.c" cairo_t* _tmp61_; gboolean _tmp62_; -#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp61_ = ctx; -#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1964 "/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" +#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp60_ = _tmp62_; -#line 11581 "CheckerboardLayout.c" +#line 11533 "CheckerboardLayout.c" } else { -#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp60_ = TRUE; -#line 11585 "CheckerboardLayout.c" +#line 11537 "CheckerboardLayout.c" } -#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1964 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _result_ = _tmp60_; -#line 1972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp63_ = ctx; -#line 1972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1967 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_draw_selection_band (self, _tmp63_); -#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _result_; -#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1969 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 11597 "CheckerboardLayout.c" +#line 11549 "CheckerboardLayout.c" } @@ -11633,97 +11585,97 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c GdkRectangle _tmp51_; gint _tmp52_; cairo_t* _tmp53_; -#line 1977 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 1977 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1972 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (ctx != NULL); -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = self->priv->selection_band; -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_.width; -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp2_ <= 1) { -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = TRUE; -#line 11648 "CheckerboardLayout.c" +#line 11600 "CheckerboardLayout.c" } else { GdkRectangle _tmp3_; gint _tmp4_; -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = self->priv->selection_band; -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = _tmp3_.height; -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = _tmp4_ <= 1; -#line 11658 "CheckerboardLayout.c" +#line 11610 "CheckerboardLayout.c" } -#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1974 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp0_) { -#line 1980 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1975 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 11664 "CheckerboardLayout.c" +#line 11616 "CheckerboardLayout.c" } -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = self->priv->hadjustment; -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp6_ == NULL) { -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = TRUE; -#line 11672 "CheckerboardLayout.c" +#line 11624 "CheckerboardLayout.c" } else { GtkAdjustment* _tmp7_; -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = self->priv->vadjustment; -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = _tmp7_ == NULL; -#line 11679 "CheckerboardLayout.c" +#line 11631 "CheckerboardLayout.c" } -#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1978 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp5_) { -#line 1984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1979 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return; -#line 11685 "CheckerboardLayout.c" +#line 11637 "CheckerboardLayout.c" } -#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1982 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->hadjustment; -#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1982 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = self->priv->vadjustment; -#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1982 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" get_adjustment_page (_tmp8_, _tmp9_, &_tmp10_); -#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1982 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" visible_page = _tmp10_; -#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1983 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&visible_band, 0, sizeof (GdkRectangle)); -#line 1989 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp11_ = self->priv->selection_band; -#line 1989 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gdk_rectangle_intersect (&visible_page, &_tmp11_, &_tmp12_); -#line 1989 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1984 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" visible_band = _tmp12_; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = visible_band; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp15_ = _tmp14_.width; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp15_ > 1) { -#line 11709 "CheckerboardLayout.c" +#line 11661 "CheckerboardLayout.c" GdkRectangle _tmp16_; gint _tmp17_; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = visible_band; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp17_ = _tmp16_.height; -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = _tmp17_ > 1; -#line 11718 "CheckerboardLayout.c" +#line 11670 "CheckerboardLayout.c" } else { -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp13_ = FALSE; -#line 11722 "CheckerboardLayout.c" +#line 11674 "CheckerboardLayout.c" } -#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1987 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp13_) { -#line 11726 "CheckerboardLayout.c" +#line 11678 "CheckerboardLayout.c" cairo_t* _tmp18_; GdkRGBA _tmp19_; gdouble _tmp20_; @@ -11741,97 +11693,97 @@ static void checkerboard_layout_draw_selection_band (CheckerboardLayout* self, c GdkRectangle _tmp32_; gint _tmp33_; cairo_t* _tmp34_; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = ctx; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = self->priv->selected_color; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp20_ = _tmp19_.red; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->selected_color; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = _tmp21_.green; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp23_ = self->priv->selected_color; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = _tmp23_.blue; -#line 1993 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1988 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgba (_tmp18_, _tmp20_, _tmp22_, _tmp24_, CHECKERBOARD_LAYOUT_SELECTION_ALPHA); -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = ctx; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp26_ = visible_band; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _tmp26_.x; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp28_ = visible_band; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = _tmp28_.y; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = visible_band; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp31_ = _tmp30_.width; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp32_ = visible_band; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp33_ = _tmp32_.height; -#line 1995 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1990 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp25_, (gdouble) _tmp27_, (gdouble) _tmp29_, (gdouble) _tmp31_, (gdouble) _tmp33_); -#line 1997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp34_ = ctx; -#line 1997 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1992 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_fill (_tmp34_); -#line 11784 "CheckerboardLayout.c" +#line 11736 "CheckerboardLayout.c" } -#line 2003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1998 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp35_ = ctx; -#line 2003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1998 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_line_width (_tmp35_, 1.0); -#line 2004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1999 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp36_ = ctx; -#line 2004 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 1999 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_line_cap (_tmp36_, CAIRO_LINE_CAP_SQUARE); -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp37_ = ctx; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp38_ = self->priv->selected_color; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp39_ = _tmp38_.red; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp40_ = self->priv->selected_color; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp41_ = _tmp40_.green; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp42_ = self->priv->selected_color; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp43_ = _tmp42_.blue; -#line 2005 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2000 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_set_source_rgb (_tmp37_, _tmp39_, _tmp41_, _tmp43_); -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp44_ = ctx; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp45_ = self->priv->selection_band; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp46_ = _tmp45_.x; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp47_ = self->priv->selection_band; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp48_ = _tmp47_.y; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp49_ = self->priv->selection_band; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp50_ = _tmp49_.width; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp51_ = self->priv->selection_band; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp52_ = _tmp51_.height; -#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2001 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_rectangle (_tmp44_, ((gdouble) _tmp46_) + 0.5, ((gdouble) _tmp48_) + 0.5, ((gdouble) _tmp50_) - 1.0, ((gdouble) _tmp52_) - 1.0); -#line 2008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp53_ = ctx; -#line 2008 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2003 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" cairo_stroke (_tmp53_); -#line 11834 "CheckerboardLayout.c" +#line 11786 "CheckerboardLayout.c" } @@ -11844,53 +11796,53 @@ static gboolean checkerboard_layout_real_query_tooltip (GtkWidget* base, gint x, CheckerboardItem* _tmp2_; gboolean _tmp3_ = FALSE; CheckerboardItem* _tmp4_; -#line 2011 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2006 "/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" +#line 2006 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (GTK_IS_TOOLTIP (tooltip), FALSE); -#line 2012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = x; -#line 2012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = y; -#line 2012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = checkerboard_layout_get_item_at_pixel (self, (gdouble) _tmp0_, (gdouble) _tmp1_); -#line 2012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2007 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" item = _tmp2_; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = item; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp4_ != NULL) { -#line 11863 "CheckerboardLayout.c" +#line 11815 "CheckerboardLayout.c" CheckerboardItem* _tmp5_; gint _tmp6_; gint _tmp7_; GtkTooltip* _tmp8_; gboolean _tmp9_; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp5_ = item; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = x; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp7_ = y; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = tooltip; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp9_ = checkerboard_item_query_tooltip (_tmp5_, _tmp6_, _tmp7_, _tmp8_); -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = _tmp9_; -#line 11881 "CheckerboardLayout.c" +#line 11833 "CheckerboardLayout.c" } else { -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = FALSE; -#line 11885 "CheckerboardLayout.c" +#line 11837 "CheckerboardLayout.c" } -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp3_; -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (item); -#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2009 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 11893 "CheckerboardLayout.c" +#line 11845 "CheckerboardLayout.c" } @@ -11898,21 +11850,23 @@ static void checkerboard_layout_on_colors_changed (CheckerboardLayout* self) { ConfigFacade* _tmp0_; ConfigFacade* _tmp1_; GdkRGBA _tmp2_ = {0}; -#line 2017 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2012 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (IS_CHECKERBOARD_LAYOUT (self)); -#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2013 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" + invalidate_transparent_background (); +#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = config_facade_get_instance (); -#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = _tmp0_; -#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" config_facade_get_bg_color (_tmp1_, &_tmp2_); -#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" gtk_widget_override_background_color (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), GTK_STATE_FLAG_NORMAL, &_tmp2_); -#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2014 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp1_); -#line 2019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2015 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_set_colors (self, TRUE); -#line 11915 "CheckerboardLayout.c" +#line 11869 "CheckerboardLayout.c" } @@ -11924,31 +11878,31 @@ static gboolean checkerboard_layout_real_focus_in_event (GtkWidget* base, GdkEve GeeList* _tmp2_; GdkEventFocus* _tmp3_; gboolean _tmp4_; -#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2018 "/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" +#line 2018 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2023 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2019 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_set_colors (self, TRUE); -#line 2024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->view; -#line 2024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = view_collection_get_selected (_tmp0_); -#line 2024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_; -#line 2024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_items_dirty (self, "focus_in_event", G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 2024 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2020 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp2_); -#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = event; -#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->focus_in_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea), gtk_widget_get_type (), GtkWidget), _tmp3_); -#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp4_; -#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2022 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 11951 "CheckerboardLayout.c" +#line 11905 "CheckerboardLayout.c" } @@ -11960,31 +11914,31 @@ static gboolean checkerboard_layout_real_focus_out_event (GtkWidget* base, GdkEv GeeList* _tmp2_; GdkEventFocus* _tmp3_; gboolean _tmp4_; -#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2025 "/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" +#line 2025 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2030 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2026 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_set_colors (self, FALSE); -#line 2031 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2027 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->view; -#line 2031 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2027 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = view_collection_get_selected (_tmp0_); -#line 2031 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2027 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = _tmp1_; -#line 2031 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2027 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_items_dirty (self, "focus_out_event", G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 2031 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2027 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp2_); -#line 2033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = event; -#line 2033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = GTK_WIDGET_CLASS (checkerboard_layout_parent_class)->focus_out_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea), gtk_widget_get_type (), GtkWidget), _tmp3_); -#line 2033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" result = _tmp4_; -#line 2033 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 2029 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return result; -#line 11987 "CheckerboardLayout.c" +#line 11941 "CheckerboardLayout.c" } @@ -11994,246 +11948,246 @@ static CheckerboardLayoutLayoutRow* checkerboard_layout_layout_row_construct (GT gint _tmp1_; gint _tmp2_; CheckerboardItem** _tmp3_; -#line 843 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self = (CheckerboardLayoutLayoutRow*) g_type_create_instance (object_type); -#line 844 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 839 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = y; -#line 844 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 839 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->y = _tmp0_; -#line 845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 840 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = height; -#line 845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 840 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->height = _tmp1_; -#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = num_in_row; -#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp3_ = g_new0 (CheckerboardItem*, _tmp2_ + 1); -#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#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 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->items = _tmp3_; -#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->items_length1 = _tmp2_; -#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->_items_size_ = self->items_length1; -#line 843 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return self; -#line 12021 "CheckerboardLayout.c" +#line 11975 "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" +#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return checkerboard_layout_layout_row_construct (CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW, y, height, num_in_row); -#line 12028 "CheckerboardLayout.c" +#line 11982 "CheckerboardLayout.c" } static void checkerboard_layout_value_layout_row_init (GValue* value) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 12035 "CheckerboardLayout.c" +#line 11989 "CheckerboardLayout.c" } static void checkerboard_layout_value_layout_row_free_value (GValue* value) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (value->data[0].v_pointer) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_layout_row_unref (value->data[0].v_pointer); -#line 12044 "CheckerboardLayout.c" +#line 11998 "CheckerboardLayout.c" } } static void checkerboard_layout_value_layout_row_copy_value (const GValue* src_value, GValue* dest_value) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (src_value->data[0].v_pointer) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/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 12054 "CheckerboardLayout.c" +#line 12008 "CheckerboardLayout.c" } else { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" dest_value->data[0].v_pointer = NULL; -#line 12058 "CheckerboardLayout.c" +#line 12012 "CheckerboardLayout.c" } } static gpointer checkerboard_layout_value_layout_row_peek_pointer (const GValue* value) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return value->data[0].v_pointer; -#line 12066 "CheckerboardLayout.c" +#line 12020 "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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (collect_values[0].v_pointer) { -#line 12073 "CheckerboardLayout.c" +#line 12027 "CheckerboardLayout.c" CheckerboardLayoutLayoutRow * object; object = collect_values[0].v_pointer; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (object->parent_instance.g_class == NULL) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 12080 "CheckerboardLayout.c" +#line 12034 "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" +#line 833 "/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 12084 "CheckerboardLayout.c" +#line 12038 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = checkerboard_layout_layout_row_ref (object); -#line 12088 "CheckerboardLayout.c" +#line 12042 "CheckerboardLayout.c" } else { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 12092 "CheckerboardLayout.c" +#line 12046 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return NULL; -#line 12096 "CheckerboardLayout.c" +#line 12050 "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; object_p = collect_values[0].v_pointer; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!object_p) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 12107 "CheckerboardLayout.c" +#line 12061 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (!value->data[0].v_pointer) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = NULL; -#line 12113 "CheckerboardLayout.c" +#line 12067 "CheckerboardLayout.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = value->data[0].v_pointer; -#line 12117 "CheckerboardLayout.c" +#line 12071 "CheckerboardLayout.c" } else { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" *object_p = checkerboard_layout_layout_row_ref (value->data[0].v_pointer); -#line 12121 "CheckerboardLayout.c" +#line 12075 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return NULL; -#line 12125 "CheckerboardLayout.c" +#line 12079 "CheckerboardLayout.c" } static GParamSpec* checkerboard_layout_param_spec_layout_row (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { CheckerboardLayoutParamSpecLayoutRow* spec; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_val_if_fail (g_type_is_a (object_type, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW), NULL); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return G_PARAM_SPEC (spec); -#line 12139 "CheckerboardLayout.c" +#line 12093 "CheckerboardLayout.c" } static gpointer checkerboard_layout_value_get_layout_row (const GValue* value) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return value->data[0].v_pointer; -#line 12148 "CheckerboardLayout.c" +#line 12102 "CheckerboardLayout.c" } static void checkerboard_layout_value_set_layout_row (GValue* value, gpointer v_object) { CheckerboardLayoutLayoutRow * old; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" old = value->data[0].v_pointer; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (v_object) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW)); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = v_object; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_layout_row_ref (value->data[0].v_pointer); -#line 12168 "CheckerboardLayout.c" +#line 12122 "CheckerboardLayout.c" } else { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 12172 "CheckerboardLayout.c" +#line 12126 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (old) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_layout_row_unref (old); -#line 12178 "CheckerboardLayout.c" +#line 12132 "CheckerboardLayout.c" } } static void checkerboard_layout_value_take_layout_row (GValue* value, gpointer v_object) { CheckerboardLayoutLayoutRow * old; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" old = value->data[0].v_pointer; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (v_object) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW)); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" 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" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = v_object; -#line 12197 "CheckerboardLayout.c" +#line 12151 "CheckerboardLayout.c" } else { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" value->data[0].v_pointer = NULL; -#line 12201 "CheckerboardLayout.c" +#line 12155 "CheckerboardLayout.c" } -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (old) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_layout_row_unref (old); -#line 12207 "CheckerboardLayout.c" +#line 12161 "CheckerboardLayout.c" } } static void checkerboard_layout_layout_row_class_init (CheckerboardLayoutLayoutRowClass * klass) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_layout_row_parent_class = g_type_class_peek_parent (klass); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((CheckerboardLayoutLayoutRowClass *) klass)->finalize = checkerboard_layout_layout_row_finalize; -#line 12217 "CheckerboardLayout.c" +#line 12171 "CheckerboardLayout.c" } static void checkerboard_layout_layout_row_instance_init (CheckerboardLayoutLayoutRow * self) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->ref_count = 1; -#line 12224 "CheckerboardLayout.c" +#line 12178 "CheckerboardLayout.c" } static void checkerboard_layout_layout_row_finalize (CheckerboardLayoutLayoutRow * obj) { CheckerboardLayoutLayoutRow * self; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, CHECKERBOARD_LAYOUT_TYPE_LAYOUT_ROW, CheckerboardLayoutLayoutRow); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_destroy (self); -#line 841 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 836 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->items = (_vala_array_free (self->items, self->items_length1, (GDestroyNotify) g_object_unref), NULL); -#line 12236 "CheckerboardLayout.c" +#line 12190 "CheckerboardLayout.c" } @@ -12254,109 +12208,109 @@ static GType checkerboard_layout_layout_row_get_type (void) { static gpointer checkerboard_layout_layout_row_ref (gpointer instance) { CheckerboardLayoutLayoutRow * self; self = instance; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_atomic_int_inc (&self->ref_count); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" return instance; -#line 12261 "CheckerboardLayout.c" +#line 12215 "CheckerboardLayout.c" } static void checkerboard_layout_layout_row_unref (gpointer instance) { CheckerboardLayoutLayoutRow * self; self = instance; -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" CHECKERBOARD_LAYOUT_LAYOUT_ROW_GET_CLASS (self)->finalize (self); -#line 838 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 833 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_type_free_instance ((GTypeInstance *) self); -#line 12274 "CheckerboardLayout.c" +#line 12228 "CheckerboardLayout.c" } } static void checkerboard_layout_class_init (CheckerboardLayoutClass * klass) { -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" checkerboard_layout_parent_class = g_type_class_peek_parent (klass); -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_type_class_add_private (klass, sizeof (CheckerboardLayoutPrivate)); -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->map = (void (*) (GtkWidget *)) checkerboard_layout_real_map; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->size_allocate = (void (*) (GtkWidget *, GtkAllocation*)) checkerboard_layout_real_size_allocate; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->draw = (gboolean (*) (GtkWidget *, cairo_t*)) checkerboard_layout_real_draw; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->query_tooltip = (gboolean (*) (GtkWidget *, gint, gint, gboolean, GtkTooltip*)) checkerboard_layout_real_query_tooltip; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->focus_in_event = (gboolean (*) (GtkWidget *, GdkEventFocus*)) checkerboard_layout_real_focus_in_event; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" ((GtkWidgetClass *) klass)->focus_out_event = (gboolean (*) (GtkWidget *, GdkEventFocus*)) checkerboard_layout_real_focus_out_event; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" G_OBJECT_CLASS (klass)->finalize = checkerboard_layout_finalize; -#line 12298 "CheckerboardLayout.c" +#line 12252 "CheckerboardLayout.c" } static void checkerboard_layout_instance_init (CheckerboardLayout * self) { gchar* _tmp0_; GeeHashSet* _tmp1_; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv = CHECKERBOARD_LAYOUT_GET_PRIVATE (self); -#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = g_strdup (""); -#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->page_name = _tmp0_; -#line 852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows = NULL; -#line 852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->item_rows_length1 = 0; -#line 852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 847 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->_item_rows_size_ = self->priv->item_rows_length1; -#line 853 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 848 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp1_ = gee_hash_set_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL); -#line 853 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 848 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposed_items = _tmp1_; -#line 854 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 849 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->hadjustment = NULL; -#line 855 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 850 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->vadjustment = NULL; -#line 856 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->message = NULL; -#line 861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 856 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&self->priv->visible_page, 0, sizeof (GdkRectangle)); -#line 862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 857 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->last_width = 0; -#line 863 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 858 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->columns = 0; -#line 864 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 859 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->rows = 0; -#line 865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 860 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&self->priv->drag_origin, 0, sizeof (GdkPoint)); -#line 866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 861 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&self->priv->drag_endpoint, 0, sizeof (GdkPoint)); -#line 867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 862 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" memset (&self->priv->selection_band, 0, sizeof (GdkRectangle)); -#line 868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 863 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->scale = 0; -#line 869 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 864 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->flow_scheduled = FALSE; -#line 870 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 865 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->exposure_dirty = TRUE; -#line 871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->anchor = NULL; -#line 872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->cursor = NULL; -#line 873 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 868 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->in_center_on_anchor = FALSE; -#line 874 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 869 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->size_allocate_due_to_reflow = FALSE; -#line 875 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 870 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->is_in_view = FALSE; -#line 876 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" self->priv->reflow_needed = FALSE; -#line 12359 "CheckerboardLayout.c" +#line 12313 "CheckerboardLayout.c" } @@ -12387,143 +12341,143 @@ static void checkerboard_layout_finalize (GObject * obj) { ConfigFacade* _tmp29_; ConfigFacade* _tmp30_; guint _tmp31_; -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/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" +#line 902 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp0_ = self->priv->view; -#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 902 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp1_, NULL, FALSE); -#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 902 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _checkerboard_layout_on_contents_altered_data_collection_contents_altered, self); -#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 903 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp2_ = self->priv->view; -#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 903 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp3_, NULL, FALSE); -#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 903 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _checkerboard_layout_on_items_altered_data_collection_items_altered, self); -#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 904 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp4_ = self->priv->view; -#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 904 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp5_, NULL, FALSE); -#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 904 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _checkerboard_layout_on_items_state_changed_view_collection_items_state_changed, self); -#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp6_ = self->priv->view; -#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("items-visibility-changed", TYPE_VIEW_COLLECTION, &_tmp7_, NULL, FALSE); -#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 905 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _checkerboard_layout_on_items_visibility_changed_view_collection_items_visibility_changed, self); -#line 911 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 906 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp8_ = self->priv->view; -#line 911 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 906 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("ordering-changed", TYPE_DATA_COLLECTION, &_tmp9_, NULL, FALSE); -#line 911 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 906 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _checkerboard_layout_on_ordering_changed_data_collection_ordering_changed, self); -#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp10_ = self->priv->view; -#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("views-altered", TYPE_VIEW_COLLECTION, &_tmp11_, NULL, FALSE); -#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 907 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _checkerboard_layout_on_views_altered_view_collection_views_altered, self); -#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp12_ = self->priv->view; -#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("geometries-altered", TYPE_VIEW_COLLECTION, &_tmp13_, NULL, FALSE); -#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 908 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _checkerboard_layout_on_geometries_altered_view_collection_geometries_altered, self); -#line 914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp14_ = self->priv->view; -#line 914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("items-selected", TYPE_VIEW_COLLECTION, &_tmp15_, NULL, FALSE); -#line 914 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 909 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp14_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp15_, 0, NULL, (GCallback) _checkerboard_layout_on_items_selection_changed_view_collection_items_selected, self); -#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp16_ = self->priv->view; -#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("items-unselected", TYPE_VIEW_COLLECTION, &_tmp17_, NULL, FALSE); -#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 910 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp16_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _checkerboard_layout_on_items_selection_changed_view_collection_items_unselected, self); -#line 917 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp18_ = self->priv->hadjustment; -#line 917 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 912 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp18_ != NULL) { -#line 12450 "CheckerboardLayout.c" +#line 12404 "CheckerboardLayout.c" GtkAdjustment* _tmp19_; guint _tmp20_; -#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 913 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp19_ = self->priv->hadjustment; -#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 913 "/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" +#line 913 "/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 12459 "CheckerboardLayout.c" +#line 12413 "CheckerboardLayout.c" } -#line 920 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp21_ = self->priv->vadjustment; -#line 920 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 915 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp21_ != NULL) { -#line 12465 "CheckerboardLayout.c" +#line 12419 "CheckerboardLayout.c" GtkAdjustment* _tmp22_; guint _tmp23_; -#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 916 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp22_ = self->priv->vadjustment; -#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 916 "/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" +#line 916 "/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 12474 "CheckerboardLayout.c" +#line 12428 "CheckerboardLayout.c" } -#line 923 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp24_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 923 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp25_ = _tmp24_; -#line 923 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 918 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" if (_tmp25_ != NULL) { -#line 12482 "CheckerboardLayout.c" +#line 12436 "CheckerboardLayout.c" GtkContainer* _tmp26_; GtkContainer* _tmp27_; guint _tmp28_; -#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 919 "/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" +#line 919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp27_ = _tmp26_; -#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 919 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("size-allocate", gtk_widget_get_type (), &_tmp28_, NULL, FALSE); -#line 924 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 919 "/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 12494 "CheckerboardLayout.c" +#line 12448 "CheckerboardLayout.c" } -#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp29_ = config_facade_get_instance (); -#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _tmp30_ = _tmp29_; -#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_parse_name ("colors-changed", CONFIG_TYPE_FACADE, &_tmp31_, NULL, FALSE); -#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" g_signal_handlers_disconnect_matched (_tmp30_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp31_, 0, NULL, (GCallback) _checkerboard_layout_on_colors_changed_config_facade_colors_changed, self); -#line 926 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 921 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (_tmp30_); -#line 850 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 845 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _data_collection_unref0 (self->priv->view); -#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 846 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (self->priv->page_name); -#line 852 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 847 "/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); -#line 853 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 848 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->exposed_items); -#line 854 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 849 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->hadjustment); -#line 855 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 850 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->vadjustment); -#line 856 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 851 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_free0 (self->priv->message); -#line 871 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 866 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->anchor); -#line 872 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 867 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" _g_object_unref0 (self->priv->cursor); -#line 821 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" +#line 816 "/home/jens/Source/shotwell/src/CheckerboardLayout.vala" G_OBJECT_CLASS (checkerboard_layout_parent_class)->finalize (obj); -#line 12526 "CheckerboardLayout.c" +#line 12480 "CheckerboardLayout.c" } |