diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-04-29 12:43:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-04-29 12:43:58 +0200 |
commit | 94b3317504dade2520f47e813c780f7e54a3ac2f (patch) | |
tree | 2cf1f08c9a89a8e490efa7a4071b9b44de83bbdf /src/ui.c | |
parent | 2fb926c2bb3fd45a2d1428db6a44ce9da8b9a85d (diff) |
Imported Upstream version 3.17.1upstream/3.17.1
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 7004 |
1 files changed, 3502 insertions, 3502 deletions
@@ -685,98 +685,98 @@ static gint _vala_array_length (gpointer array); static const GActionEntry USER_INTERFACE_action_entries[10] = {{"new_document", _user_interface_new_document_activate_cb_gsimple_action_activate_callback}, {"reorder", _user_interface_reorder_document_activate_cb_gsimple_action_activate_callback}, {"save", _user_interface_save_document_activate_cb_gsimple_action_activate_callback}, {"save_as", _user_interface_save_as_document_activate_cb_gsimple_action_activate_callback}, {"email", _user_interface_email_document_activate_cb_gsimple_action_activate_callback}, {"print", _user_interface_print_document_activate_cb_gsimple_action_activate_callback}, {"preferences", _user_interface_preferences_activate_cb_gsimple_action_activate_callback}, {"help", _user_interface_help_contents_activate_cb_gsimple_action_activate_callback}, {"about", _user_interface_about_activate_cb_gsimple_action_activate_callback}, {"quit", _user_interface_quit_activate_cb_gsimple_action_activate_callback}}; static void _user_interface_page_added_cb_book_page_added (Book* _sender, Page* page, gpointer self) { -#line 286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_added_cb ((UserInterface*) self, _sender, page); #line 691 "ui.c" } static void _user_interface_reordered_cb_book_reordered (Book* _sender, gpointer self) { -#line 287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_reordered_cb ((UserInterface*) self, _sender); #line 698 "ui.c" } static void _user_interface_page_removed_cb_book_page_removed (Book* _sender, Page* page, gpointer self) { -#line 288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_removed_cb ((UserInterface*) self, _sender, page); #line 705 "ui.c" } static void _user_interface_new_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_new_document_activate_cb ((UserInterface*) self); #line 712 "ui.c" } static void _user_interface_reorder_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_reorder_document_activate_cb ((UserInterface*) self); #line 719 "ui.c" } static void _user_interface_save_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_document_activate_cb ((UserInterface*) self); #line 726 "ui.c" } static void _user_interface_save_as_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_as_document_activate_cb ((UserInterface*) self); #line 733 "ui.c" } static void _user_interface_email_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_email_document_activate_cb ((UserInterface*) self); #line 740 "ui.c" } static void _user_interface_print_document_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_print_document_activate_cb ((UserInterface*) self); #line 747 "ui.c" } static void _user_interface_preferences_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_preferences_activate_cb ((UserInterface*) self); #line 754 "ui.c" } static void _user_interface_help_contents_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_help_contents_activate_cb ((UserInterface*) self); #line 761 "ui.c" } static void _user_interface_about_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_about_activate_cb ((UserInterface*) self); #line 768 "ui.c" } static void _user_interface_quit_activate_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { -#line 19 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 19 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_quit_activate_cb ((UserInterface*) self); #line 775 "ui.c" } static void _user_interface_needs_saving_cb_book_needs_saving_changed (Book* _sender, gpointer self) { -#line 267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_needs_saving_cb ((UserInterface*) self, _sender); #line 782 "ui.c" } @@ -798,71 +798,71 @@ UserInterface* user_interface_construct (GType object_type) { Book* _tmp11_ = NULL; guint _tmp12_ = 0U; guint _tmp13_ = 0U; -#line 259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (UserInterface*) g_object_new (object_type, NULL); -#line 261 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 261 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_settings_new ("org.gnome.SimpleScan"); -#line 261 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 261 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->settings); -#line 261 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 261 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->settings = _tmp0_; -#line 263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_new (); -#line 263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_book (self, _tmp2_); -#line 263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _book_unref0 (_tmp2_); -#line 264 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 264 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->_book; -#line 264 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 264 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp3_, "page-added", (GCallback) _user_interface_page_added_cb_book_page_added, self, 0); -#line 265 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 265 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->_book; -#line 265 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 265 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp4_, "reordered", (GCallback) _user_interface_reordered_cb_book_reordered, self, 0); -#line 266 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 266 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->_book; -#line 266 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 266 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp5_, "page-removed", (GCallback) _user_interface_page_removed_cb_book_page_removed, self, 0); -#line 267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->_book; -#line 267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp6_, "needs-saving-changed", (GCallback) _user_interface_needs_saving_cb_book_needs_saving_changed, self, 0); -#line 269 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 269 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_load (self); -#line 271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = autosave_manager_new (); -#line 271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _autosave_manager_unref0 (self->priv->autosave_manager); -#line 271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->autosave_manager = _tmp7_; -#line 272 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 272 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->autosave_manager; -#line 272 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 272 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->_book; -#line 272 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 272 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" autosave_manager_set_book (_tmp8_, _tmp9_); -#line 273 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 273 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = self->priv->autosave_manager; -#line 273 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 273 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" autosave_manager_load (_tmp10_); -#line 275 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 275 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->_book; -#line 275 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 275 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = book_get_n_pages (_tmp11_); -#line 275 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 275 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = _tmp12_; -#line 275 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 275 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp13_ == ((guint) 0)) { #line 860 "ui.c" Book* _tmp14_ = NULL; -#line 277 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 277 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_add_default_page (self); -#line 278 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 278 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = self->priv->_book; -#line 278 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 278 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_set_needs_saving (_tmp14_, FALSE); #line 868 "ui.c" } else { @@ -870,28 +870,28 @@ UserInterface* user_interface_construct (GType object_type) { Book* _tmp16_ = NULL; Page* _tmp17_ = NULL; Page* _tmp18_ = NULL; -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->book_view; -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = self->priv->_book; -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = book_get_page (_tmp16_, 0); -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = _tmp17_; -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_view_set_selected_page (_tmp15_, _tmp18_); -#line 281 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 281 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (_tmp18_); #line 886 "ui.c" } -#line 259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self; #line 890 "ui.c" } UserInterface* user_interface_new (void) { -#line 259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return user_interface_construct (TYPE_USER_INTERFACE); #line 897 "ui.c" } @@ -904,26 +904,26 @@ static gboolean user_interface_find_scan_device (UserInterface* self, const gcha GtkListStore* _tmp0_ = NULL; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; -#line 291 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 291 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 291 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 291 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (device != NULL, FALSE); -#line 293 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 293 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_iter = FALSE; -#line 295 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 295 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->device_model; -#line 295 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 295 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_); -#line 295 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 295 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_iter = _tmp1_; -#line 295 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 295 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 922 "ui.c" { gboolean _tmp3_ = FALSE; -#line 297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = TRUE; -#line 297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 929 "ui.c" gchar* d = NULL; @@ -931,70 +931,70 @@ static gboolean user_interface_find_scan_device (UserInterface* self, const gcha GtkTreeIter _tmp9_ = {0}; const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp3_) { #line 937 "ui.c" gboolean _tmp4_ = FALSE; gboolean _tmp5_ = FALSE; -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = have_iter; -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp5_) { #line 944 "ui.c" GtkListStore* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->device_model; -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp6_, &_vala_iter); -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp7_; #line 953 "ui.c" } else { -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = FALSE; #line 957 "ui.c" } -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp4_) { -#line 303 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 303 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 963 "ui.c" } } -#line 297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = FALSE; -#line 300 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 300 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->device_model; -#line 300 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 300 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = _vala_iter; -#line 300 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 300 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp8_, &_tmp9_, 0, &d, -1, -1); -#line 301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = d; -#line 301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = device; -#line 301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp10_, _tmp11_) == 0) { -#line 302 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 302 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_iter = TRUE; #line 982 "ui.c" } -#line 297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (d); #line 986 "ui.c" } } } -#line 306 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 306 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = have_iter; -#line 306 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 306 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (iter) { -#line 306 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 306 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *iter = _vala_iter; #line 996 "ui.c" } -#line 306 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 306 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 1000 "ui.c" } @@ -1006,31 +1006,31 @@ static void user_interface_show_error_dialog (UserInterface* self, const gchar* GtkMessageDialog* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 309 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 309 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 309 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 309 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (error_title != NULL); -#line 309 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 309 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (error_text != NULL); -#line 311 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 311 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = error_title; -#line 311 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 311 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp0_); -#line 311 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 311 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp1_); -#line 311 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 311 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dialog = _tmp1_; -#line 316 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 316 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _ ("_Close"); -#line 316 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 316 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_dialog_add_button ((GtkDialog*) dialog, _tmp2_, 0); -#line 317 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 317 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = error_text; -#line 317 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 317 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_message_dialog_format_secondary_text (dialog, "%s", _tmp3_); -#line 318 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 318 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) dialog); -#line 309 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 309 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); #line 1036 "ui.c" } @@ -1057,85 +1057,85 @@ void user_interface_authorize (UserInterface* self, const gchar* resource, gchar const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (resource != NULL); -#line 324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _ ("Username and password required to access '%s'"); -#line 324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = resource; -#line 324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_); -#line 324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" description = _tmp2_; -#line 326 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 326 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->username_entry; -#line 326 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 326 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_entry_set_text (_tmp3_, ""); -#line 327 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 327 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->password_entry; -#line 327 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 327 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_entry_set_text (_tmp4_, ""); -#line 328 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 328 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->authorize_label; -#line 328 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 328 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_label_set_text (_tmp5_, description); -#line 330 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 330 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->authorize_dialog; -#line 330 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 330 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp6_, TRUE); -#line 331 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 331 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->authorize_dialog; -#line 331 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 331 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_dialog_run (_tmp7_); -#line 332 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 332 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->authorize_dialog; -#line 332 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 332 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp8_, FALSE); -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->username_entry; -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = gtk_entry_get_text (_tmp9_); -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = _tmp10_; -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = g_strdup (_tmp11_); -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_vala_username); -#line 334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_username = _tmp12_; -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->password_entry; -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = gtk_entry_get_text (_tmp13_); -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = _tmp14_; -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = g_strdup (_tmp15_); -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_vala_password); -#line 335 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 335 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_password = _tmp16_; -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (description); -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (username) { -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *username = _vala_username; #line 1127 "ui.c" } else { -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_vala_username); #line 1131 "ui.c" } -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (password) { -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *password = _vala_password; #line 1137 "ui.c" } else { -#line 321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_vala_password); #line 1141 "ui.c" } @@ -1148,48 +1148,48 @@ static void user_interface_device_combo_changed_cb (UserInterface* self, GtkWidg gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 339 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 339 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 339 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 339 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 341 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 341 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->setting_devices; -#line 341 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 341 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 342 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 342 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 1162 "ui.c" } -#line 343 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 343 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->user_selected_device = TRUE; -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_selected_device (self); -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp3_ != NULL; -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp3_); -#line 344 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 344 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_) { #line 1178 "ui.c" GSettings* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->settings; -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = user_interface_get_selected_device (self); -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _tmp6_; -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _tmp7_; -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_string (_tmp5_, "selected-device", _tmp8_); -#line 345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp8_); #line 1195 "ui.c" } @@ -1197,7 +1197,7 @@ static void user_interface_device_combo_changed_cb (UserInterface* self, GtkWidg static void _user_interface_device_combo_changed_cb_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_device_combo_changed_cb ((UserInterface*) self, _sender); #line 1203 "ui.c" } @@ -1226,15 +1226,15 @@ static void user_interface_update_info_bar (UserInterface* self) { GtkButton* _tmp26_ = NULL; gboolean _tmp27_ = FALSE; GtkInfoBar* _tmp28_ = NULL; -#line 348 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 348 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 352 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 352 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" show_close_button = FALSE; -#line 353 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 353 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" show_change_scanner_button = FALSE; -#line 355 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 355 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->have_error; -#line 355 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 355 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { #line 1240 "ui.c" gchar* _tmp1_ = NULL; @@ -1243,45 +1243,45 @@ static void user_interface_update_info_bar (UserInterface* self) { const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 357 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 357 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" type = GTK_MESSAGE_ERROR; -#line 358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup ("dialog-error"); -#line 358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (image_id); -#line 358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" image_id = _tmp1_; -#line 359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->error_title; -#line 359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_strdup (_tmp2_); -#line 359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (title); -#line 359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" title = _tmp3_; -#line 360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->error_text; -#line 360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = g_strdup (_tmp4_); -#line 360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (text); -#line 360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" text = _tmp5_; -#line 361 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 361 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" show_close_button = TRUE; -#line 362 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 362 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->error_change_scanner_hint; -#line 362 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 362 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" show_change_scanner_button = _tmp6_; #line 1277 "ui.c" } else { GtkListStore* _tmp7_ = NULL; gint _tmp8_ = 0; -#line 364 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 364 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->device_model; -#line 364 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 364 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = gtk_tree_model_iter_n_children ((GtkTreeModel*) _tmp7_, NULL); -#line 364 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 364 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp8_ == 0) { #line 1287 "ui.c" gchar* _tmp9_ = NULL; @@ -1289,104 +1289,104 @@ static void user_interface_update_info_bar (UserInterface* self) { gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; -#line 366 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 366 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" type = GTK_MESSAGE_WARNING; -#line 367 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 367 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = g_strdup ("dialog-warning"); -#line 367 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 367 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (image_id); -#line 367 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 367 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" image_id = _tmp9_; -#line 369 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 369 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = _ ("No scanners detected"); -#line 369 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 369 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = g_strdup (_tmp10_); -#line 369 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 369 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (title); -#line 369 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 369 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" title = _tmp11_; -#line 371 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 371 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = _ ("Please check your scanner is connected and powered on"); -#line 371 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 371 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = g_strdup (_tmp12_); -#line 371 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 371 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (text); -#line 371 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 371 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" text = _tmp13_; #line 1317 "ui.c" } else { GtkInfoBar* _tmp14_ = NULL; -#line 375 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 375 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = self->priv->info_bar; -#line 375 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 375 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp14_, FALSE); -#line 376 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 376 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (image_id); -#line 376 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 376 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (text); -#line 376 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 376 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (title); -#line 376 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 376 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 1332 "ui.c" } } -#line 379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->info_bar; -#line 379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = type; -#line 379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_info_bar_set_message_type (_tmp15_, _tmp16_); -#line 380 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 380 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = self->priv->info_bar_image; -#line 380 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 380 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = image_id; -#line 380 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 380 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_image_set_from_icon_name (_tmp17_, _tmp18_, GTK_ICON_SIZE_DIALOG); -#line 381 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 381 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = title; -#line 381 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 381 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = text; -#line 381 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 381 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = g_strdup_printf ("<big><b>%s</b></big>\n\n%s", _tmp19_, _tmp20_); -#line 381 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 381 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" message = _tmp21_; -#line 382 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 382 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = self->priv->info_bar_label; -#line 382 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 382 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = message; -#line 382 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 382 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_label_set_markup (_tmp22_, _tmp23_); -#line 383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = self->priv->info_bar_close_button; -#line 383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = show_close_button; -#line 383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp24_, _tmp25_); -#line 384 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 384 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = self->priv->info_bar_change_scanner_button; -#line 384 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 384 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = show_change_scanner_button; -#line 384 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 384 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp26_, _tmp27_); -#line 385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = self->priv->info_bar; -#line 385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp28_, TRUE); -#line 348 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 348 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (message); -#line 348 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 348 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (image_id); -#line 348 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 348 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (text); -#line 348 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 348 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (title); #line 1385 "ui.c" } static gpointer _scan_device_ref0 (gpointer self) { -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self ? scan_device_ref (self) : NULL; #line 1392 "ui.c" } @@ -1400,48 +1400,48 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { GList* _tmp4_ = NULL; gboolean _tmp51_ = FALSE; gboolean _tmp52_ = FALSE; -#line 388 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 388 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 390 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 390 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_selection = FALSE; -#line 394 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 394 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->setting_devices = TRUE; -#line 397 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 397 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->user_selected_device; -#line 397 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 397 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { #line 1414 "ui.c" GtkComboBox* _tmp1_ = NULL; gint _tmp2_ = 0; gint _tmp3_ = 0; -#line 398 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 398 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->device_combo; -#line 398 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 398 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_combo_box_get_active (_tmp1_); -#line 398 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 398 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 398 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 398 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_selection = _tmp3_ >= 0; #line 1426 "ui.c" } -#line 401 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 401 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = 0; -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = devices; #line 1432 "ui.c" { GList* device_collection = NULL; GList* device_it = NULL; -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" device_collection = _tmp4_; -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" for (device_it = device_collection; device_it != NULL; device_it = device_it->next) { #line 1440 "ui.c" ScanDevice* _tmp5_ = NULL; ScanDevice* device = NULL; -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _scan_device_ref0 ((ScanDevice*) device_it->data); -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" device = _tmp5_; #line 1447 "ui.c" { @@ -1452,28 +1452,28 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { gboolean _tmp9_ = FALSE; gint _tmp21_ = 0; gint _tmp44_ = 0; -#line 404 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 404 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_delete = -1; -#line 407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->device_model; -#line 407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = index; -#line 407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = gtk_tree_model_iter_nth_child ((GtkTreeModel*) _tmp6_, &_tmp8_, NULL, _tmp7_); -#line 407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp8_; -#line 407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp9_) { #line 1468 "ui.c" gint i = 0; -#line 409 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 409 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = 0; #line 1472 "ui.c" { gboolean _tmp10_ = FALSE; -#line 410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = TRUE; -#line 410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 1479 "ui.c" gchar* name = NULL; @@ -1485,67 +1485,67 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { const gchar* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; gint _tmp20_ = 0; -#line 410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp10_) { #line 1491 "ui.c" GtkListStore* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 424 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 424 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->device_model; -#line 424 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 424 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp11_, &iter); -#line 424 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 424 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp12_) { -#line 424 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 424 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 1502 "ui.c" } } -#line 410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = FALSE; -#line 415 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 415 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->device_model; -#line 415 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 415 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = iter; -#line 415 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 415 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp13_, &_tmp14_, 0, &name, -1, -1); -#line 416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = name; -#line 416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = device; -#line 416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = _tmp16_->name; -#line 416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" matched = g_strcmp0 (_tmp15_, _tmp17_) == 0; -#line 418 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 418 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = matched; -#line 418 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 418 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp18_) { #line 1525 "ui.c" gint _tmp19_ = 0; -#line 420 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 420 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = i; -#line 420 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 420 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_delete = _tmp19_; -#line 421 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 421 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (name); -#line 421 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 421 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 1535 "ui.c" } -#line 423 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 423 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = i; -#line 423 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 423 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = _tmp20_ + 1; -#line 410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (name); #line 1543 "ui.c" } } } -#line 428 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 428 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = n_delete; -#line 428 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 428 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp21_ >= 0) { #line 1551 "ui.c" gint i = 0; @@ -1553,24 +1553,24 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { GtkTreeIter _tmp23_ = {0}; ScanDevice* _tmp24_ = NULL; const gchar* _tmp25_ = NULL; -#line 433 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 433 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = self->priv->device_model; -#line 433 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 433 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = iter; -#line 433 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 433 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = device; -#line 433 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 433 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = _tmp24_->label; -#line 433 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 433 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp22_, &_tmp23_, 1, _tmp25_, -1, -1); #line 1567 "ui.c" { gboolean _tmp26_ = FALSE; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = 0; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = TRUE; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 1576 "ui.c" gint _tmp28_ = 0; @@ -1580,41 +1580,41 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { GtkTreeIter _tmp32_ = {0}; GtkListStore* _tmp33_ = NULL; GtkTreeIter _tmp34_ = {0}; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp26_) { #line 1586 "ui.c" gint _tmp27_ = 0; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = i; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = _tmp27_ + 1; #line 1592 "ui.c" } -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = FALSE; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = i; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = n_delete; -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!(_tmp28_ < _tmp29_)) { -#line 435 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 435 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 1604 "ui.c" } -#line 437 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 437 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = self->priv->device_model; -#line 437 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 437 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = index; -#line 437 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 437 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_iter_nth_child ((GtkTreeModel*) _tmp30_, &_tmp32_, NULL, _tmp31_); -#line 437 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 437 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp32_; -#line 438 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 438 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = self->priv->device_model; -#line 438 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 438 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = iter; -#line 438 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 438 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_remove (_tmp33_, &_tmp34_); #line 1620 "ui.c" } @@ -1629,41 +1629,41 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { const gchar* _tmp41_ = NULL; ScanDevice* _tmp42_ = NULL; const gchar* _tmp43_ = NULL; -#line 443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = self->priv->device_model; -#line 443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = index; -#line 443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_insert (_tmp35_, &_tmp37_, _tmp36_); -#line 443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp37_; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = self->priv->device_model; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = iter; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp40_ = device; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp41_ = _tmp40_->name; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp42_ = device; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp43_ = _tmp42_->label; -#line 444 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 444 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp38_, &_tmp39_, 0, _tmp41_, 1, _tmp43_, -1, -1); #line 1655 "ui.c" } -#line 446 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 446 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp44_ = index; -#line 446 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 446 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = _tmp44_ + 1; -#line 402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _scan_device_unref0 (device); #line 1663 "ui.c" } } } -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 1669 "ui.c" GtkListStore* _tmp45_ = NULL; @@ -1672,57 +1672,57 @@ void user_interface_set_scan_devices (UserInterface* self, GList* devices) { gboolean _tmp48_ = FALSE; GtkListStore* _tmp49_ = NULL; GtkTreeIter _tmp50_ = {0}; -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp45_ = self->priv->device_model; -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp46_ = index; -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp48_ = gtk_tree_model_iter_nth_child ((GtkTreeModel*) _tmp45_, &_tmp47_, NULL, _tmp46_); -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp47_; -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp48_) { -#line 450 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 450 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 1688 "ui.c" } -#line 451 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 451 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp49_ = self->priv->device_model; -#line 451 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 451 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp50_ = iter; -#line 451 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 451 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_remove (_tmp49_, &_tmp50_); #line 1696 "ui.c" } -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp52_ = have_selection; -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp52_) { #line 1702 "ui.c" GList* _tmp53_ = NULL; -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp53_ = devices; -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp51_ = _tmp53_ != NULL; #line 1708 "ui.c" } else { -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp51_ = FALSE; #line 1712 "ui.c" } -#line 454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp51_) { #line 1716 "ui.c" GtkComboBox* _tmp54_ = NULL; -#line 455 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 455 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp54_ = self->priv->device_combo; -#line 455 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 455 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active (_tmp54_, 0); #line 1722 "ui.c" } -#line 457 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 457 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->setting_devices = FALSE; -#line 459 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 459 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_info_bar (self); #line 1728 "ui.c" } @@ -1737,29 +1737,29 @@ static void user_interface_add_default_page (UserInterface* self) { Page* _tmp4_ = NULL; Book* _tmp5_ = NULL; BookView* _tmp6_ = NULL; -#line 462 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 462 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->default_page_width; -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->default_page_height; -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->default_page_dpi; -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->default_page_scan_direction; -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page_new (_tmp0_, _tmp1_, _tmp2_, _tmp3_); -#line 464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp4_; -#line 468 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 468 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->_book; -#line 468 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 468 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_append_page (_tmp5_, page); -#line 469 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 469 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->book_view; -#line 469 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 469 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_view_set_selected_page (_tmp6_, page); -#line 462 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 462 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 1765 "ui.c" } @@ -1943,82 +1943,82 @@ static void user_interface_on_file_type_changed (UserInterface* self, GtkTreeSel gchar* _tmp14_ = NULL; GtkFileChooserDialog* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; -#line 472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (selection != NULL); -#line 474 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 474 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = selection; -#line 474 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 474 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_selected_extension (self, _tmp0_); -#line 474 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 474 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extension = _tmp1_; -#line 475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->save_dialog; -#line 475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp2_); -#line 475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" path = _tmp3_; -#line 476 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 476 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = path; -#line 476 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 476 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = g_path_get_basename (_tmp4_); -#line 476 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 476 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filename = _tmp5_; -#line 479 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 479 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = filename; -#line 479 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 479 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = string_last_index_of_char (_tmp6_, (gunichar) '.', 0); -#line 479 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 479 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extension_index = _tmp7_; -#line 480 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 480 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = extension_index; -#line 480 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 480 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp8_ >= 0) { #line 1979 "ui.c" const gchar* _tmp9_ = NULL; gint _tmp10_ = 0; gchar* _tmp11_ = NULL; -#line 481 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 481 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = filename; -#line 481 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 481 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = extension_index; -#line 481 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 481 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = string_slice (_tmp9_, (glong) 0, (glong) _tmp10_); -#line 481 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 481 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 481 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 481 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filename = _tmp11_; #line 1993 "ui.c" } -#line 482 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 482 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = filename; -#line 482 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 482 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = extension; -#line 482 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 482 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = g_strconcat (_tmp12_, _tmp13_, NULL); -#line 482 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 482 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 482 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 482 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filename = _tmp14_; -#line 483 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 483 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->save_dialog; -#line 483 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 483 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = filename; -#line 483 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 483 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_current_name ((GtkFileChooser*) _tmp15_, _tmp16_); -#line 472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (extension); #line 2017 "ui.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self ? g_object_ref (self) : NULL; #line 2024 "ui.c" } @@ -2035,44 +2035,44 @@ static gchar* user_interface_get_selected_extension (UserInterface* self, GtkTre GtkTreeIter _tmp3_ = {0}; gboolean _tmp4_ = FALSE; GtkTreeModel* _tmp5_ = NULL; -#line 486 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 486 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 486 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 486 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (selection != NULL, NULL); -#line 490 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 490 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_strdup (""); -#line 490 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 490 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extension = _tmp0_; -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = selection; -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = gtk_tree_selection_get_selected (_tmp1_, &_tmp2_, &_tmp3_); -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (model); -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _g_object_ref0 (_tmp2_); -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" model = _tmp5_; -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp3_; -#line 492 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 492 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_) { #line 2061 "ui.c" GtkTreeModel* _tmp6_ = NULL; GtkTreeIter _tmp7_ = {0}; -#line 493 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 493 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = model; -#line 493 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 493 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = iter; -#line 493 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 493 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get (_tmp6_, &_tmp7_, 1, &extension, -1, -1); #line 2070 "ui.c" } -#line 494 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 494 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = extension; -#line 494 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 494 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (model); -#line 494 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 494 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 2078 "ui.c" } @@ -2247,7 +2247,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { static void _user_interface_on_file_type_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) { -#line 581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_on_file_type_changed ((UserInterface*) self, _sender); #line 2253 "ui.c" } @@ -2349,288 +2349,288 @@ static gchar* user_interface_choose_file_location (UserInterface* self) { GtkTreeSelection* _tmp115_ = NULL; guint _tmp116_ = 0U; GtkFileChooserDialog* _tmp117_ = NULL; -#line 497 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 497 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 500 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 500 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" directory = NULL; -#line 501 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 501 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 501 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 501 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_settings_get_string (_tmp0_, "save-directory"); -#line 501 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 501 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (directory); -#line 501 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 501 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" directory = _tmp1_; -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = directory; -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_ == NULL) { -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = TRUE; #line 2371 "ui.c" } else { const gchar* _tmp4_ = NULL; -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = directory; -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = g_strcmp0 (_tmp4_, "") == 0; #line 2378 "ui.c" } -#line 503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 2382 "ui.c" const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 504 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 504 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS); -#line 504 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 504 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = g_strdup (_tmp5_); -#line 504 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 504 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (directory); -#line 504 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 504 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" directory = _tmp6_; #line 2393 "ui.c" } -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _ ("Save As..."); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _ ("_Cancel"); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = _ ("_Save"); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp7_, (GtkWindow*) self, GTK_FILE_CHOOSER_ACTION_SAVE, _tmp8_, GTK_RESPONSE_CANCEL, _tmp9_, GTK_RESPONSE_ACCEPT, NULL, NULL); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp10_); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_dialog); -#line 506 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 506 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->save_dialog = _tmp10_; -#line 513 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 513 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->save_dialog; -#line 513 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 513 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_do_overwrite_confirmation ((GtkFileChooser*) _tmp11_, TRUE); -#line 514 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 514 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = self->priv->save_dialog; -#line 514 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 514 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp12_, FALSE); -#line 515 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 515 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->save_dialog; -#line 515 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 515 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = directory; -#line 515 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 515 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_current_folder ((GtkFileChooser*) _tmp13_, _tmp14_); -#line 516 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 516 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->save_dialog; -#line 516 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 516 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = self->priv->_default_file_name; -#line 516 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 516 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_current_name ((GtkFileChooser*) _tmp15_, _tmp16_); -#line 519 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 519 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = gtk_file_filter_new (); -#line 519 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 519 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp17_); -#line 519 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 519 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filter = _tmp17_; -#line 520 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 520 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = filter; -#line 520 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 520 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = _ ("Image Files"); -#line 520 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 520 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_filter_set_name (_tmp18_, _tmp19_); -#line 522 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 522 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = filter; -#line 522 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 522 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_filter_add_pixbuf_formats (_tmp20_); -#line 523 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 523 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = filter; -#line 523 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 523 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_filter_add_mime_type (_tmp21_, "application/pdf"); -#line 524 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 524 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = self->priv->save_dialog; -#line 524 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 524 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = filter; -#line 524 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 524 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = _g_object_ref0 (_tmp23_); -#line 524 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 524 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_add_filter ((GtkFileChooser*) _tmp22_, _tmp24_); -#line 525 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 525 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = gtk_file_filter_new (); -#line 525 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 525 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp25_); -#line 525 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 525 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (filter); -#line 525 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 525 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filter = _tmp25_; -#line 526 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 526 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = filter; -#line 526 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 526 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = _ ("All Files"); -#line 526 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 526 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_filter_set_name (_tmp26_, _tmp27_); -#line 528 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 528 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = filter; -#line 528 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 528 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_filter_add_pattern (_tmp28_, "*"); -#line 529 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 529 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = self->priv->save_dialog; -#line 529 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 529 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = filter; -#line 529 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 529 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = _g_object_ref0 (_tmp30_); -#line 529 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 529 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_add_filter ((GtkFileChooser*) _tmp29_, _tmp31_); -#line 531 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 531 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = _ ("Select File _Type"); -#line 531 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 531 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = (GtkExpander*) gtk_expander_new_with_mnemonic (_tmp32_); -#line 531 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 531 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp33_); -#line 531 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 531 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" expander = _tmp33_; -#line 533 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 533 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = expander; -#line 533 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 533 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_expander_set_spacing (_tmp34_, 5); -#line 534 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 534 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = self->priv->save_dialog; -#line 534 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 534 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = expander; -#line 534 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 534 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_file_chooser_set_extra_widget ((GtkFileChooser*) _tmp35_, (GtkWidget*) _tmp36_); -#line 536 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 536 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp37_ = g_strdup (""); -#line 536 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 536 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" default_extension = _tmp37_; -#line 537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = self->priv->_default_file_name; -#line 537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = string_last_index_of_char (_tmp38_, (gunichar) '.', 0); -#line 537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = _tmp39_; -#line 538 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 538 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp40_ = index; -#line 538 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 538 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp40_ >= 0) { #line 2515 "ui.c" const gchar* _tmp41_ = NULL; gint _tmp42_ = 0; gchar* _tmp43_ = NULL; -#line 539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp41_ = self->priv->_default_file_name; -#line 539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp42_ = index; -#line 539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp43_ = string_substring (_tmp41_, (glong) _tmp42_, (glong) (-1)); -#line 539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (default_extension); -#line 539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" default_extension = _tmp43_; #line 2529 "ui.c" } -#line 541 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 541 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp44_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING, -1); -#line 541 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 541 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" file_type_store = _tmp44_; -#line 543 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 543 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp45_ = file_type_store; -#line 543 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 543 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp45_, &_tmp46_); -#line 543 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 543 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp46_; -#line 544 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 544 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp47_ = file_type_store; -#line 544 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 544 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp48_ = iter; -#line 544 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 544 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp49_ = _ ("PDF (multi-page document)"); -#line 544 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 544 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp47_, &_tmp48_, 0, _tmp49_, 1, ".pdf", -1, -1); -#line 549 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 549 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp50_ = file_type_store; -#line 549 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 549 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp50_, &_tmp51_); -#line 549 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 549 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp51_; -#line 550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp52_ = file_type_store; -#line 550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp53_ = iter; -#line 550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp54_ = _ ("JPEG (compressed)"); -#line 550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp52_, &_tmp53_, 0, _tmp54_, 1, ".jpg", -1, -1); -#line 555 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 555 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp55_ = file_type_store; -#line 555 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 555 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp55_, &_tmp56_); -#line 555 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 555 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp56_; -#line 556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp57_ = file_type_store; -#line 556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp58_ = iter; -#line 556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp59_ = _ ("PNG (lossless)"); -#line 556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp57_, &_tmp58_, 0, _tmp59_, 1, ".png", -1, -1); -#line 562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp60_ = file_type_store; -#line 562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp61_ = (GtkTreeView*) gtk_tree_view_new_with_model ((GtkTreeModel*) _tmp60_); -#line 562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp61_); -#line 562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" file_type_view = _tmp61_; -#line 563 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 563 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp62_ = file_type_view; -#line 563 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 563 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_view_set_headers_visible (_tmp62_, FALSE); -#line 564 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 564 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp63_ = file_type_view; -#line 564 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 564 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_view_set_rules_hint (_tmp63_, TRUE); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp64_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp64_); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp65_ = _tmp64_; -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp66_ = gtk_tree_view_column_new_with_attributes ("", (GtkCellRenderer*) _tmp65_, "text", 0, NULL, NULL); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp66_); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp67_ = _tmp66_; -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (_tmp65_); -#line 565 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 565 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" column = _tmp67_; -#line 568 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 568 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp68_ = file_type_view; -#line 568 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 568 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp69_ = column; -#line 568 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 568 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_view_append_column (_tmp68_, _tmp69_); -#line 569 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 569 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp70_ = expander; -#line 569 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 569 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp71_ = file_type_view; -#line 569 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 569 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_add ((GtkContainer*) _tmp70_, (GtkWidget*) _tmp71_); -#line 571 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 571 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp72_ = file_type_store; -#line 571 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 571 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp74_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp72_, &_tmp73_); -#line 571 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 571 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp73_; -#line 571 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 571 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp74_) { #line 2629 "ui.c" { gboolean _tmp75_ = FALSE; -#line 573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp75_ = TRUE; -#line 573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 2636 "ui.c" gchar* e = NULL; @@ -2638,77 +2638,77 @@ static gchar* user_interface_choose_file_location (UserInterface* self) { GtkTreeIter _tmp79_ = {0}; const gchar* _tmp80_ = NULL; const gchar* _tmp81_ = NULL; -#line 573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp75_) { #line 2644 "ui.c" GtkListStore* _tmp76_ = NULL; gboolean _tmp77_ = FALSE; -#line 579 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 579 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp76_ = file_type_store; -#line 579 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 579 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp77_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp76_, &iter); -#line 579 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 579 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp77_) { -#line 579 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 579 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 2655 "ui.c" } } -#line 573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp75_ = FALSE; -#line 576 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 576 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp78_ = file_type_store; -#line 576 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 576 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp79_ = iter; -#line 576 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 576 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp78_, &_tmp79_, 1, &e, -1, -1); -#line 577 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 577 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp80_ = default_extension; -#line 577 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 577 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp81_ = e; -#line 577 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 577 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp80_, _tmp81_) == 0) { #line 2672 "ui.c" GtkTreeView* _tmp82_ = NULL; GtkTreeSelection* _tmp83_ = NULL; GtkTreeIter _tmp84_ = {0}; -#line 578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp82_ = file_type_view; -#line 578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp83_ = gtk_tree_view_get_selection (_tmp82_); -#line 578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp84_ = iter; -#line 578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_selection_select_iter (_tmp83_, &_tmp84_); #line 2684 "ui.c" } -#line 573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (e); #line 2688 "ui.c" } } } -#line 581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp85_ = file_type_view; -#line 581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp86_ = gtk_tree_view_get_selection (_tmp85_); -#line 581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp86_, "changed", (GCallback) _user_interface_on_file_type_changed_gtk_tree_selection_changed, self, 0); -#line 583 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 583 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp87_ = expander; -#line 583 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 583 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_show_all ((GtkWidget*) _tmp87_); -#line 585 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 585 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp88_ = self->priv->save_dialog; -#line 585 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 585 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp89_ = gtk_dialog_run ((GtkDialog*) _tmp88_); -#line 585 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 585 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" response = _tmp89_; -#line 587 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 587 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" uri = NULL; -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp90_ = response; -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp90_ == ((gint) GTK_RESPONSE_ACCEPT)) { #line 2714 "ui.c" GtkTreeSelection* selection = NULL; @@ -2732,127 +2732,127 @@ static gchar* user_interface_choose_file_location (UserInterface* self) { GFile* _tmp107_ = NULL; GFile* _tmp108_ = NULL; gchar* _tmp109_ = NULL; -#line 590 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 590 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp91_ = file_type_view; -#line 590 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 590 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp92_ = gtk_tree_view_get_selection (_tmp91_); -#line 590 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 590 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp93_ = _g_object_ref0 (_tmp92_); -#line 590 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 590 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" selection = _tmp93_; -#line 591 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 591 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp94_ = selection; -#line 591 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 591 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp95_ = user_interface_get_selected_extension (self, _tmp94_); -#line 591 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 591 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extension = _tmp95_; -#line 593 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 593 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp96_ = self->priv->save_dialog; -#line 593 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 593 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp97_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp96_); -#line 593 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 593 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" path = _tmp97_; -#line 594 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 594 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp98_ = path; -#line 594 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 594 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp99_ = g_path_get_basename (_tmp98_); -#line 594 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 594 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filename = _tmp99_; -#line 596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp100_ = filename; -#line 596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp101_ = string_last_index_of_char (_tmp100_, (gunichar) '.', 0); -#line 596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extension_index = _tmp101_; -#line 597 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 597 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp102_ = extension_index; -#line 597 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 597 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp102_ < 0) { #line 2772 "ui.c" const gchar* _tmp103_ = NULL; const gchar* _tmp104_ = NULL; gchar* _tmp105_ = NULL; -#line 598 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 598 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp103_ = path; -#line 598 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 598 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp104_ = extension; -#line 598 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 598 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp105_ = g_strconcat (_tmp103_, _tmp104_, NULL); -#line 598 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 598 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 598 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 598 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" path = _tmp105_; #line 2786 "ui.c" } -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp106_ = path; -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp107_ = g_file_new_for_path (_tmp106_); -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp108_ = _tmp107_; -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp109_ = g_file_get_uri (_tmp108_); -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" uri = _tmp109_; -#line 600 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 600 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (_tmp108_); -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (extension); -#line 588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (selection); #line 2810 "ui.c" } -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp110_ = self->priv->settings; -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp111_ = self->priv->save_dialog; -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp112_ = gtk_file_chooser_get_current_folder ((GtkFileChooser*) _tmp111_); -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp113_ = _tmp112_; -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_string (_tmp110_, "save-directory", _tmp113_); -#line 603 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 603 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp113_); -#line 605 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 605 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp114_ = file_type_view; -#line 605 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 605 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp115_ = gtk_tree_view_get_selection (_tmp114_); -#line 605 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 605 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("changed", gtk_tree_selection_get_type (), &_tmp116_, NULL, FALSE); -#line 605 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 605 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp115_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp116_, 0, NULL, (GCallback) _user_interface_on_file_type_changed_gtk_tree_selection_changed, self); -#line 606 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 606 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp117_ = self->priv->save_dialog; -#line 606 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 606 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _tmp117_); -#line 607 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 607 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_dialog); -#line 607 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 607 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->save_dialog = NULL; -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = uri; -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (column); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file_type_view); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file_type_store); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (default_extension); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (expander); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (filter); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (directory); -#line 609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 2858 "ui.c" } @@ -2879,171 +2879,171 @@ static gboolean user_interface_save_document (UserInterface* self, gboolean forc gchar* _tmp39_ = NULL; Book* _tmp40_ = NULL; GError * _inner_error_ = NULL; -#line 612 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 612 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->book_uri; -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp1_ != NULL) { #line 2889 "ui.c" gboolean _tmp2_ = FALSE; -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = force_choose_location; -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = !_tmp2_; #line 2895 "ui.c" } else { -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = FALSE; #line 2899 "ui.c" } -#line 615 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 615 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { #line 2903 "ui.c" const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 616 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 616 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->book_uri; -#line 616 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 616 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = g_strdup (_tmp3_); -#line 616 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 616 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 616 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 616 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" uri = _tmp4_; #line 2914 "ui.c" } else { gchar* _tmp5_ = NULL; -#line 618 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 618 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = user_interface_choose_file_location (self); -#line 618 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 618 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 618 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 618 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" uri = _tmp5_; #line 2923 "ui.c" } -#line 619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = uri; -#line 619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp6_ == NULL) { -#line 620 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 620 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 620 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 620 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 620 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 620 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 2935 "ui.c" } -#line 622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = uri; -#line 622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = g_file_new_for_uri (_tmp7_); -#line 622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" file = _tmp8_; -#line 624 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 624 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = uri; -#line 624 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 624 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_debug ("ui.vala:624: Saving to '%s'", _tmp9_); -#line 626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = uri; -#line 626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = g_utf8_strdown (_tmp10_, (gssize) (-1)); -#line 626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" uri_lower = _tmp11_; -#line 627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = g_strdup ("jpeg"); -#line 627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" format = _tmp12_; -#line 628 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 628 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = uri_lower; -#line 628 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 628 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = g_str_has_suffix (_tmp13_, ".pdf"); -#line 628 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 628 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp14_) { #line 2963 "ui.c" gchar* _tmp15_ = NULL; -#line 629 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 629 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = g_strdup ("pdf"); -#line 629 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 629 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 629 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 629 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" format = _tmp15_; #line 2971 "ui.c" } else { const gchar* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; -#line 630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = uri_lower; -#line 630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = g_str_has_suffix (_tmp16_, ".ps"); -#line 630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp17_) { #line 2981 "ui.c" gchar* _tmp18_ = NULL; -#line 631 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 631 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = g_strdup ("ps"); -#line 631 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 631 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 631 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 631 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" format = _tmp18_; #line 2989 "ui.c" } else { const gchar* _tmp19_ = NULL; gboolean _tmp20_ = FALSE; -#line 632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = uri_lower; -#line 632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = g_str_has_suffix (_tmp19_, ".png"); -#line 632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp20_) { #line 2999 "ui.c" gchar* _tmp21_ = NULL; -#line 633 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 633 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = g_strdup ("png"); -#line 633 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 633 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 633 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 633 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" format = _tmp21_; #line 3007 "ui.c" } else { gboolean _tmp22_ = FALSE; const gchar* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = uri_lower; -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = g_str_has_suffix (_tmp23_, ".tif"); -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp24_) { -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = TRUE; #line 3020 "ui.c" } else { const gchar* _tmp25_ = NULL; gboolean _tmp26_ = FALSE; -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = uri_lower; -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = g_str_has_suffix (_tmp25_, ".tiff"); -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = _tmp26_; #line 3030 "ui.c" } -#line 634 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 634 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp22_) { #line 3034 "ui.c" gchar* _tmp27_ = NULL; -#line 635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = g_strdup ("tiff"); -#line 635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" format = _tmp27_; #line 3042 "ui.c" } } } } -#line 637 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 637 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_progress_dialog (self); #line 3049 "ui.c" { @@ -3052,19 +3052,19 @@ static gboolean user_interface_save_document (UserInterface* self, gboolean forc gint _tmp30_ = 0; gint _tmp31_ = 0; GFile* _tmp32_ = NULL; -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = self->priv->_book; -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = format; -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = user_interface_get_quality (self); -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = _tmp30_; -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = file; -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_save (_tmp28_, _tmp29_, _tmp31_, _tmp32_, &_inner_error_); -#line 640 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 640 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3070 "ui.c" goto __catch16_g_error; @@ -3079,84 +3079,84 @@ static gboolean user_interface_save_document (UserInterface* self, gboolean forc const gchar* _tmp35_ = NULL; GError* _tmp36_ = NULL; const gchar* _tmp37_ = NULL; -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 644 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 644 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_hide_progress_dialog (self); -#line 645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = e; -#line 645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = _tmp33_->message; -#line 645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:645: Error saving file: %s", _tmp34_); -#line 646 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 646 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = _ ("Failed to save file"); -#line 646 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 646 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = e; -#line 646 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 646 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp37_ = _tmp36_->message; -#line 646 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 646 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_error (self, _tmp35_, _tmp37_, FALSE); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri_lower); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 650 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 650 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3117 "ui.c" } __finally16: -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri_lower); -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.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 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return FALSE; #line 3136 "ui.c" } -#line 653 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 653 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = uri; -#line 653 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 653 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = g_strdup (_tmp38_); -#line 653 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 653 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->book_uri); -#line 653 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 653 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->book_uri = _tmp39_; -#line 654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp40_ = self->priv->_book; -#line 654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_set_needs_saving (_tmp40_, FALSE); -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (format); -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri_lower); -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (uri); -#line 655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3162 "ui.c" } @@ -3183,122 +3183,122 @@ static gboolean user_interface_prompt_to_save (UserInterface* self, const gchar* gint _tmp14_ = 0; GtkMessageDialog* _tmp15_ = NULL; gint _tmp16_ = 0; -#line 658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (title != NULL, FALSE); -#line 658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (discard_label != NULL, FALSE); -#line 660 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 660 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 660 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 660 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_get_needs_saving (_tmp0_); -#line 660 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 660 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 660 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 660 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp2_) { -#line 661 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 661 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 661 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 661 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3205 "ui.c" } -#line 663 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 663 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = title; -#line 663 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 663 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp3_); -#line 663 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 663 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp4_); -#line 663 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 663 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dialog = _tmp4_; -#line 668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = dialog; -#line 668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _ ("If you don't save, changes will be permanently lost."); -#line 668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_message_dialog_format_secondary_text (_tmp5_, "%s", _tmp6_); -#line 671 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 671 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = dialog; -#line 671 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 671 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = discard_label; -#line 671 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 671 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_dialog_add_button ((GtkDialog*) _tmp7_, _tmp8_, (gint) GTK_RESPONSE_NO); -#line 672 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 672 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = dialog; -#line 672 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 672 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = _ ("_Cancel"); -#line 672 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 672 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_dialog_add_button ((GtkDialog*) _tmp9_, _tmp10_, (gint) GTK_RESPONSE_CANCEL); -#line 673 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 673 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = dialog; -#line 673 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 673 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = _ ("_Save"); -#line 673 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 673 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_dialog_add_button ((GtkDialog*) _tmp11_, _tmp12_, (gint) GTK_RESPONSE_YES); -#line 675 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 675 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = dialog; -#line 675 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 675 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = gtk_dialog_run ((GtkDialog*) _tmp13_); -#line 675 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 675 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" response = _tmp14_; -#line 676 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 676 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = dialog; -#line 676 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 676 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _tmp15_); -#line 678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = response; -#line 678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (_tmp16_) { -#line 678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case GTK_RESPONSE_YES: #line 3255 "ui.c" { gboolean _tmp17_ = FALSE; -#line 681 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 681 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = user_interface_save_document (self, FALSE); -#line 681 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 681 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp17_) { -#line 682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); -#line 682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3268 "ui.c" } else { -#line 684 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 684 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 684 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 684 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); -#line 684 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 684 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3276 "ui.c" } } -#line 678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case GTK_RESPONSE_NO: #line 3281 "ui.c" { -#line 686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); -#line 686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3289 "ui.c" } default: { -#line 688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); -#line 688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3299 "ui.c" } } -#line 658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (dialog); #line 3304 "ui.c" } @@ -3309,29 +3309,29 @@ static void user_interface_clear_document (UserInterface* self) { Book* _tmp1_ = NULL; GtkMenuItem* _tmp2_ = NULL; GtkMenuItem* _tmp3_ = NULL; -#line 692 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 692 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 694 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 694 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 694 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 694 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_clear (_tmp0_); -#line 695 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 695 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_add_default_page (self); -#line 696 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 696 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->book_uri); -#line 696 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 696 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->book_uri = NULL; -#line 697 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 697 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->_book; -#line 697 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 697 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_set_needs_saving (_tmp1_, FALSE); -#line 698 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 698 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->save_as_menuitem; -#line 698 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 698 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, FALSE); -#line 699 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 699 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->copy_to_clipboard_menuitem; -#line 699 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 699 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, FALSE); #line 3337 "ui.c" } @@ -3343,58 +3343,58 @@ static void user_interface_new_document (UserInterface* self) { gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 702 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 702 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 704 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 704 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _ ("Save current document?"); -#line 704 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 704 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _ ("Discard Changes"); -#line 704 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 704 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = user_interface_prompt_to_save (self, _tmp0_, _tmp1_); -#line 704 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 704 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp2_) { -#line 708 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 708 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 3359 "ui.c" } -#line 710 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 710 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = user_interface_get_scanning (self); -#line 710 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 710 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp3_; -#line 710 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 710 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_) { -#line 711 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 711 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "stop-scan"); #line 3369 "ui.c" } -#line 712 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 712 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_clear_document (self); #line 3373 "ui.c" } static void user_interface_new_button_clicked_cb (UserInterface* self, GtkWidget* widget) { -#line 716 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 716 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 716 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 716 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 718 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 718 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_new_document (self); #line 3384 "ui.c" } static void _user_interface_new_button_clicked_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_new_button_clicked_cb ((UserInterface*) self, _sender); #line 3391 "ui.c" } void user_interface_new_document_activate_cb (UserInterface* self) { -#line 721 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 721 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 723 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 723 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_new_document (self); #line 3400 "ui.c" } @@ -3405,76 +3405,76 @@ static void user_interface_set_document_hint (UserInterface* self, const gchar* gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gboolean _tmp10_ = FALSE; -#line 726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (document_hint != NULL); -#line 728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = document_hint; -#line 728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup (_tmp0_); -#line 728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->document_hint); -#line 728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->document_hint = _tmp1_; -#line 730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = document_hint; -#line 730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp2_, "text") == 0) { #line 3425 "ui.c" GtkRadioMenuItem* _tmp3_ = NULL; GtkRadioMenuItem* _tmp4_ = NULL; GtkRadioMenuItem* _tmp5_ = NULL; -#line 732 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 732 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->text_button_menuitem; -#line 732 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 732 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp3_, TRUE); -#line 733 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 733 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->text_button_hb_menuitem; -#line 733 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 733 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp4_, TRUE); -#line 734 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 734 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->text_menuitem; -#line 734 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 734 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp5_, TRUE); #line 3441 "ui.c" } else { const gchar* _tmp6_ = NULL; -#line 736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = document_hint; -#line 736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp6_, "photo") == 0) { #line 3448 "ui.c" GtkRadioMenuItem* _tmp7_ = NULL; GtkRadioMenuItem* _tmp8_ = NULL; GtkRadioMenuItem* _tmp9_ = NULL; -#line 738 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 738 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->photo_button_menuitem; -#line 738 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 738 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp7_, TRUE); -#line 739 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 739 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->photo_button_hb_menuitem; -#line 739 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 739 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp8_, TRUE); -#line 740 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 740 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->photo_menuitem; -#line 740 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 740 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp9_, TRUE); #line 3464 "ui.c" } } -#line 743 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 743 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = save; -#line 743 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 743 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp10_) { #line 3471 "ui.c" GSettings* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; -#line 744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->settings; -#line 744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = document_hint; -#line 744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_string (_tmp11_, "document-type", _tmp12_); #line 3480 "ui.c" } @@ -3485,19 +3485,19 @@ static void user_interface_text_menuitem_toggled_cb (UserInterface* self, GtkChe GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 748 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 748 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 748 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 748 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 751 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 751 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_document_hint (self, "text", TRUE); #line 3503 "ui.c" } @@ -3505,7 +3505,7 @@ static void user_interface_text_menuitem_toggled_cb (UserInterface* self, GtkChe static void _user_interface_text_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_text_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 3511 "ui.c" } @@ -3515,19 +3515,19 @@ static void user_interface_photo_menuitem_toggled_cb (UserInterface* self, GtkCh GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 755 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 755 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 755 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 755 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 758 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 758 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_document_hint (self, "photo", TRUE); #line 3533 "ui.c" } @@ -3535,7 +3535,7 @@ static void user_interface_photo_menuitem_toggled_cb (UserInterface* self, GtkCh static void _user_interface_photo_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_photo_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 3541 "ui.c" } @@ -3546,22 +3546,22 @@ static void user_interface_set_page_side (UserInterface* self, ScanType page_sid GtkListStore* _tmp0_ = NULL; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; -#line 761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->page_side_model; -#line 765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_); -#line 765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 3560 "ui.c" { gboolean _tmp3_ = FALSE; -#line 767 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 767 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = TRUE; -#line 767 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 767 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 3567 "ui.c" gint s = 0; @@ -3569,46 +3569,46 @@ static void user_interface_set_page_side (UserInterface* self, ScanType page_sid GtkTreeIter _tmp7_ = {0}; gint _tmp8_ = 0; ScanType _tmp9_ = 0; -#line 767 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 767 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp3_) { #line 3575 "ui.c" GtkListStore* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->page_side_model; -#line 776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp4_, &iter); -#line 776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp5_) { -#line 776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 3586 "ui.c" } } -#line 767 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 767 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = FALSE; -#line 770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->page_side_model; -#line 770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = iter; -#line 770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp6_, &_tmp7_, 0, &s, -1, -1); -#line 771 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 771 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = s; -#line 771 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 771 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = page_side; -#line 771 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 771 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp8_ == ((gint) _tmp9_)) { #line 3603 "ui.c" GtkComboBox* _tmp10_ = NULL; GtkTreeIter _tmp11_ = {0}; -#line 773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = self->priv->page_side_combo; -#line 773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = iter; -#line 773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active_iter (_tmp10_, &_tmp11_); -#line 774 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 774 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 3614 "ui.c" } @@ -3623,7 +3623,7 @@ static void user_interface_set_paper_size (UserInterface* self, gint width, gint gboolean have_iter = FALSE; gboolean _tmp14_ = FALSE; gboolean _tmp18_ = FALSE; -#line 780 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 780 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); #line 3629 "ui.c" { @@ -3631,17 +3631,17 @@ static void user_interface_set_paper_size (UserInterface* self, gint width, gint GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->paper_size_model; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_); -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_iter = _tmp2_; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = TRUE; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 3647 "ui.c" gboolean _tmp6_ = FALSE; @@ -3652,94 +3652,94 @@ static void user_interface_set_paper_size (UserInterface* self, gint width, gint gboolean _tmp9_ = FALSE; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp3_) { #line 3658 "ui.c" GtkListStore* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->paper_size_model; -#line 787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp4_, &iter); -#line 787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_iter = _tmp5_; #line 3667 "ui.c" } -#line 785 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 785 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = FALSE; -#line 786 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 786 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = have_iter; -#line 786 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 786 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp6_) { -#line 786 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 786 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 3677 "ui.c" } -#line 790 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 790 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->paper_size_model; -#line 790 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 790 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = iter; -#line 790 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 790 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp7_, &_tmp8_, 0, &w, 1, &h, -1, -1); -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = w; -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = width; -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp10_ == _tmp11_) { #line 3691 "ui.c" gint _tmp12_ = 0; gint _tmp13_ = 0; -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = h; -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = height; -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = _tmp12_ == _tmp13_; #line 3700 "ui.c" } else { -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = FALSE; #line 3704 "ui.c" } -#line 791 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 791 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp9_) { -#line 792 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 792 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 3710 "ui.c" } } } -#line 795 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 795 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = have_iter; -#line 795 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 795 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp14_) { #line 3718 "ui.c" GtkListStore* _tmp15_ = NULL; GtkTreeIter _tmp16_ = {0}; gboolean _tmp17_ = FALSE; -#line 796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->paper_size_model; -#line 796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp15_, &_tmp16_); -#line 796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp16_; -#line 796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" have_iter = _tmp17_; #line 3730 "ui.c" } -#line 797 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 797 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = have_iter; -#line 797 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 797 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp18_) { #line 3736 "ui.c" GtkComboBox* _tmp19_ = NULL; GtkTreeIter _tmp20_ = {0}; -#line 798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = self->priv->paper_size_combo; -#line 798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = iter; -#line 798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active_iter (_tmp19_, &_tmp20_); #line 3745 "ui.c" } @@ -3753,32 +3753,32 @@ static gint user_interface_get_text_dpi (UserInterface* self) { GtkComboBox* _tmp0_ = NULL; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; -#line 801 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 801 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 804 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 804 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = USER_INTERFACE_DEFAULT_TEXT_DPI; -#line 806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->text_dpi_combo; -#line 806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_); -#line 806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 3769 "ui.c" GtkListStore* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; -#line 807 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 807 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->text_dpi_model; -#line 807 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 807 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = iter; -#line 807 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 807 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp3_, &_tmp4_, 0, &dpi, -1, -1); #line 3778 "ui.c" } -#line 809 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 809 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = dpi; -#line 809 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 809 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3784 "ui.c" } @@ -3791,32 +3791,32 @@ static gint user_interface_get_photo_dpi (UserInterface* self) { GtkComboBox* _tmp0_ = NULL; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; -#line 812 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 812 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 815 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 815 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = USER_INTERFACE_DEFAULT_PHOTO_DPI; -#line 817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->photo_dpi_combo; -#line 817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_); -#line 817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 3807 "ui.c" GtkListStore* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; -#line 818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->photo_dpi_model; -#line 818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = iter; -#line 818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp3_, &_tmp4_, 0, &dpi, -1, -1); #line 3816 "ui.c" } -#line 820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = dpi; -#line 820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3822 "ui.c" } @@ -3830,34 +3830,34 @@ static ScanType user_interface_get_page_side (UserInterface* self) { GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; gint _tmp5_ = 0; -#line 823 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 823 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 826 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 826 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_side = (gint) SCAN_TYPE_ADF_BOTH; -#line 828 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 828 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->page_side_combo; -#line 828 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 828 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_); -#line 828 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 828 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 828 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 828 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 3846 "ui.c" GtkListStore* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; -#line 829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->page_side_model; -#line 829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = iter; -#line 829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp3_, &_tmp4_, 0, &page_side, -1, -1); #line 3855 "ui.c" } -#line 831 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 831 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page_side; -#line 831 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 831 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = (ScanType) _tmp5_; -#line 831 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 831 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3863 "ui.c" } @@ -3872,64 +3872,64 @@ static gboolean user_interface_get_paper_size (UserInterface* self, gint* width, GtkComboBox* _tmp1_ = NULL; GtkTreeIter _tmp2_ = {0}; gboolean _tmp3_ = FALSE; -#line 834 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 834 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_height = 0; -#line 838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _vala_height; -#line 838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_width = _tmp0_; -#line 839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->paper_size_combo; -#line 839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = gtk_combo_box_get_active_iter (_tmp1_, &_tmp2_); -#line 839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp2_; -#line 839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_) { #line 3892 "ui.c" GtkListStore* _tmp4_ = NULL; GtkTreeIter _tmp5_ = {0}; -#line 841 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 841 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->paper_size_model; -#line 841 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 841 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = iter; -#line 841 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 841 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp4_, &_tmp5_, 0, &_vala_width, 1, &_vala_height, -1, -1); -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (width) { -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *width = _vala_width; #line 3907 "ui.c" } -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (height) { -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *height = _vala_height; #line 3913 "ui.c" } -#line 842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3917 "ui.c" } -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (width) { -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *width = _vala_width; #line 3925 "ui.c" } -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (height) { -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *height = _vala_height; #line 3931 "ui.c" } -#line 845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 3935 "ui.c" } @@ -3950,34 +3950,34 @@ static ScanOptions* user_interface_make_scan_options (UserInterface* self) { ScanOptions* _tmp17_ = NULL; gint _tmp18_ = 0; gint _tmp19_ = 0; -#line 848 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 848 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 850 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 850 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = scan_options_new (); -#line 850 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 850 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" options = _tmp0_; -#line 851 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 851 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->document_hint; -#line 851 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 851 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp1_, "text") == 0) { #line 3964 "ui.c" ScanOptions* _tmp2_ = NULL; ScanOptions* _tmp3_ = NULL; gint _tmp4_ = 0; ScanOptions* _tmp5_ = NULL; -#line 853 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 853 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = options; -#line 853 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 853 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_->scan_mode = SCAN_MODE_GRAY; -#line 854 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 854 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = options; -#line 854 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 854 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = user_interface_get_text_dpi (self); -#line 854 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 854 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_->dpi = _tmp4_; -#line 855 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 855 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = options; -#line 855 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 855 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_->depth = 2; #line 3983 "ui.c" } else { @@ -3985,51 +3985,51 @@ static ScanOptions* user_interface_make_scan_options (UserInterface* self) { ScanOptions* _tmp7_ = NULL; gint _tmp8_ = 0; ScanOptions* _tmp9_ = NULL; -#line 859 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 859 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = options; -#line 859 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 859 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_->scan_mode = SCAN_MODE_COLOR; -#line 860 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 860 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = options; -#line 860 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 860 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = user_interface_get_photo_dpi (self); -#line 860 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 860 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_->dpi = _tmp8_; -#line 861 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 861 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = options; -#line 861 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 861 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_->depth = 8; #line 4003 "ui.c" } -#line 863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = options; -#line 863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = options; -#line 863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_get_paper_size (self, &_tmp12_, &_tmp13_); -#line 863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_->paper_width = _tmp12_; -#line 863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_->paper_height = _tmp13_; -#line 864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = options; -#line 864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = user_interface_get_brightness (self); -#line 864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = _tmp15_; -#line 864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_->brightness = _tmp16_; -#line 865 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 865 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = options; -#line 865 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 865 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = user_interface_get_contrast (self); -#line 865 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 865 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = _tmp18_; -#line 865 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 865 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_->contrast = _tmp19_; -#line 867 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 867 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = options; -#line 867 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 867 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 4035 "ui.c" } @@ -4041,52 +4041,52 @@ static void user_interface_scan_button_clicked_cb (UserInterface* self, GtkWidge gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 871 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 871 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 871 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 871 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 873 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 873 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = user_interface_make_scan_options (self); -#line 873 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 873 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" options = _tmp0_; -#line 874 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 874 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" options->type = SCAN_TYPE_SINGLE; -#line 875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_selected_device (self); -#line 875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "start-scan", _tmp3_, options); -#line 875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp3_); -#line 871 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 871 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _scan_options_unref0 (options); #line 4067 "ui.c" } static void _user_interface_scan_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_scan_button_clicked_cb ((UserInterface*) self, _sender); #line 4074 "ui.c" } static void user_interface_stop_scan_button_clicked_cb (UserInterface* self, GtkWidget* widget) { -#line 879 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 879 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 879 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 879 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 881 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 881 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "stop-scan"); #line 4085 "ui.c" } static void _user_interface_stop_scan_button_clicked_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_stop_scan_button_clicked_cb ((UserInterface*) self, _sender); #line 4092 "ui.c" } @@ -4095,17 +4095,17 @@ static void _user_interface_stop_scan_button_clicked_cb_gtk_button_clicked (GtkB static void user_interface_continuous_scan_button_clicked_cb (UserInterface* self, GtkWidget* widget) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; -#line 885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 887 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 887 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = user_interface_get_scanning (self); -#line 887 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 887 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _tmp0_; -#line 887 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 887 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp1_) { -#line 888 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 888 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "stop-scan"); #line 4111 "ui.c" } else { @@ -4117,29 +4117,29 @@ static void user_interface_continuous_scan_button_clicked_cb (UserInterface* sel gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; ScanOptions* _tmp8_ = NULL; -#line 891 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 891 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = user_interface_make_scan_options (self); -#line 891 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 891 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" options = _tmp2_; -#line 892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = options; -#line 892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = user_interface_get_page_side (self); -#line 892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_->type = _tmp4_; -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = user_interface_get_selected_device (self); -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _tmp5_; -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _tmp6_; -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = options; -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "start-scan", _tmp7_, _tmp8_); -#line 893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp7_); -#line 887 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 887 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _scan_options_unref0 (options); #line 4145 "ui.c" } @@ -4147,7 +4147,7 @@ static void user_interface_continuous_scan_button_clicked_cb (UserInterface* sel static void _user_interface_continuous_scan_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_continuous_scan_button_clicked_cb ((UserInterface*) self, _sender); #line 4153 "ui.c" } @@ -4155,20 +4155,20 @@ static void _user_interface_continuous_scan_button_clicked_cb_gtk_menu_item_acti static void user_interface_preferences_button_clicked_cb (UserInterface* self, GtkWidget* widget) { GtkDialog* _tmp0_ = NULL; -#line 898 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 898 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 898 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 898 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 900 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 900 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->preferences_dialog; -#line 900 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 900 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_present ((GtkWindow*) _tmp0_); #line 4167 "ui.c" } static void _user_interface_preferences_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_preferences_button_clicked_cb ((UserInterface*) self, _sender); #line 4174 "ui.c" } @@ -4176,11 +4176,11 @@ static void _user_interface_preferences_button_clicked_cb_gtk_menu_item_activate void user_interface_preferences_activate_cb (UserInterface* self) { GtkDialog* _tmp0_ = NULL; -#line 903 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 903 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 905 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 905 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->preferences_dialog; -#line 905 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 905 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_present ((GtkWindow*) _tmp0_); #line 4186 "ui.c" } @@ -4188,15 +4188,15 @@ void user_interface_preferences_activate_cb (UserInterface* self) { static gboolean user_interface_preferences_dialog_delete_event_cb (UserInterface* self, GtkWidget* widget, GdkEventAny* event) { gboolean result = FALSE; -#line 909 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 909 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 909 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 909 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (widget != NULL, FALSE); -#line 909 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 909 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 911 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 911 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 911 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 911 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 4202 "ui.c" } @@ -4205,7 +4205,7 @@ static gboolean user_interface_preferences_dialog_delete_event_cb (UserInterface static gboolean _user_interface_preferences_dialog_delete_event_cb_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = user_interface_preferences_dialog_delete_event_cb ((UserInterface*) self, _sender, event); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 4211 "ui.c" } @@ -4213,27 +4213,27 @@ static gboolean _user_interface_preferences_dialog_delete_event_cb_gtk_widget_de static void user_interface_preferences_dialog_response_cb (UserInterface* self, GtkWidget* widget, gint response_id) { GtkDialog* _tmp0_ = NULL; -#line 915 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 915 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 915 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 915 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 917 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 917 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->preferences_dialog; -#line 917 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 917 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp0_, FALSE); #line 4225 "ui.c" } static void _user_interface_preferences_dialog_response_cb_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_preferences_dialog_response_cb ((UserInterface*) self, _sender, response_id); #line 4232 "ui.c" } static gpointer _page_ref0 (gpointer self) { -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self ? page_ref (self) : NULL; #line 4239 "ui.c" } @@ -4246,32 +4246,32 @@ static void user_interface_update_page_menu (UserInterface* self) { Page* _tmp2_ = NULL; Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; -#line 920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _page_ref0 (_tmp2_); -#line 922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp3_; -#line 923 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 923 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page; -#line 923 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 923 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_ == NULL) { #line 4266 "ui.c" GtkMenuItem* _tmp5_ = NULL; GtkMenuItem* _tmp6_ = NULL; -#line 925 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 925 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->page_move_left_menuitem; -#line 925 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 925 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp5_, FALSE); -#line 926 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 926 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->page_move_right_menuitem; -#line 926 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 926 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp6_, FALSE); #line 4277 "ui.c" } else { @@ -4286,35 +4286,35 @@ static void user_interface_update_page_menu (UserInterface* self) { Book* _tmp14_ = NULL; guint _tmp15_ = 0U; guint _tmp16_ = 0U; -#line 930 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 930 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->_book; -#line 930 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 930 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = page; -#line 930 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 930 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = book_get_page_index (_tmp7_, _tmp8_); -#line 930 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 930 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = _tmp9_; -#line 931 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 931 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = self->priv->page_move_left_menuitem; -#line 931 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 931 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = index; -#line 931 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 931 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp10_, _tmp11_ > ((guint) 0)); -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = self->priv->page_move_right_menuitem; -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = index; -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = self->priv->_book; -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = book_get_n_pages (_tmp14_); -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = _tmp15_; -#line 932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp12_, _tmp13_ < (_tmp16_ - 1)); #line 4316 "ui.c" } -#line 920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 4320 "ui.c" } @@ -4337,35 +4337,35 @@ static void user_interface_page_selected_cb (UserInterface* self, BookView* view Page* _tmp37_ = NULL; gboolean _tmp38_ = FALSE; gboolean _tmp39_ = FALSE; -#line 936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (view != NULL); -#line 938 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 938 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = page; -#line 938 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 938 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_ == NULL) { -#line 939 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 939 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4351 "ui.c" } -#line 941 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 941 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->updating_page_menu = TRUE; -#line 943 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 943 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_page_menu (self); -#line 945 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 945 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->no_crop_menuitem; -#line 945 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 945 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 945 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 945 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp2_; -#line 946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = page; -#line 946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page_get_has_crop (_tmp3_); -#line 946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_; -#line 946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp5_) { #line 4371 "ui.c" gchar* crop_name = NULL; @@ -4374,126 +4374,126 @@ static void user_interface_page_selected_cb (UserInterface* self, BookView* view const gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = page; -#line 948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = page_get_crop_name (_tmp6_); -#line 948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _tmp7_; -#line 948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = g_strdup (_tmp8_); -#line 948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" crop_name = _tmp9_; -#line 949 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 949 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = crop_name; -#line 949 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 949 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp10_ != NULL) { #line 4392 "ui.c" const gchar* _tmp11_ = NULL; -#line 951 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 951 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = crop_name; -#line 951 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 951 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp11_, "A4") == 0) { #line 4398 "ui.c" GtkRadioMenuItem* _tmp12_ = NULL; GtkRadioMenuItem* _tmp13_ = NULL; -#line 952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = self->priv->a4_menuitem; -#line 952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = _g_object_ref0 (_tmp12_); -#line 952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp13_; #line 4409 "ui.c" } else { const gchar* _tmp14_ = NULL; -#line 953 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 953 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = crop_name; -#line 953 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 953 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp14_, "A5") == 0) { #line 4416 "ui.c" GtkRadioMenuItem* _tmp15_ = NULL; GtkRadioMenuItem* _tmp16_ = NULL; -#line 954 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 954 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->a5_menuitem; -#line 954 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 954 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = _g_object_ref0 (_tmp15_); -#line 954 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 954 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 954 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 954 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp16_; #line 4427 "ui.c" } else { const gchar* _tmp17_ = NULL; -#line 955 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 955 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = crop_name; -#line 955 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 955 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp17_, "A6") == 0) { #line 4434 "ui.c" GtkRadioMenuItem* _tmp18_ = NULL; GtkRadioMenuItem* _tmp19_ = NULL; -#line 956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = self->priv->a6_menuitem; -#line 956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = _g_object_ref0 (_tmp18_); -#line 956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp19_; #line 4445 "ui.c" } else { const gchar* _tmp20_ = NULL; -#line 957 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 957 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = crop_name; -#line 957 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 957 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp20_, "letter") == 0) { #line 4452 "ui.c" GtkRadioMenuItem* _tmp21_ = NULL; GtkRadioMenuItem* _tmp22_ = NULL; -#line 958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = self->priv->letter_menuitem; -#line 958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = _g_object_ref0 (_tmp21_); -#line 958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp22_; #line 4463 "ui.c" } else { const gchar* _tmp23_ = NULL; -#line 959 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 959 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = crop_name; -#line 959 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 959 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp23_, "legal") == 0) { #line 4470 "ui.c" GtkRadioMenuItem* _tmp24_ = NULL; GtkRadioMenuItem* _tmp25_ = NULL; -#line 960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = self->priv->legal_menuitem; -#line 960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = _g_object_ref0 (_tmp24_); -#line 960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp25_; #line 4481 "ui.c" } else { const gchar* _tmp26_ = NULL; -#line 961 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 961 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = crop_name; -#line 961 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 961 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp26_, "4x6") == 0) { #line 4488 "ui.c" GtkRadioMenuItem* _tmp27_ = NULL; GtkRadioMenuItem* _tmp28_ = NULL; -#line 962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = self->priv->four_by_six_menuitem; -#line 962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = _g_object_ref0 (_tmp27_); -#line 962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp28_; #line 4499 "ui.c" } @@ -4505,47 +4505,47 @@ static void user_interface_page_selected_cb (UserInterface* self, BookView* view } else { GtkRadioMenuItem* _tmp29_ = NULL; GtkRadioMenuItem* _tmp30_ = NULL; -#line 965 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 965 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = self->priv->custom_crop_menuitem; -#line 965 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 965 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = _g_object_ref0 (_tmp29_); -#line 965 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 965 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); -#line 965 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 965 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menuitem = _tmp30_; #line 4517 "ui.c" } -#line 946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (crop_name); #line 4521 "ui.c" } -#line 968 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 968 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = menuitem; -#line 968 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 968 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp31_, TRUE); -#line 969 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 969 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = self->priv->crop_button; -#line 969 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 969 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = page; -#line 969 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 969 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = page_get_has_crop (_tmp33_); -#line 969 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 969 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = _tmp34_; -#line 969 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 969 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_toggle_button_set_active (_tmp32_, _tmp35_); -#line 970 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 970 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = self->priv->crop_toolbutton; -#line 970 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 970 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp37_ = page; -#line 970 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 970 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = page_get_has_crop (_tmp37_); -#line 970 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 970 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = _tmp38_; -#line 970 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 970 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_toggle_tool_button_set_active (_tmp36_, _tmp39_); -#line 972 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 972 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->updating_page_menu = FALSE; -#line 936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menuitem); #line 4551 "ui.c" } @@ -4559,31 +4559,31 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa const gchar* _tmp2_ = NULL; GFile* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (view != NULL); -#line 975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (page != NULL); -#line 977 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 977 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = get_temporary_filename ("scanned-page", "tiff"); -#line 977 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 977 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" path = _tmp0_; -#line 978 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 978 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = path; -#line 978 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 978 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp1_ == NULL) { -#line 979 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 979 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 979 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 979 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4581 "ui.c" } -#line 980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = path; -#line 980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_file_new_for_path (_tmp2_); -#line 980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" file = _tmp3_; #line 4589 "ui.c" { @@ -4591,17 +4591,17 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa gint _tmp5_ = 0; gint _tmp6_ = 0; GFile* _tmp7_ = NULL; -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page; -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = user_interface_get_quality (self); -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _tmp5_; -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = file; -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_save (_tmp4_, "tiff", _tmp6_, _tmp7_, &_inner_error_); -#line 984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4607 "ui.c" goto __catch17_g_error; @@ -4614,40 +4614,40 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa const gchar* _tmp8_ = NULL; GError* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 988 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 988 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _ ("Unable to save image for preview"); -#line 988 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 988 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = e; -#line 988 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 988 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = _tmp9_->message; -#line 988 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 988 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_error_dialog (self, _tmp8_, _tmp10_); -#line 991 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 991 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); -#line 991 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 991 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 991 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 991 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 991 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 991 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4638 "ui.c" } __finally17: -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.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 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 982 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 982 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4653 "ui.c" } @@ -4658,23 +4658,23 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; guint32 _tmp16_ = 0U; -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = gtk_window_get_screen ((GtkWindow*) self); -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = _tmp11_; -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = file; -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = g_file_get_uri (_tmp13_); -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = _tmp14_; -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = gtk_get_current_event_time (); -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_show_uri (_tmp12_, _tmp15_, _tmp16_, &_inner_error_); -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp15_); -#line 996 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 996 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4680 "ui.c" goto __catch18_g_error; @@ -4687,40 +4687,40 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa const gchar* _tmp17_ = NULL; GError* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1000 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1000 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = _ ("Unable to open image preview application"); -#line 1000 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1000 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = e; -#line 1000 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1000 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = _tmp18_->message; -#line 1000 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1000 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_error_dialog (self, _tmp17_, _tmp19_); -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); #line 4705 "ui.c" } __finally18: -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.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 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 994 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 994 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4720 "ui.c" } -#line 975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (file); -#line 975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); #line 4726 "ui.c" } @@ -4729,15 +4729,15 @@ static void user_interface_show_page_cb (UserInterface* self, BookView* view, Pa static void user_interface_show_page_menu_cb (UserInterface* self, BookView* view) { GtkMenu* _tmp0_ = NULL; guint32 _tmp1_ = 0U; -#line 1006 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1006 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1006 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1006 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (view != NULL); -#line 1008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->page_menu; -#line 1008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_get_current_event_time (); -#line 1008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_menu_popup (_tmp0_, NULL, NULL, NULL, NULL, (guint) 3, _tmp1_); #line 4743 "ui.c" } @@ -4751,48 +4751,48 @@ static void user_interface_rotate_left_button_clicked_cb (UserInterface* self, G Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; Page* _tmp5_ = NULL; -#line 1012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1014 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1014 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->updating_page_menu; -#line 1014 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1014 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 1015 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1015 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4765 "ui.c" } -#line 1016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->book_view; -#line 1016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = book_view_get_selected_page (_tmp1_); -#line 1016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _page_ref0 (_tmp3_); -#line 1016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp4_; -#line 1017 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1017 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1017 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1017 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp5_ != NULL) { #line 4781 "ui.c" Page* _tmp6_ = NULL; -#line 1018 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1018 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = page; -#line 1018 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1018 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_rotate_left (_tmp6_); #line 4787 "ui.c" } -#line 1012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 4791 "ui.c" } static void _user_interface_rotate_left_button_clicked_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_rotate_left_button_clicked_cb ((UserInterface*) self, _sender); #line 4798 "ui.c" } @@ -4806,48 +4806,48 @@ static void user_interface_rotate_right_button_clicked_cb (UserInterface* self, Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; Page* _tmp5_ = NULL; -#line 1022 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1022 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1022 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1022 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1024 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1024 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->updating_page_menu; -#line 1024 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1024 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 1025 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1025 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4820 "ui.c" } -#line 1026 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1026 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->book_view; -#line 1026 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1026 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = book_view_get_selected_page (_tmp1_); -#line 1026 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1026 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1026 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1026 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _page_ref0 (_tmp3_); -#line 1026 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1026 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp4_; -#line 1027 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1027 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1027 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1027 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp5_ != NULL) { #line 4836 "ui.c" Page* _tmp6_ = NULL; -#line 1028 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1028 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = page; -#line 1028 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1028 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_rotate_right (_tmp6_); #line 4842 "ui.c" } -#line 1022 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1022 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 4846 "ui.c" } static void _user_interface_rotate_right_button_clicked_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_rotate_right_button_clicked_cb ((UserInterface*) self, _sender); #line 4853 "ui.c" } @@ -4864,60 +4864,60 @@ static void user_interface_set_crop (UserInterface* self, const gchar* crop_name Page* _tmp6_ = NULL; Page* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 1031 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1031 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1033 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1033 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->crop_rotate_menuitem; -#line 1033 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1033 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = crop_name; -#line 1033 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1033 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, _tmp1_ != NULL); -#line 1035 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1035 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->updating_page_menu; -#line 1035 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1035 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1036 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1036 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4882 "ui.c" } -#line 1038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->book_view; -#line 1038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = book_view_get_selected_page (_tmp3_); -#line 1038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_; -#line 1038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _page_ref0 (_tmp5_); -#line 1038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp6_; -#line 1039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = page; -#line 1039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp7_ == NULL) { -#line 1041 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1041 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:1041: Trying to set crop but no selected page"); -#line 1042 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1042 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); -#line 1042 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1042 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 4904 "ui.c" } -#line 1045 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1045 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = crop_name; -#line 1045 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1045 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp8_ == NULL) { #line 4910 "ui.c" Page* _tmp9_ = NULL; -#line 1046 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1046 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = page; -#line 1046 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1046 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_set_no_crop (_tmp9_); #line 4916 "ui.c" } else { const gchar* _tmp10_ = NULL; -#line 1047 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1047 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = crop_name; -#line 1047 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1047 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp10_, "custom") == 0) { #line 4923 "ui.c" gint width = 0; @@ -4940,64 +4940,64 @@ static void user_interface_set_crop (UserInterface* self, const gchar* crop_name gint _tmp24_ = 0; gint _tmp25_ = 0; gint _tmp26_ = 0; -#line 1049 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1049 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = page; -#line 1049 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1049 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = page_get_width (_tmp11_); -#line 1049 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1049 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = _tmp12_; -#line 1049 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1049 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" width = _tmp13_; -#line 1050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = page; -#line 1050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = page_get_height (_tmp14_); -#line 1050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = _tmp15_; -#line 1050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" height = _tmp16_; -#line 1051 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1051 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = width; -#line 1051 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1051 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" crop_width = (gint) ((_tmp17_ * 0.8) + 0.5); -#line 1052 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1052 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = height; -#line 1052 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1052 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" crop_height = (gint) ((_tmp18_ * 0.8) + 0.5); -#line 1053 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1053 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = page; -#line 1053 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1053 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = crop_width; -#line 1053 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1053 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = crop_height; -#line 1053 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1053 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_set_custom_crop (_tmp19_, _tmp20_, _tmp21_); -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = page; -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = width; -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = crop_width; -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = height; -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = crop_height; -#line 1054 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1054 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_move_crop (_tmp22_, (_tmp23_ - _tmp24_) / 2, (_tmp25_ - _tmp26_) / 2); #line 4988 "ui.c" } else { Page* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; -#line 1057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = page; -#line 1057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = crop_name; -#line 1057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_set_named_crop (_tmp27_, _tmp28_); #line 4998 "ui.c" } } -#line 1031 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1031 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 5003 "ui.c" } @@ -5007,19 +5007,19 @@ static void user_interface_no_crop_menuitem_toggled_cb (UserInterface* self, Gtk GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1061 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1061 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1061 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1061 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1064 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1064 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, NULL); #line 5025 "ui.c" } @@ -5027,7 +5027,7 @@ static void user_interface_no_crop_menuitem_toggled_cb (UserInterface* self, Gtk static void _user_interface_no_crop_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_no_crop_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5033 "ui.c" } @@ -5037,19 +5037,19 @@ static void user_interface_custom_crop_menuitem_toggled_cb (UserInterface* self, GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1071 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1071 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "custom"); #line 5055 "ui.c" } @@ -5057,7 +5057,7 @@ static void user_interface_custom_crop_menuitem_toggled_cb (UserInterface* self, static void _user_interface_custom_crop_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_custom_crop_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5063 "ui.c" } @@ -5068,38 +5068,38 @@ static void user_interface_crop_button_toggled_cb (UserInterface* self, GtkToggl GtkToggleButton* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 1075 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1075 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1075 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1075 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1077 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1077 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->updating_page_menu; -#line 1077 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1077 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 1078 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1078 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 5082 "ui.c" } -#line 1080 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1080 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = widget; -#line 1080 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1080 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_toggle_button_get_active (_tmp1_); -#line 1080 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1080 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1080 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1080 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_) { #line 5092 "ui.c" GtkRadioMenuItem* _tmp4_ = NULL; -#line 1081 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1081 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->custom_crop_menuitem; -#line 1081 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1081 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp4_, TRUE); #line 5098 "ui.c" } else { GtkRadioMenuItem* _tmp5_ = NULL; -#line 1083 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1083 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->no_crop_menuitem; -#line 1083 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1083 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp5_, TRUE); #line 5105 "ui.c" } @@ -5107,7 +5107,7 @@ static void user_interface_crop_button_toggled_cb (UserInterface* self, GtkToggl static void _user_interface_crop_button_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_crop_button_toggled_cb ((UserInterface*) self, _sender); #line 5113 "ui.c" } @@ -5118,38 +5118,38 @@ static void user_interface_crop_toolbutton_toggled_cb (UserInterface* self, GtkT GtkToggleToolButton* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 1087 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1087 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1087 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1087 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1089 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1089 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->updating_page_menu; -#line 1089 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1089 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 1090 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1090 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 5132 "ui.c" } -#line 1092 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1092 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = widget; -#line 1092 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1092 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_toggle_tool_button_get_active (_tmp1_); -#line 1092 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1092 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1092 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1092 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_) { #line 5142 "ui.c" GtkRadioMenuItem* _tmp4_ = NULL; -#line 1093 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1093 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->custom_crop_menuitem; -#line 1093 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1093 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp4_, TRUE); #line 5148 "ui.c" } else { GtkRadioMenuItem* _tmp5_ = NULL; -#line 1095 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1095 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->no_crop_menuitem; -#line 1095 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1095 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_check_menu_item_set_active ((GtkCheckMenuItem*) _tmp5_, TRUE); #line 5155 "ui.c" } @@ -5157,7 +5157,7 @@ static void user_interface_crop_toolbutton_toggled_cb (UserInterface* self, GtkT static void _user_interface_crop_toolbutton_toggled_cb_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_crop_toolbutton_toggled_cb ((UserInterface*) self, _sender); #line 5163 "ui.c" } @@ -5167,19 +5167,19 @@ static void user_interface_four_by_six_menuitem_toggled_cb (UserInterface* self, GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1099 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1099 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1099 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1099 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1101 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1101 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1101 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1101 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1101 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1101 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1101 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1101 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "4x6"); #line 5185 "ui.c" } @@ -5187,7 +5187,7 @@ static void user_interface_four_by_six_menuitem_toggled_cb (UserInterface* self, static void _user_interface_four_by_six_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_four_by_six_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5193 "ui.c" } @@ -5197,19 +5197,19 @@ static void user_interface_legal_menuitem_toggled_cb (UserInterface* self, GtkCh GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1106 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1106 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1106 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1106 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1108 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1108 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1108 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1108 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1108 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1108 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1108 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1108 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1109 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1109 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "legal"); #line 5215 "ui.c" } @@ -5217,7 +5217,7 @@ static void user_interface_legal_menuitem_toggled_cb (UserInterface* self, GtkCh static void _user_interface_legal_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_legal_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5223 "ui.c" } @@ -5227,19 +5227,19 @@ static void user_interface_letter_menuitem_toggled_cb (UserInterface* self, GtkC GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1115 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1115 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1115 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1115 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1115 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1115 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1115 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1115 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "letter"); #line 5245 "ui.c" } @@ -5247,7 +5247,7 @@ static void user_interface_letter_menuitem_toggled_cb (UserInterface* self, GtkC static void _user_interface_letter_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_letter_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5253 "ui.c" } @@ -5257,19 +5257,19 @@ static void user_interface_a6_menuitem_toggled_cb (UserInterface* self, GtkCheck GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1120 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1120 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1120 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1120 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1122 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1122 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1122 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1122 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1122 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1122 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1122 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1122 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1123 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1123 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "A6"); #line 5275 "ui.c" } @@ -5277,7 +5277,7 @@ static void user_interface_a6_menuitem_toggled_cb (UserInterface* self, GtkCheck static void _user_interface_a6_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_a6_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5283 "ui.c" } @@ -5287,19 +5287,19 @@ static void user_interface_a5_menuitem_toggled_cb (UserInterface* self, GtkCheck GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1127 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1127 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1127 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1127 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1130 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1130 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "A5"); #line 5305 "ui.c" } @@ -5307,7 +5307,7 @@ static void user_interface_a5_menuitem_toggled_cb (UserInterface* self, GtkCheck static void _user_interface_a5_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_a5_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5313 "ui.c" } @@ -5317,19 +5317,19 @@ static void user_interface_a4_menuitem_toggled_cb (UserInterface* self, GtkCheck GtkCheckMenuItem* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1134 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1134 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1134 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1134 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1136 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1136 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = widget; -#line 1136 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1136 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_check_menu_item_get_active (_tmp0_); -#line 1136 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1136 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1136 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1136 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { -#line 1137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_crop (self, "A4"); #line 5335 "ui.c" } @@ -5337,7 +5337,7 @@ static void user_interface_a4_menuitem_toggled_cb (UserInterface* self, GtkCheck static void _user_interface_a4_menuitem_toggled_cb_gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_a4_menuitem_toggled_cb ((UserInterface*) self, _sender); #line 5343 "ui.c" } @@ -5351,42 +5351,42 @@ static void user_interface_crop_rotate_menuitem_activate_cb (UserInterface* self Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; Page* _tmp5_ = NULL; -#line 1141 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1141 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1141 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1141 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1143 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1143 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 1143 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1143 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 1143 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1143 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1143 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1143 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _page_ref0 (_tmp2_); -#line 1143 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1143 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp3_; -#line 1144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page; -#line 1144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_ == NULL) { -#line 1145 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1145 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); -#line 1145 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1145 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 5377 "ui.c" } -#line 1146 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1146 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1146 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1146 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_rotate_crop (_tmp5_); -#line 1141 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1141 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 5385 "ui.c" } static void _user_interface_crop_rotate_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_crop_rotate_menuitem_activate_cb ((UserInterface*) self, _sender); #line 5392 "ui.c" } @@ -5403,54 +5403,54 @@ static void user_interface_page_move_left_menuitem_activate_cb (UserInterface* s Page* _tmp5_ = NULL; guint _tmp6_ = 0U; guint _tmp7_ = 0U; -#line 1150 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1150 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1150 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1150 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 1152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 1152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _page_ref0 (_tmp2_); -#line 1152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp3_; -#line 1153 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1153 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->_book; -#line 1153 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1153 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1153 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1153 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = book_get_page_index (_tmp4_, _tmp5_); -#line 1153 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1153 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = _tmp6_; -#line 1154 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1154 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = index; -#line 1154 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1154 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp7_ > ((guint) 0)) { #line 5433 "ui.c" Book* _tmp8_ = NULL; Page* _tmp9_ = NULL; guint _tmp10_ = 0U; -#line 1155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->_book; -#line 1155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = page; -#line 1155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = index; -#line 1155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_move_page (_tmp8_, _tmp9_, _tmp10_ - 1); #line 5445 "ui.c" } -#line 1150 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1150 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 5449 "ui.c" } static void _user_interface_page_move_left_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_move_left_menuitem_activate_cb ((UserInterface*) self, _sender); #line 5456 "ui.c" } @@ -5470,37 +5470,37 @@ static void user_interface_page_move_right_menuitem_activate_cb (UserInterface* Book* _tmp8_ = NULL; guint _tmp9_ = 0U; guint _tmp10_ = 0U; -#line 1159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 1161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 1161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _page_ref0 (_tmp2_); -#line 1161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp3_; -#line 1162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->_book; -#line 1162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = book_get_page_index (_tmp4_, _tmp5_); -#line 1162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" index = _tmp6_; -#line 1163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = index; -#line 1163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->_book; -#line 1163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = book_get_n_pages (_tmp8_); -#line 1163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = _tmp9_; -#line 1163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp7_ < (_tmp10_ - 1)) { #line 5506 "ui.c" Book* _tmp11_ = NULL; @@ -5508,28 +5508,28 @@ static void user_interface_page_move_right_menuitem_activate_cb (UserInterface* Book* _tmp13_ = NULL; Page* _tmp14_ = NULL; guint _tmp15_ = 0U; -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->_book; -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = page; -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->_book; -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = page; -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = book_get_page_index (_tmp13_, _tmp14_); -#line 1164 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1164 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_move_page (_tmp11_, _tmp12_, _tmp15_ + 1); #line 5524 "ui.c" } -#line 1159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 5528 "ui.c" } static void _user_interface_page_move_right_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_move_right_menuitem_activate_cb ((UserInterface*) self, _sender); #line 5535 "ui.c" } @@ -5542,39 +5542,39 @@ static void user_interface_page_delete_menuitem_activate_cb (UserInterface* self BookView* _tmp3_ = NULL; Page* _tmp4_ = NULL; Page* _tmp5_ = NULL; -#line 1168 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1168 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1168 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1168 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_book (_tmp0_); -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->book_view; -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = book_view_get_selected_page (_tmp3_); -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_; -#line 1170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_delete_page (_tmp2_, _tmp5_); #line 5564 "ui.c" } static void _user_interface_page_delete_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_delete_menuitem_activate_cb ((UserInterface*) self, _sender); #line 5571 "ui.c" } static Block1Data* block1_data_ref (Block1Data* _data1_) { -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_atomic_int_inc (&_data1_->_ref_count_); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return _data1_; #line 5580 "ui.c" } @@ -5583,17 +5583,17 @@ static Block1Data* block1_data_ref (Block1Data* _data1_) { static void block1_data_unref (void * _userdata_) { Block1Data* _data1_; _data1_ = (Block1Data*) _userdata_; -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { #line 5589 "ui.c" UserInterface* self; -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (_data1_->dialog); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_slice_free (Block1Data, _data1_); #line 5599 "ui.c" } @@ -5606,44 +5606,44 @@ static gboolean __lambda5_ (Block1Data* _data1_, GdkEventKey* e) { gboolean _tmp0_ = FALSE; GdkEventKey* _tmp1_ = NULL; GdkModifierType _tmp2_ = 0; -#line 1182 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1182 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1182 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1182 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (e != NULL, FALSE); -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = e; -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_->state; -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_ == 0) { #line 5620 "ui.c" GdkEventKey* _tmp3_ = NULL; guint _tmp4_ = 0U; -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = e; -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp3_->keyval; -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _tmp4_ == ((guint) GDK_KEY_Escape); #line 5629 "ui.c" } else { -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = FALSE; #line 5633 "ui.c" } -#line 1184 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1184 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_) { -#line 1186 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1186 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _data1_->dialog); -#line 1187 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1187 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 1187 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1187 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 5643 "ui.c" } -#line 1190 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1190 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1190 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1190 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 5649 "ui.c" } @@ -5652,7 +5652,7 @@ static gboolean __lambda5_ (Block1Data* _data1_, GdkEventKey* e) { static gboolean ___lambda5__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) { gboolean result; result = __lambda5_ (self, event); -#line 1182 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1182 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 5658 "ui.c" } @@ -5661,20 +5661,20 @@ static gboolean ___lambda5__gtk_widget_key_press_event (GtkWidget* _sender, GdkE static void __lambda6_ (Block1Data* _data1_) { UserInterface* self; Book* _tmp0_ = NULL; -#line 1204 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1204 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1206 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1206 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 1206 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1206 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_combine_sides (_tmp0_); -#line 1207 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1207 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _data1_->dialog); #line 5673 "ui.c" } static void ___lambda6__gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1204 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1204 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda6_ (self); #line 5680 "ui.c" } @@ -5683,20 +5683,20 @@ static void ___lambda6__gtk_button_clicked (GtkButton* _sender, gpointer self) { static void __lambda7_ (Block1Data* _data1_) { UserInterface* self; Book* _tmp0_ = NULL; -#line 1214 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1214 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1216 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1216 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 1216 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1216 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_combine_sides_reverse (_tmp0_); -#line 1217 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1217 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _data1_->dialog); #line 5695 "ui.c" } static void ___lambda7__gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1214 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1214 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda7_ (self); #line 5702 "ui.c" } @@ -5705,20 +5705,20 @@ static void ___lambda7__gtk_button_clicked (GtkButton* _sender, gpointer self) { static void __lambda8_ (Block1Data* _data1_) { UserInterface* self; Book* _tmp0_ = NULL; -#line 1224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1226 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1226 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 1226 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1226 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_reverse (_tmp0_); -#line 1227 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1227 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _data1_->dialog); #line 5717 "ui.c" } static void ___lambda8__gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda8_ (self); #line 5724 "ui.c" } @@ -5726,16 +5726,16 @@ static void ___lambda8__gtk_button_clicked (GtkButton* _sender, gpointer self) { static void __lambda9_ (Block1Data* _data1_) { UserInterface* self; -#line 1234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = _data1_->self; -#line 1236 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1236 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) _data1_->dialog); #line 5734 "ui.c" } static void ___lambda9__gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda9_ (self); #line 5741 "ui.c" } @@ -5768,168 +5768,168 @@ static void user_interface_reorder_document (UserInterface* self) { GtkButton* _tmp20_ = NULL; GtkButton* _tmp21_ = NULL; GtkButton* _tmp22_ = NULL; -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _data1_ = g_slice_new0 (Block1Data); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _data1_->_ref_count_ = 1; -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _data1_->self = g_object_ref (self); -#line 1175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = (GtkWindow*) gtk_window_new (GTK_WINDOW_TOPLEVEL); -#line 1175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp0_); -#line 1175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _data1_->dialog = _tmp0_; -#line 1176 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1176 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_type_hint (_data1_->dialog, GDK_WINDOW_TYPE_HINT_DIALOG); -#line 1177 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1177 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_modal (_data1_->dialog, TRUE); -#line 1178 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1178 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_set_border_width ((GtkContainer*) _data1_->dialog, (guint) 12); -#line 1180 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1180 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _ ("Reorder Pages"); -#line 1180 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1180 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_title (_data1_->dialog, _tmp1_); -#line 1181 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1181 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_transient_for (_data1_->dialog, (GtkWindow*) self); -#line 1182 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1182 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_data ((GtkWidget*) _data1_->dialog, "key-press-event", (GCallback) ___lambda5__gtk_widget_key_press_event, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); -#line 1192 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1192 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _data1_->dialog, TRUE); -#line 1194 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1194 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = (GtkGrid*) gtk_grid_new (); -#line 1194 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1194 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp2_); -#line 1194 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1194 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = _tmp2_; -#line 1195 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1195 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_set_row_homogeneous (g, TRUE); -#line 1196 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1196 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_set_row_spacing (g, 6); -#line 1197 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1197 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_set_column_homogeneous (g, TRUE); -#line 1198 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1198 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_set_column_spacing (g, 6); -#line 1199 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1199 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) g, TRUE); -#line 1200 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1200 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_add ((GtkContainer*) _data1_->dialog, (GtkWidget*) g); -#line 1203 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1203 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _ ("Combine sides"); -#line 1203 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1203 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = user_interface_make_reorder_button (self, _tmp3_, "F1F2F3B1B2B3-F1B1F2B2F3B3"); -#line 1203 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1203 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp4_; -#line 1204 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1204 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = b; -#line 1204 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1204 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_data (_tmp5_, "clicked", (GCallback) ___lambda6__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); -#line 1209 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1209 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = b; -#line 1209 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1209 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp6_, TRUE); -#line 1210 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1210 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = b; -#line 1210 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1210 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_attach (g, (GtkWidget*) _tmp7_, 0, 0, 1, 1); -#line 1213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _ ("Combine sides (reverse)"); -#line 1213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = user_interface_make_reorder_button (self, _tmp8_, "F1F2F3B3B2B1-F1B1F2B2F3B3"); -#line 1213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (b); -#line 1213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp9_; -#line 1214 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1214 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = b; -#line 1214 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1214 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_data (_tmp10_, "clicked", (GCallback) ___lambda7__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); -#line 1219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = b; -#line 1219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp11_, TRUE); -#line 1220 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1220 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = b; -#line 1220 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1220 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_attach (g, (GtkWidget*) _tmp12_, 1, 0, 1, 1); -#line 1223 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1223 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = _ ("Reverse"); -#line 1223 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1223 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = user_interface_make_reorder_button (self, _tmp13_, "C1C2C3C4C5C6-C6C5C4C3C2C1"); -#line 1223 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1223 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (b); -#line 1223 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1223 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp14_; -#line 1224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = b; -#line 1224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_data (_tmp15_, "clicked", (GCallback) ___lambda8__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); -#line 1229 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1229 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = b; -#line 1229 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1229 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp16_, TRUE); -#line 1230 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1230 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = b; -#line 1230 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1230 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_attach (g, (GtkWidget*) _tmp17_, 0, 2, 1, 1); -#line 1233 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1233 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = _ ("Keep unchanged"); -#line 1233 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1233 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = user_interface_make_reorder_button (self, _tmp18_, "C1C2C3C4C5C6-C1C2C3C4C5C6"); -#line 1233 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1233 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (b); -#line 1233 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1233 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp19_; -#line 1234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = b; -#line 1234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_data (_tmp20_, "clicked", (GCallback) ___lambda9__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); -#line 1238 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1238 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = b; -#line 1238 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1238 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp21_, TRUE); -#line 1239 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1239 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = b; -#line 1239 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1239 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_grid_attach (g, (GtkWidget*) _tmp22_, 1, 2, 1, 1); -#line 1241 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1241 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_present (_data1_->dialog); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (b); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (g); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" block1_data_unref (_data1_); -#line 1173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _data1_ = NULL; #line 5908 "ui.c" } void user_interface_reorder_document_activate_cb (UserInterface* self) { -#line 1244 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1244 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1246 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1246 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_reorder_document (self); #line 5917 "ui.c" } static void user_interface_reorder_menuitem_activate_cb (UserInterface* self, GtkWidget* widget) { -#line 1250 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1250 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1250 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1250 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1252 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1252 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_reorder_document (self); #line 5928 "ui.c" } static void _user_interface_reorder_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_reorder_menuitem_activate_cb ((UserInterface*) self, _sender); #line 5935 "ui.c" } @@ -5947,59 +5947,59 @@ static GtkButton* user_interface_make_reorder_button (UserInterface* self, const GtkBox* rb = NULL; const gchar* _tmp4_ = NULL; GtkBox* _tmp5_ = NULL; -#line 1255 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1255 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 1255 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1255 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (text != NULL, NULL); -#line 1255 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1255 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (items != NULL, NULL); -#line 1257 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1257 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = (GtkButton*) gtk_button_new (); -#line 1257 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1257 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp0_); -#line 1257 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1257 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp0_; -#line 1259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); -#line 1259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp1_); -#line 1259 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1259 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" vbox = _tmp1_; -#line 1260 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1260 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) vbox, TRUE); -#line 1261 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1261 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_add ((GtkContainer*) b, (GtkWidget*) vbox); -#line 1263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = text; -#line 1263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = (GtkLabel*) gtk_label_new (_tmp2_); -#line 1263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp3_); -#line 1263 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1263 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" label = _tmp3_; -#line 1264 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1264 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) label, TRUE); -#line 1265 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1265 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (vbox, (GtkWidget*) label, TRUE, TRUE, (guint) 0); -#line 1267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = items; -#line 1267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = user_interface_make_reorder_box (self, _tmp4_); -#line 1267 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1267 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" rb = _tmp5_; -#line 1268 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1268 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) rb, TRUE); -#line 1269 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1269 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (vbox, (GtkWidget*) rb, TRUE, TRUE, (guint) 0); -#line 1271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = b; -#line 1271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (rb); -#line 1271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (label); -#line 1271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (vbox); -#line 1271 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1271 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 6005 "ui.c" } @@ -6029,33 +6029,33 @@ static GtkBox* user_interface_make_reorder_box (UserInterface* self, const gchar GtkBox* _tmp0_ = NULL; GtkBox* _tmp1_ = NULL; GtkBox* page_box = NULL; -#line 1274 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1274 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 1274 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1274 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (items != NULL, NULL); -#line 1276 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1276 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); -#line 1276 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1276 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp0_); -#line 1276 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1276 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" box = _tmp0_; -#line 1277 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1277 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = box; -#line 1277 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1277 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp1_, TRUE); -#line 1279 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1279 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_box = NULL; #line 6049 "ui.c" { gint i = 0; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = 0; #line 6054 "ui.c" { gboolean _tmp2_ = FALSE; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = TRUE; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 6061 "ui.c" const gchar* _tmp4_ = NULL; @@ -6097,37 +6097,37 @@ static GtkBox* user_interface_make_reorder_box (UserInterface* self, const gchar PageIcon* _tmp49_ = NULL; GtkBox* _tmp50_ = NULL; PageIcon* _tmp51_ = NULL; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp2_) { #line 6103 "ui.c" gint _tmp3_ = 0; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = i; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = _tmp3_ + 1; #line 6109 "ui.c" } -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = FALSE; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = items; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = i; -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = string_get (_tmp4_, (glong) _tmp5_); -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!(_tmp6_ != '\0')) { -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6123 "ui.c" } -#line 1282 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1282 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = items; -#line 1282 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1282 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = i; -#line 1282 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1282 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = string_get (_tmp7_, (glong) _tmp8_); -#line 1282 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1282 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp9_ == '-') { #line 6133 "ui.c" GtkArrow* a = NULL; @@ -6135,124 +6135,124 @@ static GtkBox* user_interface_make_reorder_box (UserInterface* self, const gchar GtkArrow* _tmp11_ = NULL; GtkBox* _tmp12_ = NULL; GtkArrow* _tmp13_ = NULL; -#line 1284 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1284 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = (GtkArrow*) gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE); -#line 1284 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1284 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp10_); -#line 1284 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1284 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" a = _tmp10_; -#line 1285 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1285 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = a; -#line 1285 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1285 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp11_, TRUE); -#line 1286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = box; -#line 1286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = a; -#line 1286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp12_, (GtkWidget*) _tmp13_, FALSE, FALSE, (guint) 0); -#line 1287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (page_box); -#line 1287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_box = NULL; -#line 1288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (a); -#line 1288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" continue; #line 6163 "ui.c" } -#line 1292 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1292 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = items; -#line 1292 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1292 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = i; -#line 1292 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1292 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = string_get (_tmp14_, (glong) _tmp15_); -#line 1292 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1292 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" side = _tmp16_; -#line 1293 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1293 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = i; -#line 1293 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1293 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" i = _tmp17_ + 1; -#line 1294 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1294 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = items; -#line 1294 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1294 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = i; -#line 1294 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1294 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = string_get (_tmp18_, (glong) _tmp19_); -#line 1294 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1294 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp20_ == '\0') { -#line 1295 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1295 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6187 "ui.c" } -#line 1297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = page_box; -#line 1297 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1297 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp21_ == NULL) { #line 6193 "ui.c" GtkBox* _tmp22_ = NULL; GtkBox* _tmp23_ = NULL; GtkBox* _tmp24_ = NULL; GtkBox* _tmp25_ = NULL; -#line 1299 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1299 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); -#line 1299 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1299 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp22_); -#line 1299 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1299 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (page_box); -#line 1299 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1299 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_box = _tmp22_; -#line 1300 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1300 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = page_box; -#line 1300 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1300 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp23_, TRUE); -#line 1301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = box; -#line 1301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = page_box; -#line 1301 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1301 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp24_, (GtkWidget*) _tmp25_, FALSE, FALSE, (guint) 0); #line 6216 "ui.c" } -#line 1305 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1305 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" r = 1.0; -#line 1306 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1306 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = 1.0; -#line 1307 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1307 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = 1.0; -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = side; -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (_tmp26_) { -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case 'F': #line 6230 "ui.c" { -#line 1312 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1312 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" r = 0x75 / 255.0; -#line 1313 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1313 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = 0x50 / 255.0; -#line 1314 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1314 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = 0x7B / 255.0; -#line 1315 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1315 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6240 "ui.c" } -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case 'B': #line 6244 "ui.c" { -#line 1318 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1318 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" r = 0xF5 / 255.0; -#line 1319 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1319 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = 0x79 / 255.0; -#line 1320 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1320 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = 0.0; -#line 1321 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1321 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6254 "ui.c" } -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case 'C': #line 6258 "ui.c" { @@ -6263,127 +6263,127 @@ static GtkBox* user_interface_make_reorder_box (UserInterface* self, const gchar gdouble _tmp30_ = 0.0; gdouble _tmp31_ = 0.0; gdouble _tmp32_ = 0.0; -#line 1324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = items; -#line 1324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = i; -#line 1324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = string_get (_tmp27_, (glong) _tmp28_); -#line 1324 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1324 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" p = (_tmp29_ - '1') / 5.0; -#line 1325 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1325 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = p; -#line 1325 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1325 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = p; -#line 1325 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1325 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" r = ((0xED / 255.0) * (1 - _tmp30_)) + (0xCC * _tmp31_); -#line 1326 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1326 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = p; -#line 1326 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1326 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = (0xD4 / 255.0) * (1 - _tmp32_); -#line 1327 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1327 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = (gdouble) 0; -#line 1328 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1328 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6289 "ui.c" } default: -#line 1308 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1308 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 6294 "ui.c" } -#line 1332 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1332 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = r; -#line 1332 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1332 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = r; -#line 1332 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1332 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" r = _tmp33_ + ((1.0 - _tmp34_) * 0.7); -#line 1333 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1333 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = g; -#line 1333 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1333 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = g; -#line 1333 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1333 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g = _tmp35_ + ((1.0 - _tmp36_) * 0.7); -#line 1334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp37_ = b; -#line 1334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = b; -#line 1334 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1334 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" b = _tmp37_ + ((1.0 - _tmp38_) * 0.7); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = items; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp40_ = i; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp41_ = string_get (_tmp39_, (glong) _tmp40_); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp42_ = g_strdup_printf ("%c", (gint) _tmp41_); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp43_ = _tmp42_; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp44_ = r; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp45_ = g; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp46_ = b; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp47_ = page_icon_new (_tmp43_, _tmp44_, _tmp45_, _tmp46_); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp47_); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp48_ = _tmp47_; -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp43_); -#line 1336 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1336 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" icon = _tmp48_; -#line 1337 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1337 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp49_ = icon; -#line 1337 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1337 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp49_, TRUE); -#line 1338 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1338 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp50_ = page_box; -#line 1338 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1338 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp51_ = icon; -#line 1338 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1338 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp50_, (GtkWidget*) _tmp51_, FALSE, FALSE, (guint) 0); -#line 1280 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1280 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (icon); #line 6352 "ui.c" } } } -#line 1341 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1341 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = box; -#line 1341 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1341 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (page_box); -#line 1341 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1341 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 6362 "ui.c" } static void user_interface_save_file_button_clicked_cb (UserInterface* self, GtkWidget* widget) { -#line 1345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1345 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1345 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1347 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1347 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_document (self, FALSE); #line 6373 "ui.c" } static void _user_interface_save_file_button_clicked_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_file_button_clicked_cb ((UserInterface*) self, _sender); #line 6380 "ui.c" } void user_interface_save_document_activate_cb (UserInterface* self) { -#line 1350 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1350 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1352 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1352 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_document (self, FALSE); #line 6389 "ui.c" } @@ -6396,74 +6396,74 @@ static void user_interface_copy_to_clipboard_button_clicked_cb (UserInterface* s Page* _tmp2_ = NULL; Page* _tmp3_ = NULL; Page* _tmp4_ = NULL; -#line 1356 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1356 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1356 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1356 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 1358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 1358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _page_ref0 (_tmp2_); -#line 1358 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1358 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp3_; -#line 1359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page; -#line 1359 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1359 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_ != NULL) { #line 6418 "ui.c" Page* _tmp5_ = NULL; -#line 1360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1360 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1360 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_copy_to_clipboard (_tmp5_, (GtkWindow*) self); #line 6424 "ui.c" } -#line 1356 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1356 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); #line 6428 "ui.c" } static void _user_interface_copy_to_clipboard_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_copy_to_clipboard_button_clicked_cb ((UserInterface*) self, _sender); #line 6435 "ui.c" } static void user_interface_save_as_file_button_clicked_cb (UserInterface* self, GtkWidget* widget) { -#line 1364 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1364 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1364 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1364 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1366 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1366 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_document (self, TRUE); #line 6446 "ui.c" } static void _user_interface_save_as_file_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_as_file_button_clicked_cb ((UserInterface*) self, _sender); #line 6453 "ui.c" } void user_interface_save_as_document_activate_cb (UserInterface* self) { -#line 1369 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1369 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1371 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1371 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_document (self, TRUE); #line 6462 "ui.c" } static gpointer _cairo_reference0 (gpointer self) { -#line 1378 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1378 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self ? cairo_reference (self) : NULL; #line 6469 "ui.c" } @@ -6503,116 +6503,116 @@ static void user_interface_draw_page (UserInterface* self, GtkPrintOperation* op GdkPixbuf* _tmp30_ = NULL; cairo_t* _tmp31_ = NULL; cairo_t* _tmp32_ = NULL; -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (operation != NULL); -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (print_context != NULL); -#line 1378 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1378 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = print_context; -#line 1378 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1378 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_print_context_get_cairo_context (_tmp0_); -#line 1378 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1378 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _cairo_reference0 (_tmp1_); -#line 1378 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1378 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" context = _tmp2_; -#line 1379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->_book; -#line 1379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page_number; -#line 1379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = book_get_page (_tmp3_, _tmp4_); -#line 1379 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1379 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page = _tmp5_; -#line 1382 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1382 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" is_landscape = FALSE; -#line 1383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = print_context; -#line 1383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = gtk_print_context_get_width (_tmp6_); -#line 1383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = print_context; -#line 1383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = gtk_print_context_get_height (_tmp8_); -#line 1383 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1383 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp7_ > _tmp9_) { -#line 1384 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1384 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" is_landscape = TRUE; #line 6543 "ui.c" } -#line 1385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = page; -#line 1385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = page_get_is_landscape (_tmp10_); -#line 1385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = _tmp11_; -#line 1385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = is_landscape; -#line 1385 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1385 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp12_ != _tmp13_) { #line 6555 "ui.c" cairo_t* _tmp14_ = NULL; GtkPrintContext* _tmp15_ = NULL; gdouble _tmp16_ = 0.0; cairo_t* _tmp17_ = NULL; -#line 1387 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1387 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = context; -#line 1387 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1387 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = print_context; -#line 1387 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1387 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = gtk_print_context_get_width (_tmp15_); -#line 1387 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1387 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_translate (_tmp14_, _tmp16_, (gdouble) 0); -#line 1388 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1388 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = context; -#line 1388 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1388 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_rotate (_tmp17_, G_PI_2); #line 6572 "ui.c" } -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = context; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = print_context; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = gtk_print_context_get_dpi_x (_tmp19_); -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = page; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = page_get_dpi (_tmp21_); -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = _tmp22_; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = print_context; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = gtk_print_context_get_dpi_y (_tmp24_); -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = page; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = page_get_dpi (_tmp26_); -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = _tmp27_; -#line 1391 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1391 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_scale (_tmp18_, _tmp20_ / _tmp23_, _tmp25_ / _tmp28_); -#line 1394 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1394 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = page; -#line 1394 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1394 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = page_get_image (_tmp29_, TRUE); -#line 1394 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1394 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" image = _tmp30_; -#line 1395 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1395 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = context; -#line 1395 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1395 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gdk_cairo_set_source_pixbuf (_tmp31_, image, (gdouble) 0, (gdouble) 0); -#line 1396 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1396 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = context; -#line 1396 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1396 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_paint (_tmp32_); -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (image); -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _page_unref0 (page); -#line 1374 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1374 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _cairo_destroy0 (context); #line 6618 "ui.c" } @@ -6622,24 +6622,24 @@ static void user_interface_email_button_clicked_cb (UserInterface* self, GtkWidg const gchar* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 1400 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1400 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1400 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1400 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->document_hint; -#line 1402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_quality (self); -#line 1402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1402 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1402 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "email", _tmp0_, _tmp2_); #line 6638 "ui.c" } static void _user_interface_email_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_email_button_clicked_cb ((UserInterface*) self, _sender); #line 6645 "ui.c" } @@ -6649,22 +6649,22 @@ void user_interface_email_document_activate_cb (UserInterface* self) { const gchar* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 1405 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1405 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->document_hint; -#line 1407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_quality (self); -#line 1407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1407 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1407 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_emit_by_name (self, "email", _tmp0_, _tmp2_); #line 6663 "ui.c" } static void _user_interface_draw_page_gtk_print_operation_draw_page (GtkPrintOperation* _sender, GtkPrintContext* context, gint page_nr, gpointer self) { -#line 1414 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1414 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_draw_page ((UserInterface*) self, _sender, context, page_nr); #line 6670 "ui.c" } @@ -6678,27 +6678,27 @@ static void user_interface_print_document (UserInterface* self) { guint _tmp3_ = 0U; guint _tmp6_ = 0U; GError * _inner_error_ = NULL; -#line 1410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1412 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1412 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = gtk_print_operation_new (); -#line 1412 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1412 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" print = _tmp0_; -#line 1413 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1413 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->_book; -#line 1413 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1413 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = book_get_n_pages (_tmp1_); -#line 1413 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1413 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1413 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1413 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_set (print, "n-pages", (gint) _tmp3_, NULL); -#line 1414 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1414 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (print, "draw-page", (GCallback) _user_interface_draw_page_gtk_print_operation_draw_page, self, 0); #line 6698 "ui.c" { -#line 1418 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1418 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_print_operation_run (print, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, (GtkWindow*) self, &_inner_error_); -#line 1418 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1418 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6704 "ui.c" goto __catch19_g_error; @@ -6710,65 +6710,65 @@ static void user_interface_print_document (UserInterface* self) { GError* e = NULL; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1422 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1422 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = e; -#line 1422 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1422 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_->message; -#line 1422 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1422 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:1422: Error printing: %s", _tmp5_); -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); #line 6726 "ui.c" } __finally19: -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (print); -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1416 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1416 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 6739 "ui.c" } -#line 1425 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1425 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("draw-page", gtk_print_operation_get_type (), &_tmp6_, NULL, FALSE); -#line 1425 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1425 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (print, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _user_interface_draw_page_gtk_print_operation_draw_page, self); -#line 1410 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1410 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (print); #line 6747 "ui.c" } static void user_interface_print_button_clicked_cb (UserInterface* self, GtkWidget* widget) { -#line 1429 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1429 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1429 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1429 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1431 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1431 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_print_document (self); #line 6758 "ui.c" } static void _user_interface_print_button_clicked_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_print_button_clicked_cb ((UserInterface*) self, _sender); #line 6765 "ui.c" } void user_interface_print_document_activate_cb (UserInterface* self) { -#line 1434 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1434 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1436 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1436 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_print_document (self); #line 6774 "ui.c" } @@ -6776,22 +6776,22 @@ void user_interface_print_document_activate_cb (UserInterface* self) { static void user_interface_launch_help (UserInterface* self) { GError * _inner_error_ = NULL; -#line 1439 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1439 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); #line 6782 "ui.c" { GdkScreen* _tmp0_ = NULL; GdkScreen* _tmp1_ = NULL; guint32 _tmp2_ = 0U; -#line 1443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = gtk_window_get_screen ((GtkWindow*) self); -#line 1443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _tmp0_; -#line 1443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_get_current_event_time (); -#line 1443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_show_uri (_tmp1_, "help:simple-scan", _tmp2_, &_inner_error_); -#line 1443 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1443 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6797 "ui.c" goto __catch20_g_error; @@ -6804,30 +6804,30 @@ static void user_interface_launch_help (UserInterface* self) { const gchar* _tmp3_ = NULL; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1447 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1447 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _ ("Unable to open help file"); -#line 1447 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1447 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = e; -#line 1447 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1447 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_->message; -#line 1447 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1447 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_error_dialog (self, _tmp3_, _tmp5_); -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); #line 6822 "ui.c" } __finally20: -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1441 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1441 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 6833 "ui.c" } @@ -6835,27 +6835,27 @@ static void user_interface_launch_help (UserInterface* self) { static void user_interface_help_contents_menuitem_activate_cb (UserInterface* self, GtkWidget* widget) { -#line 1454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1454 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1454 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1456 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1456 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_launch_help (self); #line 6845 "ui.c" } static void _user_interface_help_contents_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_help_contents_menuitem_activate_cb ((UserInterface*) self, _sender); #line 6852 "ui.c" } void user_interface_help_contents_activate_cb (UserInterface* self) { -#line 1459 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1459 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1461 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1461 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_launch_help (self); #line 6861 "ui.c" } @@ -6877,21 +6877,21 @@ static void user_interface_show_about (UserInterface* self) { const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 1464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_strdup ("Robert Ancell <robert.ancell@canonical.com>"); -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_new0 (gchar*, 1 + 1); -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_[0] = _tmp0_; -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" authors = _tmp1_; -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" authors_length1 = 1; -#line 1466 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1466 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _authors_size_ = authors_length1; -#line 1469 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1469 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _ ("This program is free software: you can redistribute it and/or modify\n" \ "it under the terms of the GNU General Public License as published by\n" \ "the Free Software Foundation, either version 3 of the License, or\n" \ @@ -6904,60 +6904,60 @@ static void user_interface_show_about (UserInterface* self) { "\n" \ "You should have received a copy of the GNU General Public License\n" \ "along with this program. If not, see <http://www.gnu.org/licenses/>."); -#line 1469 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1469 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_strdup (_tmp2_); -#line 1469 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1469 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" license = _tmp3_; -#line 1472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _ ("About Simple Scan"); -#line 1472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = g_strdup (_tmp4_); -#line 1472 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1472 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" title = _tmp5_; -#line 1475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _ ("Simple document scanning tool"); -#line 1475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = g_strdup (_tmp6_); -#line 1475 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1475 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" description = _tmp7_; -#line 1477 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1477 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _ ("translator-credits"); -#line 1477 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1477 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_show_about_dialog ((GtkWindow*) self, "title", title, "program-name", "Simple Scan", "version", VERSION, "comments", description, "logo-icon-name", "scanner", "authors", authors, "translator-credits", _tmp8_, "website", "https://launchpad.net/simple-scan", "copyright", "Copyright © 2009-2011 Canonical Ltd.", "license", license, "wrap-license", TRUE, NULL, NULL); -#line 1464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (description); -#line 1464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (title); -#line 1464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (license); -#line 1464 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1464 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL); #line 6925 "ui.c" } static void user_interface_about_menuitem_activate_cb (UserInterface* self, GtkWidget* widget) { -#line 1493 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1493 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1493 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1493 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1495 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1495 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_about (self); #line 6936 "ui.c" } static void _user_interface_about_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_about_menuitem_activate_cb ((UserInterface*) self, _sender); #line 6943 "ui.c" } void user_interface_about_activate_cb (UserInterface* self) { -#line 1498 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1498 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1500 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1500 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_about (self); #line 6952 "ui.c" } @@ -6970,66 +6970,66 @@ static gboolean user_interface_on_quit (UserInterface* self) { gboolean _tmp2_ = FALSE; guint _tmp3_ = 0U; AutosaveManager* _tmp4_ = NULL; -#line 1503 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1503 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1505 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1505 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _ ("Save document before quitting?"); -#line 1505 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1505 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _ ("Quit without Saving"); -#line 1505 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1505 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = user_interface_prompt_to_save (self, _tmp0_, _tmp1_); -#line 1505 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1505 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp2_) { -#line 1509 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1509 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1509 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1509 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 6977 "ui.c" } -#line 1511 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1511 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_destroy ((GtkWidget*) self); -#line 1513 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1513 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->save_state_timeout; -#line 1513 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1513 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_ != ((guint) 0)) { -#line 1514 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1514 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, TRUE); #line 6987 "ui.c" } -#line 1516 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1516 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->autosave_manager; -#line 1516 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1516 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" autosave_manager_cleanup (_tmp4_); -#line 1518 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1518 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 1518 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1518 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 6997 "ui.c" } static void user_interface_quit_menuitem_activate_cb (UserInterface* self, GtkWidget* widget) { -#line 1522 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1522 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1522 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1522 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1524 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1524 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_on_quit (self); #line 7008 "ui.c" } static void _user_interface_quit_menuitem_activate_cb_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_quit_menuitem_activate_cb ((UserInterface*) self, _sender); #line 7015 "ui.c" } void user_interface_quit_activate_cb (UserInterface* self) { -#line 1527 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1527 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1529 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1529 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_on_quit (self); #line 7024 "ui.c" } @@ -7038,40 +7038,40 @@ void user_interface_quit_activate_cb (UserInterface* self) { static gboolean user_interface_simple_scan_window_configure_event_cb (UserInterface* self, GtkWidget* widget, GdkEventConfigure* event) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 1533 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1533 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1533 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1533 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (widget != NULL, FALSE); -#line 1533 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1533 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1535 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1535 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->window_is_maximized; -#line 1535 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1535 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp0_) { #line 7041 "ui.c" GdkEventConfigure* _tmp1_ = NULL; gint _tmp2_ = 0; GdkEventConfigure* _tmp3_ = NULL; gint _tmp4_ = 0; -#line 1537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = event; -#line 1537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_->width; -#line 1537 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1537 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_width = _tmp2_; -#line 1538 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1538 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = event; -#line 1538 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1538 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp3_->height; -#line 1538 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1538 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_height = _tmp4_; -#line 1539 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1539 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, FALSE); #line 7060 "ui.c" } -#line 1542 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1542 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1542 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1542 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7066 "ui.c" } @@ -7080,7 +7080,7 @@ static gboolean user_interface_simple_scan_window_configure_event_cb (UserInterf static gboolean _user_interface_simple_scan_window_configure_event_cb_gtk_widget_configure_event (GtkWidget* _sender, GdkEventConfigure* event, gpointer self) { gboolean result; result = user_interface_simple_scan_window_configure_event_cb ((UserInterface*) self, _sender, event); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7075 "ui.c" } @@ -7088,38 +7088,38 @@ static gboolean _user_interface_simple_scan_window_configure_event_cb_gtk_widget static void user_interface_info_bar_response_cb (UserInterface* self, GtkInfoBar* widget, gint response_id) { gint _tmp0_ = 0; -#line 1545 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1545 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1545 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1545 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (widget != NULL); -#line 1547 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1547 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = response_id; -#line 1547 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1547 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp0_ == 1) { #line 7089 "ui.c" GtkComboBox* _tmp1_ = NULL; GtkDialog* _tmp2_ = NULL; -#line 1549 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1549 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->device_combo; -#line 1549 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1549 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_grab_focus ((GtkWidget*) _tmp1_); -#line 1550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->preferences_dialog; -#line 1550 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1550 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_present ((GtkWindow*) _tmp2_); #line 7100 "ui.c" } else { -#line 1554 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1554 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->have_error = FALSE; -#line 1555 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1555 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_title); -#line 1555 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1555 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->error_title = NULL; -#line 1556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_text); -#line 1556 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1556 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->error_text = NULL; -#line 1557 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1557 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_info_bar (self); #line 7114 "ui.c" } @@ -7130,34 +7130,34 @@ static gboolean user_interface_simple_scan_window_window_state_event_cb (UserInt gboolean result = FALSE; GdkEventWindowState* _tmp0_ = NULL; GdkWindowState _tmp1_ = 0; -#line 1562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (widget != NULL, FALSE); -#line 1562 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1562 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1564 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1564 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = event; -#line 1564 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1564 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _tmp0_->changed_mask; -#line 1564 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1564 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if ((_tmp1_ & GDK_WINDOW_STATE_MAXIMIZED) != 0) { #line 7135 "ui.c" GdkEventWindowState* _tmp2_ = NULL; GdkWindowState _tmp3_ = 0; -#line 1566 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1566 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = event; -#line 1566 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1566 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_->new_window_state; -#line 1566 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1566 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_is_maximized = (_tmp3_ & GDK_WINDOW_STATE_MAXIMIZED) != 0; -#line 1567 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1567 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, FALSE); #line 7146 "ui.c" } -#line 1569 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1569 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1569 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1569 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7152 "ui.c" } @@ -7166,7 +7166,7 @@ static gboolean user_interface_simple_scan_window_window_state_event_cb (UserInt static gboolean _user_interface_simple_scan_window_window_state_event_cb_gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) { gboolean result; result = user_interface_simple_scan_window_window_state_event_cb ((UserInterface*) self, _sender, event); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7161 "ui.c" } @@ -7175,17 +7175,17 @@ static gboolean _user_interface_simple_scan_window_window_state_event_cb_gtk_wid static gboolean user_interface_window_delete_event_cb (UserInterface* self, GtkWidget* widget, GdkEventAny* event) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 1573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (widget != NULL, FALSE); -#line 1573 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1573 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1575 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1575 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = user_interface_on_quit (self); -#line 1575 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1575 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = !_tmp0_; -#line 1575 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1575 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7180 "ui.c" } @@ -7194,7 +7194,7 @@ static gboolean user_interface_window_delete_event_cb (UserInterface* self, GtkW static gboolean _user_interface_window_delete_event_cb_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = user_interface_window_delete_event_cb ((UserInterface*) self, _sender, event); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 7189 "ui.c" } @@ -7210,35 +7210,35 @@ static void user_interface_page_size_changed_cb (UserInterface* self, Page* page Page* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1578 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1578 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (page != NULL); -#line 1580 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1580 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = page; -#line 1580 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1580 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = page_get_width (_tmp0_); -#line 1580 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1580 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1580 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1580 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_width = _tmp2_; -#line 1581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = page; -#line 1581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page_get_height (_tmp3_); -#line 1581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_; -#line 1581 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1581 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_height = _tmp5_; -#line 1582 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1582 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = page; -#line 1582 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1582 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = page_get_dpi (_tmp6_); -#line 1582 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1582 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _tmp7_; -#line 1582 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1582 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_dpi = _tmp8_; -#line 1583 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1583 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, FALSE); #line 7233 "ui.c" } @@ -7248,33 +7248,33 @@ static void user_interface_page_scan_direction_changed_cb (UserInterface* self, Page* _tmp0_ = NULL; ScanDirection _tmp1_ = 0; ScanDirection _tmp2_ = 0; -#line 1586 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1586 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1586 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1586 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (page != NULL); -#line 1588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = page; -#line 1588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = page_get_scan_direction (_tmp0_); -#line 1588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1588 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1588 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = _tmp2_; -#line 1589 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1589 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, FALSE); #line 7255 "ui.c" } static void _user_interface_page_size_changed_cb_page_size_changed (Page* _sender, gpointer self) { -#line 1596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_size_changed_cb ((UserInterface*) self, _sender); #line 7262 "ui.c" } static void _user_interface_page_scan_direction_changed_cb_page_scan_direction_changed (Page* _sender, gpointer self) { -#line 1597 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1597 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_scan_direction_changed_cb ((UserInterface*) self, _sender); #line 7269 "ui.c" } @@ -7287,44 +7287,44 @@ static void user_interface_page_added_cb (UserInterface* self, Book* book, Page* ScanDirection _tmp3_ = 0; Page* _tmp4_ = NULL; Page* _tmp5_ = NULL; -#line 1592 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1592 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1592 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1592 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (book != NULL); -#line 1592 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1592 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (page != NULL); -#line 1594 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1594 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = page; -#line 1594 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1594 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_size_changed_cb (self, _tmp0_); -#line 1595 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1595 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = page; -#line 1595 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1595 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = page_get_scan_direction (_tmp1_); -#line 1595 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1595 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1595 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1595 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = _tmp3_; -#line 1596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page; -#line 1596 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1596 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp4_, "size-changed", (GCallback) _user_interface_page_size_changed_cb_page_size_changed, self, 0); -#line 1597 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1597 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = page; -#line 1597 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1597 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp5_, "scan-direction-changed", (GCallback) _user_interface_page_scan_direction_changed_cb_page_scan_direction_changed, self, 0); -#line 1599 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1599 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_page_menu (self); #line 7308 "ui.c" } static void user_interface_reordered_cb (UserInterface* self, Book* book) { -#line 1602 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1602 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1602 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1602 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (book != NULL); -#line 1604 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1604 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_page_menu (self); #line 7319 "ui.c" } @@ -7338,37 +7338,37 @@ static void user_interface_page_removed_cb (UserInterface* self, Book* book, Pag Book* _tmp4_ = NULL; guint _tmp5_ = 0U; guint _tmp6_ = 0U; -#line 1607 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1607 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1607 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1607 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (book != NULL); -#line 1607 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1607 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (page != NULL); -#line 1609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = page; -#line 1609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("size-changed", TYPE_PAGE, &_tmp1_, NULL, FALSE); -#line 1609 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1609 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _user_interface_page_size_changed_cb_page_size_changed, self); -#line 1610 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1610 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = page; -#line 1610 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1610 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("scan-direction-changed", TYPE_PAGE, &_tmp3_, NULL, FALSE); -#line 1610 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1610 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _user_interface_page_scan_direction_changed_cb_page_scan_direction_changed, self); -#line 1613 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1613 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = book; -#line 1613 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1613 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = book_get_n_pages (_tmp4_); -#line 1613 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1613 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _tmp5_; -#line 1613 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1613 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp6_ == ((guint) 0)) { -#line 1614 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1614 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_add_default_page (self); #line 7359 "ui.c" } -#line 1616 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1616 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_page_menu (self); #line 7363 "ui.c" } @@ -7392,61 +7392,61 @@ static void user_interface_set_dpi_combo (UserInterface* self, GtkComboBox* comb gint _scan_resolutions_size_ = 0; gint* _tmp10_ = NULL; gint _tmp10__length1 = 0; -#line 1619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (combo != NULL); -#line 1621 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1621 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 1621 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1621 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp0_); -#line 1621 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1621 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" renderer = _tmp0_; -#line 1622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = combo; -#line 1622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = renderer; -#line 1622 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1622 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp1_, (GtkCellRenderer*) _tmp2_, TRUE); -#line 1623 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1623 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = combo; -#line 1623 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1623 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = renderer; -#line 1623 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1623 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp3_, (GtkCellRenderer*) _tmp4_, "text", 1); -#line 1625 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1625 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = combo; -#line 1625 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1625 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = gtk_combo_box_get_model (_tmp5_); -#line 1625 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1625 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _tmp6_; -#line 1625 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1625 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, gtk_list_store_get_type ()) ? ((GtkListStore*) _tmp7_) : NULL); -#line 1625 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1625 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" model = _tmp8_; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = g_new0 (gint, 6); -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[0] = 75; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[1] = 150; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[2] = 300; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[3] = 600; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[4] = 1200; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_[5] = 2400; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" scan_resolutions = _tmp9_; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" scan_resolutions_length1 = 6; -#line 1626 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1626 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _scan_resolutions_size_ = scan_resolutions_length1; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = scan_resolutions; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10__length1 = scan_resolutions_length1; #line 7441 "ui.c" { @@ -7454,15 +7454,15 @@ static void user_interface_set_dpi_combo (UserInterface* self, GtkComboBox* comb gint dpi_collection_length1 = 0; gint _dpi_collection_size_ = 0; gint dpi_it = 0; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi_collection = _tmp10_; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi_collection_length1 = _tmp10__length1; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" for (dpi_it = 0; dpi_it < _tmp10__length1; dpi_it = dpi_it + 1) { #line 7453 "ui.c" gint dpi = 0; -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = dpi_collection[dpi_it]; #line 7457 "ui.c" { @@ -7478,131 +7478,131 @@ static void user_interface_set_dpi_combo (UserInterface* self, GtkComboBox* comb const gchar* _tmp32_ = NULL; gint _tmp33_ = 0; gint _tmp34_ = 0; -#line 1630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = dpi; -#line 1630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = default_dpi; -#line 1630 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1630 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp11_ == _tmp12_) { #line 7477 "ui.c" const gchar* _tmp13_ = NULL; gint _tmp14_ = 0; gchar* _tmp15_ = NULL; -#line 1632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = _ ("%d dpi (default)"); -#line 1632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = dpi; -#line 1632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = g_strdup_printf (_tmp13_, _tmp14_); -#line 1632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (label); -#line 1632 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1632 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" label = _tmp15_; #line 7491 "ui.c" } else { gint _tmp16_ = 0; -#line 1633 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1633 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = dpi; -#line 1633 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1633 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp16_ == 75) { #line 7498 "ui.c" const gchar* _tmp17_ = NULL; gint _tmp18_ = 0; gchar* _tmp19_ = NULL; -#line 1635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = _ ("%d dpi (draft)"); -#line 1635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = dpi; -#line 1635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = g_strdup_printf (_tmp17_, _tmp18_); -#line 1635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (label); -#line 1635 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1635 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" label = _tmp19_; #line 7512 "ui.c" } else { gint _tmp20_ = 0; -#line 1636 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1636 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = dpi; -#line 1636 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1636 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp20_ == 1200) { #line 7519 "ui.c" const gchar* _tmp21_ = NULL; gint _tmp22_ = 0; gchar* _tmp23_ = NULL; -#line 1638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = _ ("%d dpi (high resolution)"); -#line 1638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = dpi; -#line 1638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = g_strdup_printf (_tmp21_, _tmp22_); -#line 1638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (label); -#line 1638 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1638 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" label = _tmp23_; #line 7533 "ui.c" } else { const gchar* _tmp24_ = NULL; gint _tmp25_ = 0; gchar* _tmp26_ = NULL; -#line 1641 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1641 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = _ ("%d dpi"); -#line 1641 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1641 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = dpi; -#line 1641 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1641 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = g_strdup_printf (_tmp24_, _tmp25_); -#line 1641 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1641 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (label); -#line 1641 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1641 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" label = _tmp26_; #line 7548 "ui.c" } } } -#line 1644 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1644 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = model; -#line 1644 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1644 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp27_, &_tmp28_); -#line 1644 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1644 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp28_; -#line 1645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = model; -#line 1645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = iter; -#line 1645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = dpi; -#line 1645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = label; -#line 1645 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1645 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp29_, &_tmp30_, 0, _tmp31_, 1, _tmp32_, -1, -1); -#line 1647 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1647 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = dpi; -#line 1647 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1647 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = current_dpi; -#line 1647 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1647 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp33_ == _tmp34_) { #line 7574 "ui.c" GtkComboBox* _tmp35_ = NULL; GtkTreeIter _tmp36_ = {0}; -#line 1648 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1648 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = combo; -#line 1648 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1648 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = iter; -#line 1648 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1648 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active_iter (_tmp35_, &_tmp36_); #line 7583 "ui.c" } -#line 1627 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1627 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (label); #line 7587 "ui.c" } } } -#line 1619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" scan_resolutions = (g_free (scan_resolutions), NULL); -#line 1619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (model); -#line 1619 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1619 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (renderer); #line 7597 "ui.c" } @@ -7625,66 +7625,66 @@ static void user_interface_needs_saving_cb (UserInterface* self, Book* book) { gboolean _tmp13_ = FALSE; gboolean _tmp14_ = FALSE; GtkMenuItem* _tmp16_ = NULL; -#line 1652 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1652 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1652 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1652 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (book != NULL); -#line 1654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->save_menuitem; -#line 1654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book; -#line 1654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = book_get_needs_saving (_tmp1_); -#line 1654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 1654 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1654 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, _tmp3_); -#line 1655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->save_button; -#line 1655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = book; -#line 1655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = book_get_needs_saving (_tmp5_); -#line 1655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _tmp6_; -#line 1655 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1655 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, _tmp7_); -#line 1656 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1656 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = self->priv->save_toolbutton; -#line 1656 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1656 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = book; -#line 1656 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1656 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = book_get_needs_saving (_tmp9_); -#line 1656 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1656 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = _tmp10_; -#line 1656 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1656 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp8_, _tmp11_); -#line 1657 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1657 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = book; -#line 1657 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1657 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = book_get_needs_saving (_tmp12_); -#line 1657 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1657 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = _tmp13_; -#line 1657 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1657 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp14_) { #line 7660 "ui.c" GtkMenuItem* _tmp15_ = NULL; -#line 1658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->save_as_menuitem; -#line 1658 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1658 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp15_, TRUE); #line 7666 "ui.c" } -#line 1659 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1659 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = self->priv->copy_to_clipboard_menuitem; -#line 1659 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1659 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp16_, TRUE); #line 7672 "ui.c" } static void _user_interface_info_bar_response_cb_gtk_info_bar_response (GtkInfoBar* _sender, gint response_id, gpointer self) { -#line 1719 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1719 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_info_bar_response_cb ((UserInterface*) self, _sender, response_id); #line 7679 "ui.c" } @@ -7693,18 +7693,18 @@ static void _user_interface_info_bar_response_cb_gtk_info_bar_response (GtkInfoB static void __lambda11_ (UserInterface* self) { GSettings* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_text_dpi (self); -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp0_, "text-dpi", _tmp1_); #line 7692 "ui.c" } static void ___lambda11__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda11_ ((UserInterface*) self); #line 7699 "ui.c" } @@ -7713,18 +7713,18 @@ static void ___lambda11__gtk_combo_box_changed (GtkComboBox* _sender, gpointer s static void __lambda12_ (UserInterface* self) { GSettings* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_photo_dpi (self); -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp0_, "photo-dpi", _tmp1_); #line 7712 "ui.c" } static void ___lambda12__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda12_ ((UserInterface*) self); #line 7719 "ui.c" } @@ -7733,18 +7733,18 @@ static void ___lambda12__gtk_combo_box_changed (GtkComboBox* _sender, gpointer s static void __lambda13_ (UserInterface* self) { GSettings* _tmp0_ = NULL; ScanType _tmp1_ = 0; -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_page_side (self); -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_enum (_tmp0_, "page-side", (gint) _tmp1_); #line 7732 "ui.c" } static void ___lambda13__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda13_ ((UserInterface*) self); #line 7739 "ui.c" } @@ -7757,26 +7757,26 @@ static void __lambda14_ (UserInterface* self) { gint _tmp1_ = 0; GSettings* _tmp2_ = NULL; GSettings* _tmp3_ = NULL; -#line 1787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_get_paper_size (self, &_tmp0_, &_tmp1_); -#line 1787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" w = _tmp0_; -#line 1787 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1787 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" h = _tmp1_; -#line 1788 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1788 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->settings; -#line 1788 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1788 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp2_, "paper-width", w); -#line 1789 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1789 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->settings; -#line 1789 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1789 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp3_, "paper-height", h); #line 7764 "ui.c" } static void ___lambda14__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1784 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1784 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda14_ ((UserInterface*) self); #line 7771 "ui.c" } @@ -7786,20 +7786,20 @@ static void __lambda15_ (UserInterface* self) { GSettings* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_brightness (self); -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp0_, "brightness", _tmp2_); #line 7787 "ui.c" } static void ___lambda15__gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) { -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda15_ ((UserInterface*) self); #line 7794 "ui.c" } @@ -7809,20 +7809,20 @@ static void __lambda16_ (UserInterface* self) { GSettings* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_contrast (self); -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp0_, "contrast", _tmp2_); #line 7810 "ui.c" } static void ___lambda16__gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) { -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda16_ ((UserInterface*) self); #line 7817 "ui.c" } @@ -7832,48 +7832,48 @@ static void __lambda17_ (UserInterface* self) { GSettings* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->settings; -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = user_interface_get_quality (self); -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_settings_set_int (_tmp0_, "jpeg-quality", _tmp2_); #line 7833 "ui.c" } static void ___lambda17__gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) { -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" __lambda17_ ((UserInterface*) self); #line 7840 "ui.c" } static void _user_interface_page_selected_cb_book_view_page_selected (BookView* _sender, Page* page, gpointer self) { -#line 1836 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1836 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_page_selected_cb ((UserInterface*) self, _sender, page); #line 7847 "ui.c" } static void _user_interface_show_page_cb_book_view_show_page (BookView* _sender, Page* page, gpointer self) { -#line 1837 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1837 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_page_cb ((UserInterface*) self, _sender, page); #line 7854 "ui.c" } static void _user_interface_show_page_menu_cb_book_view_show_menu (BookView* _sender, gpointer self) { -#line 1838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_show_page_menu_cb ((UserInterface*) self, _sender); #line 7861 "ui.c" } static void _user_interface_book_saving_cb_book_saving (Book* _sender, gint i, gpointer self) { -#line 1857 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1857 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_book_saving_cb ((UserInterface*) self, i); #line 7868 "ui.c" } @@ -8085,75 +8085,75 @@ static void user_interface_load (UserInterface* self) { const gchar* _tmp242_ = NULL; ProgressBarDialog* _tmp243_ = NULL; Book* _tmp244_ = NULL; -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1664 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1664 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = gtk_icon_theme_get_default (); -#line 1664 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1664 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_icon_theme_append_search_path (_tmp0_, ICON_DIR); -#line 1666 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1666 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_default_icon_name ("scanner"); -#line 1668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_application_get_default (); -#line 1668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_application_get_type ()) ? ((GtkApplication*) _tmp1_) : NULL); -#line 1668 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1668 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" app = _tmp2_; -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = user_interface_is_desktop (self, "Unity"); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp6_) { -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = TRUE; #line 8098 "ui.c" } else { gboolean _tmp7_ = FALSE; -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = user_interface_is_desktop (self, "XFCE"); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp7_; #line 8105 "ui.c" } -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp5_) { -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = TRUE; #line 8111 "ui.c" } else { gboolean _tmp8_ = FALSE; -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = user_interface_is_desktop (self, "MATE"); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = _tmp8_; #line 8118 "ui.c" } -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp4_) { -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = TRUE; #line 8124 "ui.c" } else { gboolean _tmp9_ = FALSE; -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = user_interface_is_desktop (self, "LXDE"); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp9_; #line 8131 "ui.c" } -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp3_) { #line 8135 "ui.c" GtkMenuBar* _tmp10_ = NULL; GtkToolbar* _tmp11_ = NULL; -#line 1672 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1672 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_titlebar ((GtkWindow*) self, NULL); -#line 1673 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1673 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = self->priv->menubar; -#line 1673 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1673 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp10_, TRUE); -#line 1674 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1674 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->toolbar; -#line 1674 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1674 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp11_, TRUE); #line 8148 "ui.c" } else { @@ -8207,839 +8207,839 @@ static void user_interface_load (UserInterface* self) { GtkApplication* _tmp56_ = NULL; GtkApplication* _tmp57_ = NULL; GtkApplication* _tmp58_ = NULL; -#line 1678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = app; -#line 1678 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1678 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_action_map_add_action_entries ((GActionMap*) _tmp12_, USER_INTERFACE_action_entries, G_N_ELEMENTS (USER_INTERFACE_action_entries), self); -#line 1680 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1680 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = g_menu_new (); -#line 1680 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1680 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" appmenu = _tmp13_; -#line 1681 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1681 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = g_menu_new (); -#line 1681 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1681 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" section = _tmp14_; -#line 1682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = appmenu; -#line 1682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = section; -#line 1682 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1682 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append_section (_tmp15_, NULL, (GMenuModel*) _tmp16_); -#line 1683 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1683 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = section; -#line 1683 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1683 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = _ ("New Document"); -#line 1683 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1683 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp17_, _tmp18_, "app.new_document"); -#line 1685 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1685 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = g_menu_new (); -#line 1685 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1685 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (section); -#line 1685 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1685 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" section = _tmp19_; -#line 1686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = appmenu; -#line 1686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = section; -#line 1686 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1686 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append_section (_tmp20_, NULL, (GMenuModel*) _tmp21_); -#line 1687 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1687 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = g_menu_new (); -#line 1687 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1687 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" menu = _tmp22_; -#line 1688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = section; -#line 1688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = _ ("Document"); -#line 1688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = menu; -#line 1688 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1688 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append_submenu (_tmp23_, _tmp24_, (GMenuModel*) _tmp25_); -#line 1689 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1689 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = menu; -#line 1689 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1689 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = _ ("Reorder Pages"); -#line 1689 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1689 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp26_, _tmp27_, "app.reorder"); -#line 1690 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1690 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = menu; -#line 1690 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1690 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = _ ("Save"); -#line 1690 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1690 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp28_, _tmp29_, "app.save"); -#line 1691 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1691 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = menu; -#line 1691 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1691 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = _ ("Save As..."); -#line 1691 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1691 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp30_, _tmp31_, "app.save_as"); -#line 1692 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1692 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = menu; -#line 1692 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1692 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = _ ("Email..."); -#line 1692 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1692 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp32_, _tmp33_, "app.email"); -#line 1693 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1693 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = menu; -#line 1693 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1693 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = _ ("Print..."); -#line 1693 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1693 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp34_, _tmp35_, "app.print"); -#line 1695 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1695 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp36_ = g_menu_new (); -#line 1695 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1695 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (section); -#line 1695 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1695 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" section = _tmp36_; -#line 1696 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1696 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp37_ = appmenu; -#line 1696 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1696 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp38_ = section; -#line 1696 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1696 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append_section (_tmp37_, NULL, (GMenuModel*) _tmp38_); -#line 1697 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1697 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp39_ = section; -#line 1697 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1697 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp40_ = _ ("Preferences"); -#line 1697 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1697 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp39_, _tmp40_, "app.preferences"); -#line 1699 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1699 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp41_ = g_menu_new (); -#line 1699 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1699 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (section); -#line 1699 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1699 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" section = _tmp41_; -#line 1700 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1700 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp42_ = appmenu; -#line 1700 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1700 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp43_ = section; -#line 1700 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1700 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append_section (_tmp42_, NULL, (GMenuModel*) _tmp43_); -#line 1701 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1701 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp44_ = section; -#line 1701 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1701 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp45_ = _ ("Help"); -#line 1701 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1701 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp44_, _tmp45_, "app.help"); -#line 1702 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1702 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp46_ = section; -#line 1702 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1702 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp47_ = _ ("About"); -#line 1702 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1702 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp46_, _tmp47_, "app.about"); -#line 1703 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1703 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp48_ = section; -#line 1703 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1703 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp49_ = _ ("Quit"); -#line 1703 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1703 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_menu_append (_tmp48_, _tmp49_, "app.quit"); -#line 1705 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1705 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp50_ = app; -#line 1705 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1705 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp51_ = appmenu; -#line 1705 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1705 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_set_app_menu (_tmp50_, (GMenuModel*) _tmp51_); -#line 1707 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1707 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp52_ = app; -#line 1707 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1707 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp52_, "<Ctrl>N", "app.new_document", NULL); -#line 1708 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1708 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp53_ = app; -#line 1708 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1708 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp53_, "<Ctrl>S", "app.save", NULL); -#line 1709 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1709 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp54_ = app; -#line 1709 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1709 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp54_, "<Shift><Ctrl>S", "app.save_as", NULL); -#line 1710 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1710 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp55_ = app; -#line 1710 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1710 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp55_, "<Ctrl>E", "app.email", NULL); -#line 1711 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1711 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp56_ = app; -#line 1711 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1711 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp56_, "<Ctrl>P", "app.print", NULL); -#line 1712 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1712 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp57_ = app; -#line 1712 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1712 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp57_, "F1", "app.help", NULL); -#line 1713 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1713 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp58_ = app; -#line 1713 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1713 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_accelerator (_tmp58_, "<Ctrl>Q", "app.quit", NULL); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (menu); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (section); -#line 1670 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1670 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (appmenu); #line 8366 "ui.c" } -#line 1715 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1715 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp59_ = app; -#line 1715 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1715 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_application_add_window (_tmp59_, (GtkWindow*) self); -#line 1718 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1718 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp60_ = (GtkInfoBar*) gtk_info_bar_new (); -#line 1718 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1718 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp60_); -#line 1718 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1718 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar); -#line 1718 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1718 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->info_bar = _tmp60_; -#line 1719 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1719 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp61_ = self->priv->info_bar; -#line 1719 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1719 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp61_, "response", (GCallback) _user_interface_info_bar_response_cb_gtk_info_bar_response, self, 0); -#line 1720 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1720 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp62_ = self->priv->main_vbox; -#line 1720 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1720 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp63_ = self->priv->info_bar; -#line 1720 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1720 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp62_, (GtkWidget*) _tmp63_, FALSE, TRUE, (guint) 0); -#line 1721 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1721 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp64_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); -#line 1721 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1721 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp64_); -#line 1721 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1721 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" hbox = _tmp64_; -#line 1722 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1722 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp65_ = self->priv->info_bar; -#line 1722 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1722 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp66_ = gtk_info_bar_get_content_area (_tmp65_); -#line 1722 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1722 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp67_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp66_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp66_) : NULL); -#line 1722 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1722 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" content_area = _tmp67_; -#line 1723 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1723 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp68_ = content_area; -#line 1723 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1723 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp69_ = hbox; -#line 1723 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1723 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_add (_tmp68_, (GtkWidget*) _tmp69_); -#line 1724 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1724 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp70_ = hbox; -#line 1724 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1724 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp70_, TRUE); -#line 1726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp71_ = (GtkImage*) gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_DIALOG); -#line 1726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp71_); -#line 1726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_image); -#line 1726 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1726 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->info_bar_image = _tmp71_; -#line 1727 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1727 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp72_ = hbox; -#line 1727 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1727 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp73_ = self->priv->info_bar_image; -#line 1727 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1727 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp72_, (GtkWidget*) _tmp73_, FALSE, TRUE, (guint) 0); -#line 1728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp74_ = self->priv->info_bar_image; -#line 1728 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1728 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp74_, TRUE); -#line 1730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp75_ = (GtkLabel*) gtk_label_new (NULL); -#line 1730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp75_); -#line 1730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_label); -#line 1730 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1730 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->info_bar_label = _tmp75_; -#line 1731 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1731 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp76_ = self->priv->info_bar_label; -#line 1731 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1731 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_misc_set_alignment ((GtkMisc*) _tmp76_, 0.0f, 0.5f); -#line 1732 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1732 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp77_ = hbox; -#line 1732 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1732 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp78_ = self->priv->info_bar_label; -#line 1732 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1732 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (_tmp77_, (GtkWidget*) _tmp78_, TRUE, TRUE, (guint) 0); -#line 1733 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1733 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp79_ = self->priv->info_bar_label; -#line 1733 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1733 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp79_, TRUE); -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp80_ = self->priv->info_bar; -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp81_ = _ ("_Close"); -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp82_ = gtk_info_bar_add_button (_tmp80_, _tmp81_, (gint) GTK_RESPONSE_CLOSE); -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp83_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp82_, gtk_button_get_type ()) ? ((GtkButton*) _tmp82_) : NULL); -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_close_button); -#line 1735 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1735 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->info_bar_close_button = _tmp83_; -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp84_ = self->priv->info_bar; -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp85_ = _ ("Change _Scanner"); -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp86_ = gtk_info_bar_add_button (_tmp84_, _tmp85_, 1); -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp87_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp86_, gtk_button_get_type ()) ? ((GtkButton*) _tmp86_) : NULL); -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_change_scanner_button); -#line 1736 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1736 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->info_bar_change_scanner_button = _tmp87_; -#line 1740 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1740 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp88_ = self->priv->paper_size_model; -#line 1740 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1740 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp88_, &_tmp89_); -#line 1740 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1740 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp89_; -#line 1741 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1741 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp90_ = self->priv->paper_size_model; -#line 1741 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1741 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp91_ = iter; -#line 1741 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1741 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp92_ = _ ("Automatic"); -#line 1741 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1741 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp90_, &_tmp91_, 0, 0, 1, 0, 2, _tmp92_, -1, -1); -#line 1744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp93_ = self->priv->paper_size_model; -#line 1744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp93_, &_tmp94_); -#line 1744 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1744 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp94_; -#line 1745 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1745 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp95_ = self->priv->paper_size_model; -#line 1745 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1745 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp96_ = iter; -#line 1745 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1745 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp95_, &_tmp96_, 0, 1050, 1, 1480, 2, "A6", -1, -1); -#line 1746 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1746 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp97_ = self->priv->paper_size_model; -#line 1746 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1746 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp97_, &_tmp98_); -#line 1746 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1746 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp98_; -#line 1747 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1747 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp99_ = self->priv->paper_size_model; -#line 1747 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1747 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp100_ = iter; -#line 1747 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1747 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp99_, &_tmp100_, 0, 1480, 1, 2100, 2, "A5", -1, -1); -#line 1748 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1748 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp101_ = self->priv->paper_size_model; -#line 1748 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1748 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp101_, &_tmp102_); -#line 1748 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1748 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp102_; -#line 1749 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1749 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp103_ = self->priv->paper_size_model; -#line 1749 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1749 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp104_ = iter; -#line 1749 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1749 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp103_, &_tmp104_, 0, 2100, 1, 2970, 2, "A4", -1, -1); -#line 1750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp105_ = self->priv->paper_size_model; -#line 1750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp105_, &_tmp106_); -#line 1750 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1750 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp106_; -#line 1751 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1751 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp107_ = self->priv->paper_size_model; -#line 1751 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1751 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp108_ = iter; -#line 1751 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1751 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp107_, &_tmp108_, 0, 2159, 1, 2794, 2, "Letter", -1, -1); -#line 1752 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1752 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp109_ = self->priv->paper_size_model; -#line 1752 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1752 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp109_, &_tmp110_); -#line 1752 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1752 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp110_; -#line 1753 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1753 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp111_ = self->priv->paper_size_model; -#line 1753 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1753 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp112_ = iter; -#line 1753 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1753 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp111_, &_tmp112_, 0, 2159, 1, 3556, 2, "Legal", -1, -1); -#line 1754 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1754 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp113_ = self->priv->paper_size_model; -#line 1754 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1754 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_append (_tmp113_, &_tmp114_); -#line 1754 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1754 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp114_; -#line 1755 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1755 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp115_ = self->priv->paper_size_model; -#line 1755 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1755 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp116_ = iter; -#line 1755 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1755 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_list_store_set (_tmp115_, &_tmp116_, 0, 1016, 1, 1524, 2, "4×6", -1, -1); -#line 1757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp117_ = self->priv->settings; -#line 1757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp118_ = g_settings_get_int (_tmp117_, "text-dpi"); -#line 1757 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1757 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = _tmp118_; -#line 1758 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1758 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp119_ = dpi; -#line 1758 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1758 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp119_ <= 0) { -#line 1759 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1759 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = USER_INTERFACE_DEFAULT_TEXT_DPI; #line 8576 "ui.c" } -#line 1760 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1760 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp120_ = self->priv->text_dpi_combo; -#line 1760 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1760 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp121_ = dpi; -#line 1760 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1760 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_dpi_combo (self, _tmp120_, USER_INTERFACE_DEFAULT_TEXT_DPI, _tmp121_); -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp122_ = self->priv->text_dpi_combo; -#line 1761 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1761 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp122_, "changed", (GCallback) ___lambda11__gtk_combo_box_changed, self, 0); -#line 1762 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1762 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp123_ = self->priv->settings; -#line 1762 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1762 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp124_ = g_settings_get_int (_tmp123_, "photo-dpi"); -#line 1762 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1762 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = _tmp124_; -#line 1763 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1763 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp125_ = dpi; -#line 1763 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1763 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp125_ <= 0) { -#line 1764 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1764 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" dpi = USER_INTERFACE_DEFAULT_PHOTO_DPI; #line 8600 "ui.c" } -#line 1765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp126_ = self->priv->photo_dpi_combo; -#line 1765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp127_ = dpi; -#line 1765 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1765 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_dpi_combo (self, _tmp126_, USER_INTERFACE_DEFAULT_PHOTO_DPI, _tmp127_); -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp128_ = self->priv->photo_dpi_combo; -#line 1766 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1766 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp128_, "changed", (GCallback) ___lambda12__gtk_combo_box_changed, self, 0); -#line 1768 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1768 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp129_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 1768 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1768 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp129_); -#line 1768 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1768 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" renderer = _tmp129_; -#line 1769 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1769 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp130_ = self->priv->device_combo; -#line 1769 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1769 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp131_ = renderer; -#line 1769 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1769 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp130_, (GtkCellRenderer*) _tmp131_, TRUE); -#line 1770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp132_ = self->priv->device_combo; -#line 1770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp133_ = renderer; -#line 1770 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1770 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp132_, (GtkCellRenderer*) _tmp133_, "text", 1); -#line 1772 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1772 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp134_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 1772 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1772 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp134_); -#line 1772 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1772 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (renderer); -#line 1772 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1772 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" renderer = _tmp134_; -#line 1773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp135_ = self->priv->page_side_combo; -#line 1773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp136_ = renderer; -#line 1773 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1773 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp135_, (GtkCellRenderer*) _tmp136_, TRUE); -#line 1774 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1774 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp137_ = self->priv->page_side_combo; -#line 1774 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1774 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp138_ = renderer; -#line 1774 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1774 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp137_, (GtkCellRenderer*) _tmp138_, "text", 1); -#line 1775 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1775 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp139_ = self->priv->settings; -#line 1775 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1775 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp140_ = g_settings_get_enum (_tmp139_, "page-side"); -#line 1775 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1775 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_page_side (self, (ScanType) _tmp140_); -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp141_ = self->priv->page_side_combo; -#line 1776 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1776 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp141_, "changed", (GCallback) ___lambda13__gtk_combo_box_changed, self, 0); -#line 1778 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1778 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp142_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 1778 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1778 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp142_); -#line 1778 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1778 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (renderer); -#line 1778 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1778 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" renderer = _tmp142_; -#line 1779 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1779 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp143_ = self->priv->paper_size_combo; -#line 1779 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1779 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp144_ = renderer; -#line 1779 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1779 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp143_, (GtkCellRenderer*) _tmp144_, TRUE); -#line 1780 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1780 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp145_ = self->priv->paper_size_combo; -#line 1780 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1780 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp146_ = renderer; -#line 1780 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1780 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp145_, (GtkCellRenderer*) _tmp146_, "text", 2); -#line 1781 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1781 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp147_ = self->priv->settings; -#line 1781 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1781 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp148_ = g_settings_get_int (_tmp147_, "paper-width"); -#line 1781 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1781 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" paper_width = _tmp148_; -#line 1782 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1782 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp149_ = self->priv->settings; -#line 1782 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1782 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp150_ = g_settings_get_int (_tmp149_, "paper-height"); -#line 1782 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1782 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" paper_height = _tmp150_; -#line 1783 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1783 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp151_ = paper_width; -#line 1783 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1783 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp152_ = paper_height; -#line 1783 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1783 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_paper_size (self, _tmp151_, _tmp152_); -#line 1784 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1784 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp153_ = self->priv->paper_size_combo; -#line 1784 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1784 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp153_, "changed", (GCallback) ___lambda14__gtk_combo_box_changed, self, 0); -#line 1792 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1792 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp154_ = self->priv->brightness_adjustment; -#line 1792 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1792 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp155_ = gtk_adjustment_get_lower (_tmp154_); -#line 1792 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1792 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp156_ = _tmp155_; -#line 1792 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1792 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" lower = _tmp156_; -#line 1793 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1793 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp157_ = _ ("Darker"); -#line 1793 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1793 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp158_ = g_strdup_printf ("<small>%s</small>", _tmp157_); -#line 1793 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1793 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" darker_label = _tmp158_; -#line 1794 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1794 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp159_ = self->priv->brightness_adjustment; -#line 1794 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1794 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp160_ = gtk_adjustment_get_upper (_tmp159_); -#line 1794 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1794 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp161_ = _tmp160_; -#line 1794 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1794 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" upper = _tmp161_; -#line 1795 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1795 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp162_ = _ ("Lighter"); -#line 1795 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1795 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp163_ = g_strdup_printf ("<small>%s</small>", _tmp162_); -#line 1795 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1795 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" lighter_label = _tmp163_; -#line 1796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp164_ = self->priv->brightness_scale; -#line 1796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp165_ = lower; -#line 1796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp166_ = darker_label; -#line 1796 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1796 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp164_, _tmp165_, GTK_POS_BOTTOM, _tmp166_); -#line 1797 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1797 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp167_ = self->priv->brightness_scale; -#line 1797 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1797 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp167_, (gdouble) 0, GTK_POS_BOTTOM, NULL); -#line 1798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp168_ = self->priv->brightness_scale; -#line 1798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp169_ = upper; -#line 1798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp170_ = lighter_label; -#line 1798 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1798 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp168_, _tmp169_, GTK_POS_BOTTOM, _tmp170_); -#line 1799 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1799 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp171_ = self->priv->settings; -#line 1799 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1799 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp172_ = g_settings_get_int (_tmp171_, "brightness"); -#line 1799 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1799 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_brightness (self, _tmp172_); -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp173_ = self->priv->brightness_adjustment; -#line 1800 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1800 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp173_, "value-changed", (GCallback) ___lambda15__gtk_adjustment_value_changed, self, 0); -#line 1802 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1802 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp174_ = self->priv->contrast_adjustment; -#line 1802 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1802 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp175_ = gtk_adjustment_get_lower (_tmp174_); -#line 1802 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1802 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp176_ = _tmp175_; -#line 1802 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1802 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" lower = _tmp176_; -#line 1803 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1803 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp177_ = _ ("Less"); -#line 1803 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1803 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp178_ = g_strdup_printf ("<small>%s</small>", _tmp177_); -#line 1803 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1803 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" less_label = _tmp178_; -#line 1804 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1804 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp179_ = self->priv->contrast_adjustment; -#line 1804 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1804 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp180_ = gtk_adjustment_get_upper (_tmp179_); -#line 1804 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1804 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp181_ = _tmp180_; -#line 1804 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1804 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" upper = _tmp181_; -#line 1805 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1805 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp182_ = _ ("More"); -#line 1805 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1805 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp183_ = g_strdup_printf ("<small>%s</small>", _tmp182_); -#line 1805 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1805 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" more_label = _tmp183_; -#line 1806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp184_ = self->priv->contrast_scale; -#line 1806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp185_ = lower; -#line 1806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp186_ = less_label; -#line 1806 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1806 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp184_, _tmp185_, GTK_POS_BOTTOM, _tmp186_); -#line 1807 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1807 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp187_ = self->priv->contrast_scale; -#line 1807 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1807 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp187_, (gdouble) 0, GTK_POS_BOTTOM, NULL); -#line 1808 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1808 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp188_ = self->priv->contrast_scale; -#line 1808 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1808 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp189_ = upper; -#line 1808 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1808 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp190_ = more_label; -#line 1808 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1808 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp188_, _tmp189_, GTK_POS_BOTTOM, _tmp190_); -#line 1809 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1809 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp191_ = self->priv->settings; -#line 1809 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1809 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp192_ = g_settings_get_int (_tmp191_, "contrast"); -#line 1809 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1809 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_contrast (self, _tmp192_); -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp193_ = self->priv->contrast_adjustment; -#line 1810 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1810 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp193_, "value-changed", (GCallback) ___lambda16__gtk_adjustment_value_changed, self, 0); -#line 1812 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1812 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp194_ = self->priv->quality_adjustment; -#line 1812 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1812 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp195_ = gtk_adjustment_get_lower (_tmp194_); -#line 1812 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1812 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp196_ = _tmp195_; -#line 1812 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1812 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" lower = _tmp196_; -#line 1813 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1813 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp197_ = _ ("Minimum"); -#line 1813 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1813 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp198_ = g_strdup_printf ("<small>%s</small>", _tmp197_); -#line 1813 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1813 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" minimum_label = _tmp198_; -#line 1814 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1814 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp199_ = self->priv->quality_adjustment; -#line 1814 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1814 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp200_ = gtk_adjustment_get_upper (_tmp199_); -#line 1814 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1814 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp201_ = _tmp200_; -#line 1814 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1814 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" upper = _tmp201_; -#line 1815 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1815 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp202_ = _ ("Maximum"); -#line 1815 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1815 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp203_ = g_strdup_printf ("<small>%s</small>", _tmp202_); -#line 1815 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1815 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" maximum_label = _tmp203_; -#line 1816 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1816 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp204_ = self->priv->quality_scale; -#line 1816 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1816 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp205_ = lower; -#line 1816 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1816 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp206_ = minimum_label; -#line 1816 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1816 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp204_, _tmp205_, GTK_POS_BOTTOM, _tmp206_); -#line 1817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp207_ = self->priv->quality_scale; -#line 1817 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1817 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp207_, (gdouble) 75, GTK_POS_BOTTOM, NULL); -#line 1818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp208_ = self->priv->quality_scale; -#line 1818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp209_ = upper; -#line 1818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp210_ = maximum_label; -#line 1818 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1818 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_scale_add_mark (_tmp208_, _tmp209_, GTK_POS_BOTTOM, _tmp210_); -#line 1819 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1819 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp211_ = self->priv->settings; -#line 1819 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1819 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp212_ = g_settings_get_int (_tmp211_, "jpeg-quality"); -#line 1819 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1819 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_quality (self, _tmp212_); -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp213_ = self->priv->quality_adjustment; -#line 1820 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1820 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp213_, "value-changed", (GCallback) ___lambda17__gtk_adjustment_value_changed, self, 0); -#line 1822 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1822 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp214_ = self->priv->settings; -#line 1822 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1822 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp215_ = g_settings_get_string (_tmp214_, "selected-device"); -#line 1822 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1822 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" device = _tmp215_; -#line 1823 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1823 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp216_ = device; -#line 1823 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1823 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp216_ != NULL) { #line 8886 "ui.c" const gchar* _tmp217_ = NULL; GtkTreeIter _tmp218_ = {0}; gboolean _tmp219_ = FALSE; -#line 1825 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1825 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp217_ = device; -#line 1825 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1825 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp219_ = user_interface_find_scan_device (self, _tmp217_, &_tmp218_); -#line 1825 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1825 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp218_; -#line 1825 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1825 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp219_) { #line 8898 "ui.c" GtkComboBox* _tmp220_ = NULL; GtkTreeIter _tmp221_ = {0}; -#line 1826 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1826 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp220_ = self->priv->device_combo; -#line 1826 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1826 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp221_ = iter; -#line 1826 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1826 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active_iter (_tmp220_, &_tmp221_); #line 8907 "ui.c" } } -#line 1829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp222_ = self->priv->settings; -#line 1829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp223_ = g_settings_get_string (_tmp222_, "document-type"); -#line 1829 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1829 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" document_type = _tmp223_; -#line 1830 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1830 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp224_ = document_type; -#line 1830 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1830 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp224_ != NULL) { #line 8920 "ui.c" const gchar* _tmp225_ = NULL; -#line 1831 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1831 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp225_ = document_type; -#line 1831 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1831 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_document_hint (self, _tmp225_, FALSE); #line 8926 "ui.c" } -#line 1833 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1833 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp226_ = self->priv->_book; -#line 1833 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1833 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp227_ = book_view_new (_tmp226_); -#line 1833 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1833 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp227_); -#line 1833 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1833 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->book_view); -#line 1833 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1833 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->book_view = _tmp227_; -#line 1834 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1834 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp228_ = self->priv->book_view; -#line 1834 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1834 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_set_border_width ((GtkContainer*) _tmp228_, (guint) 18); -#line 1835 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1835 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp229_ = self->priv->main_vbox; -#line 1835 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1835 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp230_ = self->priv->book_view; -#line 1835 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1835 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_end (_tmp229_, (GtkWidget*) _tmp230_, TRUE, TRUE, (guint) 0); -#line 1836 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1836 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp231_ = self->priv->book_view; -#line 1836 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1836 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp231_, "page-selected", (GCallback) _user_interface_page_selected_cb_book_view_page_selected, self, 0); -#line 1837 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1837 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp232_ = self->priv->book_view; -#line 1837 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1837 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp232_, "show-page", (GCallback) _user_interface_show_page_cb_book_view_show_page, self, 0); -#line 1838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp233_ = self->priv->book_view; -#line 1838 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1838 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp233_, "show-menu", (GCallback) _user_interface_show_page_menu_cb_book_view_show_menu, self, 0); -#line 1839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp234_ = self->priv->book_view; -#line 1839 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1839 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp234_, TRUE); -#line 1841 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1841 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp235_ = self->priv->authorize_dialog; -#line 1841 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1841 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_transient_for ((GtkWindow*) _tmp235_, (GtkWindow*) self); -#line 1842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp236_ = self->priv->preferences_dialog; -#line 1842 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1842 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_transient_for ((GtkWindow*) _tmp236_, (GtkWindow*) self); -#line 1845 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1845 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_load_state (self); -#line 1848 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1848 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp237_ = self->priv->window_width; -#line 1848 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1848 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp238_ = self->priv->window_height; -#line 1848 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1848 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_debug ("ui.vala:1848: Restoring window to %dx%d pixels", _tmp237_, _tmp238_); -#line 1849 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1849 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp239_ = self->priv->window_width; -#line 1849 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1849 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp240_ = self->priv->window_height; -#line 1849 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1849 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_default_size ((GtkWindow*) self, _tmp239_, _tmp240_); -#line 1850 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1850 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp241_ = self->priv->window_is_maximized; -#line 1850 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1850 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp241_) { -#line 1852 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1852 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_debug ("ui.vala:1852: Restoring window to maximized"); -#line 1853 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1853 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_maximize ((GtkWindow*) self); #line 8994 "ui.c" } -#line 1856 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1856 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp242_ = _ ("Saving document..."); -#line 1856 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1856 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp243_ = progress_bar_dialog_new ((GtkApplicationWindow*) self, _tmp242_); -#line 1856 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1856 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp243_); -#line 1856 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1856 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->progress_dialog); -#line 1856 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1856 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->progress_dialog = _tmp243_; -#line 1857 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1857 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp244_ = self->priv->_book; -#line 1857 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1857 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_connect_object (_tmp244_, "saving", (GCallback) _user_interface_book_saving_cb_book_saving, self, 0); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (document_type); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (device); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (maximum_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (minimum_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (more_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (less_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (lighter_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (darker_label); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (renderer); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (content_area); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (hbox); -#line 1662 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1662 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (app); #line 9034 "ui.c" } @@ -9054,31 +9054,31 @@ static gboolean user_interface_is_desktop (UserInterface* self, const gchar* nam const gchar* _tmp3_ = NULL; gchar** _tmp4_ = NULL; gchar** _tmp5_ = NULL; -#line 1860 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1860 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1860 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1860 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (name != NULL, FALSE); -#line 1862 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1862 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_getenv ("XDG_CURRENT_DESKTOP"); -#line 1862 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1862 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1862 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1862 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" desktop_name_list = _tmp1_; -#line 1863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = desktop_name_list; -#line 1863 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1863 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_ == NULL) { -#line 1864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (desktop_name_list); -#line 1864 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1864 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9067 "ui.c" } -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = desktop_name_list; -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_ = g_strsplit (_tmp3_, ":", 0); #line 9073 "ui.c" { @@ -9086,55 +9086,55 @@ static gboolean user_interface_is_desktop (UserInterface* self, const gchar* nam gint n_collection_length1 = 0; gint _n_collection_size_ = 0; gint n_it = 0; -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_collection = _tmp5_; -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_collection_length1 = _vala_array_length (_tmp4_); -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" for (n_it = 0; n_it < _vala_array_length (_tmp4_); n_it = n_it + 1) { #line 9085 "ui.c" gchar* _tmp6_ = NULL; gchar* n = NULL; -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = g_strdup (n_collection[n_it]); -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n = _tmp6_; #line 9092 "ui.c" { const gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 1867 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1867 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = n; -#line 1867 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1867 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = name; -#line 1867 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1867 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (g_strcmp0 (_tmp7_, _tmp8_) == 0) { -#line 1868 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1868 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 1868 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1868 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (n); -#line 1868 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1868 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_collection = (_vala_array_free (n_collection, n_collection_length1, (GDestroyNotify) g_free), NULL); -#line 1868 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1868 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (desktop_name_list); -#line 1868 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1868 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9112 "ui.c" } -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (n); #line 9116 "ui.c" } } -#line 1866 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1866 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" n_collection = (_vala_array_free (n_collection, n_collection_length1, (GDestroyNotify) g_free), NULL); #line 9121 "ui.c" } -#line 1870 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1870 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1870 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1870 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (desktop_name_list); -#line 1870 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1870 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9129 "ui.c" } @@ -9164,29 +9164,29 @@ static void user_interface_load_state (UserInterface* self) { gchar* _tmp26_ = NULL; gchar* _tmp27_ = NULL; GQuark _tmp29_ = 0U; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" static GQuark _tmp28_label0 = 0; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" static GQuark _tmp28_label1 = 0; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" static GQuark _tmp28_label2 = 0; #line 9163 "ui.c" GError * _inner_error_ = NULL; -#line 1878 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1878 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1880 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1880 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = user_interface_get_state_filename (self); -#line 1880 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1880 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _tmp0_; -#line 1880 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1880 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 1880 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1880 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_debug ("ui.vala:1880: Loading state from %s", _tmp2_); -#line 1880 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1880 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp2_); -#line 1882 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1882 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_key_file_new (); -#line 1882 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1882 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" f = _tmp3_; #line 9181 "ui.c" { @@ -9194,19 +9194,19 @@ static void user_interface_load_state (UserInterface* self) { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = f; -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = user_interface_get_state_filename (self); -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _tmp5_; -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = _tmp6_; -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_load_from_file (_tmp4_, _tmp7_, G_KEY_FILE_NONE, &_inner_error_); -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp7_); -#line 1885 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1885 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9201 "ui.c" goto __catch21_g_error; @@ -9217,159 +9217,159 @@ static void user_interface_load_state (UserInterface* self) { { GError* e = NULL; GError* _tmp8_ = NULL; -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1889 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1889 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = e; -#line 1889 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1889 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!g_error_matches (_tmp8_, G_FILE_ERROR, G_FILE_ERROR_NOENT)) { #line 9218 "ui.c" GError* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 1890 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1890 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = e; -#line 1890 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1890 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = _tmp9_->message; -#line 1890 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1890 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:1890: Failed to load state: %s", _tmp10_); #line 9227 "ui.c" } -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); #line 9231 "ui.c" } __finally21: -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_key_file_unref0 (f); -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1883 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1883 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 9244 "ui.c" } -#line 1892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = f; -#line 1892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = user_interface_state_get_integer (self, _tmp11_, "window", "width", 600); -#line 1892 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1892 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_width = _tmp12_; -#line 1893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->window_width; -#line 1893 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1893 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp13_ <= 0) { -#line 1894 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1894 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_width = 600; #line 9258 "ui.c" } -#line 1895 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1895 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = f; -#line 1895 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1895 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = user_interface_state_get_integer (self, _tmp14_, "window", "height", 400); -#line 1895 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1895 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_height = _tmp15_; -#line 1896 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1896 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = self->priv->window_height; -#line 1896 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1896 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp16_ <= 0) { -#line 1897 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1897 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_height = 400; #line 9272 "ui.c" } -#line 1898 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1898 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = f; -#line 1898 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1898 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = user_interface_state_get_boolean (self, _tmp17_, "window", "is-maximized", FALSE); -#line 1898 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1898 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->window_is_maximized = _tmp18_; -#line 1899 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1899 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = f; -#line 1899 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1899 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = user_interface_state_get_integer (self, _tmp19_, "last-page", "width", 595); -#line 1899 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1899 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_width = _tmp20_; -#line 1900 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1900 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = f; -#line 1900 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1900 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = user_interface_state_get_integer (self, _tmp21_, "last-page", "height", 842); -#line 1900 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1900 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_height = _tmp22_; -#line 1901 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1901 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = f; -#line 1901 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1901 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = user_interface_state_get_integer (self, _tmp23_, "last-page", "dpi", 72); -#line 1901 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1901 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_dpi = _tmp24_; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = f; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = user_interface_state_get_string (self, _tmp25_, "last-page", "scan-direction", "top-to-bottom"); -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = _tmp26_; -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = (NULL == _tmp27_) ? 0 : g_quark_from_string (_tmp27_); -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_free (_tmp27_); -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp29_ == ((0 != _tmp28_label0) ? _tmp28_label0 : (_tmp28_label0 = g_quark_from_static_string ("bottom-to-top")))) { -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (0) { #line 9312 "ui.c" default: { -#line 1909 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1909 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = SCAN_DIRECTION_BOTTOM_TO_TOP; -#line 1910 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1910 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9319 "ui.c" } } } else if (_tmp29_ == ((0 != _tmp28_label1) ? _tmp28_label1 : (_tmp28_label1 = g_quark_from_static_string ("left-to-right")))) { -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (0) { #line 9325 "ui.c" default: { -#line 1912 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1912 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = SCAN_DIRECTION_LEFT_TO_RIGHT; -#line 1913 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1913 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9332 "ui.c" } } } else if (_tmp29_ == ((0 != _tmp28_label2) ? _tmp28_label2 : (_tmp28_label2 = g_quark_from_static_string ("right-to-left")))) { -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (0) { #line 9338 "ui.c" default: { -#line 1915 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1915 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = SCAN_DIRECTION_RIGHT_TO_LEFT; -#line 1916 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1916 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9345 "ui.c" } } } else { -#line 1902 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1902 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (0) { #line 9351 "ui.c" default: { -#line 1906 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1906 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->default_page_scan_direction = SCAN_DIRECTION_TOP_TO_BOTTOM; -#line 1907 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1907 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9358 "ui.c" } } } -#line 1878 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1878 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_key_file_unref0 (f); #line 9364 "ui.c" } @@ -9378,13 +9378,13 @@ static void user_interface_load_state (UserInterface* self) { static gint user_interface_state_get_integer (UserInterface* self, GKeyFile* f, const gchar* group_name, const gchar* key, gint _default_) { gint result = 0; GError * _inner_error_ = NULL; -#line 1920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 1920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (f != NULL, 0); -#line 1920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (group_name != NULL, 0); -#line 1920 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1920 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (key != NULL, 0); #line 9379 "ui.c" { @@ -9393,24 +9393,24 @@ static gint user_interface_state_get_integer (UserInterface* self, GKeyFile* f, const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; gint _tmp4_ = 0; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = f; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = group_name; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = key; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = g_key_file_get_integer (_tmp1_, _tmp2_, _tmp3_, &_inner_error_); -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _tmp4_; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9398 "ui.c" goto __catch22_g_error; } -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp0_; -#line 1924 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1924 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9405 "ui.c" } @@ -9418,24 +9418,24 @@ static gint user_interface_state_get_integer (UserInterface* self, GKeyFile* f, __catch22_g_error: { gint _tmp5_ = 0; -#line 1922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1928 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1928 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _default_; -#line 1928 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1928 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp5_; -#line 1928 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1928 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9421 "ui.c" } __finally22: -#line 1922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1922 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1922 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1922 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return 0; #line 9430 "ui.c" } @@ -9444,13 +9444,13 @@ static gint user_interface_state_get_integer (UserInterface* self, GKeyFile* f, static gboolean user_interface_state_get_boolean (UserInterface* self, GKeyFile* f, const gchar* group_name, const gchar* key, gboolean _default_) { gboolean result = FALSE; GError * _inner_error_ = NULL; -#line 1932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 1932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (f != NULL, FALSE); -#line 1932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (group_name != NULL, FALSE); -#line 1932 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1932 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (key != NULL, FALSE); #line 9445 "ui.c" { @@ -9459,24 +9459,24 @@ static gboolean user_interface_state_get_boolean (UserInterface* self, GKeyFile* const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = f; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = group_name; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = key; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = g_key_file_get_boolean (_tmp1_, _tmp2_, _tmp3_, &_inner_error_); -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _tmp4_; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9464 "ui.c" goto __catch23_g_error; } -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp0_; -#line 1936 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1936 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9471 "ui.c" } @@ -9484,24 +9484,24 @@ static gboolean user_interface_state_get_boolean (UserInterface* self, GKeyFile* __catch23_g_error: { gboolean _tmp5_ = FALSE; -#line 1934 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1934 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1934 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1934 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1940 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1940 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _default_; -#line 1940 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1940 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp5_; -#line 1940 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1940 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9487 "ui.c" } __finally23: -#line 1934 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1934 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1934 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1934 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1934 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1934 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return FALSE; #line 9496 "ui.c" } @@ -9510,15 +9510,15 @@ static gboolean user_interface_state_get_boolean (UserInterface* self, GKeyFile* static gchar* user_interface_state_get_string (UserInterface* self, GKeyFile* f, const gchar* group_name, const gchar* key, const gchar* _default_) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 1944 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1944 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 1944 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1944 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (f != NULL, NULL); -#line 1944 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1944 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (group_name != NULL, NULL); -#line 1944 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1944 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (key != NULL, NULL); -#line 1944 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1944 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (_default_ != NULL, NULL); #line 9513 "ui.c" { @@ -9528,30 +9528,30 @@ static gchar* user_interface_state_get_string (UserInterface* self, GKeyFile* f, const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = f; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = group_name; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = key; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = g_key_file_get_string (_tmp1_, _tmp2_, _tmp3_, &_inner_error_); -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = _tmp4_; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9533 "ui.c" goto __catch24_g_error; } -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp0_; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = NULL; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp5_; -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp0_); -#line 1948 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1948 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9546 "ui.c" } @@ -9560,26 +9560,26 @@ static gchar* user_interface_state_get_string (UserInterface* self, GKeyFile* f, { const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 1952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _default_; -#line 1952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = g_strdup (_tmp6_); -#line 1952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp7_; -#line 1952 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1952 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9565 "ui.c" } __finally24: -#line 1946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1946 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1946 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1946 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return NULL; #line 9574 "ui.c" } @@ -9587,13 +9587,13 @@ static gchar* user_interface_state_get_string (UserInterface* self, GKeyFile* f, static gboolean ___lambda10_ (UserInterface* self) { gboolean result = FALSE; -#line 1964 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1964 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_save_state (self, TRUE); -#line 1965 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1965 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->save_state_timeout = (guint) 0; -#line 1966 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1966 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 1966 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1966 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9588 "ui.c" } @@ -9602,7 +9602,7 @@ static gboolean ___lambda10_ (UserInterface* self) { static gboolean ____lambda10__gsource_func (gpointer self) { gboolean result; result = ___lambda10_ ((UserInterface*) self); -#line 1962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9597 "ui.c" } @@ -9629,143 +9629,143 @@ static void user_interface_save_state (UserInterface* self, gboolean force) { gint _tmp19_ = 0; ScanDirection _tmp20_ = 0; GError * _inner_error_ = NULL; -#line 1956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 1958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = force; -#line 1958 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1958 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp0_) { #line 9628 "ui.c" guint _tmp1_ = 0U; guint _tmp3_ = 0U; -#line 1960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->save_state_timeout; -#line 1960 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1960 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp1_ != ((guint) 0)) { #line 9635 "ui.c" guint _tmp2_ = 0U; -#line 1961 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1961 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->save_state_timeout; -#line 1961 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1961 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_source_remove (_tmp2_); #line 9641 "ui.c" } -#line 1962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 100, ____lambda10__gsource_func, g_object_ref (self), g_object_unref); -#line 1962 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1962 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->save_state_timeout = _tmp3_; -#line 1968 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1968 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 9649 "ui.c" } -#line 1971 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1971 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = user_interface_get_state_filename (self); -#line 1971 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1971 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = _tmp4_; -#line 1971 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1971 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = _tmp5_; -#line 1971 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1971 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_debug ("ui.vala:1971: Saving state to %s", _tmp6_); -#line 1971 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1971 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp6_); -#line 1973 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1973 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = g_key_file_new (); -#line 1973 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1973 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" f = _tmp7_; -#line 1974 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1974 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = f; -#line 1974 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1974 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->window_width; -#line 1974 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1974 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_integer (_tmp8_, "window", "width", _tmp9_); -#line 1975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = f; -#line 1975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = self->priv->window_height; -#line 1975 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1975 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_integer (_tmp10_, "window", "height", _tmp11_); -#line 1976 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1976 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = f; -#line 1976 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1976 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = self->priv->window_is_maximized; -#line 1976 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1976 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_boolean (_tmp12_, "window", "is-maximized", _tmp13_); -#line 1977 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1977 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = f; -#line 1977 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1977 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = self->priv->default_page_width; -#line 1977 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1977 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_integer (_tmp14_, "last-page", "width", _tmp15_); -#line 1978 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1978 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = f; -#line 1978 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1978 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = self->priv->default_page_height; -#line 1978 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1978 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_integer (_tmp16_, "last-page", "height", _tmp17_); -#line 1979 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1979 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = f; -#line 1979 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1979 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = self->priv->default_page_dpi; -#line 1979 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1979 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_integer (_tmp18_, "last-page", "dpi", _tmp19_); -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = self->priv->default_page_scan_direction; -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (_tmp20_) { -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case SCAN_DIRECTION_TOP_TO_BOTTOM: #line 9707 "ui.c" { GKeyFile* _tmp21_ = NULL; -#line 1983 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1983 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = f; -#line 1983 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1983 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_value (_tmp21_, "last-page", "scan-direction", "top-to-bottom"); -#line 1984 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1984 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9716 "ui.c" } -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case SCAN_DIRECTION_BOTTOM_TO_TOP: #line 9720 "ui.c" { GKeyFile* _tmp22_ = NULL; -#line 1986 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1986 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = f; -#line 1986 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1986 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_value (_tmp22_, "last-page", "scan-direction", "bottom-to-top"); -#line 1987 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1987 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9729 "ui.c" } -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case SCAN_DIRECTION_LEFT_TO_RIGHT: #line 9733 "ui.c" { GKeyFile* _tmp23_ = NULL; -#line 1989 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1989 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = f; -#line 1989 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1989 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_value (_tmp23_, "last-page", "scan-direction", "left-to-right"); -#line 1990 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1990 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9742 "ui.c" } -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case SCAN_DIRECTION_RIGHT_TO_LEFT: #line 9746 "ui.c" { GKeyFile* _tmp24_ = NULL; -#line 1992 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1992 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = f; -#line 1992 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1992 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_key_file_set_value (_tmp24_, "last-page", "scan-direction", "right-to-left"); -#line 1993 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1993 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9755 "ui.c" } default: -#line 1980 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1980 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9760 "ui.c" } @@ -9776,25 +9776,25 @@ static void user_interface_save_state (UserInterface* self, gboolean force) { GKeyFile* _tmp28_ = NULL; gchar* _tmp29_ = NULL; gchar* _tmp30_ = NULL; -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = user_interface_get_state_filename (self); -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp26_ = _tmp25_; -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = _tmp26_; -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = f; -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = g_key_file_to_data (_tmp28_, NULL, NULL); -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = _tmp29_; -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_file_set_contents (_tmp27_, _tmp30_, (gssize) (-1), &_inner_error_); -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp30_); -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (_tmp27_); -#line 1997 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1997 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9789 "ui.c" goto __catch25_g_error; @@ -9806,34 +9806,34 @@ static void user_interface_save_state (UserInterface* self, gboolean force) { GError* e = NULL; GError* _tmp31_ = NULL; const gchar* _tmp32_ = NULL; -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 2001 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2001 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = e; -#line 2001 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2001 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = _tmp31_->message; -#line 2001 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2001 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:2001: Failed to write state: %s", _tmp32_); -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); #line 9811 "ui.c" } __finally25: -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_key_file_unref0 (f); -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.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 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 1995 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1995 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 9824 "ui.c" } -#line 1956 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1956 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_key_file_unref0 (f); #line 9828 "ui.c" } @@ -9842,13 +9842,13 @@ static void user_interface_save_state (UserInterface* self, gboolean force) { static gboolean ___lambda18_ (UserInterface* self) { gboolean result = FALSE; ProgressBarDialog* _tmp0_ = NULL; -#line 2016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->progress_dialog; -#line 2016 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2016 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp0_, FALSE); -#line 2017 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2017 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = FALSE; -#line 2017 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2017 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9843 "ui.c" } @@ -9857,7 +9857,7 @@ static gboolean ___lambda18_ (UserInterface* self) { static gboolean ____lambda18__gsource_func (gpointer self) { gboolean result; result = ___lambda18_ ((UserInterface*) self); -#line 2015 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2015 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 9852 "ui.c" } @@ -9882,71 +9882,71 @@ static void user_interface_book_saving_cb (UserInterface* self, gint page_number ProgressBarDialog* _tmp12_ = NULL; gdouble _tmp13_ = 0.0; ProgressBarDialog* _tmp14_ = NULL; -#line 2005 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2005 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" while (TRUE) { #line 9879 "ui.c" gboolean _tmp0_ = FALSE; -#line 2008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = gtk_events_pending (); -#line 2008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp0_) { -#line 2008 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2008 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 9887 "ui.c" } -#line 2009 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2009 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_main_iteration (); #line 9891 "ui.c" } -#line 2011 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2011 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->_book; -#line 2011 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2011 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = book_get_n_pages (_tmp1_); -#line 2011 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2011 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = _tmp2_; -#line 2011 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2011 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" total = (gint) _tmp3_; -#line 2012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = page_number; -#line 2012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = total; -#line 2012 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2012 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" fraction = (_tmp4_ + 1.0) / _tmp5_; -#line 2013 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2013 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = fraction; -#line 2013 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2013 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" complete = _tmp6_ == 1.0; -#line 2014 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2014 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = complete; -#line 2014 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2014 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp7_) { -#line 2015 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2015 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ____lambda18__gsource_func, g_object_ref (self), g_object_unref); #line 9917 "ui.c" } -#line 2019 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2019 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _ ("Saving page %d out of %d"); -#line 2019 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2019 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = page_number; -#line 2019 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2019 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = total; -#line 2019 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2019 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = g_strdup_printf (_tmp8_, _tmp9_ + 1, _tmp10_); -#line 2019 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2019 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" message = _tmp11_; -#line 2021 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2021 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = self->priv->progress_dialog; -#line 2021 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2021 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = fraction; -#line 2021 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2021 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" progress_bar_dialog_set_fraction (_tmp12_, _tmp13_); -#line 2022 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2022 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = self->priv->progress_dialog; -#line 2022 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2022 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" progress_bar_dialog_set_message (_tmp14_, message); -#line 2005 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2005 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (message); #line 9941 "ui.c" } @@ -9954,11 +9954,11 @@ static void user_interface_book_saving_cb (UserInterface* self, gint page_number void user_interface_show_progress_dialog (UserInterface* self) { ProgressBarDialog* _tmp0_ = NULL; -#line 2025 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2025 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2027 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2027 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->progress_dialog; -#line 2027 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2027 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp0_, TRUE); #line 9953 "ui.c" } @@ -9966,11 +9966,11 @@ void user_interface_show_progress_dialog (UserInterface* self) { void user_interface_hide_progress_dialog (UserInterface* self) { ProgressBarDialog* _tmp0_ = NULL; -#line 2030 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2030 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2032 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2032 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->progress_dialog; -#line 2032 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2032 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp0_, FALSE); #line 9965 "ui.c" } @@ -9982,44 +9982,44 @@ void user_interface_show_error (UserInterface* self, const gchar* error_title, c const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 2035 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2035 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2035 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2035 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (error_title != NULL); -#line 2035 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2035 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (error_text != NULL); -#line 2037 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2037 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->have_error = TRUE; -#line 2038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = error_title; -#line 2038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup (_tmp0_); -#line 2038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_title); -#line 2038 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2038 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->error_title = _tmp1_; -#line 2039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = error_text; -#line 2039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g_strdup (_tmp2_); -#line 2039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_text); -#line 2039 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2039 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->error_text = _tmp3_; -#line 2040 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2040 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = change_scanner_hint; -#line 2040 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2040 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->error_change_scanner_hint = _tmp4_; -#line 2041 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2041 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_update_info_bar (self); #line 10005 "ui.c" } void user_interface_start (UserInterface* self) { -#line 2044 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2044 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2046 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2046 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) self, TRUE); #line 10014 "ui.c" } @@ -10028,20 +10028,20 @@ void user_interface_start (UserInterface* self) { Book* user_interface_get_book (UserInterface* self) { Book* result; Book* _tmp0_ = NULL; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp0_; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10029 "ui.c" } static gpointer _book_ref0 (gpointer self) { -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self ? book_ref (self) : NULL; #line 10036 "ui.c" } @@ -10050,17 +10050,17 @@ static gpointer _book_ref0 (gpointer self) { static void user_interface_set_book (UserInterface* self, Book* value) { Book* _tmp0_ = NULL; Book* _tmp1_ = NULL; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = value; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _book_ref0 (_tmp0_); -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _book_unref0 (self->priv->_book); -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->_book = _tmp1_; -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "book"); #line 10055 "ui.c" } @@ -10071,17 +10071,17 @@ Page* user_interface_get_selected_page (UserInterface* self) { BookView* _tmp0_ = NULL; Page* _tmp1_ = NULL; Page* _tmp2_ = NULL; -#line 167 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 167 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = book_view_get_selected_page (_tmp0_); -#line 169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp2_; -#line 169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10076 "ui.c" } @@ -10090,15 +10090,15 @@ Page* user_interface_get_selected_page (UserInterface* self) { void user_interface_set_selected_page (UserInterface* self, Page* value) { BookView* _tmp0_ = NULL; Page* _tmp1_ = NULL; -#line 171 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 171 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->book_view; -#line 173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" book_view_set_selected_page (_tmp0_, _tmp1_); -#line 171 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 171 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "selected-page"); #line 10093 "ui.c" } @@ -10107,13 +10107,13 @@ void user_interface_set_selected_page (UserInterface* self, Page* value) { const gchar* user_interface_get_default_file_name (UserInterface* self) { const gchar* result; const gchar* _tmp0_ = NULL; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_default_file_name; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp0_; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10108 "ui.c" } @@ -10122,17 +10122,17 @@ const gchar* user_interface_get_default_file_name (UserInterface* self) { void user_interface_set_default_file_name (UserInterface* self, const gchar* value) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = value; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup (_tmp0_); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->_default_file_name); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->_default_file_name = _tmp1_; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "default-file-name"); #line 10127 "ui.c" } @@ -10141,13 +10141,13 @@ void user_interface_set_default_file_name (UserInterface* self, const gchar* val gboolean user_interface_get_scanning (UserInterface* self) { gboolean result; gboolean _tmp0_ = FALSE; -#line 192 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 192 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, FALSE); -#line 192 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 192 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->scanning_; -#line 192 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 192 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp0_; -#line 192 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 192 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10142 "ui.c" } @@ -10165,43 +10165,43 @@ void user_interface_set_scanning (UserInterface* self, gboolean value) { gboolean _tmp8_ = FALSE; GtkButton* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 193 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 193 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 195 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 195 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = value; -#line 195 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 195 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->scanning_ = _tmp0_; -#line 196 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 196 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = self->priv->page_delete_menuitem; -#line 196 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 196 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = value; -#line 196 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 196 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp1_, !_tmp2_); -#line 197 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 197 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->stop_scan_menuitem; -#line 197 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 197 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = value; -#line 197 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 197 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, _tmp4_); -#line 198 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 198 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->stop_toolbutton; -#line 198 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 198 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = value; -#line 198 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 198 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_sensitive ((GtkWidget*) _tmp5_, _tmp6_); -#line 199 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 199 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = self->priv->scan_button; -#line 199 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 199 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = value; -#line 199 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 199 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp7_, !_tmp8_); -#line 200 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 200 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->stop_button; -#line 200 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 200 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = value; -#line 200 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 200 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp9_, _tmp10_); -#line 193 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 193 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "scanning"); #line 10196 "ui.c" } @@ -10212,17 +10212,17 @@ gint user_interface_get_brightness (UserInterface* self) { GtkAdjustment* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->brightness_adjustment; -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_adjustment_get_value (_tmp0_); -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = (gint) _tmp2_; -#line 212 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 212 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10217 "ui.c" } @@ -10231,15 +10231,15 @@ gint user_interface_get_brightness (UserInterface* self) { void user_interface_set_brightness (UserInterface* self, gint value) { GtkAdjustment* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->brightness_adjustment; -#line 213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_adjustment_set_value (_tmp0_, (gdouble) _tmp1_); -#line 213 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 213 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "brightness"); #line 10234 "ui.c" } @@ -10250,17 +10250,17 @@ gint user_interface_get_contrast (UserInterface* self) { GtkAdjustment* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->contrast_adjustment; -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_adjustment_get_value (_tmp0_); -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = (gint) _tmp2_; -#line 218 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 218 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10255 "ui.c" } @@ -10269,15 +10269,15 @@ gint user_interface_get_contrast (UserInterface* self) { void user_interface_set_contrast (UserInterface* self, gint value) { GtkAdjustment* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->contrast_adjustment; -#line 219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_adjustment_set_value (_tmp0_, (gdouble) _tmp1_); -#line 219 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 219 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "contrast"); #line 10272 "ui.c" } @@ -10288,17 +10288,17 @@ gint user_interface_get_quality (UserInterface* self) { GtkAdjustment* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0); -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->quality_adjustment; -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_adjustment_get_value (_tmp0_); -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = (gint) _tmp2_; -#line 224 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 224 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10293 "ui.c" } @@ -10307,15 +10307,15 @@ gint user_interface_get_quality (UserInterface* self) { void user_interface_set_quality (UserInterface* self, gint value) { GtkAdjustment* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 225 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 225 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 225 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 225 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->quality_adjustment; -#line 225 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 225 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 225 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 225 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_adjustment_set_value (_tmp0_, (gdouble) _tmp1_); -#line 225 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 225 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "quality"); #line 10310 "ui.c" } @@ -10327,35 +10327,35 @@ gchar* user_interface_get_selected_device (UserInterface* self) { GtkComboBox* _tmp0_ = NULL; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; -#line 230 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 230 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->device_combo; -#line 234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_); -#line 234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 234 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 234 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (_tmp2_) { #line 10330 "ui.c" gchar* device = NULL; GtkListStore* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; -#line 237 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 237 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->device_model; -#line 237 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 237 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = iter; -#line 237 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 237 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_tree_model_get ((GtkTreeModel*) _tmp3_, &_tmp4_, 0, &device, -1, -1); -#line 238 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 238 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = device; -#line 238 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 238 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10344 "ui.c" } -#line 241 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 241 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = NULL; -#line 241 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 241 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10350 "ui.c" } @@ -10368,29 +10368,29 @@ void user_interface_set_selected_device (UserInterface* self, const gchar* value gboolean _tmp2_ = FALSE; GtkComboBox* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; -#line 244 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 244 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 247 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 247 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = value; -#line 247 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 247 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = user_interface_find_scan_device (self, _tmp0_, &_tmp1_); -#line 247 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 247 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" iter = _tmp1_; -#line 247 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 247 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (!_tmp2_) { -#line 248 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 248 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return; #line 10373 "ui.c" } -#line 250 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 250 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->device_combo; -#line 250 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 250 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = iter; -#line 250 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 250 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_combo_box_set_active_iter (_tmp3_, &_tmp4_); -#line 251 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 251 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->user_selected_device = TRUE; -#line 244 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 244 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "selected-device"); #line 10385 "ui.c" } @@ -10400,15 +10400,15 @@ static gchar* user_interface_get_state_filename (UserInterface* self) { gchar* result; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 1875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_get_user_cache_dir (); -#line 1875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_build_filename (_tmp0_, "simple-scan", "state", NULL); -#line 1875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp1_; -#line 1875 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 1875 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 10403 "ui.c" } @@ -10421,25 +10421,25 @@ static void g_cclosure_user_marshal_VOID__STRING_SCAN_OPTIONS (GClosure * closur register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (n_param_values == 3); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data1 = closure->data; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data2 = param_values->data[0].v_pointer; #line 10422 "ui.c" } else { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data1 = param_values->data[0].v_pointer; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data2 = closure->data; #line 10428 "ui.c" } -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" callback = (GMarshalFunc_VOID__STRING_SCAN_OPTIONS) (marshal_data ? marshal_data : cc->callback); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" callback (data1, g_value_get_string (param_values + 1), value_get_scan_options (param_values + 2), data2); #line 10434 "ui.c" } @@ -10452,25 +10452,25 @@ static void g_cclosure_user_marshal_VOID__STRING_INT (GClosure * closure, GValue register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (n_param_values == 3); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data1 = closure->data; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data2 = param_values->data[0].v_pointer; #line 10453 "ui.c" } else { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data1 = param_values->data[0].v_pointer; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" data2 = closure->data; #line 10459 "ui.c" } -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" callback = (GMarshalFunc_VOID__STRING_INT) (marshal_data ? marshal_data : cc->callback); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" callback (data1, g_value_get_string (param_values + 1), g_value_get_int (param_values + 2), data2); #line 10465 "ui.c" } @@ -10478,225 +10478,225 @@ static void g_cclosure_user_marshal_VOID__STRING_INT (GClosure * closure, GValue static void user_interface_class_init (UserInterfaceClass * klass) { gint UserInterface_private_offset; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_parent_class = g_type_class_peek_parent (klass); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_type_class_add_private (klass, sizeof (UserInterfacePrivate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->get_property = _vala_user_interface_get_property; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->set_property = _vala_user_interface_set_property; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->finalize = user_interface_finalize; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_BOOK, param_spec_book ("book", "book", "book", TYPE_BOOK, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_SELECTED_PAGE, param_spec_page ("selected-page", "selected-page", "selected-page", TYPE_PAGE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_DEFAULT_FILE_NAME, g_param_spec_string ("default-file-name", "default-file-name", "default-file-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_SCANNING, g_param_spec_boolean ("scanning", "scanning", "scanning", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_BRIGHTNESS, g_param_spec_int ("brightness", "brightness", "brightness", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_CONTRAST, g_param_spec_int ("contrast", "contrast", "contrast", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_QUALITY, g_param_spec_int ("quality", "quality", "quality", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), USER_INTERFACE_SELECTED_DEVICE, g_param_spec_string ("selected-device", "selected-device", "selected-device", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" UserInterface_private_offset = g_type_class_get_instance_private_offset (klass); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/SimpleScan/simple-scan.ui"); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_new ("start_scan", TYPE_USER_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_SCAN_OPTIONS, G_TYPE_NONE, 2, G_TYPE_STRING, TYPE_SCAN_OPTIONS); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_new ("stop_scan", TYPE_USER_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_new ("email", TYPE_USER_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_INT, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "menubar", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, menubar)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "toolbar", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, toolbar)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_menu", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_menu)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "main_vbox", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, main_vbox)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "custom_crop_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, custom_crop_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "a4_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, a4_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "a5_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, a5_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "a6_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, a6_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "letter_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, letter_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "legal_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, legal_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "four_by_six_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, four_by_six_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "no_crop_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, no_crop_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_move_left_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_move_left_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_move_right_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_move_right_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_delete_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_delete_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "crop_rotate_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, crop_rotate_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "save_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, save_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "save_as_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, save_as_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "copy_to_clipboard_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, copy_to_clipboard_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "save_button", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, save_button)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "save_toolbutton", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, save_toolbutton)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "stop_scan_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, stop_scan_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "stop_toolbutton", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, stop_toolbutton)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "crop_button", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, crop_button)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "crop_toolbutton", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, crop_toolbutton)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "stop_button", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, stop_button)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "scan_button", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, scan_button)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_button_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, text_button_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_button_hb_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, text_button_hb_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, text_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "photo_button_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, photo_button_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "photo_button_hb_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, photo_button_hb_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "photo_menuitem", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, photo_menuitem)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "authorize_dialog", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, authorize_dialog)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "authorize_label", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, authorize_label)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "username_entry", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, username_entry)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "password_entry", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, password_entry)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "preferences_dialog", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, preferences_dialog)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "device_combo", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, device_combo)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_dpi_combo", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, text_dpi_combo)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "photo_dpi_combo", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, photo_dpi_combo)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_side_combo", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_side_combo)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "paper_size_combo", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, paper_size_combo)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "brightness_scale", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, brightness_scale)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "contrast_scale", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, contrast_scale)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "quality_scale", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, quality_scale)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "device_model", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, device_model)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_dpi_model", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, text_dpi_model)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "photo_dpi_model", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, photo_dpi_model)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "page_side_model", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, page_side_model)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "paper_size_model", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, paper_size_model)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "brightness_adjustment", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, brightness_adjustment)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "contrast_adjustment", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, contrast_adjustment)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "quality_adjustment", FALSE, UserInterface_private_offset + G_STRUCT_OFFSET (UserInterfacePrivate, quality_adjustment)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "device_combo_changed_cb", G_CALLBACK(_user_interface_device_combo_changed_cb_gtk_combo_box_changed)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "new_button_clicked_cb", G_CALLBACK(_user_interface_new_button_clicked_cb_gtk_button_clicked)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "text_menuitem_toggled_cb", G_CALLBACK(_user_interface_text_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "photo_menuitem_toggled_cb", G_CALLBACK(_user_interface_photo_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "scan_button_clicked_cb", G_CALLBACK(_user_interface_scan_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "stop_scan_button_clicked_cb", G_CALLBACK(_user_interface_stop_scan_button_clicked_cb_gtk_button_clicked)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "continuous_scan_button_clicked_cb", G_CALLBACK(_user_interface_continuous_scan_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "preferences_button_clicked_cb", G_CALLBACK(_user_interface_preferences_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "preferences_dialog_delete_event_cb", G_CALLBACK(_user_interface_preferences_dialog_delete_event_cb_gtk_widget_delete_event)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "preferences_dialog_response_cb", G_CALLBACK(_user_interface_preferences_dialog_response_cb_gtk_dialog_response)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "rotate_left_button_clicked_cb", G_CALLBACK(_user_interface_rotate_left_button_clicked_cb_gtk_button_clicked)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "rotate_right_button_clicked_cb", G_CALLBACK(_user_interface_rotate_right_button_clicked_cb_gtk_button_clicked)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "no_crop_menuitem_toggled_cb", G_CALLBACK(_user_interface_no_crop_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "custom_crop_menuitem_toggled_cb", G_CALLBACK(_user_interface_custom_crop_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "crop_button_toggled_cb", G_CALLBACK(_user_interface_crop_button_toggled_cb_gtk_toggle_button_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "crop_toolbutton_toggled_cb", G_CALLBACK(_user_interface_crop_toolbutton_toggled_cb_gtk_toggle_tool_button_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "four_by_six_menuitem_toggled_cb", G_CALLBACK(_user_interface_four_by_six_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "legal_menuitem_toggled_cb", G_CALLBACK(_user_interface_legal_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "letter_menuitem_toggled_cb", G_CALLBACK(_user_interface_letter_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "a6_menuitem_toggled_cb", G_CALLBACK(_user_interface_a6_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "a5_menuitem_toggled_cb", G_CALLBACK(_user_interface_a5_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "a4_menuitem_toggled_cb", G_CALLBACK(_user_interface_a4_menuitem_toggled_cb_gtk_check_menu_item_toggled)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "crop_rotate_menuitem_activate_cb", G_CALLBACK(_user_interface_crop_rotate_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "page_move_left_menuitem_activate_cb", G_CALLBACK(_user_interface_page_move_left_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "page_move_right_menuitem_activate_cb", G_CALLBACK(_user_interface_page_move_right_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "page_delete_menuitem_activate_cb", G_CALLBACK(_user_interface_page_delete_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "reorder_menuitem_activate_cb", G_CALLBACK(_user_interface_reorder_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "save_file_button_clicked_cb", G_CALLBACK(_user_interface_save_file_button_clicked_cb_gtk_button_clicked)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "copy_to_clipboard_button_clicked_cb", G_CALLBACK(_user_interface_copy_to_clipboard_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "save_as_file_button_clicked_cb", G_CALLBACK(_user_interface_save_as_file_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "email_button_clicked_cb", G_CALLBACK(_user_interface_email_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "print_button_clicked_cb", G_CALLBACK(_user_interface_print_button_clicked_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "help_contents_menuitem_activate_cb", G_CALLBACK(_user_interface_help_contents_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "about_menuitem_activate_cb", G_CALLBACK(_user_interface_about_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "quit_menuitem_activate_cb", G_CALLBACK(_user_interface_quit_menuitem_activate_cb_gtk_menu_item_activate)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "simple_scan_window_configure_event_cb", G_CALLBACK(_user_interface_simple_scan_window_configure_event_cb_gtk_widget_configure_event)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "simple_scan_window_window_state_event_cb", G_CALLBACK(_user_interface_simple_scan_window_window_state_event_cb_gtk_widget_window_state_event)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "window_delete_event_cb", G_CALLBACK(_user_interface_window_delete_event_cb_gtk_widget_delete_event)); #line 10691 "ui.c" } @@ -10706,23 +10706,23 @@ static void user_interface_instance_init (UserInterface * self) { gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv = USER_INTERFACE_GET_PRIVATE (self); -#line 163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->book_uri = NULL; -#line 186 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 186 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = g_strdup ("photo"); -#line 186 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 186 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->document_hint = _tmp0_; -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = _ ("Scanned Document.pdf"); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = g_strdup (_tmp1_); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->_default_file_name = _tmp2_; -#line 189 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 189 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->scanning_ = FALSE; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_init_template (GTK_WIDGET (self)); #line 10717 "ui.c" } @@ -10736,167 +10736,167 @@ static void user_interface_finalize (GObject* obj) { guint _tmp3_ = 0U; Book* _tmp4_ = NULL; guint _tmp5_ = 0U; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_USER_INTERFACE, UserInterface); -#line 286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->_book; -#line 286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("page-added", TYPE_BOOK, &_tmp1_, NULL, FALSE); -#line 286 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 286 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _user_interface_page_added_cb_book_page_added, self); -#line 287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = self->priv->_book; -#line 287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("reordered", TYPE_BOOK, &_tmp3_, NULL, FALSE); -#line 287 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 287 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _user_interface_reordered_cb_book_reordered, self); -#line 288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->_book; -#line 288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_parse_name ("page-removed", TYPE_BOOK, &_tmp5_, NULL, FALSE); -#line 288 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 288 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _user_interface_page_removed_cb_book_page_removed, self); -#line 33 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 33 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->settings); -#line 36 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 36 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->menubar); -#line 38 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 38 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->toolbar); -#line 40 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 40 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_menu); -#line 42 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 42 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->main_vbox); -#line 43 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 43 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar); -#line 44 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 44 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_image); -#line 45 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 45 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_label); -#line 46 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 46 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_close_button); -#line 47 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 47 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->info_bar_change_scanner_button); -#line 49 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 49 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->custom_crop_menuitem); -#line 51 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 51 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->a4_menuitem); -#line 53 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 53 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->a5_menuitem); -#line 55 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 55 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->a6_menuitem); -#line 57 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 57 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->letter_menuitem); -#line 59 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 59 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->legal_menuitem); -#line 61 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 61 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->four_by_six_menuitem); -#line 63 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 63 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->no_crop_menuitem); -#line 65 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 65 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_move_left_menuitem); -#line 67 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 67 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_move_right_menuitem); -#line 69 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 69 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_delete_menuitem); -#line 71 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 71 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->crop_rotate_menuitem); -#line 73 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 73 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_menuitem); -#line 75 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 75 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_as_menuitem); -#line 77 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 77 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->copy_to_clipboard_menuitem); -#line 79 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 79 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_button); -#line 81 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 81 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_toolbutton); -#line 83 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 83 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->stop_scan_menuitem); -#line 85 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 85 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->stop_toolbutton); -#line 87 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 87 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->crop_button); -#line 89 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 89 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->crop_toolbutton); -#line 91 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 91 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->stop_button); -#line 93 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 93 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->scan_button); -#line 96 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 96 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->text_button_menuitem); -#line 98 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 98 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->text_button_hb_menuitem); -#line 100 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 100 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->text_menuitem); -#line 102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->photo_button_menuitem); -#line 104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->photo_button_hb_menuitem); -#line 106 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 106 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->photo_menuitem); -#line 109 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 109 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->authorize_dialog); -#line 111 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 111 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->authorize_label); -#line 113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->username_entry); -#line 115 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 115 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->password_entry); -#line 118 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 118 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->preferences_dialog); -#line 120 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 120 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->device_combo); -#line 122 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 122 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->text_dpi_combo); -#line 124 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 124 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->photo_dpi_combo); -#line 126 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 126 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_side_combo); -#line 128 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 128 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->paper_size_combo); -#line 130 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 130 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->brightness_scale); -#line 132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->contrast_scale); -#line 134 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 134 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->quality_scale); -#line 136 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 136 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->device_model); -#line 138 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 138 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->text_dpi_model); -#line 140 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 140 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->photo_dpi_model); -#line 142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->page_side_model); -#line 144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->paper_size_model); -#line 146 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 146 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->brightness_adjustment); -#line 148 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 148 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->contrast_adjustment); -#line 150 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 150 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->quality_adjustment); -#line 154 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 154 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->save_dialog); -#line 155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->progress_dialog); -#line 158 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 158 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_title); -#line 159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->error_text); -#line 162 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 162 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _book_unref0 (self->priv->_book); -#line 163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->book_uri); -#line 177 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 177 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _autosave_manager_unref0 (self->priv->autosave_manager); -#line 179 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 179 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->book_view); -#line 186 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 186 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->document_hint); -#line 188 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 188 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->_default_file_name); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (user_interface_parent_class)->finalize (obj); #line 10891 "ui.c" } @@ -10917,61 +10917,61 @@ GType user_interface_get_type (void) { static void _vala_user_interface_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { UserInterface * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_USER_INTERFACE, UserInterface); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (property_id) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_BOOK: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" value_set_book (value, user_interface_get_book (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SELECTED_PAGE: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" value_set_page (value, user_interface_get_selected_page (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_DEFAULT_FILE_NAME: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_string (value, user_interface_get_default_file_name (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SCANNING: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_boolean (value, user_interface_get_scanning (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_BRIGHTNESS: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_int (value, user_interface_get_brightness (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_CONTRAST: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_int (value, user_interface_get_contrast (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_QUALITY: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_int (value, user_interface_get_quality (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SELECTED_DEVICE: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_take_string (value, user_interface_get_selected_device (self)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 10960 "ui.c" default: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 10966 "ui.c" } @@ -10981,61 +10981,61 @@ static void _vala_user_interface_get_property (GObject * object, guint property_ static void _vala_user_interface_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { UserInterface * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_USER_INTERFACE, UserInterface); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (property_id) { -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_BOOK: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_book (self, value_get_book (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SELECTED_PAGE: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_selected_page (self, value_get_page (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_DEFAULT_FILE_NAME: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_default_file_name (self, g_value_get_string (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SCANNING: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_scanning (self, g_value_get_boolean (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_BRIGHTNESS: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_brightness (self, g_value_get_int (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_CONTRAST: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_contrast (self, g_value_get_int (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_QUALITY: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_quality (self, g_value_get_int (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case USER_INTERFACE_SELECTED_DEVICE: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" user_interface_set_selected_device (self, g_value_get_string (value)); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11024 "ui.c" default: -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 14 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 14 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11030 "ui.c" } @@ -11056,90 +11056,90 @@ ProgressBarDialog* progress_bar_dialog_construct (GType object_type, GtkApplicat const gchar* _tmp7_ = NULL; GtkApplicationWindow* _tmp8_ = NULL; GtkProgressBar* _tmp9_ = NULL; -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (parent != NULL, NULL); -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (title != NULL, NULL); -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (ProgressBarDialog*) g_object_new (object_type, NULL); -#line 2068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = (GtkProgressBar*) gtk_progress_bar_new (); -#line 2068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp0_); -#line 2068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->bar); -#line 2068 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2068 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->bar = _tmp0_; -#line 2069 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2069 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); -#line 2069 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2069 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp1_); -#line 2069 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2069 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" hbox = _tmp1_; -#line 2070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); -#line 2070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_ref_sink (_tmp2_); -#line 2070 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2070 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" vbox = _tmp2_; -#line 2071 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2071 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_hexpand ((GtkWidget*) hbox, TRUE); -#line 2073 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2073 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = self->priv->bar; -#line 2073 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2073 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_progress_bar_set_text (_tmp3_, ""); -#line 2074 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2074 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = self->priv->bar; -#line 2074 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2074 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_progress_bar_set_show_text (_tmp4_, TRUE); -#line 2075 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2075 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = self->priv->bar; -#line 2075 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2075 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_size_request ((GtkWidget*) _tmp5_, 225, 25); -#line 2076 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2076 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_size_request ((GtkWidget*) self, 250, 50); -#line 2078 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2078 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = self->priv->bar; -#line 2078 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2078 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (vbox, (GtkWidget*) _tmp6_, TRUE, FALSE, (guint) 0); -#line 2079 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2079 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_box_pack_start (hbox, (GtkWidget*) vbox, TRUE, FALSE, (guint) 0); -#line 2080 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2080 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_container_add ((GtkContainer*) self, (GtkWidget*) hbox); -#line 2081 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2081 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = title; -#line 2081 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2081 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_title ((GtkWindow*) self, _tmp7_); -#line 2083 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2083 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = parent; -#line 2083 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2083 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_transient_for ((GtkWindow*) self, (GtkWindow*) _tmp8_); -#line 2084 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2084 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_position ((GtkWindow*) self, GTK_WIN_POS_CENTER_ON_PARENT); -#line 2085 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2085 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_modal ((GtkWindow*) self, TRUE); -#line 2086 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2086 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_window_set_resizable ((GtkWindow*) self, FALSE); -#line 2088 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2088 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) hbox, TRUE); -#line 2089 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2089 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) vbox, TRUE); -#line 2090 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2090 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = self->priv->bar; -#line 2090 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2090 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_widget_set_visible ((GtkWidget*) _tmp9_, TRUE); -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (vbox); -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (hbox); -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self; #line 11127 "ui.c" } ProgressBarDialog* progress_bar_dialog_new (GtkApplicationWindow* parent, const gchar* title) { -#line 2066 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2066 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return progress_bar_dialog_construct (TYPE_PROGRESS_BAR_DIALOG, parent, title); #line 11134 "ui.c" } @@ -11150,17 +11150,17 @@ gdouble progress_bar_dialog_get_fraction (ProgressBarDialog* self) { GtkProgressBar* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, 0.0); -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->bar; -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_progress_bar_get_fraction (_tmp0_); -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp2_; -#line 2056 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2056 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 11155 "ui.c" } @@ -11169,15 +11169,15 @@ gdouble progress_bar_dialog_get_fraction (ProgressBarDialog* self) { void progress_bar_dialog_set_fraction (ProgressBarDialog* self, gdouble value) { GtkProgressBar* _tmp0_ = NULL; gdouble _tmp1_ = 0.0; -#line 2057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->bar; -#line 2057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 2057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_progress_bar_set_fraction (_tmp0_, _tmp1_); -#line 2057 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2057 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "fraction"); #line 11172 "ui.c" } @@ -11188,17 +11188,17 @@ const gchar* progress_bar_dialog_get_message (ProgressBarDialog* self) { GtkProgressBar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (self != NULL, NULL); -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->bar; -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_progress_bar_get_text (_tmp0_); -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = _tmp1_; -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = _tmp2_; -#line 2062 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2062 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 11193 "ui.c" } @@ -11207,41 +11207,41 @@ const gchar* progress_bar_dialog_get_message (ProgressBarDialog* self) { void progress_bar_dialog_set_message (ProgressBarDialog* self, const gchar* value) { GtkProgressBar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 2063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_if_fail (self != NULL); -#line 2063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = self->priv->bar; -#line 2063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = value; -#line 2063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" gtk_progress_bar_set_text (_tmp0_, _tmp1_); -#line 2063 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2063 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_notify ((GObject *) self, "message"); #line 11210 "ui.c" } static void progress_bar_dialog_class_init (ProgressBarDialogClass * klass) { -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" progress_bar_dialog_parent_class = g_type_class_peek_parent (klass); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_type_class_add_private (klass, sizeof (ProgressBarDialogPrivate)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->get_property = _vala_progress_bar_dialog_get_property; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->set_property = _vala_progress_bar_dialog_set_property; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->finalize = progress_bar_dialog_finalize; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), PROGRESS_BAR_DIALOG_FRACTION, g_param_spec_double ("fraction", "fraction", "fraction", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), PROGRESS_BAR_DIALOG_MESSAGE, g_param_spec_string ("message", "message", "message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); #line 11229 "ui.c" } static void progress_bar_dialog_instance_init (ProgressBarDialog * self) { -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv = PROGRESS_BAR_DIALOG_GET_PRIVATE (self); #line 11236 "ui.c" } @@ -11249,11 +11249,11 @@ static void progress_bar_dialog_instance_init (ProgressBarDialog * self) { static void progress_bar_dialog_finalize (GObject* obj) { ProgressBarDialog * self; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROGRESS_BAR_DIALOG, ProgressBarDialog); -#line 2052 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2052 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_object_unref0 (self->priv->bar); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (progress_bar_dialog_parent_class)->finalize (obj); #line 11248 "ui.c" } @@ -11274,25 +11274,25 @@ GType progress_bar_dialog_get_type (void) { static void _vala_progress_bar_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { ProgressBarDialog * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_PROGRESS_BAR_DIALOG, ProgressBarDialog); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (property_id) { -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case PROGRESS_BAR_DIALOG_FRACTION: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_double (value, progress_bar_dialog_get_fraction (self)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case PROGRESS_BAR_DIALOG_MESSAGE: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_value_set_string (value, progress_bar_dialog_get_message (self)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11281 "ui.c" default: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11287 "ui.c" } @@ -11302,25 +11302,25 @@ static void _vala_progress_bar_dialog_get_property (GObject * object, guint prop static void _vala_progress_bar_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { ProgressBarDialog * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_PROGRESS_BAR_DIALOG, ProgressBarDialog); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" switch (property_id) { -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case PROGRESS_BAR_DIALOG_FRACTION: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" progress_bar_dialog_set_fraction (self, g_value_get_double (value)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" case PROGRESS_BAR_DIALOG_MESSAGE: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" progress_bar_dialog_set_message (self, g_value_get_string (value)); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11309 "ui.c" default: -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 2050 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2050 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" break; #line 11315 "ui.c" } @@ -11335,17 +11335,17 @@ gchar* get_temporary_filename (const gchar* prefix, const gchar* extension) { gchar* _tmp2_ = NULL; gchar* path = NULL; GError * _inner_error_ = NULL; -#line 2095 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2095 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (prefix != NULL, NULL); -#line 2095 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2095 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (extension != NULL, NULL); -#line 2100 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2100 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = prefix; -#line 2100 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2100 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = extension; -#line 2100 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2100 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = g_strdup_printf ("%sXXXXXX.%s", _tmp0_, _tmp1_); -#line 2100 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2100 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" filename = _tmp2_; #line 11340 "ui.c" { @@ -11354,24 +11354,24 @@ gchar* get_temporary_filename (const gchar* prefix, const gchar* extension) { gchar* _tmp4_ = NULL; gint _tmp5_ = 0; gint _tmp6_ = 0; -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = filename; -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = g_file_open_tmp (_tmp3_, &_tmp4_, &_inner_error_); -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" path = _tmp4_; -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" fd = _tmp5_; -#line 2104 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2104 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 11359 "ui.c" goto __catch26_g_error; } -#line 2105 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2105 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = fd; -#line 2105 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2105 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" close (_tmp6_); #line 11366 "ui.c" } @@ -11381,48 +11381,48 @@ gchar* get_temporary_filename (const gchar* prefix, const gchar* extension) { GError* e = NULL; GError* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" e = _inner_error_; -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _inner_error_ = NULL; -#line 2109 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2109 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = e; -#line 2109 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2109 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = _tmp7_->message; -#line 2109 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2109 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_warning ("ui.vala:2109: Error saving email attachment: %s", _tmp8_); -#line 2110 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2110 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = NULL; -#line 2110 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2110 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_error_free0 (e); -#line 2110 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2110 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 2110 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2110 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 2110 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2110 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 11394 "ui.c" } __finally26: -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (path); -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.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 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_clear_error (&_inner_error_); -#line 2102 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2102 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return NULL; #line 11409 "ui.c" } -#line 2113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = path; -#line 2113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (filename); -#line 2113 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2113 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 11417 "ui.c" } @@ -11435,38 +11435,38 @@ PageIcon* page_icon_construct (GType object_type, const gchar* text, gdouble r, gdouble _tmp2_ = 0.0; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; -#line 2124 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2124 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (text != NULL, NULL); -#line 2124 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2124 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) g_object_new (object_type, NULL); -#line 2126 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2126 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = text; -#line 2126 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2126 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = g_strdup (_tmp0_); -#line 2126 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2126 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->text); -#line 2126 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2126 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->text = _tmp1_; -#line 2127 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2127 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = r; -#line 2127 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2127 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->r = _tmp2_; -#line 2128 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2128 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = g; -#line 2128 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2128 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->g = _tmp3_; -#line 2129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = b; -#line 2129 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2129 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv->b = _tmp4_; -#line 2124 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2124 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return self; #line 11454 "ui.c" } PageIcon* page_icon_new (const gchar* text, gdouble r, gdouble g, gdouble b) { -#line 2124 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2124 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return page_icon_construct (TYPE_PAGE_ICON, text, r, g, b); #line 11461 "ui.c" } @@ -11476,21 +11476,21 @@ static void page_icon_real_get_preferred_width (GtkWidget* base, gint* minimum_w PageIcon * self; gint _vala_minimum_width = 0; gint _vala_natural_width = 0; -#line 2132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) base; -#line 2134 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2134 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_natural_width = PAGE_ICON_MINIMUM_WIDTH; -#line 2134 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2134 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_minimum_width = _vala_natural_width; -#line 2132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (minimum_width) { -#line 2132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *minimum_width = _vala_minimum_width; #line 11479 "ui.c" } -#line 2132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (natural_width) { -#line 2132 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2132 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *natural_width = _vala_natural_width; #line 11485 "ui.c" } @@ -11502,23 +11502,23 @@ static void page_icon_real_get_preferred_height (GtkWidget* base, gint* minimum_ gint _vala_minimum_height = 0; gint _vala_natural_height = 0; gdouble _tmp0_ = 0.0; -#line 2137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) base; -#line 2139 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2139 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = round (PAGE_ICON_MINIMUM_WIDTH * G_SQRT2); -#line 2139 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2139 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_natural_height = (gint) _tmp0_; -#line 2139 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2139 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_minimum_height = _vala_natural_height; -#line 2137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (minimum_height) { -#line 2137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *minimum_height = _vala_minimum_height; #line 11507 "ui.c" } -#line 2137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (natural_height) { -#line 2137 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2137 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *natural_height = _vala_natural_height; #line 11513 "ui.c" } @@ -11530,23 +11530,23 @@ static void page_icon_real_get_preferred_height_for_width (GtkWidget* base, gint gint _vala_minimum_height = 0; gint _vala_natural_height = 0; gint _tmp0_ = 0; -#line 2142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) base; -#line 2144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = width; -#line 2144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_natural_height = (gint) (_tmp0_ * G_SQRT2); -#line 2144 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2144 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_minimum_height = _vala_natural_height; -#line 2142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (minimum_height) { -#line 2142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *minimum_height = _vala_minimum_height; #line 11535 "ui.c" } -#line 2142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (natural_height) { -#line 2142 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2142 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *natural_height = _vala_natural_height; #line 11541 "ui.c" } @@ -11558,23 +11558,23 @@ static void page_icon_real_get_preferred_width_for_height (GtkWidget* base, gint gint _vala_minimum_width = 0; gint _vala_natural_width = 0; gint _tmp0_ = 0; -#line 2147 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2147 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) base; -#line 2149 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2149 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = height; -#line 2149 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2149 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_natural_width = (gint) (_tmp0_ / G_SQRT2); -#line 2149 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2149 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _vala_minimum_width = _vala_natural_width; -#line 2147 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2147 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (minimum_width) { -#line 2147 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2147 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *minimum_width = _vala_minimum_width; #line 11563 "ui.c" } -#line 2147 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2147 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if (natural_width) { -#line 2147 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2147 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" *natural_width = _vala_natural_width; #line 11569 "ui.c" } @@ -11619,152 +11619,152 @@ static gboolean page_icon_real_draw (GtkWidget* base, cairo_t* c) { gdouble _tmp33_ = 0.0; cairo_t* _tmp34_ = NULL; const gchar* _tmp35_ = NULL; -#line 2152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = (PageIcon*) base; -#line 2152 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2152 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_return_val_if_fail (c != NULL, FALSE); -#line 2154 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2154 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp0_ = gtk_widget_get_allocated_width ((GtkWidget*) self); -#line 2154 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2154 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" w = _tmp0_; -#line 2155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp1_ = gtk_widget_get_allocated_height ((GtkWidget*) self); -#line 2155 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2155 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" h = _tmp1_; -#line 2156 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2156 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp2_ = w; -#line 2156 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2156 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp3_ = h; -#line 2156 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2156 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" if ((_tmp2_ * G_SQRT2) > ((gdouble) _tmp3_)) { #line 11630 "ui.c" gint _tmp4_ = 0; gdouble _tmp5_ = 0.0; -#line 2157 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2157 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp4_ = h; -#line 2157 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2157 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp5_ = round (_tmp4_ / G_SQRT2); -#line 2157 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2157 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" w = (gint) _tmp5_; #line 11639 "ui.c" } else { gint _tmp6_ = 0; gdouble _tmp7_ = 0.0; -#line 2159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp6_ = w; -#line 2159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp7_ = round (_tmp6_ * G_SQRT2); -#line 2159 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2159 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" h = (gint) _tmp7_; #line 11649 "ui.c" } -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp8_ = c; -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp9_ = gtk_widget_get_allocated_width ((GtkWidget*) self); -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp10_ = w; -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp11_ = gtk_widget_get_allocated_height ((GtkWidget*) self); -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp12_ = h; -#line 2161 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2161 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_translate (_tmp8_, (gdouble) ((_tmp9_ - _tmp10_) / 2), (gdouble) ((_tmp11_ - _tmp12_) / 2)); -#line 2163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp13_ = c; -#line 2163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp14_ = w; -#line 2163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp15_ = h; -#line 2163 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2163 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_rectangle (_tmp13_, 0.5, 0.5, (gdouble) (_tmp14_ - 1), (gdouble) (_tmp15_ - 1)); -#line 2165 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2165 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp16_ = c; -#line 2165 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2165 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp17_ = self->priv->r; -#line 2165 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2165 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp18_ = self->priv->g; -#line 2165 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2165 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp19_ = self->priv->b; -#line 2165 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2165 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_set_source_rgb (_tmp16_, _tmp17_, _tmp18_, _tmp19_); -#line 2166 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2166 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp20_ = c; -#line 2166 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2166 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_fill_preserve (_tmp20_); -#line 2168 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2168 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp21_ = c; -#line 2168 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2168 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_set_line_width (_tmp21_, 1.0); -#line 2169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp22_ = c; -#line 2169 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2169 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_set_source_rgb (_tmp22_, 0.0, 0.0, 0.0); -#line 2170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp23_ = c; -#line 2170 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2170 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_stroke (_tmp23_); -#line 2173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp24_ = c; -#line 2173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp25_ = self->priv->text; -#line 2173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_text_extents (_tmp24_, _tmp25_, &_tmp26_); -#line 2173 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2173 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" extents = _tmp26_; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp27_ = c; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp28_ = w; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp29_ = extents; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp30_ = _tmp29_.width; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp31_ = h; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp32_ = extents; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp33_ = _tmp32_.height; -#line 2174 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2174 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_translate (_tmp27_, ((_tmp28_ - _tmp30_) * 0.5) - 0.5, ((_tmp31_ + _tmp33_) * 0.5) - 0.5); -#line 2175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp34_ = c; -#line 2175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _tmp35_ = self->priv->text; -#line 2175 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2175 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" cairo_show_text (_tmp34_, _tmp35_); -#line 2177 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2177 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" result = TRUE; -#line 2177 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2177 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" return result; #line 11731 "ui.c" } static void page_icon_class_init (PageIconClass * klass) { -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" page_icon_parent_class = g_type_class_peek_parent (klass); -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" g_type_class_add_private (klass, sizeof (PageIconPrivate)); -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" ((GtkWidgetClass *) klass)->get_preferred_width = page_icon_real_get_preferred_width; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" ((GtkWidgetClass *) klass)->get_preferred_height = page_icon_real_get_preferred_height; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" ((GtkWidgetClass *) klass)->get_preferred_height_for_width = page_icon_real_get_preferred_height_for_width; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" ((GtkWidgetClass *) klass)->get_preferred_width_for_height = page_icon_real_get_preferred_width_for_height; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" ((GtkWidgetClass *) klass)->draw = page_icon_real_draw; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (klass)->finalize = page_icon_finalize; #line 11752 "ui.c" } static void page_icon_instance_init (PageIcon * self) { -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self->priv = PAGE_ICON_GET_PRIVATE (self); #line 11759 "ui.c" } @@ -11772,11 +11772,11 @@ static void page_icon_instance_init (PageIcon * self) { static void page_icon_finalize (GObject* obj) { PageIcon * self; -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PAGE_ICON, PageIcon); -#line 2118 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2118 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" _g_free0 (self->priv->text); -#line 2116 "/home/bob/bzr/simple-scan/3.16/src/ui.vala" +#line 2116 "/home/bob/bzr/simple-scan/trunk/src/ui.vala" G_OBJECT_CLASS (page_icon_parent_class)->finalize (obj); #line 11771 "ui.c" } |