summaryrefslogtreecommitdiff
path: root/src/autosave-manager.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-13 06:18:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-13 06:18:59 +0200
commit4d4a5511575bd87ac4c2ede8713f1ad805ceac65 (patch)
treefaeacd1e710c14dc47c03c95e0d03958e6c868d1 /src/autosave-manager.c
parentf29bda377aa09a0c61064075022879e8260eda35 (diff)
parent5eb1c7b74e7f84cab2a51b2d41f71b543b95f6c8 (diff)
Merge tag 'upstream/3.16.1'
Upstream version 3.16.1
Diffstat (limited to 'src/autosave-manager.c')
-rw-r--r--src/autosave-manager.c1566
1 files changed, 783 insertions, 783 deletions
diff --git a/src/autosave-manager.c b/src/autosave-manager.c
index 3c36bfe..c7a0dcc 100644
--- a/src/autosave-manager.c
+++ b/src/autosave-manager.c
@@ -183,14 +183,14 @@ static gint _vala_array_length (gpointer array);
static void _page_unref0_ (gpointer var) {
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
(var == NULL) ? NULL : (var = (page_unref (var), NULL));
#line 189 "autosave-manager.c"
}
static void _g_free0_ (gpointer var) {
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
var = (g_free (var), NULL);
#line 196 "autosave-manager.c"
}
@@ -201,33 +201,33 @@ AutosaveManager* autosave_manager_construct (GType object_type) {
GHashFunc _tmp0_ = NULL;
GEqualFunc _tmp1_ = NULL;
GHashTable* _tmp2_ = NULL;
-#line 57 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 57 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self = (AutosaveManager*) g_type_create_instance (object_type);
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = g_direct_hash;
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = g_direct_equal;
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _page_unref0_, _g_free0_);
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_hash_table_unref0 (self->priv->page_filenames);
-#line 59 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 59 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->page_filenames = _tmp2_;
-#line 57 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 57 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return self;
#line 219 "autosave-manager.c"
}
AutosaveManager* autosave_manager_new (void) {
-#line 57 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 57 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return autosave_manager_construct (TYPE_AUTOSAVE_MANAGER);
#line 226 "autosave-manager.c"
}
static gpointer _page_ref0 (gpointer self) {
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return self ? page_ref (self) : NULL;
#line 233 "autosave-manager.c"
}
@@ -246,35 +246,35 @@ void autosave_manager_load (AutosaveManager* self) {
gchar** _tmp12_ = NULL;
gchar** _tmp13_ = NULL;
GError * _inner_error_ = NULL;
-#line 62 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 62 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 64 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 64 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:64: Loading autosave information");
-#line 66 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 66 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = autosave_manager_get_book (self);
-#line 66 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 66 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = _tmp0_;
-#line 66 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 66 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
book_clear (_tmp1_);
-#line 67 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 67 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = self->priv->page_filenames;
-#line 67 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 67 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_hash_table_remove_all (_tmp2_);
-#line 69 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 69 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = g_key_file_new ();
-#line 69 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 69 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
file = _tmp3_;
#line 268 "autosave-manager.c"
{
GKeyFile* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 72 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 72 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = file;
-#line 72 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 72 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = autosave_manager_AUTOSAVE_PATH;
-#line 72 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 72 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_load_from_file (_tmp4_, _tmp5_, G_KEY_FILE_NONE, &_inner_error_);
-#line 72 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 72 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 280 "autosave-manager.c"
goto __catch27_g_error;
@@ -285,56 +285,56 @@ void autosave_manager_load (AutosaveManager* self) {
{
GError* e = NULL;
GError* _tmp6_ = NULL;
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 76 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 76 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = e;
-#line 76 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 76 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!g_error_matches (_tmp6_, G_FILE_ERROR, G_FILE_ERROR_NOENT)) {
#line 297 "autosave-manager.c"
GError* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 77 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 77 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = e;
-#line 77 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 77 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = _tmp7_->message;
-#line 77 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 77 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_warning ("autosave-manager.vala:77: Could not load autosave infomation; not rest" \
"oring any autosaves: %s", _tmp8_);
#line 306 "autosave-manager.c"
}
-#line 78 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 78 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 78 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 78 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
-#line 78 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 78 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 314 "autosave-manager.c"
}
__finally27:
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 70 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 70 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 327 "autosave-manager.c"
}
-#line 80 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 80 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = file;
-#line 80 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 80 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = autosave_manager_get_value (self, _tmp9_, "simple-scan", "pages", "");
-#line 80 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 80 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pages = _tmp10_;
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = pages;
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp13_ = _tmp12_ = g_strsplit (_tmp11_, " ", 0);
#line 339 "autosave-manager.c"
{
@@ -342,18 +342,18 @@ void autosave_manager_load (AutosaveManager* self) {
gint page_name_collection_length1 = 0;
gint _page_name_collection_size_ = 0;
gint page_name_it = 0;
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name_collection = _tmp13_;
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name_collection_length1 = _vala_array_length (_tmp12_);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
for (page_name_it = 0; page_name_it < _vala_array_length (_tmp12_); page_name_it = page_name_it + 1) {
#line 351 "autosave-manager.c"
gchar* _tmp14_ = NULL;
gchar* page_name = NULL;
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp14_ = g_strdup (page_name_collection[page_name_it]);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name = _tmp14_;
#line 358 "autosave-manager.c"
{
@@ -390,13 +390,13 @@ void autosave_manager_load (AutosaveManager* self) {
const gchar* _tmp37_ = NULL;
const gchar* _tmp38_ = NULL;
GQuark _tmp40_ = 0U;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
static GQuark _tmp39_label0 = 0;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
static GQuark _tmp39_label1 = 0;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
static GQuark _tmp39_label2 = 0;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
static GQuark _tmp39_label3 = 0;
#line 401 "autosave-manager.c"
gchar* color_profile = NULL;
@@ -463,221 +463,221 @@ void autosave_manager_load (AutosaveManager* self) {
Book* _tmp97_ = NULL;
Book* _tmp98_ = NULL;
Page* _tmp99_ = NULL;
-#line 83 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 83 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp15_ = page_name;
-#line 83 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 83 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:83: Loading automatically saved page %s", _tmp15_);
-#line 85 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 85 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp16_ = file;
-#line 85 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 85 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp17_ = page_name;
-#line 85 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 85 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp18_ = autosave_manager_get_integer (self, _tmp16_, _tmp17_, "scan-width", 0);
-#line 85 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 85 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_width = _tmp18_;
-#line 86 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 86 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp19_ = file;
-#line 86 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 86 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp20_ = page_name;
-#line 86 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 86 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp21_ = autosave_manager_get_integer (self, _tmp19_, _tmp20_, "scan-height", 0);
-#line 86 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 86 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_height = _tmp21_;
-#line 87 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 87 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp22_ = file;
-#line 87 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 87 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp23_ = page_name;
-#line 87 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 87 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp24_ = autosave_manager_get_integer (self, _tmp22_, _tmp23_, "rowstride", 0);
-#line 87 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 87 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
rowstride = _tmp24_;
-#line 88 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 88 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp25_ = file;
-#line 88 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 88 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp26_ = page_name;
-#line 88 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 88 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp27_ = autosave_manager_get_integer (self, _tmp25_, _tmp26_, "n-channels", 0);
-#line 88 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 88 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
n_channels = _tmp27_;
-#line 89 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 89 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp28_ = file;
-#line 89 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 89 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp29_ = page_name;
-#line 89 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 89 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp30_ = autosave_manager_get_integer (self, _tmp28_, _tmp29_, "depth", 0);
-#line 89 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 89 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
depth = _tmp30_;
-#line 90 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 90 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp31_ = file;
-#line 90 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 90 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp32_ = page_name;
-#line 90 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 90 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp33_ = autosave_manager_get_integer (self, _tmp31_, _tmp32_, "dpi", 0);
-#line 90 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 90 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
dpi = _tmp33_;
-#line 91 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 91 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp34_ = file;
-#line 91 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 91 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp35_ = page_name;
-#line 91 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 91 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp36_ = autosave_manager_get_value (self, _tmp34_, _tmp35_, "scan-direction", "");
-#line 91 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 91 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction_name = _tmp36_;
-#line 92 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 92 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction = SCAN_DIRECTION_TOP_TO_BOTTOM;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp37_ = scan_direction_name;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp38_ = _tmp37_;
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp40_ = (NULL == _tmp38_) ? 0 : g_quark_from_string (_tmp38_);
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp40_ == ((0 != _tmp39_label0) ? _tmp39_label0 : (_tmp39_label0 = g_quark_from_static_string ("TOP_TO_BOTTOM")))) {
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
switch (0) {
#line 538 "autosave-manager.c"
default:
{
-#line 96 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 96 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction = SCAN_DIRECTION_TOP_TO_BOTTOM;
-#line 97 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 97 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 545 "autosave-manager.c"
}
}
} else if (_tmp40_ == ((0 != _tmp39_label1) ? _tmp39_label1 : (_tmp39_label1 = g_quark_from_static_string ("LEFT_TO_RIGHT")))) {
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
switch (0) {
#line 551 "autosave-manager.c"
default:
{
-#line 99 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 99 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction = SCAN_DIRECTION_LEFT_TO_RIGHT;
-#line 100 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 100 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 558 "autosave-manager.c"
}
}
} else if (_tmp40_ == ((0 != _tmp39_label2) ? _tmp39_label2 : (_tmp39_label2 = g_quark_from_static_string ("BOTTOM_TO_TOP")))) {
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
switch (0) {
#line 564 "autosave-manager.c"
default:
{
-#line 102 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 102 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction = SCAN_DIRECTION_BOTTOM_TO_TOP;
-#line 103 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 103 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 571 "autosave-manager.c"
}
}
} else if (_tmp40_ == ((0 != _tmp39_label3) ? _tmp39_label3 : (_tmp39_label3 = g_quark_from_static_string ("RIGHT_TO_LEFT")))) {
-#line 93 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 93 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
switch (0) {
#line 577 "autosave-manager.c"
default:
{
-#line 105 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 105 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
scan_direction = SCAN_DIRECTION_RIGHT_TO_LEFT;
-#line 106 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 106 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 584 "autosave-manager.c"
}
}
}
-#line 108 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 108 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp41_ = file;
-#line 108 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 108 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp42_ = page_name;
-#line 108 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 108 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp43_ = autosave_manager_get_value (self, _tmp41_, _tmp42_, "color-profile", "");
-#line 108 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 108 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
color_profile = _tmp43_;
-#line 109 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 109 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp44_ = color_profile;
-#line 109 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 109 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (g_strcmp0 (_tmp44_, "") == 0) {
-#line 110 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 110 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (color_profile);
-#line 110 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 110 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
color_profile = NULL;
#line 604 "autosave-manager.c"
}
-#line 111 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 111 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp45_ = file;
-#line 111 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 111 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp46_ = page_name;
-#line 111 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 111 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp47_ = autosave_manager_get_value (self, _tmp45_, _tmp46_, "pixels-filename", "");
-#line 111 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 111 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels_filename = _tmp47_;
-#line 112 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 112 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp48_ = file;
-#line 112 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 112 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp49_ = page_name;
-#line 112 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 112 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp50_ = autosave_manager_get_boolean (self, _tmp48_, _tmp49_, "has-crop", FALSE);
-#line 112 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 112 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
has_crop = _tmp50_;
-#line 113 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 113 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp51_ = file;
-#line 113 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 113 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp52_ = page_name;
-#line 113 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 113 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp53_ = autosave_manager_get_value (self, _tmp51_, _tmp52_, "crop-name", "");
-#line 113 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 113 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_name = _tmp53_;
-#line 114 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 114 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp54_ = crop_name;
-#line 114 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 114 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (g_strcmp0 (_tmp54_, "") == 0) {
-#line 115 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 115 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (crop_name);
-#line 115 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 115 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_name = NULL;
#line 638 "autosave-manager.c"
}
-#line 116 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 116 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp55_ = file;
-#line 116 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 116 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp56_ = page_name;
-#line 116 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 116 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp57_ = autosave_manager_get_integer (self, _tmp55_, _tmp56_, "crop-x", 0);
-#line 116 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 116 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_x = _tmp57_;
-#line 117 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 117 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp58_ = file;
-#line 117 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 117 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp59_ = page_name;
-#line 117 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 117 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp60_ = autosave_manager_get_integer (self, _tmp58_, _tmp59_, "crop-y", 0);
-#line 117 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 117 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_y = _tmp60_;
-#line 118 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 118 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp61_ = file;
-#line 118 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 118 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp62_ = page_name;
-#line 118 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 118 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp63_ = autosave_manager_get_integer (self, _tmp61_, _tmp62_, "crop-width", 0);
-#line 118 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 118 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_width = _tmp63_;
-#line 119 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 119 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp64_ = file;
-#line 119 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 119 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp65_ = page_name;
-#line 119 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 119 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp66_ = autosave_manager_get_integer (self, _tmp64_, _tmp65_, "crop-height", 0);
-#line 119 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 119 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
crop_height = _tmp66_;
-#line 121 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 121 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = NULL;
-#line 121 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 121 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels_length1 = 0;
-#line 121 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 121 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_pixels_size_ = pixels_length1;
-#line 122 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 122 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp67_ = pixels_filename;
-#line 122 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 122 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (g_strcmp0 (_tmp67_, "") != 0) {
#line 682 "autosave-manager.c"
gchar* path = NULL;
@@ -687,38 +687,38 @@ void autosave_manager_load (AutosaveManager* self) {
GFile* f = NULL;
const gchar* _tmp71_ = NULL;
GFile* _tmp72_ = NULL;
-#line 124 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 124 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp68_ = autosave_manager_AUTOSAVE_DIR;
-#line 124 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 124 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp69_ = pixels_filename;
-#line 124 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 124 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp70_ = g_build_filename (_tmp68_, _tmp69_, NULL);
-#line 124 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 124 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
path = _tmp70_;
-#line 125 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 125 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp71_ = path;
-#line 125 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 125 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp72_ = g_file_new_for_path (_tmp71_);
-#line 125 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 125 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
f = _tmp72_;
#line 704 "autosave-manager.c"
{
GFile* _tmp73_ = NULL;
guint8* _tmp74_ = NULL;
gsize _tmp75_;
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp73_ = f;
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_file_load_contents (_tmp73_, NULL, &_tmp74_, &_tmp75_, NULL, &_inner_error_);
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = (g_free (pixels), NULL);
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = _tmp74_;
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels_length1 = _tmp75_;
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_pixels_size_ = pixels_length1;
-#line 128 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 128 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 723 "autosave-manager.c"
goto __catch28_g_error;
@@ -728,153 +728,153 @@ void autosave_manager_load (AutosaveManager* self) {
__catch28_g_error:
{
GError* e = NULL;
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 132 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 132 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_warning ("autosave-manager.vala:132: Failed to load pixel information");
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_object_unref0 (f);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = (g_free (pixels), NULL);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (crop_name);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (pixels_filename);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (color_profile);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (scan_direction_name);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_name);
-#line 133 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 133 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
continue;
#line 757 "autosave-manager.c"
}
__finally28:
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_object_unref0 (f);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = (g_free (pixels), NULL);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (crop_name);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (pixels_filename);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (color_profile);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (scan_direction_name);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_name);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name_collection = (_vala_array_free (page_name_collection, page_name_collection_length1, (GDestroyNotify) g_free), NULL);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (pages);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 126 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 126 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 790 "autosave-manager.c"
}
-#line 122 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 122 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_object_unref0 (f);
-#line 122 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 122 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
#line 796 "autosave-manager.c"
}
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp76_ = scan_width;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp77_ = scan_height;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp78_ = rowstride;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp79_ = n_channels;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp80_ = depth;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp81_ = dpi;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp82_ = scan_direction;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp83_ = color_profile;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp84_ = pixels;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp84__length1 = pixels_length1;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp85_ = has_crop;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp86_ = crop_name;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp87_ = crop_x;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp88_ = crop_y;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp89_ = crop_width;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp90_ = crop_height;
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp91_ = page_new_from_data (_tmp76_, _tmp77_, _tmp78_, _tmp79_, _tmp80_, _tmp81_, _tmp82_, _tmp83_, _tmp84_, _tmp84__length1, _tmp85_, _tmp86_, _tmp87_, _tmp88_, _tmp89_, _tmp90_);
-#line 137 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 137 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page = _tmp91_;
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp92_ = self->priv->page_filenames;
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp93_ = page;
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp94_ = _page_ref0 (_tmp93_);
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp95_ = pixels_filename;
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp96_ = g_strdup (_tmp95_);
-#line 152 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 152 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_hash_table_insert (_tmp92_, _tmp94_, _tmp96_);
-#line 153 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 153 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp97_ = autosave_manager_get_book (self);
-#line 153 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 153 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp98_ = _tmp97_;
-#line 153 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 153 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp99_ = page;
-#line 153 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 153 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
book_append_page (_tmp98_, _tmp99_);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_page_unref0 (page);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
pixels = (g_free (pixels), NULL);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (crop_name);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (pixels_filename);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (color_profile);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (scan_direction_name);
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_name);
#line 868 "autosave-manager.c"
}
}
-#line 81 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 81 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name_collection = (_vala_array_free (page_name_collection, page_name_collection_length1, (GDestroyNotify) g_free), NULL);
#line 873 "autosave-manager.c"
}
-#line 62 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 62 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (pages);
-#line 62 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 62 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
#line 879 "autosave-manager.c"
}
@@ -883,15 +883,15 @@ void autosave_manager_load (AutosaveManager* self) {
static gchar* autosave_manager_get_value (AutosaveManager* self, GKeyFile* file, const gchar* group_name, const gchar* key, const gchar* _default_) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 157 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 157 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 157 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 157 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (file != NULL, NULL);
-#line 157 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 157 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (group_name != NULL, NULL);
-#line 157 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 157 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (key != NULL, NULL);
-#line 157 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 157 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (_default_ != NULL, NULL);
#line 896 "autosave-manager.c"
{
@@ -901,30 +901,30 @@ static gchar* autosave_manager_get_value (AutosaveManager* self, GKeyFile* file,
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = file;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = group_name;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = key;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = g_key_file_get_value (_tmp1_, _tmp2_, _tmp3_, &_inner_error_);
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = _tmp4_;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 916 "autosave-manager.c"
goto __catch29_g_error;
}
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = _tmp0_;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = NULL;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp5_;
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (_tmp0_);
-#line 161 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 161 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 929 "autosave-manager.c"
}
@@ -934,28 +934,28 @@ static gchar* autosave_manager_get_value (AutosaveManager* self, GKeyFile* file,
GError* e = NULL;
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 159 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 159 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 159 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 159 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 165 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 165 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = _default_;
-#line 165 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 165 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 165 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 165 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp7_;
-#line 165 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 165 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 165 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 165 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 951 "autosave-manager.c"
}
__finally29:
-#line 159 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 159 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 159 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 159 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 159 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 159 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return NULL;
#line 960 "autosave-manager.c"
}
@@ -964,13 +964,13 @@ static gchar* autosave_manager_get_value (AutosaveManager* self, GKeyFile* file,
static gint autosave_manager_get_integer (AutosaveManager* self, GKeyFile* file, const gchar* group_name, const gchar* key, gint _default_) {
gint result = 0;
GError * _inner_error_ = NULL;
-#line 169 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 169 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (self != NULL, 0);
-#line 169 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 169 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (file != NULL, 0);
-#line 169 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 169 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (group_name != NULL, 0);
-#line 169 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 169 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (key != NULL, 0);
#line 975 "autosave-manager.c"
{
@@ -979,24 +979,24 @@ static gint autosave_manager_get_integer (AutosaveManager* self, GKeyFile* file,
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
gint _tmp4_ = 0;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = file;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = group_name;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = key;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = g_key_file_get_integer (_tmp1_, _tmp2_, _tmp3_, &_inner_error_);
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = _tmp4_;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 994 "autosave-manager.c"
goto __catch30_g_error;
}
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp0_;
-#line 173 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 173 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1001 "autosave-manager.c"
}
@@ -1005,26 +1005,26 @@ static gint autosave_manager_get_integer (AutosaveManager* self, GKeyFile* file,
{
GError* e = NULL;
gint _tmp5_ = 0;
-#line 171 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 171 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 171 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 171 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 177 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 177 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = _default_;
-#line 177 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 177 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp5_;
-#line 177 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 177 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 177 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 177 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1020 "autosave-manager.c"
}
__finally30:
-#line 171 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 171 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 171 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 171 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 171 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 171 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return 0;
#line 1029 "autosave-manager.c"
}
@@ -1033,13 +1033,13 @@ static gint autosave_manager_get_integer (AutosaveManager* self, GKeyFile* file,
static gboolean autosave_manager_get_boolean (AutosaveManager* self, GKeyFile* file, const gchar* group_name, const gchar* key, gboolean _default_) {
gboolean result = FALSE;
GError * _inner_error_ = NULL;
-#line 181 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 181 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 181 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 181 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (file != NULL, FALSE);
-#line 181 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 181 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (group_name != NULL, FALSE);
-#line 181 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 181 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (key != NULL, FALSE);
#line 1044 "autosave-manager.c"
{
@@ -1048,24 +1048,24 @@ static gboolean autosave_manager_get_boolean (AutosaveManager* self, GKeyFile* f
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = file;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = group_name;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = key;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = g_key_file_get_boolean (_tmp1_, _tmp2_, _tmp3_, &_inner_error_);
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = _tmp4_;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1063 "autosave-manager.c"
goto __catch31_g_error;
}
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp0_;
-#line 185 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 185 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1070 "autosave-manager.c"
}
@@ -1074,26 +1074,26 @@ static gboolean autosave_manager_get_boolean (AutosaveManager* self, GKeyFile* f
{
GError* e = NULL;
gboolean _tmp5_ = FALSE;
-#line 183 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 183 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 183 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 183 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 189 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 189 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = _default_;
-#line 189 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 189 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp5_;
-#line 189 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 189 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 189 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 189 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1089 "autosave-manager.c"
}
__finally31:
-#line 183 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 183 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 183 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 183 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 183 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 183 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return FALSE;
#line 1098 "autosave-manager.c"
}
@@ -1103,23 +1103,23 @@ void autosave_manager_cleanup (AutosaveManager* self) {
guint _tmp0_ = 0U;
GDir* dir = NULL;
GError * _inner_error_ = NULL;
-#line 193 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 193 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 195 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 195 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:195: Deleting autosave records");
-#line 197 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 197 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = self->priv->update_timeout;
-#line 197 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 197 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp0_ > ((guint) 0)) {
#line 1114 "autosave-manager.c"
guint _tmp1_ = 0U;
-#line 198 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 198 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = self->priv->update_timeout;
-#line 198 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 198 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_source_remove (_tmp1_);
#line 1120 "autosave-manager.c"
}
-#line 199 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 199 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->update_timeout = (guint) 0;
#line 1124 "autosave-manager.c"
{
@@ -1127,26 +1127,26 @@ void autosave_manager_cleanup (AutosaveManager* self) {
const gchar* _tmp3_ = NULL;
GDir* _tmp4_ = NULL;
GDir* _tmp5_ = NULL;
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = autosave_manager_AUTOSAVE_DIR;
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = g_dir_open (_tmp3_, (guint) 0, &_inner_error_);
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = _tmp4_;
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1138 "autosave-manager.c"
goto __catch32_g_error;
}
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = _tmp2_;
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = NULL;
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_dir_close0 (dir);
-#line 204 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 204 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
dir = _tmp5_;
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_dir_close0 (_tmp2_);
#line 1151 "autosave-manager.c"
}
@@ -1156,38 +1156,38 @@ void autosave_manager_cleanup (AutosaveManager* self) {
GError* e = NULL;
GError* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 208 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 208 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = e;
-#line 208 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 208 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = _tmp6_->message;
-#line 208 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 208 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_warning ("autosave-manager.vala:208: Failed to delete autosaves: %s", _tmp7_);
-#line 209 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 209 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
-#line 209 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 209 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_dir_close0 (dir);
-#line 209 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 209 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 1175 "autosave-manager.c"
}
__finally32:
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_dir_close0 (dir);
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 202 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 202 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 1188 "autosave-manager.c"
}
-#line 212 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 212 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
while (TRUE) {
#line 1192 "autosave-manager.c"
gchar* filename = NULL;
@@ -1200,57 +1200,57 @@ void autosave_manager_cleanup (AutosaveManager* self) {
const gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
-#line 214 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 214 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = dir;
-#line 214 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 214 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = g_dir_read_name (_tmp8_);
-#line 214 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 214 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = g_strdup (_tmp9_);
-#line 214 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 214 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
filename = _tmp10_;
-#line 215 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 215 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = filename;
-#line 215 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 215 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp11_ == NULL) {
-#line 216 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 216 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (filename);
-#line 216 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 216 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1219 "autosave-manager.c"
}
-#line 217 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 217 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp12_ = autosave_manager_AUTOSAVE_DIR;
-#line 217 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 217 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp13_ = filename;
-#line 217 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 217 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp14_ = g_build_filename (_tmp12_, _tmp13_, NULL);
-#line 217 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 217 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
path = _tmp14_;
-#line 218 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 218 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp15_ = path;
-#line 218 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 218 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_unlink (_tmp15_);
-#line 212 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 212 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
-#line 212 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 212 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (filename);
#line 1237 "autosave-manager.c"
}
-#line 193 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 193 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_dir_close0 (dir);
#line 1241 "autosave-manager.c"
}
static void _autosave_manager_on_scan_finished_page_scan_finished (Page* _sender, gpointer self) {
-#line 224 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 224 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_scan_finished ((AutosaveManager*) self, _sender);
#line 1248 "autosave-manager.c"
}
static void _autosave_manager_on_changed_page_crop_changed (Page* _sender, gpointer self) {
-#line 225 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 225 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_changed ((AutosaveManager*) self);
#line 1255 "autosave-manager.c"
}
@@ -1259,17 +1259,17 @@ static void _autosave_manager_on_changed_page_crop_changed (Page* _sender, gpoin
void autosave_manager_on_page_added (AutosaveManager* self, Page* page) {
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
-#line 222 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 222 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 222 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 222 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (page != NULL);
-#line 224 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 224 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = page;
-#line 224 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 224 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp0_, "scan-finished", (GCallback) _autosave_manager_on_scan_finished_page_scan_finished, self);
-#line 225 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 225 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = page;
-#line 225 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 225 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp1_, "crop-changed", (GCallback) _autosave_manager_on_changed_page_crop_changed, self);
#line 1274 "autosave-manager.c"
}
@@ -1288,51 +1288,51 @@ void autosave_manager_on_page_removed (AutosaveManager* self, Page* page) {
const gchar* _tmp8_ = NULL;
GHashTable* _tmp10_ = NULL;
Page* _tmp11_ = NULL;
-#line 228 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 228 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 228 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 228 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (page != NULL);
-#line 230 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 230 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = page;
-#line 230 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 230 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("scan-finished", TYPE_PAGE, &_tmp1_, NULL, FALSE);
-#line 230 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 230 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _autosave_manager_on_scan_finished_page_scan_finished, self);
-#line 231 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 231 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = page;
-#line 231 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 231 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("crop-changed", TYPE_PAGE, &_tmp3_, NULL, FALSE);
-#line 231 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 231 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _autosave_manager_on_changed_page_crop_changed, self);
-#line 233 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 233 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = self->priv->page_filenames;
-#line 233 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 233 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = page;
-#line 233 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 233 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = g_hash_table_lookup (_tmp4_, _tmp5_);
-#line 233 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 233 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = g_strdup ((const gchar*) _tmp6_);
-#line 233 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 233 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
filename = _tmp7_;
-#line 234 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 234 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = filename;
-#line 234 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 234 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp8_ != NULL) {
#line 1321 "autosave-manager.c"
const gchar* _tmp9_ = NULL;
-#line 235 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 235 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = filename;
-#line 235 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 235 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_unlink (_tmp9_);
#line 1327 "autosave-manager.c"
}
-#line 236 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 236 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = self->priv->page_filenames;
-#line 236 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 236 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = page;
-#line 236 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 236 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_hash_table_remove (_tmp10_, _tmp11_);
-#line 228 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 228 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (filename);
#line 1337 "autosave-manager.c"
}
@@ -1340,24 +1340,24 @@ void autosave_manager_on_page_removed (AutosaveManager* self, Page* page) {
void autosave_manager_on_scan_finished (AutosaveManager* self, Page* page) {
Page* _tmp0_ = NULL;
-#line 239 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 239 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 239 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 239 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (page != NULL);
-#line 241 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 241 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = page;
-#line 241 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 241 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_save_pixels (self, _tmp0_);
-#line 242 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 242 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_save (self, FALSE);
#line 1353 "autosave-manager.c"
}
void autosave_manager_on_changed (AutosaveManager* self) {
-#line 245 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 245 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 247 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 247 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_save (self, TRUE);
#line 1362 "autosave-manager.c"
}
@@ -1365,13 +1365,13 @@ void autosave_manager_on_changed (AutosaveManager* self) {
void autosave_manager_on_cleared (AutosaveManager* self) {
GHashTable* _tmp0_ = NULL;
-#line 250 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 250 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 252 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 252 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = self->priv->page_filenames;
-#line 252 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 252 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_hash_table_remove_all (_tmp0_);
-#line 253 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 253 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_save (self, TRUE);
#line 1376 "autosave-manager.c"
}
@@ -1379,13 +1379,13 @@ void autosave_manager_on_cleared (AutosaveManager* self) {
static gboolean ___lambda4_ (AutosaveManager* self) {
gboolean result = FALSE;
-#line 270 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 270 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_real_save (self);
-#line 271 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 271 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->update_timeout = (guint) 0;
-#line 272 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 272 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = FALSE;
-#line 272 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 272 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1390 "autosave-manager.c"
}
@@ -1394,7 +1394,7 @@ static gboolean ___lambda4_ (AutosaveManager* self) {
static gboolean ____lambda4__gsource_func (gpointer self) {
gboolean result;
result = ___lambda4_ ((AutosaveManager*) self);
-#line 268 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 268 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 1399 "autosave-manager.c"
}
@@ -1405,57 +1405,57 @@ static void autosave_manager_save (AutosaveManager* self, gboolean do_timeout) {
guint _tmp1_ = 0U;
guint _tmp3_ = 0U;
gboolean _tmp5_ = FALSE;
-#line 256 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 256 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = self->priv->update_timeout;
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp1_ == ((guint) 0)) {
#line 1414 "autosave-manager.c"
gboolean _tmp2_ = FALSE;
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = do_timeout;
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = _tmp2_;
#line 1420 "autosave-manager.c"
} else {
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = FALSE;
#line 1424 "autosave-manager.c"
}
-#line 258 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 258 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp0_) {
-#line 259 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 259 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:259: Waiting to autosave...");
#line 1430 "autosave-manager.c"
}
-#line 262 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 262 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = self->priv->update_timeout;
-#line 262 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 262 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp3_ > ((guint) 0)) {
#line 1436 "autosave-manager.c"
guint _tmp4_ = 0U;
-#line 263 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 263 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = self->priv->update_timeout;
-#line 263 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 263 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_source_remove (_tmp4_);
#line 1442 "autosave-manager.c"
}
-#line 264 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 264 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->update_timeout = (guint) 0;
-#line 266 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 266 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = do_timeout;
-#line 266 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 266 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp5_) {
#line 1450 "autosave-manager.c"
guint _tmp6_ = 0U;
-#line 268 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 268 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 100, ____lambda4__gsource_func, autosave_manager_ref (self), autosave_manager_unref);
-#line 268 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 268 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->update_timeout = _tmp6_;
#line 1456 "autosave-manager.c"
} else {
-#line 276 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 276 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_real_save (self);
#line 1460 "autosave-manager.c"
}
@@ -1470,29 +1470,29 @@ static void autosave_manager_real_save (AutosaveManager* self) {
GKeyFile* _tmp109_ = NULL;
const gchar* _tmp110_ = NULL;
GError * _inner_error_ = NULL;
-#line 279 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 279 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 281 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 281 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:281: Autosaving book information");
-#line 283 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 283 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = g_key_file_new ();
-#line 283 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 283 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
file = _tmp0_;
-#line 284 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 284 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = g_strdup ("");
-#line 284 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 284 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_names = _tmp1_;
#line 1485 "autosave-manager.c"
{
gint i = 0;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = 0;
#line 1490 "autosave-manager.c"
{
gboolean _tmp2_ = FALSE;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = TRUE;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
while (TRUE) {
#line 1497 "autosave-manager.c"
gint _tmp4_ = 0;
@@ -1592,377 +1592,377 @@ static void autosave_manager_real_save (AutosaveManager* self) {
Page* _tmp106_ = NULL;
gint _tmp107_ = 0;
gint _tmp108_ = 0;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!_tmp2_) {
#line 1597 "autosave-manager.c"
gint _tmp3_ = 0;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = i;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = _tmp3_ + 1;
#line 1603 "autosave-manager.c"
}
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = FALSE;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = i;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = autosave_manager_get_book (self);
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = _tmp5_;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = book_get_n_pages (_tmp6_);
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = _tmp7_;
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!(((guint) _tmp4_) < _tmp8_)) {
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1621 "autosave-manager.c"
}
-#line 287 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 287 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = autosave_manager_get_book (self);
-#line 287 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 287 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = _tmp9_;
-#line 287 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 287 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = i;
-#line 287 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 287 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp12_ = book_get_page (_tmp10_, _tmp11_);
-#line 287 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 287 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page = _tmp12_;
-#line 290 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 290 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp13_ = page;
-#line 290 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 290 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp14_ = page_get_has_data (_tmp13_);
-#line 290 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 290 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp15_ = _tmp14_;
-#line 290 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 290 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!_tmp15_) {
-#line 291 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 291 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_page_unref0 (page);
-#line 291 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 291 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
continue;
#line 1645 "autosave-manager.c"
}
-#line 293 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 293 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp16_ = i;
-#line 293 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 293 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp17_ = g_strdup_printf ("page-%d", _tmp16_);
-#line 293 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 293 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_name = _tmp17_;
-#line 294 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 294 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp18_ = page_names;
-#line 294 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 294 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (g_strcmp0 (_tmp18_, "") != 0) {
#line 1657 "autosave-manager.c"
const gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
-#line 295 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 295 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp19_ = page_names;
-#line 295 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 295 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp20_ = g_strconcat (_tmp19_, " ", NULL);
-#line 295 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 295 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_names);
-#line 295 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 295 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_names = _tmp20_;
#line 1668 "autosave-manager.c"
}
-#line 296 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 296 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp21_ = page_names;
-#line 296 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 296 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp22_ = page_name;
-#line 296 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 296 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp23_ = g_strconcat (_tmp21_, _tmp22_, NULL);
-#line 296 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 296 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_names);
-#line 296 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 296 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page_names = _tmp23_;
-#line 298 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 298 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp24_ = page_name;
-#line 298 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 298 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:298: Autosaving page %s", _tmp24_);
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp25_ = file;
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp26_ = page_name;
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp27_ = page;
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp28_ = page_get_scan_width (_tmp27_);
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp29_ = _tmp28_;
-#line 300 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 300 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp25_, _tmp26_, "scan-width", _tmp29_);
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp30_ = file;
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp31_ = page_name;
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp32_ = page;
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp33_ = page_get_scan_height (_tmp32_);
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp34_ = _tmp33_;
-#line 301 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 301 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp30_, _tmp31_, "scan-height", _tmp34_);
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp35_ = file;
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp36_ = page_name;
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp37_ = page;
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp38_ = page_get_rowstride (_tmp37_);
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp39_ = _tmp38_;
-#line 302 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 302 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp35_, _tmp36_, "rowstride", _tmp39_);
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp40_ = file;
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp41_ = page_name;
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp42_ = page;
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp43_ = page_get_n_channels (_tmp42_);
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp44_ = _tmp43_;
-#line 303 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 303 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp40_, _tmp41_, "n-channels", _tmp44_);
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp45_ = file;
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp46_ = page_name;
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp47_ = page;
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp48_ = page_get_depth (_tmp47_);
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp49_ = _tmp48_;
-#line 304 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 304 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp45_, _tmp46_, "depth", _tmp49_);
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp50_ = file;
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp51_ = page_name;
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp52_ = page;
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp53_ = page_get_dpi (_tmp52_);
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp54_ = _tmp53_;
-#line 305 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 305 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp50_, _tmp51_, "dpi", _tmp54_);
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp55_ = page;
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp56_ = page_get_scan_direction (_tmp55_);
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp57_ = _tmp56_;
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
switch (_tmp57_) {
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
case SCAN_DIRECTION_TOP_TO_BOTTOM:
#line 1766 "autosave-manager.c"
{
GKeyFile* _tmp58_ = NULL;
const gchar* _tmp59_ = NULL;
-#line 309 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 309 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp58_ = file;
-#line 309 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 309 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp59_ = page_name;
-#line 309 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 309 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp58_, _tmp59_, "scan-direction", "TOP_TO_BOTTOM");
-#line 310 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 310 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1778 "autosave-manager.c"
}
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
case SCAN_DIRECTION_LEFT_TO_RIGHT:
#line 1782 "autosave-manager.c"
{
GKeyFile* _tmp60_ = NULL;
const gchar* _tmp61_ = NULL;
-#line 312 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 312 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp60_ = file;
-#line 312 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 312 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp61_ = page_name;
-#line 312 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 312 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp60_, _tmp61_, "scan-direction", "LEFT_TO_RIGHT");
-#line 313 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 313 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1794 "autosave-manager.c"
}
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
case SCAN_DIRECTION_BOTTOM_TO_TOP:
#line 1798 "autosave-manager.c"
{
GKeyFile* _tmp62_ = NULL;
const gchar* _tmp63_ = NULL;
-#line 315 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 315 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp62_ = file;
-#line 315 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 315 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp63_ = page_name;
-#line 315 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 315 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp62_, _tmp63_, "scan-direction", "BOTTOM_TO_TOP");
-#line 316 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 316 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1810 "autosave-manager.c"
}
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
case SCAN_DIRECTION_RIGHT_TO_LEFT:
#line 1814 "autosave-manager.c"
{
GKeyFile* _tmp64_ = NULL;
const gchar* _tmp65_ = NULL;
-#line 318 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 318 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp64_ = file;
-#line 318 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 318 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp65_ = page_name;
-#line 318 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 318 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp64_, _tmp65_, "scan-direction", "RIGHT_TO_LEFT");
-#line 319 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 319 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1826 "autosave-manager.c"
}
default:
-#line 306 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 306 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 1831 "autosave-manager.c"
}
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp67_ = page;
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp68_ = page_get_color_profile (_tmp67_);
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp69_ = _tmp68_;
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp66_ = _tmp69_;
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp66_ == NULL) {
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp66_ = "";
#line 1845 "autosave-manager.c"
}
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp70_ = file;
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp71_ = page_name;
-#line 321 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 321 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp70_, _tmp71_, "color-profile", _tmp66_);
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp73_ = self->priv->page_filenames;
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp74_ = page;
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp75_ = g_hash_table_lookup (_tmp73_, _tmp74_);
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp72_ = (const gchar*) _tmp75_;
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp72_ == NULL) {
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp72_ = "";
#line 1865 "autosave-manager.c"
}
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp76_ = file;
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp77_ = page_name;
-#line 322 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 322 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp76_, _tmp77_, "pixels-filename", _tmp72_);
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp78_ = file;
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp79_ = page_name;
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp80_ = page;
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp81_ = page_get_has_crop (_tmp80_);
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp82_ = _tmp81_;
-#line 323 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 323 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_boolean (_tmp78_, _tmp79_, "has-crop", _tmp82_);
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp84_ = page;
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp85_ = page_get_crop_name (_tmp84_);
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp86_ = _tmp85_;
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp83_ = _tmp86_;
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp83_ == NULL) {
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp83_ = "";
#line 1897 "autosave-manager.c"
}
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp87_ = file;
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp88_ = page_name;
-#line 324 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 324 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp87_, _tmp88_, "crop-name", _tmp83_);
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp89_ = file;
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp90_ = page_name;
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp91_ = page;
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp92_ = page_get_crop_x (_tmp91_);
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp93_ = _tmp92_;
-#line 325 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 325 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp89_, _tmp90_, "crop-x", _tmp93_);
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp94_ = file;
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp95_ = page_name;
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp96_ = page;
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp97_ = page_get_crop_y (_tmp96_);
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp98_ = _tmp97_;
-#line 326 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 326 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp94_, _tmp95_, "crop-y", _tmp98_);
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp99_ = file;
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp100_ = page_name;
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp101_ = page;
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp102_ = page_get_crop_width (_tmp101_);
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp103_ = _tmp102_;
-#line 327 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 327 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp99_, _tmp100_, "crop-width", _tmp103_);
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp104_ = file;
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp105_ = page_name;
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp106_ = page;
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp107_ = page_get_crop_height (_tmp106_);
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp108_ = _tmp107_;
-#line 328 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 328 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_integer (_tmp104_, _tmp105_, "crop-height", _tmp108_);
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_name);
-#line 285 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 285 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_page_unref0 (page);
#line 1957 "autosave-manager.c"
}
}
}
-#line 330 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 330 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp109_ = file;
-#line 330 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 330 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp110_ = page_names;
-#line 330 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 330 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_key_file_set_value (_tmp109_, "simple-scan", "pages", _tmp110_);
#line 1967 "autosave-manager.c"
{
@@ -1971,23 +1971,23 @@ static void autosave_manager_real_save (AutosaveManager* self) {
GKeyFile* _tmp113_ = NULL;
gchar* _tmp114_ = NULL;
gchar* _tmp115_ = NULL;
-#line 334 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 334 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp111_ = autosave_manager_AUTOSAVE_DIR;
-#line 334 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 334 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_mkdir_with_parents (_tmp111_, 0777);
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp112_ = autosave_manager_AUTOSAVE_PATH;
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp113_ = file;
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp114_ = g_key_file_to_data (_tmp113_, NULL, NULL);
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp115_ = _tmp114_;
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_file_set_contents (_tmp112_, _tmp115_, (gssize) (-1), &_inner_error_);
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (_tmp115_);
-#line 335 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 335 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1992 "autosave-manager.c"
goto __catch33_g_error;
@@ -1999,38 +1999,38 @@ static void autosave_manager_real_save (AutosaveManager* self) {
GError* e = NULL;
GError* _tmp116_ = NULL;
const gchar* _tmp117_ = NULL;
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 339 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 339 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp116_ = e;
-#line 339 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 339 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp117_ = _tmp116_->message;
-#line 339 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 339 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_warning ("autosave-manager.vala:339: Failed to write autosave: %s", _tmp117_);
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
#line 2014 "autosave-manager.c"
}
__finally33:
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_names);
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 332 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 332 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 2029 "autosave-manager.c"
}
-#line 279 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 279 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (page_names);
-#line 279 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 279 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_key_file_unref0 (file);
#line 2035 "autosave-manager.c"
}
@@ -2052,54 +2052,54 @@ static void autosave_manager_save_pixels (AutosaveManager* self, Page* page) {
GFile* file = NULL;
GFile* _tmp10_ = NULL;
GError * _inner_error_ = NULL;
-#line 343 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 343 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 343 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 343 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (page != NULL);
-#line 345 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 345 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = g_direct_hash;
-#line 345 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 345 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = page;
-#line 345 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 345 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = _tmp0_ (_tmp1_);
-#line 345 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 345 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = g_strdup_printf ("%u.pixels", _tmp2_);
-#line 345 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 345 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
filename = _tmp3_;
-#line 346 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 346 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = autosave_manager_AUTOSAVE_DIR;
-#line 346 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 346 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = g_build_filename (_tmp4_, filename, NULL);
-#line 346 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 346 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
path = _tmp5_;
-#line 347 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 347 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = self->priv->page_filenames;
-#line 347 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 347 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = page;
-#line 347 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 347 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = _page_ref0 (_tmp7_);
-#line 347 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 347 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = g_strdup (filename);
-#line 347 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 347 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_hash_table_insert (_tmp6_, _tmp8_, _tmp9_);
-#line 349 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 349 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_debug ("autosave-manager.vala:349: Autosaving page pixels to %s", path);
-#line 351 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 351 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = g_file_new_for_path (path);
-#line 351 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 351 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
file = _tmp10_;
#line 2091 "autosave-manager.c"
{
Page* _tmp11_ = NULL;
gint _tmp12_ = 0;
guchar* _tmp13_ = NULL;
-#line 354 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 354 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = page;
-#line 354 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 354 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp13_ = page_get_pixels (_tmp11_, &_tmp12_);
-#line 354 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 354 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_file_replace_contents (file, _tmp13_, (gsize) _tmp12_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, NULL, &_inner_error_);
-#line 354 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 354 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2104 "autosave-manager.c"
goto __catch34_g_error;
@@ -2111,42 +2111,42 @@ static void autosave_manager_save_pixels (AutosaveManager* self, Page* page) {
GError* e = NULL;
GError* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
e = _inner_error_;
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_inner_error_ = NULL;
-#line 358 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 358 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp14_ = e;
-#line 358 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 358 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp15_ = _tmp14_->message;
-#line 358 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 358 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_warning ("autosave-manager.vala:358: Failed to autosave page contents: %s", _tmp15_);
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_error_free0 (e);
#line 2126 "autosave-manager.c"
}
__finally34:
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_object_unref0 (file);
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (filename);
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_clear_error (&_inner_error_);
-#line 352 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 352 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return;
#line 2143 "autosave-manager.c"
}
-#line 343 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 343 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_object_unref0 (file);
-#line 343 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 343 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (path);
-#line 343 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 343 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_free0 (filename);
#line 2151 "autosave-manager.c"
}
@@ -2155,48 +2155,48 @@ static void autosave_manager_save_pixels (AutosaveManager* self, Page* page) {
Book* autosave_manager_get_book (AutosaveManager* self) {
Book* result;
Book* _tmp0_ = NULL;
-#line 26 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 26 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (self != NULL, NULL);
-#line 28 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 28 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = self->priv->book_;
-#line 28 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 28 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
result = _tmp0_;
-#line 28 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 28 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return result;
#line 2166 "autosave-manager.c"
}
static void _autosave_manager_on_page_added_book_page_added (Book* _sender, Page* page, gpointer self) {
-#line 39 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 39 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_page_added ((AutosaveManager*) self, page);
#line 2173 "autosave-manager.c"
}
static void _autosave_manager_on_page_removed_book_page_removed (Book* _sender, Page* page, gpointer self) {
-#line 40 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 40 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_page_removed ((AutosaveManager*) self, page);
#line 2180 "autosave-manager.c"
}
static void _autosave_manager_on_changed_book_reordered (Book* _sender, gpointer self) {
-#line 41 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 41 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_changed ((AutosaveManager*) self);
#line 2187 "autosave-manager.c"
}
static void _autosave_manager_on_cleared_book_cleared (Book* _sender, gpointer self) {
-#line 42 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 42 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_cleared ((AutosaveManager*) self);
#line 2194 "autosave-manager.c"
}
static gpointer _book_ref0 (gpointer self) {
-#line 44 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 44 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return self ? book_ref (self) : NULL;
#line 2201 "autosave-manager.c"
}
@@ -2210,11 +2210,11 @@ void autosave_manager_set_book (AutosaveManager* self, Book* value) {
Book* _tmp22_ = NULL;
Book* _tmp23_ = NULL;
Book* _tmp24_ = NULL;
-#line 30 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 30 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (self != NULL);
-#line 32 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 32 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = self->priv->book_;
-#line 32 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 32 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (_tmp0_ != NULL) {
#line 2219 "autosave-manager.c"
Book* _tmp11_ = NULL;
@@ -2227,14 +2227,14 @@ void autosave_manager_set_book (AutosaveManager* self, Book* value) {
guint _tmp18_ = 0U;
{
gint i = 0;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = 0;
#line 2232 "autosave-manager.c"
{
gboolean _tmp1_ = FALSE;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = TRUE;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
while (TRUE) {
#line 2239 "autosave-manager.c"
gint _tmp3_ = 0;
@@ -2246,111 +2246,111 @@ void autosave_manager_set_book (AutosaveManager* self, Book* value) {
gint _tmp8_ = 0;
Page* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!_tmp1_) {
#line 2251 "autosave-manager.c"
gint _tmp2_ = 0;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = i;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = _tmp2_ + 1;
#line 2257 "autosave-manager.c"
}
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = FALSE;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = i;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = self->priv->book_;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = book_get_n_pages (_tmp4_);
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp6_ = _tmp5_;
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!(((guint) _tmp3_) < _tmp6_)) {
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 2273 "autosave-manager.c"
}
-#line 36 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 36 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp7_ = self->priv->book_;
-#line 36 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 36 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp8_ = i;
-#line 36 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 36 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp9_ = book_get_page (_tmp7_, _tmp8_);
-#line 36 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 36 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page = _tmp9_;
-#line 37 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 37 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp10_ = page;
-#line 37 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 37 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_page_removed (self, _tmp10_);
-#line 34 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 34 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_page_unref0 (page);
#line 2289 "autosave-manager.c"
}
}
}
-#line 39 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 39 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp11_ = self->priv->book_;
-#line 39 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 39 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("page-added", TYPE_BOOK, &_tmp12_, NULL, FALSE);
-#line 39 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 39 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp11_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp12_, 0, NULL, (GCallback) _autosave_manager_on_page_added_book_page_added, self);
-#line 40 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 40 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp13_ = self->priv->book_;
-#line 40 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 40 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("page-removed", TYPE_BOOK, &_tmp14_, NULL, FALSE);
-#line 40 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 40 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _autosave_manager_on_page_removed_book_page_removed, self);
-#line 41 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 41 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp15_ = self->priv->book_;
-#line 41 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 41 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("reordered", TYPE_BOOK, &_tmp16_, NULL, FALSE);
-#line 41 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 41 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp15_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp16_, 0, NULL, (GCallback) _autosave_manager_on_changed_book_reordered, self);
-#line 42 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 42 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp17_ = self->priv->book_;
-#line 42 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 42 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_parse_name ("cleared", TYPE_BOOK, &_tmp18_, NULL, FALSE);
-#line 42 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 42 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_disconnect_matched (_tmp17_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp18_, 0, NULL, (GCallback) _autosave_manager_on_cleared_book_cleared, self);
#line 2317 "autosave-manager.c"
}
-#line 44 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 44 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp19_ = value;
-#line 44 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 44 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp20_ = _book_ref0 (_tmp19_);
-#line 44 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 44 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_book_unref0 (self->priv->book_);
-#line 44 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 44 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->book_ = _tmp20_;
-#line 45 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 45 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp21_ = self->priv->book_;
-#line 45 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 45 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp21_, "page-added", (GCallback) _autosave_manager_on_page_added_book_page_added, self);
-#line 46 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 46 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp22_ = self->priv->book_;
-#line 46 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 46 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp22_, "page-removed", (GCallback) _autosave_manager_on_page_removed_book_page_removed, self);
-#line 47 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 47 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp23_ = self->priv->book_;
-#line 47 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 47 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp23_, "reordered", (GCallback) _autosave_manager_on_changed_book_reordered, self);
-#line 48 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 48 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp24_ = self->priv->book_;
-#line 48 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 48 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_connect (_tmp24_, "cleared", (GCallback) _autosave_manager_on_cleared_book_cleared, self);
#line 2343 "autosave-manager.c"
{
gint i = 0;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = 0;
#line 2348 "autosave-manager.c"
{
gboolean _tmp25_ = FALSE;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp25_ = TRUE;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
while (TRUE) {
#line 2355 "autosave-manager.c"
gint _tmp27_ = 0;
@@ -2362,45 +2362,45 @@ void autosave_manager_set_book (AutosaveManager* self, Book* value) {
gint _tmp32_ = 0;
Page* _tmp33_ = NULL;
Page* _tmp34_ = NULL;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!_tmp25_) {
#line 2367 "autosave-manager.c"
gint _tmp26_ = 0;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp26_ = i;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
i = _tmp26_ + 1;
#line 2373 "autosave-manager.c"
}
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp25_ = FALSE;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp27_ = i;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp28_ = self->priv->book_;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp29_ = book_get_n_pages (_tmp28_);
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp30_ = _tmp29_;
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!(((guint) _tmp27_) < _tmp30_)) {
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
break;
#line 2389 "autosave-manager.c"
}
-#line 51 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 51 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp31_ = self->priv->book_;
-#line 51 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 51 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp32_ = i;
-#line 51 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 51 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp33_ = book_get_page (_tmp31_, _tmp32_);
-#line 51 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 51 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
page = _tmp33_;
-#line 52 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 52 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp34_ = page;
-#line 52 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 52 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_on_page_added (self, _tmp34_);
-#line 49 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 49 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_page_unref0 (page);
#line 2405 "autosave-manager.c"
}
@@ -2410,16 +2410,16 @@ void autosave_manager_set_book (AutosaveManager* self, Book* value) {
static void value_autosave_manager_init (GValue* value) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = NULL;
#line 2415 "autosave-manager.c"
}
static void value_autosave_manager_free_value (GValue* value) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (value->data[0].v_pointer) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_unref (value->data[0].v_pointer);
#line 2424 "autosave-manager.c"
}
@@ -2427,13 +2427,13 @@ static void value_autosave_manager_free_value (GValue* value) {
static void value_autosave_manager_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (src_value->data[0].v_pointer) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
dest_value->data[0].v_pointer = autosave_manager_ref (src_value->data[0].v_pointer);
#line 2434 "autosave-manager.c"
} else {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
dest_value->data[0].v_pointer = NULL;
#line 2438 "autosave-manager.c"
}
@@ -2441,37 +2441,37 @@ static void value_autosave_manager_copy_value (const GValue* src_value, GValue*
static gpointer value_autosave_manager_peek_pointer (const GValue* value) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return value->data[0].v_pointer;
#line 2446 "autosave-manager.c"
}
static gchar* value_autosave_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (collect_values[0].v_pointer) {
#line 2453 "autosave-manager.c"
AutosaveManager* object;
object = collect_values[0].v_pointer;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (object->parent_instance.g_class == NULL) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2460 "autosave-manager.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.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 2464 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = autosave_manager_ref (object);
#line 2468 "autosave-manager.c"
} else {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = NULL;
#line 2472 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return NULL;
#line 2476 "autosave-manager.c"
}
@@ -2480,27 +2480,27 @@ static gchar* value_autosave_manager_collect_value (GValue* value, guint n_colle
static gchar* value_autosave_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
AutosaveManager** object_p;
object_p = collect_values[0].v_pointer;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!object_p) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 2487 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (!value->data[0].v_pointer) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
*object_p = NULL;
#line 2493 "autosave-manager.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
*object_p = value->data[0].v_pointer;
#line 2497 "autosave-manager.c"
} else {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
*object_p = autosave_manager_ref (value->data[0].v_pointer);
#line 2501 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return NULL;
#line 2505 "autosave-manager.c"
}
@@ -2508,22 +2508,22 @@ static gchar* value_autosave_manager_lcopy_value (const GValue* value, guint n_c
GParamSpec* param_spec_autosave_manager (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecAutosaveManager* spec;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_AUTOSAVE_MANAGER), NULL);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return G_PARAM_SPEC (spec);
#line 2519 "autosave-manager.c"
}
gpointer value_get_autosave_manager (const GValue* value) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AUTOSAVE_MANAGER), NULL);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return value->data[0].v_pointer;
#line 2528 "autosave-manager.c"
}
@@ -2531,29 +2531,29 @@ gpointer value_get_autosave_manager (const GValue* value) {
void value_set_autosave_manager (GValue* value, gpointer v_object) {
AutosaveManager* old;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AUTOSAVE_MANAGER));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
old = value->data[0].v_pointer;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (v_object) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_AUTOSAVE_MANAGER));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = v_object;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_ref (value->data[0].v_pointer);
#line 2548 "autosave-manager.c"
} else {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = NULL;
#line 2552 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (old) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_unref (old);
#line 2558 "autosave-manager.c"
}
@@ -2562,27 +2562,27 @@ void value_set_autosave_manager (GValue* value, gpointer v_object) {
void value_take_autosave_manager (GValue* value, gpointer v_object) {
AutosaveManager* old;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AUTOSAVE_MANAGER));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
old = value->data[0].v_pointer;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (v_object) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_AUTOSAVE_MANAGER));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = v_object;
#line 2577 "autosave-manager.c"
} else {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
value->data[0].v_pointer = NULL;
#line 2581 "autosave-manager.c"
}
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (old) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_unref (old);
#line 2587 "autosave-manager.c"
}
@@ -2596,42 +2596,42 @@ static void autosave_manager_class_init (AutosaveManagerClass * klass) {
const gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_parent_class = g_type_class_peek_parent (klass);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
((AutosaveManagerClass *) klass)->finalize = autosave_manager_finalize;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_type_class_add_private (klass, sizeof (AutosaveManagerPrivate));
-#line 15 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 15 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp0_ = g_get_user_cache_dir ();
-#line 15 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 15 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp1_ = g_build_filename (_tmp0_, "simple-scan", "autosaves", NULL);
-#line 15 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 15 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_AUTOSAVE_DIR = _tmp1_;
-#line 16 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 16 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp2_ = g_strdup ("autosave.book");
-#line 16 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 16 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_AUTOSAVE_FILENAME = _tmp2_;
-#line 17 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 17 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp3_ = autosave_manager_AUTOSAVE_DIR;
-#line 17 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 17 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp4_ = autosave_manager_AUTOSAVE_FILENAME;
-#line 17 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 17 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_tmp5_ = g_build_filename (_tmp3_, _tmp4_, NULL);
-#line 17 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 17 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
autosave_manager_AUTOSAVE_PATH = _tmp5_;
#line 2623 "autosave-manager.c"
}
static void autosave_manager_instance_init (AutosaveManager * self) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv = AUTOSAVE_MANAGER_GET_PRIVATE (self);
-#line 19 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 19 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->update_timeout = (guint) 0;
-#line 23 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 23 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->priv->book_ = NULL;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self->ref_count = 1;
#line 2636 "autosave-manager.c"
}
@@ -2639,13 +2639,13 @@ static void autosave_manager_instance_init (AutosaveManager * self) {
static void autosave_manager_finalize (AutosaveManager* obj) {
AutosaveManager * self;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_AUTOSAVE_MANAGER, AutosaveManager);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_signal_handlers_destroy (self);
-#line 21 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 21 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_g_hash_table_unref0 (self->priv->page_filenames);
-#line 23 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 23 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
_book_unref0 (self->priv->book_);
#line 2650 "autosave-manager.c"
}
@@ -2668,9 +2668,9 @@ GType autosave_manager_get_type (void) {
gpointer autosave_manager_ref (gpointer instance) {
AutosaveManager* self;
self = instance;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_atomic_int_inc (&self->ref_count);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
return instance;
#line 2675 "autosave-manager.c"
}
@@ -2679,11 +2679,11 @@ gpointer autosave_manager_ref (gpointer instance) {
void autosave_manager_unref (gpointer instance) {
AutosaveManager* self;
self = instance;
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
AUTOSAVE_MANAGER_GET_CLASS (self)->finalize (self);
-#line 13 "/home/bob/bzr/simple-scan/trunk/src/autosave-manager.vala"
+#line 13 "/home/bob/bzr/simple-scan/3.16/src/autosave-manager.vala"
g_type_free_instance ((GTypeInstance *) self);
#line 2688 "autosave-manager.c"
}