summaryrefslogtreecommitdiff
path: root/src/page.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/page.c')
-rw-r--r--src/page.c2816
1 files changed, 1408 insertions, 1408 deletions
diff --git a/src/page.c b/src/page.c
index 4cd830d..417f870 100644
--- a/src/page.c
+++ b/src/page.c
@@ -307,73 +307,73 @@ Page* page_construct (GType object_type, gint width, gint height, gint dpi, Scan
ScanDirection _tmp1_ = 0;
gint _tmp7_ = 0;
ScanDirection _tmp8_ = 0;
-#line 174 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 174 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self = (Page*) g_type_create_instance (object_type);
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = scan_direction;
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp1_ == SCAN_DIRECTION_TOP_TO_BOTTOM) {
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = TRUE;
#line 319 "page.c"
} else {
ScanDirection _tmp2_ = 0;
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = scan_direction;
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = _tmp2_ == SCAN_DIRECTION_BOTTOM_TO_TOP;
#line 326 "page.c"
}
-#line 176 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 176 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_) {
#line 330 "page.c"
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 178 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 178 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = width;
-#line 178 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 178 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_width (self, _tmp3_);
-#line 179 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 179 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = height;
-#line 179 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 179 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp4_);
#line 341 "page.c"
} else {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
-#line 183 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 183 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = height;
-#line 183 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 183 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_width (self, _tmp5_);
-#line 184 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 184 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = width;
-#line 184 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 184 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp6_);
#line 353 "page.c"
}
-#line 186 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 186 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = dpi;
-#line 186 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 186 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_dpi (self, _tmp7_);
-#line 187 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 187 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = scan_direction;
-#line 187 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 187 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, _tmp8_);
-#line 174 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 174 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return self;
#line 365 "page.c"
}
Page* page_new (gint width, gint height, gint dpi, ScanDirection scan_direction) {
-#line 174 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 174 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return page_construct (TYPE_PAGE, width, height, dpi, scan_direction);
#line 372 "page.c"
}
static guchar* _vala_array_dup3 (guchar* self, int length) {
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return g_memdup (self, length * sizeof (guchar));
#line 379 "page.c"
}
@@ -402,98 +402,98 @@ Page* page_construct_from_data (GType object_type, gint scan_width, gint scan_he
gint _tmp15_ = 0;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
-#line 190 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 190 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self = (Page*) g_type_create_instance (object_type);
-#line 206 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 206 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = scan_width;
-#line 206 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 206 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_width (self, _tmp0_);
-#line 207 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 207 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = scan_height;
-#line 207 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 207 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp1_);
-#line 208 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 208 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = scan_height;
-#line 208 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 208 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->expected_rows = _tmp2_;
-#line 209 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 209 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = rowstride;
-#line 209 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 209 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_rowstride (self, _tmp3_);
-#line 210 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 210 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = n_channels;
-#line 210 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 210 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_n_channels (self, _tmp4_);
-#line 211 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 211 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = depth;
-#line 211 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 211 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_depth (self, _tmp5_);
-#line 212 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 212 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = dpi;
-#line 212 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 212 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_dpi (self, _tmp6_);
-#line 213 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 213 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = scan_direction;
-#line 213 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 213 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, _tmp7_);
-#line 214 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 214 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = color_profile;
-#line 214 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 214 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_color_profile (self, _tmp8_);
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = pixels;
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9__length1 = pixels_length1;
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = (_tmp9_ != NULL) ? _vala_array_dup3 (_tmp9_, _tmp9__length1) : ((gpointer) _tmp9_);
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10__length1 = _tmp9__length1;
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = (g_free (self->priv->pixels), NULL);
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = _tmp10_;
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels_length1 = _tmp10__length1;
-#line 215 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 215 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_pixels_size_ = self->priv->pixels_length1;
-#line 216 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 216 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = pixels;
-#line 216 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 216 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11__length1 = pixels_length1;
-#line 216 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 216 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_data (self, _tmp11_ != NULL);
-#line 217 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 217 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = has_crop;
-#line 217 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 217 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_crop (self, _tmp12_);
-#line 218 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 218 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = crop_name;
-#line 218 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 218 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_name (self, _tmp13_);
-#line 219 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 219 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = crop_x;
-#line 219 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 219 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp14_);
-#line 220 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 220 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = crop_y;
-#line 220 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 220 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp15_);
-#line 221 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 221 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = crop_width;
-#line 221 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 221 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp16_);
-#line 222 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 222 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = crop_height;
-#line 222 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 222 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp17_);
-#line 190 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 190 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return self;
#line 492 "page.c"
}
Page* page_new_from_data (gint scan_width, gint scan_height, gint rowstride, gint n_channels, gint depth, gint dpi, ScanDirection scan_direction, const gchar* color_profile, guchar* pixels, int pixels_length1, gboolean has_crop, const gchar* crop_name, gint crop_x, gint crop_y, gint crop_width, gint crop_height) {
-#line 190 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 190 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return page_construct_from_data (TYPE_PAGE, scan_width, scan_height, rowstride, n_channels, depth, dpi, scan_direction, color_profile, pixels, pixels_length1, has_crop, crop_name, crop_x, crop_y, crop_width, crop_height);
#line 499 "page.c"
}
@@ -522,104 +522,104 @@ void page_set_page_info (Page* self, ScanPageInfo* info) {
guchar* _tmp20_ = NULL;
gint _tmp20__length1 = 0;
gint _tmp21_ = 0;
-#line 225 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 225 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 225 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 225 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (info != NULL);
-#line 227 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 227 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = info;
-#line 227 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 227 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_->height;
-#line 227 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 227 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->expected_rows = _tmp1_;
-#line 228 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 228 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = info;
-#line 228 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 228 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = _tmp2_->dpi;
-#line 228 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 228 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_dpi (self, (gint) _tmp3_);
-#line 231 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 231 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = info;
-#line 231 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 231 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = _tmp4_->width;
-#line 231 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 231 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_width (self, _tmp5_);
-#line 232 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 232 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = info;
-#line 232 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 232 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = _tmp6_->height;
-#line 232 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 232 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp7_);
-#line 234 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 234 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = self->priv->_scan_height;
-#line 234 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 234 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp8_ < 0) {
#line 558 "page.c"
gint _tmp9_ = 0;
-#line 235 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 235 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = self->priv->_scan_width;
-#line 235 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 235 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp9_ / 2);
#line 564 "page.c"
}
-#line 236 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 236 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = info;
-#line 236 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 236 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = _tmp10_->depth;
-#line 236 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 236 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_depth (self, _tmp11_);
-#line 237 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 237 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = info;
-#line 237 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 237 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = _tmp12_->n_channels;
-#line 237 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 237 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_n_channels (self, _tmp13_);
-#line 238 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 238 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = self->priv->_scan_width;
-#line 238 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 238 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = self->priv->_depth;
-#line 238 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 238 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = self->priv->_n_channels;
-#line 238 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 238 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_rowstride (self, (((_tmp14_ * _tmp15_) * _tmp16_) + 7) / 8);
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = self->priv->_scan_height;
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = self->priv->_rowstride;
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = _tmp17_ * _tmp18_;
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = g_renew (guchar, self->priv->pixels, _tmp17_ * _tmp18_);
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
(_tmp19_ > self->priv->pixels_length1) ? memset (self->priv->pixels + self->priv->pixels_length1, 0, sizeof (guchar) * (_tmp19_ - self->priv->pixels_length1)) : NULL;
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels_length1 = _tmp19_;
-#line 239 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 239 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_pixels_size_ = _tmp19_;
-#line 240 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 240 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = self->priv->pixels;
-#line 240 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 240 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20__length1 = self->priv->pixels_length1;
-#line 240 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 240 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp20_ != NULL);
-#line 243 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 243 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = self->priv->_depth;
-#line 243 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 243 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp21_ == 1) {
#line 610 "page.c"
guchar* _tmp22_ = NULL;
gint _tmp22__length1 = 0;
gint _tmp23_ = 0;
gint _tmp24_ = 0;
-#line 244 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 244 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = self->priv->pixels;
-#line 244 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 244 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22__length1 = self->priv->pixels_length1;
-#line 244 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 244 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = self->priv->_scan_height;
-#line 244 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 244 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = self->priv->_rowstride;
-#line 244 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 244 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
memset (_tmp22_, 0x00, (gsize) (_tmp23_ * _tmp24_));
#line 625 "page.c"
} else {
@@ -627,32 +627,32 @@ void page_set_page_info (Page* self, ScanPageInfo* info) {
gint _tmp25__length1 = 0;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
-#line 246 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 246 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = self->priv->pixels;
-#line 246 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 246 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25__length1 = self->priv->pixels_length1;
-#line 246 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 246 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = self->priv->_scan_height;
-#line 246 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 246 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = self->priv->_rowstride;
-#line 246 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 246 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
memset (_tmp25_, 0xFF, (gsize) (_tmp26_ * _tmp27_));
#line 641 "page.c"
}
-#line 248 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 248 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "size-changed");
-#line 249 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 249 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "pixels-changed");
#line 647 "page.c"
}
void page_start (Page* self) {
-#line 252 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 252 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 254 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 254 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_is_scanning (self, TRUE);
-#line 255 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 255 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "scan-line-changed");
#line 658 "page.c"
}
@@ -672,21 +672,21 @@ static void page_parse_line (Page* self, ScanLine* line, gint n, gboolean* size_
ScanLine* _tmp16_ = NULL;
gint _tmp17_ = 0;
gint _tmp32_ = 0;
-#line 258 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 258 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 258 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 258 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (line != NULL);
-#line 260 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 260 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = line;
-#line 260 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 260 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_->number;
-#line 260 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 260 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = n;
-#line 260 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 260 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
line_number = _tmp1_ + _tmp2_;
-#line 263 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 263 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_vala_size_changed = FALSE;
-#line 264 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 264 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
while (TRUE) {
#line 692 "page.c"
gint _tmp3_ = 0;
@@ -700,75 +700,75 @@ static void page_parse_line (Page* self, ScanLine* line, gint n, gboolean* size_
gint _tmp10_ = 0;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 264 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 264 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = line_number;
-#line 264 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 264 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = self->priv->_scan_height;
-#line 264 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 264 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!(_tmp3_ >= _tmp4_)) {
-#line 264 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 264 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 712 "page.c"
}
-#line 267 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 267 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_scan_height;
-#line 267 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 267 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
rows = _tmp5_;
-#line 268 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 268 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = rows;
-#line 268 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 268 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = self->priv->_scan_width;
-#line 268 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 268 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp6_ + (_tmp7_ / 2));
-#line 269 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 269 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = rows;
-#line 269 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 269 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = self->priv->_scan_height;
-#line 269 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 269 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_debug ("page.vala:269: Extending image from %d lines to %d lines", _tmp8_, _tmp9_);
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = self->priv->_scan_height;
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = self->priv->_rowstride;
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = _tmp10_ * _tmp11_;
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = g_renew (guchar, self->priv->pixels, _tmp10_ * _tmp11_);
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
(_tmp12_ > self->priv->pixels_length1) ? memset (self->priv->pixels + self->priv->pixels_length1, 0, sizeof (guchar) * (_tmp12_ - self->priv->pixels_length1)) : NULL;
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels_length1 = _tmp12_;
-#line 270 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 270 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_pixels_size_ = _tmp12_;
-#line 272 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 272 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_vala_size_changed = TRUE;
#line 746 "page.c"
}
-#line 276 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 276 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = line_number;
-#line 276 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 276 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = self->priv->_rowstride;
-#line 276 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 276 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
offset = _tmp13_ * _tmp14_;
-#line 277 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 277 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = n;
-#line 277 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 277 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = line;
-#line 277 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 277 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = _tmp16_->data_length;
-#line 277 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 277 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
line_offset = _tmp15_ * _tmp17_;
#line 762 "page.c"
{
gint i = 0;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
i = 0;
#line 767 "page.c"
{
gboolean _tmp18_ = FALSE;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = TRUE;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
while (TRUE) {
#line 774 "page.c"
gint _tmp20_ = 0;
@@ -785,65 +785,65 @@ static void page_parse_line (Page* self, ScanLine* line, gint n, gboolean* size_
gint _tmp29_ = 0;
guchar _tmp30_ = '\0';
guchar _tmp31_ = '\0';
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp18_) {
#line 791 "page.c"
gint _tmp19_ = 0;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = i;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
i = _tmp19_ + 1;
#line 797 "page.c"
}
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = FALSE;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = i;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = line;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = _tmp21_->data_length;
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!(_tmp20_ < _tmp22_)) {
-#line 278 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 278 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 811 "page.c"
}
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = self->priv->pixels;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23__length1 = self->priv->pixels_length1;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = offset;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = i;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = line;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = _tmp26_->data;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27__length1 = _tmp26_->data_length1;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_ = line_offset;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp29_ = i;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30_ = _tmp27_[_tmp28_ + _tmp29_];
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_[_tmp24_ + _tmp25_] = _tmp30_;
-#line 279 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 279 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31_ = _tmp23_[_tmp24_ + _tmp25_];
#line 837 "page.c"
}
}
}
-#line 281 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 281 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp32_ = line_number;
-#line 281 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 281 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_line (self, _tmp32_);
-#line 258 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 258 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (size_changed) {
-#line 258 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 258 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*size_changed = _vala_size_changed;
#line 849 "page.c"
}
@@ -853,23 +853,23 @@ static void page_parse_line (Page* self, ScanLine* line, gint n, gboolean* size_
void page_parse_scan_line (Page* self, ScanLine* line) {
gboolean size_has_changed = FALSE;
gboolean _tmp8_ = FALSE;
-#line 284 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 284 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 284 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 284 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (line != NULL);
-#line 286 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 286 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = FALSE;
#line 863 "page.c"
{
gint i = 0;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
i = 0;
#line 868 "page.c"
{
gboolean _tmp0_ = FALSE;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = TRUE;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
while (TRUE) {
#line 875 "page.c"
gint _tmp2_ = 0;
@@ -878,55 +878,55 @@ void page_parse_scan_line (Page* self, ScanLine* line) {
ScanLine* _tmp5_ = NULL;
gint _tmp6_ = 0;
gboolean _tmp7_ = FALSE;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp0_) {
#line 884 "page.c"
gint _tmp1_ = 0;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = i;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
i = _tmp1_ + 1;
#line 890 "page.c"
}
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = FALSE;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = i;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = line;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _tmp3_->n_lines;
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!(_tmp2_ < _tmp4_)) {
-#line 287 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 287 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 904 "page.c"
}
-#line 288 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 288 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = line;
-#line 288 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 288 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = i;
-#line 288 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 288 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_parse_line (self, _tmp5_, _tmp6_, &_tmp7_);
-#line 288 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 288 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = _tmp7_;
#line 914 "page.c"
}
}
}
-#line 290 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 290 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_data (self, TRUE);
-#line 292 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 292 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = size_has_changed;
-#line 292 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 292 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp8_) {
-#line 293 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 293 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "size-changed");
#line 926 "page.c"
}
-#line 294 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 294 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "scan-line-changed");
-#line 295 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 295 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "pixels-changed");
#line 932 "page.c"
}
@@ -937,30 +937,30 @@ void page_finish (Page* self) {
gboolean _tmp0_ = FALSE;
gint _tmp1_ = 0;
gboolean _tmp11_ = FALSE;
-#line 298 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 298 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 300 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 300 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = FALSE;
-#line 303 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 303 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = self->priv->expected_rows;
-#line 303 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 303 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp1_ < 0) {
#line 949 "page.c"
gint _tmp2_ = 0;
gint _tmp3_ = 0;
-#line 304 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 304 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = self->priv->_scan_line;
-#line 304 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 304 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = self->priv->_scan_height;
-#line 304 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 304 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = _tmp2_ != _tmp3_;
#line 958 "page.c"
} else {
-#line 303 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 303 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = FALSE;
#line 962 "page.c"
}
-#line 303 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 303 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_) {
#line 966 "page.c"
gint rows = 0;
@@ -971,51 +971,51 @@ void page_finish (Page* self) {
gint _tmp8_ = 0;
gint _tmp9_ = 0;
gint _tmp10_ = 0;
-#line 306 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 306 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = self->priv->_scan_height;
-#line 306 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 306 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
rows = _tmp4_;
-#line 307 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 307 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_scan_line;
-#line 307 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 307 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_height (self, _tmp5_);
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_scan_height;
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = self->priv->_rowstride;
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = _tmp6_ * _tmp7_;
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = g_renew (guchar, self->priv->pixels, _tmp6_ * _tmp7_);
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
(_tmp8_ > self->priv->pixels_length1) ? memset (self->priv->pixels + self->priv->pixels_length1, 0, sizeof (guchar) * (_tmp8_ - self->priv->pixels_length1)) : NULL;
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels_length1 = _tmp8_;
-#line 308 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 308 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_pixels_size_ = _tmp8_;
-#line 309 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 309 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = rows;
-#line 309 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 309 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = self->priv->_scan_height;
-#line 309 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 309 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_debug ("page.vala:309: Trimming page from %d lines to %d lines", _tmp9_, _tmp10_);
-#line 311 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 311 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = TRUE;
#line 1005 "page.c"
}
-#line 313 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 313 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_is_scanning (self, FALSE);
-#line 315 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 315 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = size_has_changed;
-#line 315 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 315 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp11_) {
-#line 316 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 316 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "size-changed");
#line 1015 "page.c"
}
-#line 317 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 317 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "scan-line-changed");
-#line 318 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 318 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "scan-finished");
#line 1021 "page.c"
}
@@ -1024,56 +1024,56 @@ void page_finish (Page* self) {
void page_rotate_left (Page* self) {
ScanDirection _tmp0_ = 0;
ScanDirection _tmp1_ = 0;
-#line 321 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 321 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = page_get_scan_direction (self);
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (_tmp1_) {
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_TOP_TO_BOTTOM:
#line 1038 "page.c"
{
-#line 326 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 326 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_LEFT_TO_RIGHT);
-#line 327 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 327 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1044 "page.c"
}
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_LEFT_TO_RIGHT:
#line 1048 "page.c"
{
-#line 329 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 329 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_BOTTOM_TO_TOP);
-#line 330 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 330 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1054 "page.c"
}
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_BOTTOM_TO_TOP:
#line 1058 "page.c"
{
-#line 332 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 332 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_RIGHT_TO_LEFT);
-#line 333 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 333 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1064 "page.c"
}
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_RIGHT_TO_LEFT:
#line 1068 "page.c"
{
-#line 335 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 335 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_TOP_TO_BOTTOM);
-#line 336 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 336 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1074 "page.c"
}
default:
-#line 323 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 323 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1079 "page.c"
}
@@ -1083,56 +1083,56 @@ void page_rotate_left (Page* self) {
void page_rotate_right (Page* self) {
ScanDirection _tmp0_ = 0;
ScanDirection _tmp1_ = 0;
-#line 340 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 340 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = page_get_scan_direction (self);
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (_tmp1_) {
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_TOP_TO_BOTTOM:
#line 1097 "page.c"
{
-#line 345 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 345 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_RIGHT_TO_LEFT);
-#line 346 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 346 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1103 "page.c"
}
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_LEFT_TO_RIGHT:
#line 1107 "page.c"
{
-#line 348 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 348 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_TOP_TO_BOTTOM);
-#line 349 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 349 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1113 "page.c"
}
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_BOTTOM_TO_TOP:
#line 1117 "page.c"
{
-#line 351 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 351 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_LEFT_TO_RIGHT);
-#line 352 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 352 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1123 "page.c"
}
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_RIGHT_TO_LEFT:
#line 1127 "page.c"
{
-#line 354 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 354 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_scan_direction (self, SCAN_DIRECTION_BOTTOM_TO_TOP);
-#line 355 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 355 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1133 "page.c"
}
default:
-#line 342 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 342 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1138 "page.c"
}
@@ -1141,29 +1141,29 @@ void page_rotate_right (Page* self) {
void page_set_no_crop (Page* self) {
gboolean _tmp0_ = FALSE;
-#line 359 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 359 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 361 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 361 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_has_crop;
-#line 361 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 361 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp0_) {
-#line 362 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 362 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 1153 "page.c"
}
-#line 363 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 363 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_crop (self, FALSE);
-#line 364 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 364 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_name (self, NULL);
-#line 365 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 365 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, 0);
-#line 366 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 366 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, 0);
-#line 367 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 367 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, 0);
-#line 368 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 368 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, 0);
-#line 369 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 369 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 1169 "page.c"
}
@@ -1178,85 +1178,85 @@ void page_set_custom_crop (Page* self, gint width, gint height) {
const gchar* _tmp5_ = NULL;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 372 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 372 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 374 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 374 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = width;
-#line 374 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 374 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp0_ >= 1);
-#line 375 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 375 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = height;
-#line 375 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 375 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp1_ >= 1);
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_crop_name;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp5_ == NULL) {
#line 1196 "page.c"
gboolean _tmp6_ = FALSE;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_has_crop;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _tmp6_;
#line 1202 "page.c"
} else {
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = FALSE;
#line 1206 "page.c"
}
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp4_) {
#line 1210 "page.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = self->priv->_crop_width;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = width;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = _tmp7_ == _tmp8_;
#line 1219 "page.c"
} else {
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = FALSE;
#line 1223 "page.c"
}
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp3_) {
#line 1227 "page.c"
gint _tmp9_ = 0;
gint _tmp10_ = 0;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = self->priv->_crop_height;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = height;
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = _tmp9_ == _tmp10_;
#line 1236 "page.c"
} else {
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = FALSE;
#line 1240 "page.c"
}
-#line 377 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 377 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp2_) {
-#line 378 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 378 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 1246 "page.c"
}
-#line 379 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 379 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_name (self, NULL);
-#line 380 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 380 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_crop (self, TRUE);
-#line 382 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 382 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = width;
-#line 382 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 382 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp11_);
-#line 383 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 383 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = height;
-#line 383 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 383 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp12_);
-#line 396 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 396 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 1262 "page.c"
}
@@ -1268,17 +1268,17 @@ void page_set_named_crop (Page* self, const gchar* name) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
GQuark _tmp3_ = 0U;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label0 = 0;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label1 = 0;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label2 = 0;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label3 = 0;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label4 = 0;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
static GQuark _tmp2_label5 = 0;
#line 1284 "page.c"
const gchar* _tmp5_ = NULL;
@@ -1298,222 +1298,222 @@ void page_set_named_crop (Page* self, const gchar* name) {
gint _tmp20_ = 0;
gint _tmp23_ = 0;
gint _tmp24_ = 0;
-#line 399 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 399 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 399 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 399 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (name != NULL);
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = name;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("A4")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1316 "page.c"
default:
{
-#line 405 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 405 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = 8.3;
-#line 406 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 406 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = 11.7;
-#line 407 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 407 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1325 "page.c"
}
}
} else if (_tmp3_ == ((0 != _tmp2_label1) ? _tmp2_label1 : (_tmp2_label1 = g_quark_from_static_string ("A5")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1331 "page.c"
default:
{
-#line 409 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 409 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = 5.8;
-#line 410 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 410 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = 8.3;
-#line 411 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 411 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1340 "page.c"
}
}
} else if (_tmp3_ == ((0 != _tmp2_label2) ? _tmp2_label2 : (_tmp2_label2 = g_quark_from_static_string ("A6")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1346 "page.c"
default:
{
-#line 413 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 413 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = 4.1;
-#line 414 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 414 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = 5.8;
-#line 415 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 415 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1355 "page.c"
}
}
} else if (_tmp3_ == ((0 != _tmp2_label3) ? _tmp2_label3 : (_tmp2_label3 = g_quark_from_static_string ("letter")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1361 "page.c"
default:
{
-#line 417 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 417 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = 8.5;
-#line 418 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 418 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = (gdouble) 11;
-#line 419 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 419 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1370 "page.c"
}
}
} else if (_tmp3_ == ((0 != _tmp2_label4) ? _tmp2_label4 : (_tmp2_label4 = g_quark_from_static_string ("legal")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1376 "page.c"
default:
{
-#line 421 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 421 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = 8.5;
-#line 422 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 422 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = (gdouble) 14;
-#line 423 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 423 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1385 "page.c"
}
}
} else if (_tmp3_ == ((0 != _tmp2_label5) ? _tmp2_label5 : (_tmp2_label5 = g_quark_from_static_string ("4x6")))) {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1391 "page.c"
default:
{
-#line 425 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 425 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = (gdouble) 4;
-#line 426 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 426 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = (gdouble) 6;
-#line 427 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 427 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1400 "page.c"
}
}
} else {
-#line 402 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 402 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (0) {
#line 1406 "page.c"
default:
{
const gchar* _tmp4_ = NULL;
-#line 429 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 429 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = name;
-#line 429 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 429 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_warning ("page.vala:429: Unknown paper size '%s'", _tmp4_);
-#line 430 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 430 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 1416 "page.c"
}
}
}
-#line 433 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 433 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = name;
-#line 433 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 433 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_name (self, _tmp5_);
-#line 434 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 434 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_has_crop (self, TRUE);
-#line 436 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 436 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = page_get_width (self);
-#line 436 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 436 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = _tmp6_;
-#line 436 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 436 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pw = _tmp7_;
-#line 437 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 437 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = page_get_height (self);
-#line 437 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 437 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = _tmp8_;
-#line 437 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 437 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
ph = _tmp9_;
-#line 440 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 440 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = pw;
-#line 440 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 440 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = ph;
-#line 440 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 440 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp10_ > _tmp11_) {
#line 1444 "page.c"
gdouble t = 0.0;
gdouble _tmp12_ = 0.0;
gdouble _tmp13_ = 0.0;
gdouble _tmp14_ = 0.0;
-#line 442 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 442 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = w;
-#line 442 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 442 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp12_;
-#line 443 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 443 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = h;
-#line 443 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 443 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = _tmp13_;
-#line 444 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 444 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = t;
-#line 444 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 444 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = _tmp14_;
#line 1461 "page.c"
}
-#line 448 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 448 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = w;
-#line 448 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 448 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = self->priv->_dpi;
-#line 448 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 448 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, (gint) ((_tmp15_ * _tmp16_) + 0.5));
-#line 449 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 449 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = h;
-#line 449 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 449 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = self->priv->_dpi;
-#line 449 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 449 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, (gint) ((_tmp17_ * _tmp18_) + 0.5));
-#line 451 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 451 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = self->priv->_crop_width;
-#line 451 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 451 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = pw;
-#line 451 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 451 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp19_ < _tmp20_) {
#line 1481 "page.c"
gint _tmp21_ = 0;
gint _tmp22_ = 0;
-#line 452 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 452 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = pw;
-#line 452 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 452 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = self->priv->_crop_width;
-#line 452 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 452 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, (_tmp21_ - _tmp22_) / 2);
#line 1490 "page.c"
} else {
-#line 454 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 454 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, 0);
#line 1494 "page.c"
}
-#line 455 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 455 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = self->priv->_crop_height;
-#line 455 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 455 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = ph;
-#line 455 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 455 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp23_ < _tmp24_) {
#line 1502 "page.c"
gint _tmp25_ = 0;
gint _tmp26_ = 0;
-#line 456 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 456 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = ph;
-#line 456 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 456 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = self->priv->_crop_height;
-#line 456 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 456 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, (_tmp25_ - _tmp26_) / 2);
#line 1511 "page.c"
} else {
-#line 458 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 458 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, 0);
#line 1515 "page.c"
}
-#line 459 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 459 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 1519 "page.c"
}
@@ -1530,41 +1530,41 @@ void page_move_crop (Page* self, gint x, gint y) {
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
-#line 462 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 462 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 464 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 464 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = x;
-#line 464 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 464 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp0_ >= 0);
-#line 465 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 465 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = y;
-#line 465 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 465 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp1_ >= 0);
-#line 466 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 466 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = x;
-#line 466 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 466 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = page_get_width (self);
-#line 466 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 466 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _tmp3_;
-#line 466 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 466 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp2_ < _tmp4_);
-#line 467 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 467 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = y;
-#line 467 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 467 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = page_get_height (self);
-#line 467 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 467 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = _tmp6_;
-#line 467 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 467 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (_tmp5_ < _tmp7_);
-#line 469 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 469 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = x;
-#line 469 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 469 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp8_);
-#line 470 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 470 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = y;
-#line 470 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 470 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp9_);
-#line 471 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 471 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 1570 "page.c"
}
@@ -1577,31 +1577,31 @@ void page_rotate_crop (Page* self) {
gint _tmp2_ = 0;
gint _tmp3_ = 0;
const gchar* _tmp4_ = NULL;
-#line 474 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 474 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 476 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 476 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_has_crop;
-#line 476 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 476 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp0_) {
-#line 477 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 477 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 1589 "page.c"
}
-#line 479 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 479 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = self->priv->_crop_width;
-#line 479 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 479 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp1_;
-#line 480 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 480 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = self->priv->_crop_height;
-#line 480 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 480 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp2_);
-#line 481 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 481 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = t;
-#line 481 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 481 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp3_);
-#line 484 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 484 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = self->priv->_crop_name;
-#line 484 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 484 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp4_ == NULL) {
#line 1607 "page.c"
gint w = 0;
@@ -1618,86 +1618,86 @@ void page_rotate_crop (Page* self) {
gint _tmp17_ = 0;
gint _tmp18_ = 0;
gint _tmp21_ = 0;
-#line 486 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 486 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = page_get_width (self);
-#line 486 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 486 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = _tmp5_;
-#line 486 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 486 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
w = _tmp6_;
-#line 487 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 487 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = page_get_height (self);
-#line 487 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 487 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = _tmp7_;
-#line 487 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 487 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
h = _tmp8_;
-#line 489 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 489 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = self->priv->_crop_x;
-#line 489 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 489 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = self->priv->_crop_width;
-#line 489 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 489 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = w;
-#line 489 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 489 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if ((_tmp9_ + _tmp10_) > _tmp11_) {
#line 1642 "page.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
-#line 490 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 490 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = w;
-#line 490 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 490 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = self->priv->_crop_width;
-#line 490 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 490 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp12_ - _tmp13_);
#line 1651 "page.c"
}
-#line 491 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 491 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = self->priv->_crop_x;
-#line 491 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 491 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp14_ < 0) {
#line 1657 "page.c"
gint _tmp15_ = 0;
-#line 493 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 493 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, 0);
-#line 494 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 494 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = w;
-#line 494 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 494 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp15_);
#line 1665 "page.c"
}
-#line 496 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 496 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = self->priv->_crop_y;
-#line 496 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 496 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = self->priv->_crop_height;
-#line 496 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 496 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = h;
-#line 496 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 496 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if ((_tmp16_ + _tmp17_) > _tmp18_) {
#line 1675 "page.c"
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 497 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 497 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = h;
-#line 497 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 497 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = self->priv->_crop_height;
-#line 497 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 497 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp19_ - _tmp20_);
#line 1684 "page.c"
}
-#line 498 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 498 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = self->priv->_crop_y;
-#line 498 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 498 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp21_ < 0) {
#line 1690 "page.c"
gint _tmp22_ = 0;
-#line 500 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 500 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, 0);
-#line 501 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 501 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = h;
-#line 501 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 501 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp22_);
#line 1698 "page.c"
}
}
-#line 505 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 505 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 1703 "page.c"
}
@@ -1709,25 +1709,25 @@ guchar* page_get_pixels (Page* self, int* result_length1) {
gint _tmp0__length1 = 0;
guchar* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
-#line 508 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 508 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->pixels;
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0__length1 = self->priv->pixels_length1;
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1__length1 = _tmp0__length1;
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (result_length1) {
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*result_length1 = _tmp1__length1;
#line 1727 "page.c"
}
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp1_;
-#line 510 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 510 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 1733 "page.c"
}
@@ -1735,11 +1735,11 @@ guchar* page_get_pixels (Page* self, int* result_length1) {
static guchar page_get_sample (Page* self, guchar* pixels, int pixels_length1, gint offset, gint x, gint depth, gint n_channels, gint channel) {
guchar result = '\0';
-#line 514 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 514 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, '\0');
-#line 517 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 517 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = (guchar) 0xFF;
-#line 517 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 517 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 1745 "page.c"
}
@@ -1786,23 +1786,23 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
gint _tmp122_ = 0;
guchar _tmp123_ = '\0';
guchar _tmp124_ = '\0';
-#line 521 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 521 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = page_get_scan_direction (self);
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (_tmp1_) {
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_TOP_TO_BOTTOM:
#line 1800 "page.c"
{
-#line 526 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 526 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1804 "page.c"
}
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_BOTTOM_TO_TOP:
#line 1808 "page.c"
{
@@ -1810,23 +1810,23 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
gint _tmp3_ = 0;
gint _tmp4_ = 0;
gint _tmp5_ = 0;
-#line 528 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 528 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = self->priv->_scan_width;
-#line 528 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 528 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = x;
-#line 528 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 528 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
x = (_tmp2_ - _tmp3_) - 1;
-#line 529 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 529 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = self->priv->_scan_height;
-#line 529 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 529 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = y;
-#line 529 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 529 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
y = (_tmp4_ - _tmp5_) - 1;
-#line 530 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 530 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1828 "page.c"
}
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_LEFT_TO_RIGHT:
#line 1832 "page.c"
{
@@ -1835,25 +1835,25 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
-#line 532 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 532 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = x;
-#line 532 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 532 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp6_;
-#line 533 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 533 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = self->priv->_scan_width;
-#line 533 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 533 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = y;
-#line 533 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 533 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
x = (_tmp7_ - _tmp8_) - 1;
-#line 534 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 534 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = t;
-#line 534 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 534 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
y = _tmp9_;
-#line 535 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 535 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1855 "page.c"
}
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case SCAN_DIRECTION_RIGHT_TO_LEFT:
#line 1859 "page.c"
{
@@ -1862,52 +1862,52 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
gint _tmp11_ = 0;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
-#line 537 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 537 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = x;
-#line 537 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 537 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp10_;
-#line 538 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 538 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = y;
-#line 538 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 538 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
x = _tmp11_;
-#line 539 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 539 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = self->priv->_scan_height;
-#line 539 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 539 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = t;
-#line 539 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 539 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
y = (_tmp12_ - _tmp13_) - 1;
-#line 540 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 540 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1882 "page.c"
}
default:
-#line 523 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 523 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 1887 "page.c"
}
-#line 543 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 543 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = self->priv->_rowstride;
-#line 543 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 543 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = y;
-#line 543 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 543 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
line_offset = _tmp14_ * _tmp15_;
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = self->priv->_depth;
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp17_ == 8) {
#line 1899 "page.c"
gint _tmp18_ = 0;
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = self->priv->_n_channels;
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = _tmp18_ == 3;
#line 1905 "page.c"
} else {
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = FALSE;
#line 1909 "page.c"
}
-#line 546 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 546 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp16_) {
#line 1913 "page.c"
gint o = 0;
@@ -1938,91 +1938,91 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
gint _tmp37_ = 0;
guchar _tmp38_ = '\0';
guchar _tmp39_ = '\0';
-#line 548 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 548 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = line_offset;
-#line 548 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 548 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = x;
-#line 548 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 548 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = self->priv->_n_channels;
-#line 548 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 548 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
o = _tmp19_ + (_tmp20_ * _tmp21_);
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = pixel;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22__length1 = pixel_length1;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = offset;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = self->priv->pixels;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24__length1 = self->priv->pixels_length1;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = o;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = _tmp24_[_tmp25_];
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_[_tmp23_ + 0] = _tmp26_;
-#line 549 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 549 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = _tmp22_[_tmp23_ + 0];
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_ = pixel;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28__length1 = pixel_length1;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp29_ = offset;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30_ = self->priv->pixels;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30__length1 = self->priv->pixels_length1;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31_ = o;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp32_ = _tmp30_[_tmp31_ + 1];
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_[_tmp29_ + 1] = _tmp32_;
-#line 550 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 550 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp33_ = _tmp28_[_tmp29_ + 1];
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34_ = pixel;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34__length1 = pixel_length1;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp35_ = offset;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp36_ = self->priv->pixels;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp36__length1 = self->priv->pixels_length1;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp37_ = o;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_ = _tmp36_[_tmp37_ + 2];
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34_[_tmp35_ + 2] = _tmp38_;
-#line 551 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 551 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp39_ = _tmp34_[_tmp35_ + 2];
-#line 552 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 552 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 2006 "page.c"
} else {
gboolean _tmp40_ = FALSE;
gint _tmp41_ = 0;
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp41_ = self->priv->_depth;
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp41_ == 8) {
#line 2014 "page.c"
gint _tmp42_ = 0;
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp42_ = self->priv->_n_channels;
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp40_ = _tmp42_ == 1;
#line 2020 "page.c"
} else {
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp40_ = FALSE;
#line 2024 "page.c"
}
-#line 554 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 554 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp40_) {
#line 2028 "page.c"
guchar p = '\0';
@@ -2044,73 +2044,73 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
guchar _tmp54_ = '\0';
guchar _tmp55_ = '\0';
guchar _tmp56_ = '\0';
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp43_ = self->priv->pixels;
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp43__length1 = self->priv->pixels_length1;
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp44_ = line_offset;
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_ = x;
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp46_ = _tmp43_[_tmp44_ + _tmp45_];
-#line 556 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 556 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
p = _tmp46_;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47_ = pixel;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47__length1 = pixel_length1;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp48_ = offset;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp49_ = pixel;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp49__length1 = pixel_length1;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp50_ = offset;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51_ = pixel;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51__length1 = pixel_length1;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp52_ = offset;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp53_ = p;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51_[_tmp52_ + 2] = _tmp53_;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp54_ = _tmp51_[_tmp52_ + 2];
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp49_[_tmp50_ + 1] = _tmp54_;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp55_ = _tmp49_[_tmp50_ + 1];
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47_[_tmp48_ + 0] = _tmp55_;
-#line 557 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 557 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp56_ = _tmp47_[_tmp48_ + 0];
-#line 558 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 558 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 2094 "page.c"
} else {
gboolean _tmp57_ = FALSE;
gint _tmp58_ = 0;
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp58_ = self->priv->_depth;
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp58_ == 1) {
#line 2102 "page.c"
gint _tmp59_ = 0;
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp59_ = self->priv->_n_channels;
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp57_ = _tmp59_ == 1;
#line 2108 "page.c"
} else {
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp57_ = FALSE;
#line 2112 "page.c"
}
-#line 562 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 562 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp57_) {
#line 2116 "page.c"
guchar p = '\0';
@@ -2134,85 +2134,85 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
guchar _tmp73_ = '\0';
guchar _tmp74_ = '\0';
guchar _tmp75_ = '\0';
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_ = self->priv->pixels;
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60__length1 = self->priv->pixels_length1;
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp61_ = line_offset;
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp62_ = x;
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp63_ = _tmp60_[_tmp61_ + (_tmp62_ / 8)];
-#line 564 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 564 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
p = _tmp63_;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp65_ = p;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp66_ = x;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (((gint) (_tmp65_ & (0x80 >> (_tmp66_ % 8)))) != 0) {
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp64_ = 0x00;
#line 2158 "page.c"
} else {
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp64_ = 0xFF;
#line 2162 "page.c"
}
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp67_ = pixel;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp67__length1 = pixel_length1;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_ = offset;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp69_ = pixel;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp69__length1 = pixel_length1;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp70_ = offset;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp71_ = pixel;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp71__length1 = pixel_length1;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp72_ = offset;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp71_[_tmp72_ + 2] = (guchar) _tmp64_;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp73_ = _tmp71_[_tmp72_ + 2];
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp69_[_tmp70_ + 1] = _tmp73_;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp74_ = _tmp69_[_tmp70_ + 1];
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp67_[_tmp68_ + 0] = _tmp74_;
-#line 565 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 565 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp75_ = _tmp67_[_tmp68_ + 0];
-#line 566 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 566 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 2196 "page.c"
} else {
gboolean _tmp76_ = FALSE;
gint _tmp77_ = 0;
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp77_ = self->priv->_depth;
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp77_ == 2) {
#line 2204 "page.c"
gint _tmp78_ = 0;
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp78_ = self->priv->_n_channels;
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp76_ = _tmp78_ == 1;
#line 2210 "page.c"
} else {
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp76_ = FALSE;
#line 2214 "page.c"
}
-#line 570 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 570 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp76_) {
#line 2218 "page.c"
gint block_shift[4] = {0};
@@ -2241,150 +2241,150 @@ static void page_get_pixel (Page* self, gint x, gint y, guchar* pixel, int pixel
guchar _tmp95_ = '\0';
guchar _tmp96_ = '\0';
guchar _tmp97_ = '\0';
-#line 572 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 572 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp79_[0] = 6;
-#line 572 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 572 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp79_[1] = 4;
-#line 572 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 572 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp79_[2] = 2;
-#line 572 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 572 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp79_[3] = 0;
-#line 572 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 572 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
memcpy (block_shift, _tmp79_, 4 * sizeof (gint));
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp80_ = self->priv->pixels;
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp80__length1 = self->priv->pixels_length1;
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp81_ = line_offset;
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp82_ = x;
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp83_ = _tmp80_[_tmp81_ + (_tmp82_ / 4)];
-#line 574 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 574 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
p = _tmp83_;
-#line 575 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 575 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp84_ = p;
-#line 575 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 575 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp85_ = x;
-#line 575 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 575 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp86_ = block_shift[_tmp85_ % 4];
-#line 575 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 575 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
sample = (_tmp84_ >> _tmp86_) & 0x3;
-#line 576 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 576 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp87_ = sample;
-#line 576 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 576 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
sample = (_tmp87_ * 255) / 3;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp88_ = pixel;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp88__length1 = pixel_length1;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp89_ = offset;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp90_ = pixel;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp90__length1 = pixel_length1;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp91_ = offset;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp92_ = pixel;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp92__length1 = pixel_length1;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp93_ = offset;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp94_ = sample;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp92_[_tmp93_ + 2] = (guchar) _tmp94_;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp95_ = _tmp92_[_tmp93_ + 2];
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp90_[_tmp91_ + 1] = _tmp95_;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp96_ = _tmp90_[_tmp91_ + 1];
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp88_[_tmp89_ + 0] = _tmp96_;
-#line 578 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 578 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp97_ = _tmp88_[_tmp89_ + 0];
-#line 579 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 579 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 2313 "page.c"
}
}
}
}
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp98_ = pixel;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp98__length1 = pixel_length1;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp99_ = offset;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp100_ = self->priv->pixels;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp100__length1 = self->priv->pixels_length1;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp101_ = line_offset;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp102_ = x;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp103_ = self->priv->_depth;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp104_ = self->priv->_n_channels;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp105_ = page_get_sample (self, _tmp100_, _tmp100__length1, _tmp101_, _tmp102_, _tmp103_, _tmp104_, 0);
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp98_[_tmp99_ + 0] = _tmp105_;
-#line 583 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 583 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp106_ = _tmp98_[_tmp99_ + 0];
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp107_ = pixel;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp107__length1 = pixel_length1;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp108_ = offset;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp109_ = self->priv->pixels;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp109__length1 = self->priv->pixels_length1;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp110_ = line_offset;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp111_ = x;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp112_ = self->priv->_depth;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp113_ = self->priv->_n_channels;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp114_ = page_get_sample (self, _tmp109_, _tmp109__length1, _tmp110_, _tmp111_, _tmp112_, _tmp113_, 1);
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp107_[_tmp108_ + 1] = _tmp114_;
-#line 584 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 584 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp115_ = _tmp107_[_tmp108_ + 1];
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp116_ = pixel;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp116__length1 = pixel_length1;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp117_ = offset;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp118_ = self->priv->pixels;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp118__length1 = self->priv->pixels_length1;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp119_ = line_offset;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp120_ = x;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp121_ = self->priv->_depth;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp122_ = self->priv->_n_channels;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp123_ = page_get_sample (self, _tmp118_, _tmp118__length1, _tmp119_, _tmp120_, _tmp121_, _tmp122_, 2);
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp116_[_tmp117_ + 2] = _tmp123_;
-#line 585 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 585 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp124_ = _tmp116_[_tmp117_ + 2];
#line 2390 "page.c"
}
@@ -2409,25 +2409,25 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
guint8* _tmp31_ = NULL;
gint image_pixels_length1 = 0;
gint _image_pixels_size_ = 0;
-#line 588 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 588 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = apply_crop;
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp1_) {
#line 2419 "page.c"
gboolean _tmp2_ = FALSE;
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = self->priv->_has_crop;
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = _tmp2_;
#line 2425 "page.c"
} else {
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = FALSE;
#line 2429 "page.c"
}
-#line 591 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 591 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_) {
#line 2433 "page.c"
gint _tmp3_ = 0;
@@ -2444,77 +2444,77 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
gint _tmp16_ = 0;
gint _tmp17_ = 0;
gint _tmp18_ = 0;
-#line 593 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 593 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = self->priv->_crop_x;
-#line 593 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 593 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
l = _tmp3_;
-#line 594 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 594 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = l;
-#line 594 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 594 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_crop_width;
-#line 594 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 594 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
r = _tmp4_ + _tmp5_;
-#line 595 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 595 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_crop_y;
-#line 595 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 595 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp6_;
-#line 596 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 596 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = t;
-#line 596 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 596 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = self->priv->_crop_height;
-#line 596 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 596 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
b = _tmp7_ + _tmp8_;
-#line 598 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 598 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = l;
-#line 598 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 598 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp9_ < 0) {
-#line 599 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 599 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
l = 0;
#line 2474 "page.c"
}
-#line 600 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 600 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = r;
-#line 600 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 600 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = page_get_width (self);
-#line 600 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 600 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = _tmp11_;
-#line 600 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 600 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp10_ > _tmp12_) {
#line 2484 "page.c"
gint _tmp13_ = 0;
gint _tmp14_ = 0;
-#line 601 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 601 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = page_get_width (self);
-#line 601 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 601 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = _tmp13_;
-#line 601 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 601 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
r = _tmp14_;
#line 2493 "page.c"
}
-#line 602 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 602 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = t;
-#line 602 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 602 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp15_ < 0) {
-#line 603 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 603 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = 0;
#line 2501 "page.c"
}
-#line 604 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 604 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = b;
-#line 604 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 604 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = page_get_height (self);
-#line 604 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 604 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = _tmp17_;
-#line 604 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 604 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp16_ > _tmp18_) {
#line 2511 "page.c"
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 605 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 605 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = page_get_height (self);
-#line 605 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 605 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = _tmp19_;
-#line 605 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 605 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
b = _tmp20_;
#line 2520 "page.c"
}
@@ -2523,60 +2523,60 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
gint _tmp22_ = 0;
gint _tmp23_ = 0;
gint _tmp24_ = 0;
-#line 609 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 609 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
l = 0;
-#line 610 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 610 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = page_get_width (self);
-#line 610 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 610 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = _tmp21_;
-#line 610 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 610 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
r = _tmp22_;
-#line 611 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 611 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = 0;
-#line 612 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 612 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = page_get_height (self);
-#line 612 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 612 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = _tmp23_;
-#line 612 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 612 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
b = _tmp24_;
#line 2543 "page.c"
}
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = r;
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = l;
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = b;
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_ = t;
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp29_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, _tmp25_ - _tmp26_, _tmp27_ - _tmp28_);
-#line 615 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 615 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
image = _tmp29_;
-#line 616 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 616 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30_ = image;
-#line 616 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 616 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31_ = gdk_pixbuf_get_pixels (_tmp30_);
-#line 616 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 616 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
image_pixels = _tmp31_;
-#line 616 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 616 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
image_pixels_length1 = -1;
-#line 616 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 616 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_image_pixels_size_ = image_pixels_length1;
#line 2567 "page.c"
{
gint y = 0;
gint _tmp32_ = 0;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp32_ = t;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
y = _tmp32_;
#line 2575 "page.c"
{
gboolean _tmp33_ = FALSE;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp33_ = TRUE;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
while (TRUE) {
#line 2582 "page.c"
gint _tmp35_ = 0;
@@ -2586,52 +2586,52 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
gint _tmp38_ = 0;
gint _tmp39_ = 0;
gint _tmp40_ = 0;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp33_) {
#line 2592 "page.c"
gint _tmp34_ = 0;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34_ = y;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
y = _tmp34_ + 1;
#line 2598 "page.c"
}
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp33_ = FALSE;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp35_ = y;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp36_ = b;
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!(_tmp35_ < _tmp36_)) {
-#line 617 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 617 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 2610 "page.c"
}
-#line 619 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 619 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp37_ = image;
-#line 619 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 619 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_ = gdk_pixbuf_get_rowstride (_tmp37_);
-#line 619 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 619 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp39_ = y;
-#line 619 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 619 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp40_ = t;
-#line 619 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 619 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
offset = _tmp38_ * (_tmp39_ - _tmp40_);
#line 2622 "page.c"
{
gint x = 0;
gint _tmp41_ = 0;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp41_ = l;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
x = _tmp41_;
#line 2630 "page.c"
{
gboolean _tmp42_ = FALSE;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp42_ = TRUE;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
while (TRUE) {
#line 2637 "page.c"
gint _tmp44_ = 0;
@@ -2643,43 +2643,43 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
gint _tmp49_ = 0;
gint _tmp50_ = 0;
gint _tmp51_ = 0;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!_tmp42_) {
#line 2649 "page.c"
gint _tmp43_ = 0;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp43_ = x;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
x = _tmp43_ + 1;
#line 2655 "page.c"
}
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp42_ = FALSE;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp44_ = x;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_ = r;
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!(_tmp44_ < _tmp45_)) {
-#line 620 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 620 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 2667 "page.c"
}
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp46_ = x;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47_ = y;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp48_ = image_pixels;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp48__length1 = image_pixels_length1;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp49_ = offset;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp50_ = x;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51_ = l;
-#line 621 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 621 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_get_pixel (self, _tmp46_, _tmp47_, _tmp48_, _tmp48__length1, _tmp49_ + ((_tmp50_ - _tmp51_) * 3));
#line 2685 "page.c"
}
@@ -2688,9 +2688,9 @@ GdkPixbuf* page_get_image (Page* self, gboolean apply_crop) {
}
}
}
-#line 624 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 624 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = image;
-#line 624 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 624 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 2696 "page.c"
}
@@ -2768,23 +2768,23 @@ static gchar* page_get_icc_data_encoded (Page* self, const gchar* icc_profile_fi
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
GError * _inner_error_ = NULL;
-#line 627 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 627 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 627 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 627 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (icc_profile_filename != NULL, NULL);
#line 2776 "page.c"
{
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 633 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 633 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = icc_profile_filename;
-#line 633 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 633 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_file_get_contents (_tmp0_, &_tmp1_, NULL, &_inner_error_);
-#line 633 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 633 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (contents);
-#line 633 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 633 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
contents = _tmp1_;
-#line 633 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 633 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2790 "page.c"
goto __catch3_g_error;
@@ -2796,65 +2796,65 @@ static gchar* page_get_icc_data_encoded (Page* self, const gchar* icc_profile_fi
GError* e = NULL;
GError* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
e = _inner_error_;
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_inner_error_ = NULL;
-#line 637 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 637 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = e;
-#line 637 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 637 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = _tmp2_->message;
-#line 637 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 637 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_warning ("page.vala:637: failed to get icc profile data: %s", _tmp3_);
-#line 638 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 638 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = NULL;
-#line 638 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 638 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_error_free0 (e);
-#line 638 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 638 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (contents);
-#line 638 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 638 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 2818 "page.c"
}
__finally3:
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (contents);
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_clear_error (&_inner_error_);
-#line 631 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 631 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return NULL;
#line 2831 "page.c"
}
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = contents;
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = string_to_utf8 (_tmp4_, &_tmp5_);
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = (guchar*) _tmp6_;
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7__length1 = (_tmp5_ * sizeof (gchar)) / sizeof (guchar);
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = g_base64_encode (_tmp7_, (_tmp5_ * sizeof (gchar)) / sizeof (guchar));
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = _tmp8_;
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = (g_free (_tmp7_), NULL);
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp9_;
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (contents);
-#line 642 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 642 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 2853 "page.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 647 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 647 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return self ? g_object_ref (self) : NULL;
#line 2860 "page.c"
}
@@ -2870,35 +2870,35 @@ void page_copy_to_clipboard (Page* self, GtkWindow* window) {
GtkClipboard* _tmp4_ = NULL;
GdkPixbuf* image = NULL;
GdkPixbuf* _tmp5_ = NULL;
-#line 645 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 645 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 645 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 645 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (window != NULL);
-#line 647 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 647 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = window;
-#line 647 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 647 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = gtk_widget_get_display ((GtkWidget*) _tmp0_);
-#line 647 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 647 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 647 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 647 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
display = _tmp2_;
-#line 648 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 648 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = gtk_clipboard_get_for_display (display, GDK_SELECTION_CLIPBOARD);
-#line 648 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 648 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 648 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 648 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
clipboard = _tmp4_;
-#line 649 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 649 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = page_get_image (self, TRUE);
-#line 649 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 649 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
image = _tmp5_;
-#line 650 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 650 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
gtk_clipboard_set_image (clipboard, image);
-#line 645 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 645 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (image);
-#line 645 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 645 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (clipboard);
-#line 645 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 645 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (display);
#line 2904 "page.c"
}
@@ -2919,62 +2919,62 @@ void page_save (Page* self, const gchar* type, gint quality, GFile* file, GError
const gchar* _tmp9_ = NULL;
gint _tmp10_ = 0;
GError * _inner_error_ = NULL;
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (type != NULL);
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (file != NULL);
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = file;
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = g_file_replace (_tmp0_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &_inner_error_);
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
stream = _tmp1_;
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 655 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 655 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 2941 "page.c"
}
-#line 656 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 656 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = stream;
-#line 656 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 656 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = pixbuf_writer_new (_tmp2_);
-#line 656 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 656 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
writer = _tmp3_;
-#line 657 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 657 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = page_get_image (self, TRUE);
-#line 657 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 657 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
image = _tmp4_;
-#line 659 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 659 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
icc_profile_data = NULL;
-#line 660 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 660 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_color_profile;
-#line 660 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 660 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp5_ != NULL) {
#line 2959 "page.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 661 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 661 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_color_profile;
-#line 661 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 661 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = page_get_icc_data_encoded (self, _tmp6_);
-#line 661 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 661 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (icc_profile_data);
-#line 661 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 661 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
icc_profile_data = _tmp7_;
#line 2970 "page.c"
}
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = g_strcmp0;
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = type;
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = _tmp8_ (_tmp9_, "jpeg");
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp10_ == 0) {
#line 2980 "page.c"
gchar** keys = NULL;
@@ -3004,136 +3004,136 @@ void page_save (Page* self, const gchar* type, gint quality, GFile* file, GError
gint _tmp30__length1 = 0;
gchar** _tmp31_ = NULL;
gint _tmp31__length1 = 0;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = g_strdup ("x-dpi");
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = g_strdup ("y-dpi");
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = g_strdup ("quality");
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = g_strdup ("icc-profile");
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = g_new0 (gchar*, 5 + 1);
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_[0] = _tmp11_;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_[1] = _tmp12_;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_[2] = _tmp13_;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_[3] = _tmp14_;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_[4] = NULL;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = _tmp15_;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys_length1 = 5;
-#line 665 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 665 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_keys_size_ = keys_length1;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = self->priv->_dpi;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = g_strdup_printf ("%d", _tmp16_);
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = self->priv->_dpi;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = g_strdup_printf ("%d", _tmp18_);
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = quality;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = g_strdup_printf ("%d", _tmp20_);
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = icc_profile_data;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = g_strdup (_tmp22_);
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = g_new0 (gchar*, 5 + 1);
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_[0] = _tmp17_;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_[1] = _tmp19_;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_[2] = _tmp21_;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_[3] = _tmp23_;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_[4] = NULL;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = _tmp24_;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values_length1 = 5;
-#line 666 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 666 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_values_size_ = values_length1;
-#line 667 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 667 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = icc_profile_data;
-#line 667 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 667 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp25_ == NULL) {
#line 3072 "page.c"
gchar** _tmp26_ = NULL;
gint _tmp26__length1 = 0;
gchar* _tmp27_ = NULL;
-#line 668 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 668 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = keys;
-#line 668 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 668 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26__length1 = keys_length1;
-#line 668 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 668 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (_tmp26_[3]);
-#line 668 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 668 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_[3] = NULL;
-#line 668 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 668 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = _tmp26_[3];
#line 3086 "page.c"
}
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_ = writer;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp29_ = image;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30_ = keys;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30__length1 = keys_length1;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31_ = values;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31__length1 = values_length1;
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_save (_tmp28_, _tmp29_, "jpeg", _tmp30_, _tmp30__length1, _tmp31_, _tmp31__length1, &_inner_error_);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (icc_profile_data);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (image);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_pixbuf_writer_unref0 (writer);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (stream);
-#line 669 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 669 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 3120 "page.c"
}
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 663 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 663 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
#line 3126 "page.c"
} else {
GCompareFunc _tmp32_ = NULL;
const gchar* _tmp33_ = NULL;
gint _tmp34_ = 0;
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp32_ = g_strcmp0;
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp33_ = type;
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34_ = _tmp32_ (_tmp33_, "png");
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp34_ == 0) {
#line 3139 "page.c"
gchar** keys = NULL;
@@ -3160,126 +3160,126 @@ void page_save (Page* self, const gchar* type, gint quality, GFile* file, GError
gint _tmp51__length1 = 0;
gchar** _tmp52_ = NULL;
gint _tmp52__length1 = 0;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp35_ = g_strdup ("x-dpi");
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp36_ = g_strdup ("y-dpi");
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp37_ = g_strdup ("icc-profile");
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_ = g_new0 (gchar*, 4 + 1);
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_[0] = _tmp35_;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_[1] = _tmp36_;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_[2] = _tmp37_;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp38_[3] = NULL;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = _tmp38_;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys_length1 = 4;
-#line 673 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 673 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_keys_size_ = keys_length1;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp39_ = self->priv->_dpi;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp40_ = g_strdup_printf ("%d", _tmp39_);
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp41_ = self->priv->_dpi;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp42_ = g_strdup_printf ("%d", _tmp41_);
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp43_ = icc_profile_data;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp44_ = g_strdup (_tmp43_);
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_ = g_new0 (gchar*, 4 + 1);
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_[0] = _tmp40_;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_[1] = _tmp42_;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_[2] = _tmp44_;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp45_[3] = NULL;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = _tmp45_;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values_length1 = 4;
-#line 674 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 674 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_values_size_ = values_length1;
-#line 675 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 675 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp46_ = icc_profile_data;
-#line 675 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 675 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp46_ == NULL) {
#line 3218 "page.c"
gchar** _tmp47_ = NULL;
gint _tmp47__length1 = 0;
gchar* _tmp48_ = NULL;
-#line 676 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 676 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47_ = keys;
-#line 676 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 676 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47__length1 = keys_length1;
-#line 676 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 676 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (_tmp47_[2]);
-#line 676 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 676 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp47_[2] = NULL;
-#line 676 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 676 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp48_ = _tmp47_[2];
#line 3232 "page.c"
}
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp49_ = writer;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp50_ = image;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51_ = keys;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp51__length1 = keys_length1;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp52_ = values;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp52__length1 = values_length1;
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_save (_tmp49_, _tmp50_, "png", _tmp51_, _tmp51__length1, _tmp52_, _tmp52__length1, &_inner_error_);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (icc_profile_data);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (image);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_pixbuf_writer_unref0 (writer);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (stream);
-#line 677 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 677 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 3266 "page.c"
}
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 671 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 671 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
#line 3272 "page.c"
} else {
GCompareFunc _tmp53_ = NULL;
const gchar* _tmp54_ = NULL;
gint _tmp55_ = 0;
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp53_ = g_strcmp0;
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp54_ = type;
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp55_ = _tmp53_ (_tmp54_, "tiff");
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp55_ == 0) {
#line 3285 "page.c"
gchar** keys = NULL;
@@ -3308,134 +3308,134 @@ void page_save (Page* self, const gchar* type, gint quality, GFile* file, GError
gint _tmp74__length1 = 0;
gchar** _tmp75_ = NULL;
gint _tmp75__length1 = 0;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp56_ = g_strdup ("x-dpi");
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp57_ = g_strdup ("y-dpi");
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp58_ = g_strdup ("compression");
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp59_ = g_strdup ("icc-profile");
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_ = g_new0 (gchar*, 5 + 1);
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_[0] = _tmp56_;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_[1] = _tmp57_;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_[2] = _tmp58_;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_[3] = _tmp59_;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp60_[4] = NULL;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = _tmp60_;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys_length1 = 5;
-#line 681 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 681 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_keys_size_ = keys_length1;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp61_ = self->priv->_dpi;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp62_ = g_strdup_printf ("%d", _tmp61_);
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp63_ = self->priv->_dpi;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp64_ = g_strdup_printf ("%d", _tmp63_);
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp65_ = g_strdup ("8");
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp66_ = icc_profile_data;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp67_ = g_strdup (_tmp66_);
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_ = g_new0 (gchar*, 5 + 1);
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_[0] = _tmp62_;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_[1] = _tmp64_;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_[2] = _tmp65_;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_[3] = _tmp67_;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp68_[4] = NULL;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = _tmp68_;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values_length1 = 5;
-#line 682 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 682 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_values_size_ = values_length1;
-#line 683 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 683 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp69_ = icc_profile_data;
-#line 683 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 683 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp69_ == NULL) {
#line 3374 "page.c"
gchar** _tmp70_ = NULL;
gint _tmp70__length1 = 0;
gchar* _tmp71_ = NULL;
-#line 684 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 684 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp70_ = keys;
-#line 684 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 684 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp70__length1 = keys_length1;
-#line 684 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 684 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (_tmp70_[3]);
-#line 684 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 684 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp70_[3] = NULL;
-#line 684 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 684 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp71_ = _tmp70_[3];
#line 3388 "page.c"
}
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp72_ = writer;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp73_ = image;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp74_ = keys;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp74__length1 = keys_length1;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp75_ = values;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp75__length1 = values_length1;
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_save (_tmp72_, _tmp73_, "tiff", _tmp74_, _tmp74__length1, _tmp75_, _tmp75__length1, &_inner_error_);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (icc_profile_data);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (image);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_pixbuf_writer_unref0 (writer);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (stream);
-#line 685 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 685 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 3422 "page.c"
}
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 679 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 679 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL);
#line 3428 "page.c"
} else {
}
}
}
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (icc_profile_data);
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (image);
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_pixbuf_writer_unref0 (writer);
-#line 653 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 653 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (stream);
#line 3441 "page.c"
}
@@ -3446,46 +3446,46 @@ gint page_get_width (Page* self) {
gboolean _tmp0_ = FALSE;
ScanDirection _tmp1_ = 0;
ScanDirection _tmp2_ = 0;
-#line 25 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 25 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = page_get_scan_direction (self);
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = _tmp1_;
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp2_ == SCAN_DIRECTION_TOP_TO_BOTTOM) {
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = TRUE;
#line 3460 "page.c"
} else {
ScanDirection _tmp3_ = 0;
ScanDirection _tmp4_ = 0;
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = page_get_scan_direction (self);
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _tmp3_;
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = _tmp4_ == SCAN_DIRECTION_BOTTOM_TO_TOP;
#line 3470 "page.c"
}
-#line 27 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 27 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_) {
#line 3474 "page.c"
gint _tmp5_ = 0;
-#line 28 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 28 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_scan_width;
-#line 28 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 28 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp5_;
-#line 28 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 28 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3482 "page.c"
} else {
gint _tmp6_ = 0;
-#line 30 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 30 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_scan_height;
-#line 30 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 30 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp6_;
-#line 30 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 30 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3491 "page.c"
}
@@ -3497,46 +3497,46 @@ gint page_get_height (Page* self) {
gboolean _tmp0_ = FALSE;
ScanDirection _tmp1_ = 0;
ScanDirection _tmp2_ = 0;
-#line 37 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 37 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = page_get_scan_direction (self);
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = _tmp1_;
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp2_ == SCAN_DIRECTION_TOP_TO_BOTTOM) {
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = TRUE;
#line 3511 "page.c"
} else {
ScanDirection _tmp3_ = 0;
ScanDirection _tmp4_ = 0;
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = page_get_scan_direction (self);
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = _tmp3_;
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = _tmp4_ == SCAN_DIRECTION_BOTTOM_TO_TOP;
#line 3521 "page.c"
}
-#line 39 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 39 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_) {
#line 3525 "page.c"
gint _tmp5_ = 0;
-#line 40 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 40 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = self->priv->_scan_height;
-#line 40 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 40 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp5_;
-#line 40 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 40 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3533 "page.c"
} else {
gint _tmp6_ = 0;
-#line 42 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 42 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = self->priv->_scan_width;
-#line 42 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 42 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp6_;
-#line 42 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 42 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3542 "page.c"
}
@@ -3549,19 +3549,19 @@ gboolean page_get_is_landscape (Page* self) {
gint _tmp1_ = 0;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = page_get_width (self);
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _tmp0_;
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = page_get_height (self);
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = _tmp2_;
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp1_ > _tmp3_;
-#line 47 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 47 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3567 "page.c"
}
@@ -3570,13 +3570,13 @@ gboolean page_get_is_landscape (Page* self) {
gint page_get_dpi (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_dpi;
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3582 "page.c"
}
@@ -3584,11 +3584,11 @@ gint page_get_dpi (Page* self) {
static void page_set_dpi (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 50 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 50 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_dpi = _tmp0_;
#line 3594 "page.c"
}
@@ -3597,13 +3597,13 @@ static void page_set_dpi (Page* self, gint value) {
gint page_get_depth (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_depth;
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3609 "page.c"
}
@@ -3611,11 +3611,11 @@ gint page_get_depth (Page* self) {
static void page_set_depth (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 56 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 56 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_depth = _tmp0_;
#line 3621 "page.c"
}
@@ -3624,13 +3624,13 @@ static void page_set_depth (Page* self, gint value) {
const gchar* page_get_color_profile (Page* self) {
const gchar* result;
const gchar* _tmp0_ = NULL;
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_color_profile;
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3636 "page.c"
}
@@ -3639,15 +3639,15 @@ const gchar* page_get_color_profile (Page* self) {
void page_set_color_profile (Page* self, const gchar* value) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (self->priv->_color_profile);
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_color_profile = _tmp1_;
#line 3653 "page.c"
}
@@ -3656,13 +3656,13 @@ void page_set_color_profile (Page* self, const gchar* value) {
gint page_get_scan_width (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_scan_width;
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3668 "page.c"
}
@@ -3670,11 +3670,11 @@ gint page_get_scan_width (Page* self) {
static void page_set_scan_width (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 62 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 62 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_scan_width = _tmp0_;
#line 3680 "page.c"
}
@@ -3683,13 +3683,13 @@ static void page_set_scan_width (Page* self, gint value) {
gint page_get_scan_height (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_scan_height;
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3695 "page.c"
}
@@ -3697,11 +3697,11 @@ gint page_get_scan_height (Page* self) {
static void page_set_scan_height (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 65 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 65 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_scan_height = _tmp0_;
#line 3707 "page.c"
}
@@ -3710,13 +3710,13 @@ static void page_set_scan_height (Page* self, gint value) {
gint page_get_rowstride (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_rowstride;
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3722 "page.c"
}
@@ -3724,11 +3724,11 @@ gint page_get_rowstride (Page* self) {
static void page_set_rowstride (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 68 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 68 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_rowstride = _tmp0_;
#line 3734 "page.c"
}
@@ -3737,13 +3737,13 @@ static void page_set_rowstride (Page* self, gint value) {
gint page_get_n_channels (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_n_channels;
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3749 "page.c"
}
@@ -3751,11 +3751,11 @@ gint page_get_n_channels (Page* self) {
static void page_set_n_channels (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 71 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 71 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_n_channels = _tmp0_;
#line 3761 "page.c"
}
@@ -3764,13 +3764,13 @@ static void page_set_n_channels (Page* self, gint value) {
gboolean page_get_is_scanning (Page* self) {
gboolean result;
gboolean _tmp0_ = FALSE;
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_is_scanning;
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3776 "page.c"
}
@@ -3778,11 +3778,11 @@ gboolean page_get_is_scanning (Page* self) {
static void page_set_is_scanning (Page* self, gboolean value) {
gboolean _tmp0_ = FALSE;
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 77 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 77 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_is_scanning = _tmp0_;
#line 3788 "page.c"
}
@@ -3791,13 +3791,13 @@ static void page_set_is_scanning (Page* self, gboolean value) {
gboolean page_get_has_data (Page* self) {
gboolean result;
gboolean _tmp0_ = FALSE;
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_has_data;
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3803 "page.c"
}
@@ -3805,11 +3805,11 @@ gboolean page_get_has_data (Page* self) {
static void page_set_has_data (Page* self, gboolean value) {
gboolean _tmp0_ = FALSE;
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 80 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 80 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_has_data = _tmp0_;
#line 3815 "page.c"
}
@@ -3818,13 +3818,13 @@ static void page_set_has_data (Page* self, gboolean value) {
gint page_get_scan_line (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_scan_line;
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3830 "page.c"
}
@@ -3832,11 +3832,11 @@ gint page_get_scan_line (Page* self) {
static void page_set_scan_line (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 83 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 83 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_scan_line = _tmp0_;
#line 3842 "page.c"
}
@@ -3845,13 +3845,13 @@ static void page_set_scan_line (Page* self, gint value) {
gboolean page_get_is_color (Page* self) {
gboolean result;
gint _tmp0_ = 0;
-#line 86 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 86 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 86 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 86 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_n_channels;
-#line 86 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 86 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_ > 1;
-#line 86 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 86 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3857 "page.c"
}
@@ -3860,13 +3860,13 @@ gboolean page_get_is_color (Page* self) {
ScanDirection page_get_scan_direction (Page* self) {
ScanDirection result;
ScanDirection _tmp0_ = 0;
-#line 92 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 92 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 92 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 92 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->scan_direction_;
-#line 92 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 92 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 92 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 92 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 3872 "page.c"
}
@@ -3885,57 +3885,57 @@ void page_set_scan_direction (Page* self, ScanDirection value) {
ScanDirection _tmp35_ = 0;
gboolean _tmp36_ = FALSE;
gboolean _tmp37_ = FALSE;
-#line 94 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 94 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 96 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 96 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->scan_direction_;
-#line 96 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 96 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = value;
-#line 96 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 96 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp0_ == _tmp1_) {
-#line 97 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 97 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 3899 "page.c"
}
-#line 100 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 100 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = FALSE;
-#line 101 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 101 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = value;
-#line 101 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 101 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = self->priv->scan_direction_;
-#line 101 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 101 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
left_steps = (gint) (_tmp2_ - _tmp3_);
-#line 102 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 102 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp4_ = left_steps;
-#line 102 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 102 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp4_ < 0) {
#line 3913 "page.c"
gint _tmp5_ = 0;
-#line 103 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 103 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp5_ = left_steps;
-#line 103 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 103 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
left_steps = _tmp5_ + 4;
#line 3919 "page.c"
}
-#line 104 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 104 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp6_ = left_steps;
-#line 104 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 104 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp6_ != 2) {
-#line 105 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 105 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
size_has_changed = TRUE;
#line 3927 "page.c"
}
-#line 108 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 108 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp7_ = self->priv->_has_crop;
-#line 108 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 108 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp7_) {
#line 3933 "page.c"
gint _tmp8_ = 0;
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp8_ = left_steps;
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
switch (_tmp8_) {
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case 1:
#line 3941 "page.c"
{
@@ -3949,41 +3949,41 @@ void page_set_scan_direction (Page* self, ScanDirection value) {
gint _tmp15_ = 0;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
-#line 114 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 114 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp9_ = self->priv->_crop_x;
-#line 114 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 114 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp9_;
-#line 115 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 115 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp10_ = self->priv->_crop_y;
-#line 115 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 115 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp10_);
-#line 116 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 116 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp11_ = page_get_width (self);
-#line 116 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 116 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp12_ = _tmp11_;
-#line 116 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 116 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp13_ = t;
-#line 116 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 116 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp14_ = self->priv->_crop_width;
-#line 116 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 116 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp12_ - (_tmp13_ + _tmp14_));
-#line 117 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 117 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp15_ = self->priv->_crop_width;
-#line 117 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 117 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp15_;
-#line 118 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 118 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp16_ = self->priv->_crop_height;
-#line 118 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 118 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp16_);
-#line 119 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 119 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp17_ = t;
-#line 119 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 119 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp17_);
-#line 120 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 120 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 3985 "page.c"
}
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case 2:
#line 3989 "page.c"
{
@@ -3995,31 +3995,31 @@ void page_set_scan_direction (Page* self, ScanDirection value) {
gint _tmp23_ = 0;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 123 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 123 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp18_ = page_get_width (self);
-#line 123 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 123 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp19_ = _tmp18_;
-#line 123 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 123 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp20_ = self->priv->_crop_x;
-#line 123 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 123 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp21_ = self->priv->_crop_width;
-#line 123 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 123 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp19_ - (_tmp20_ + _tmp21_));
-#line 124 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 124 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp22_ = page_get_width (self);
-#line 124 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 124 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp23_ = _tmp22_;
-#line 124 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 124 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp24_ = self->priv->_crop_y;
-#line 124 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 124 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp25_ = self->priv->_crop_height;
-#line 124 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 124 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp23_ - (_tmp24_ + _tmp25_));
-#line 125 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 125 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 4021 "page.c"
}
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
case 3:
#line 4025 "page.c"
{
@@ -4033,65 +4033,65 @@ void page_set_scan_direction (Page* self, ScanDirection value) {
gint _tmp32_ = 0;
gint _tmp33_ = 0;
gint _tmp34_ = 0;
-#line 128 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 128 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp26_ = self->priv->_crop_y;
-#line 128 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 128 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp26_;
-#line 129 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 129 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp27_ = self->priv->_crop_x;
-#line 129 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 129 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_y (self, _tmp27_);
-#line 130 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 130 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp28_ = page_get_height (self);
-#line 130 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 130 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp29_ = _tmp28_;
-#line 130 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 130 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp30_ = t;
-#line 130 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 130 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp31_ = self->priv->_crop_height;
-#line 130 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 130 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_x (self, _tmp29_ - (_tmp30_ + _tmp31_));
-#line 131 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 131 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp32_ = self->priv->_crop_width;
-#line 131 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 131 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
t = _tmp32_;
-#line 132 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 132 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp33_ = self->priv->_crop_height;
-#line 132 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 132 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_width (self, _tmp33_);
-#line 133 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 133 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp34_ = t;
-#line 133 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 133 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_set_crop_height (self, _tmp34_);
-#line 134 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 134 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 4069 "page.c"
}
default:
-#line 110 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 110 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
break;
#line 4074 "page.c"
}
}
-#line 138 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 138 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp35_ = value;
-#line 138 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 138 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->scan_direction_ = _tmp35_;
-#line 139 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 139 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp36_ = size_has_changed;
-#line 139 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 139 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp36_) {
-#line 140 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 140 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "size-changed");
#line 4087 "page.c"
}
-#line 141 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 141 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "scan-direction-changed");
-#line 142 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 142 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp37_ = self->priv->_has_crop;
-#line 142 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 142 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (_tmp37_) {
-#line 143 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 143 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_emit_by_name (self, "crop-changed");
#line 4097 "page.c"
}
@@ -4101,13 +4101,13 @@ void page_set_scan_direction (Page* self, ScanDirection value) {
gboolean page_get_has_crop (Page* self) {
gboolean result;
gboolean _tmp0_ = FALSE;
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_has_crop;
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4113 "page.c"
}
@@ -4115,11 +4115,11 @@ gboolean page_get_has_crop (Page* self) {
static void page_set_has_crop (Page* self, gboolean value) {
gboolean _tmp0_ = FALSE;
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 150 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 150 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_has_crop = _tmp0_;
#line 4125 "page.c"
}
@@ -4128,13 +4128,13 @@ static void page_set_has_crop (Page* self, gboolean value) {
const gchar* page_get_crop_name (Page* self) {
const gchar* result;
const gchar* _tmp0_ = NULL;
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_crop_name;
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4140 "page.c"
}
@@ -4143,15 +4143,15 @@ const gchar* page_get_crop_name (Page* self) {
static void page_set_crop_name (Page* self, const gchar* value) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (self->priv->_crop_name);
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_crop_name = _tmp1_;
#line 4157 "page.c"
}
@@ -4160,13 +4160,13 @@ static void page_set_crop_name (Page* self, const gchar* value) {
gint page_get_crop_x (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_crop_x;
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4172 "page.c"
}
@@ -4174,11 +4174,11 @@ gint page_get_crop_x (Page* self) {
static void page_set_crop_x (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 156 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 156 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_crop_x = _tmp0_;
#line 4184 "page.c"
}
@@ -4187,13 +4187,13 @@ static void page_set_crop_x (Page* self, gint value) {
gint page_get_crop_y (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_crop_y;
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4199 "page.c"
}
@@ -4201,11 +4201,11 @@ gint page_get_crop_y (Page* self) {
static void page_set_crop_y (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 159 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 159 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_crop_y = _tmp0_;
#line 4211 "page.c"
}
@@ -4214,13 +4214,13 @@ static void page_set_crop_y (Page* self, gint value) {
gint page_get_crop_width (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_crop_width;
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4226 "page.c"
}
@@ -4228,11 +4228,11 @@ gint page_get_crop_width (Page* self) {
static void page_set_crop_width (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 162 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 162 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_crop_width = _tmp0_;
#line 4238 "page.c"
}
@@ -4241,13 +4241,13 @@ static void page_set_crop_width (Page* self, gint value) {
gint page_get_crop_height (Page* self) {
gint result;
gint _tmp0_ = 0;
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->priv->_crop_height;
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = _tmp0_;
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4253 "page.c"
}
@@ -4255,27 +4255,27 @@ gint page_get_crop_height (Page* self) {
static void page_set_crop_height (Page* self, gint value) {
gint _tmp0_ = 0;
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = value;
-#line 165 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 165 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->_crop_height = _tmp0_;
#line 4265 "page.c"
}
static void value_page_init (GValue* value) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4272 "page.c"
}
static void value_page_free_value (GValue* value) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (value->data[0].v_pointer) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_unref (value->data[0].v_pointer);
#line 4281 "page.c"
}
@@ -4283,13 +4283,13 @@ static void value_page_free_value (GValue* value) {
static void value_page_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (src_value->data[0].v_pointer) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
dest_value->data[0].v_pointer = page_ref (src_value->data[0].v_pointer);
#line 4291 "page.c"
} else {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
dest_value->data[0].v_pointer = NULL;
#line 4295 "page.c"
}
@@ -4297,37 +4297,37 @@ static void value_page_copy_value (const GValue* src_value, GValue* dest_value)
static gpointer value_page_peek_pointer (const GValue* value) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return value->data[0].v_pointer;
#line 4303 "page.c"
}
static gchar* value_page_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (collect_values[0].v_pointer) {
#line 4310 "page.c"
Page* object;
object = collect_values[0].v_pointer;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (object->parent_instance.g_class == NULL) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4317 "page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.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 4321 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = page_ref (object);
#line 4325 "page.c"
} else {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4329 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return NULL;
#line 4333 "page.c"
}
@@ -4336,27 +4336,27 @@ static gchar* value_page_collect_value (GValue* value, guint n_collect_values, G
static gchar* value_page_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
Page** object_p;
object_p = collect_values[0].v_pointer;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!object_p) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 4344 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!value->data[0].v_pointer) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = NULL;
#line 4350 "page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = value->data[0].v_pointer;
#line 4354 "page.c"
} else {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = page_ref (value->data[0].v_pointer);
#line 4358 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return NULL;
#line 4362 "page.c"
}
@@ -4364,22 +4364,22 @@ static gchar* value_page_lcopy_value (const GValue* value, guint n_collect_value
GParamSpec* param_spec_page (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecPage* spec;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_PAGE), NULL);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return G_PARAM_SPEC (spec);
#line 4376 "page.c"
}
gpointer value_get_page (const GValue* value) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PAGE), NULL);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return value->data[0].v_pointer;
#line 4385 "page.c"
}
@@ -4387,29 +4387,29 @@ gpointer value_get_page (const GValue* value) {
void value_set_page (GValue* value, gpointer v_object) {
Page* old;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PAGE));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
old = value->data[0].v_pointer;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (v_object) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PAGE));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = v_object;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_ref (value->data[0].v_pointer);
#line 4405 "page.c"
} else {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4409 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (old) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_unref (old);
#line 4415 "page.c"
}
@@ -4418,27 +4418,27 @@ void value_set_page (GValue* value, gpointer v_object) {
void value_take_page (GValue* value, gpointer v_object) {
Page* old;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PAGE));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
old = value->data[0].v_pointer;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (v_object) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PAGE));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = v_object;
#line 4434 "page.c"
} else {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4438 "page.c"
}
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (old) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_unref (old);
#line 4444 "page.c"
}
@@ -4446,32 +4446,32 @@ void value_take_page (GValue* value, gpointer v_object) {
static void page_class_init (PageClass * klass) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
page_parent_class = g_type_class_peek_parent (klass);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
((PageClass *) klass)->finalize = page_finalize;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_type_class_add_private (klass, sizeof (PagePrivate));
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("pixels_changed", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("size_changed", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("scan_line_changed", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("scan_direction_changed", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("crop_changed", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_new ("scan_finished", TYPE_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 4468 "page.c"
}
static void page_instance_init (Page * self) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv = PAGE_GET_PRIVATE (self);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->ref_count = 1;
#line 4477 "page.c"
}
@@ -4479,15 +4479,15 @@ static void page_instance_init (Page * self) {
static void page_finalize (Page* obj) {
Page * self;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PAGE, Page);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_handlers_destroy (self);
-#line 59 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 59 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (self->priv->_color_profile);
-#line 74 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 74 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->priv->pixels = (g_free (self->priv->pixels), NULL);
-#line 153 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 153 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_free0 (self->priv->_crop_name);
#line 4493 "page.c"
}
@@ -4510,9 +4510,9 @@ GType page_get_type (void) {
gpointer page_ref (gpointer instance) {
Page* self;
self = instance;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_atomic_int_inc (&self->ref_count);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return instance;
#line 4518 "page.c"
}
@@ -4521,11 +4521,11 @@ gpointer page_ref (gpointer instance) {
void page_unref (gpointer instance) {
Page* self;
self = instance;
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
PAGE_GET_CLASS (self)->finalize (self);
-#line 20 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 20 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_type_free_instance ((GTypeInstance *) self);
#line 4531 "page.c"
}
@@ -4536,26 +4536,26 @@ PixbufWriter* pixbuf_writer_construct (GType object_type, GFileOutputStream* str
PixbufWriter* self = NULL;
GFileOutputStream* _tmp0_ = NULL;
GFileOutputStream* _tmp1_ = NULL;
-#line 696 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 696 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (stream != NULL, NULL);
-#line 696 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 696 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self = (PixbufWriter*) g_type_create_instance (object_type);
-#line 698 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 698 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = stream;
-#line 698 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 698 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 698 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 698 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (self->stream);
-#line 698 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 698 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->stream = _tmp1_;
-#line 696 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 696 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return self;
#line 4554 "page.c"
}
PixbufWriter* pixbuf_writer_new (GFileOutputStream* stream) {
-#line 696 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 696 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return pixbuf_writer_construct (TYPE_PIXBUF_WRITER, stream);
#line 4561 "page.c"
}
@@ -4564,7 +4564,7 @@ PixbufWriter* pixbuf_writer_new (GFileOutputStream* stream) {
static gboolean _pixbuf_writer_write_pixbuf_data_gdk_pixbuf_save_func (guint8* buf, gsize buf_length1, GError** error, gpointer self) {
gboolean result;
result = pixbuf_writer_write_pixbuf_data ((PixbufWriter*) self, buf, buf_length1, error);
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4570 "page.c"
}
@@ -4578,31 +4578,31 @@ void pixbuf_writer_save (PixbufWriter* self, GdkPixbuf* image, const gchar* type
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
GError * _inner_error_ = NULL;
-#line 701 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 701 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (self != NULL);
-#line 701 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 701 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (image != NULL);
-#line 701 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 701 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (type != NULL);
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = image;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = type;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2_ = option_keys;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp2__length1 = option_keys_length1;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3_ = option_values;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp3__length1 = option_values_length1;
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
gdk_pixbuf_save_to_callbackv (_tmp0_, _pixbuf_writer_write_pixbuf_data_gdk_pixbuf_save_func, self, _tmp1_, _tmp2_, _tmp3_, &_inner_error_);
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 703 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 703 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return;
#line 4608 "page.c"
}
@@ -4615,43 +4615,43 @@ static gboolean pixbuf_writer_write_pixbuf_data (PixbufWriter* self, guint8* buf
guint8* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
GError * _inner_error_ = NULL;
-#line 706 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 706 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp0_ = self->stream;
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1_ = buf;
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_tmp1__length1 = buf_length1;
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_output_stream_write_all ((GOutputStream*) _tmp0_, _tmp1_, (gsize) _tmp1__length1, NULL, NULL, &_inner_error_);
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_propagate_error (error, _inner_error_);
-#line 708 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 708 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return FALSE;
#line 4635 "page.c"
}
-#line 709 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 709 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
result = TRUE;
-#line 709 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 709 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return result;
#line 4641 "page.c"
}
static void value_pixbuf_writer_init (GValue* value) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4648 "page.c"
}
static void value_pixbuf_writer_free_value (GValue* value) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (value->data[0].v_pointer) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_unref (value->data[0].v_pointer);
#line 4657 "page.c"
}
@@ -4659,13 +4659,13 @@ static void value_pixbuf_writer_free_value (GValue* value) {
static void value_pixbuf_writer_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (src_value->data[0].v_pointer) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
dest_value->data[0].v_pointer = pixbuf_writer_ref (src_value->data[0].v_pointer);
#line 4667 "page.c"
} else {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
dest_value->data[0].v_pointer = NULL;
#line 4671 "page.c"
}
@@ -4673,37 +4673,37 @@ static void value_pixbuf_writer_copy_value (const GValue* src_value, GValue* des
static gpointer value_pixbuf_writer_peek_pointer (const GValue* value) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return value->data[0].v_pointer;
#line 4679 "page.c"
}
static gchar* value_pixbuf_writer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (collect_values[0].v_pointer) {
#line 4686 "page.c"
PixbufWriter* object;
object = collect_values[0].v_pointer;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (object->parent_instance.g_class == NULL) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4693 "page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.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 4697 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = pixbuf_writer_ref (object);
#line 4701 "page.c"
} else {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4705 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return NULL;
#line 4709 "page.c"
}
@@ -4712,27 +4712,27 @@ static gchar* value_pixbuf_writer_collect_value (GValue* value, guint n_collect_
static gchar* value_pixbuf_writer_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PixbufWriter** object_p;
object_p = collect_values[0].v_pointer;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!object_p) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 4720 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (!value->data[0].v_pointer) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = NULL;
#line 4726 "page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = value->data[0].v_pointer;
#line 4730 "page.c"
} else {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
*object_p = pixbuf_writer_ref (value->data[0].v_pointer);
#line 4734 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return NULL;
#line 4738 "page.c"
}
@@ -4740,22 +4740,22 @@ static gchar* value_pixbuf_writer_lcopy_value (const GValue* value, guint n_coll
GParamSpec* param_spec_pixbuf_writer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecPixbufWriter* spec;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_PIXBUF_WRITER), NULL);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return G_PARAM_SPEC (spec);
#line 4752 "page.c"
}
gpointer value_get_pixbuf_writer (const GValue* value) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXBUF_WRITER), NULL);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return value->data[0].v_pointer;
#line 4761 "page.c"
}
@@ -4763,29 +4763,29 @@ gpointer value_get_pixbuf_writer (const GValue* value) {
void value_set_pixbuf_writer (GValue* value, gpointer v_object) {
PixbufWriter* old;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXBUF_WRITER));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
old = value->data[0].v_pointer;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (v_object) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXBUF_WRITER));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = v_object;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_ref (value->data[0].v_pointer);
#line 4781 "page.c"
} else {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4785 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (old) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_unref (old);
#line 4791 "page.c"
}
@@ -4794,27 +4794,27 @@ void value_set_pixbuf_writer (GValue* value, gpointer v_object) {
void value_take_pixbuf_writer (GValue* value, gpointer v_object) {
PixbufWriter* old;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXBUF_WRITER));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
old = value->data[0].v_pointer;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (v_object) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXBUF_WRITER));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = v_object;
#line 4810 "page.c"
} else {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
value->data[0].v_pointer = NULL;
#line 4814 "page.c"
}
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (old) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_unref (old);
#line 4820 "page.c"
}
@@ -4822,16 +4822,16 @@ void value_take_pixbuf_writer (GValue* value, gpointer v_object) {
static void pixbuf_writer_class_init (PixbufWriterClass * klass) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
pixbuf_writer_parent_class = g_type_class_peek_parent (klass);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
((PixbufWriterClass *) klass)->finalize = pixbuf_writer_finalize;
#line 4830 "page.c"
}
static void pixbuf_writer_instance_init (PixbufWriter * self) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self->ref_count = 1;
#line 4837 "page.c"
}
@@ -4839,11 +4839,11 @@ static void pixbuf_writer_instance_init (PixbufWriter * self) {
static void pixbuf_writer_finalize (PixbufWriter* obj) {
PixbufWriter * self;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXBUF_WRITER, PixbufWriter);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_signal_handlers_destroy (self);
-#line 694 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 694 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
_g_object_unref0 (self->stream);
#line 4849 "page.c"
}
@@ -4866,9 +4866,9 @@ GType pixbuf_writer_get_type (void) {
gpointer pixbuf_writer_ref (gpointer instance) {
PixbufWriter* self;
self = instance;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_atomic_int_inc (&self->ref_count);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
return instance;
#line 4874 "page.c"
}
@@ -4877,11 +4877,11 @@ gpointer pixbuf_writer_ref (gpointer instance) {
void pixbuf_writer_unref (gpointer instance) {
PixbufWriter* self;
self = instance;
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
PIXBUF_WRITER_GET_CLASS (self)->finalize (self);
-#line 692 "/home/bob/bzr/simple-scan/3.16/src/page.vala"
+#line 692 "/home/bob/bzr/simple-scan/trunk/src/page.vala"
g_type_free_instance ((GTypeInstance *) self);
#line 4887 "page.c"
}