vala-terminal (1.3-3) remove-autogenerated-files.patch

Summary

 src/mainwindow.c | 1513 -------------------------------------------------------
 src/terminal.c   |  569 --------------------
 2 files changed, 2082 deletions(-)

    
download this patch

Patch contents

Description: remove autogenerated files
 This patch removes all autogenerated files.
Author: Sebastian Reichel <sre@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2011-12-14

--- vala-terminal-1.3.orig/src/mainwindow.c
+++ /dev/null
@@ -1,1513 +0,0 @@
-/* mainwindow.c generated by valac 0.14.1, the Vala compiler
- * generated from mainwindow.vala, do not modify */
-
-/*
- * Vala-Terminal -- a lightweight terminal program
- *
- * (C) 2007-2011 Michael 'Mickey' Lauer <mickey@vanille-media.de>
- * (C) 2009 Aapo Rantalainen
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
- */
-
-#include <glib.h>
-#include <glib-object.h>
-#include <gtk/gtk.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
-
-#define VALA_TERMINAL2_TYPE_MAIN_WINDOW (vala_terminal2_main_window_get_type ())
-#define VALA_TERMINAL2_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TERMINAL2_TYPE_MAIN_WINDOW, ValaTerminal2MainWindow))
-#define VALA_TERMINAL2_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TERMINAL2_TYPE_MAIN_WINDOW, ValaTerminal2MainWindowClass))
-#define VALA_TERMINAL2_IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TERMINAL2_TYPE_MAIN_WINDOW))
-#define VALA_TERMINAL2_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TERMINAL2_TYPE_MAIN_WINDOW))
-#define VALA_TERMINAL2_MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TERMINAL2_TYPE_MAIN_WINDOW, ValaTerminal2MainWindowClass))
-
-typedef struct _ValaTerminal2MainWindow ValaTerminal2MainWindow;
-typedef struct _ValaTerminal2MainWindowClass ValaTerminal2MainWindowClass;
-typedef struct _ValaTerminal2MainWindowPrivate ValaTerminal2MainWindowPrivate;
-#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
-#define _g_free0(var) (var = (g_free (var), NULL))
-
-#define VALA_TERMINAL2_TYPE_MOKO_TERMINAL (vala_terminal2_moko_terminal_get_type ())
-#define VALA_TERMINAL2_MOKO_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminal))
-#define VALA_TERMINAL2_MOKO_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminalClass))
-#define VALA_TERMINAL2_IS_MOKO_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL))
-#define VALA_TERMINAL2_IS_MOKO_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TERMINAL2_TYPE_MOKO_TERMINAL))
-#define VALA_TERMINAL2_MOKO_TERMINAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminalClass))
-
-typedef struct _ValaTerminal2MokoTerminal ValaTerminal2MokoTerminal;
-typedef struct _ValaTerminal2MokoTerminalClass ValaTerminal2MokoTerminalClass;
-
-struct _ValaTerminal2MainWindow {
-	GtkWindow parent_instance;
-	ValaTerminal2MainWindowPrivate * priv;
-};
-
-struct _ValaTerminal2MainWindowClass {
-	GtkWindowClass parent_class;
-};
-
-struct _ValaTerminal2MainWindowPrivate {
-	GtkBox* box;
-	GtkBox* toolbar;
-	GtkNotebook* notebook;
-	GtkToolButton* btn_new;
-	GtkToolButton* btn_delete;
-	GtkToolButton* btn_zoom_in;
-	GtkToolButton* btn_zoom_out;
-	GtkToolButton* btn_paste;
-	GtkToolButton* btn_prev_tab;
-	GtkToolButton* btn_next_tab;
-	GtkLabel* tab_counter;
-	GtkToolButton* btn_rotate;
-	GtkToolButton* btn_fullscreen;
-	gboolean vertical;
-	gboolean fullscreen_;
-};
-
-
-static gpointer vala_terminal2_main_window_parent_class = NULL;
-static gchar* vala_terminal2_main_window_initial_command;
-static gchar* vala_terminal2_main_window_initial_command = NULL;
-static gchar** vala_terminal2_main_window_initial_command_line;
-static gint vala_terminal2_main_window_initial_command_line_length1;
-static gchar** vala_terminal2_main_window_initial_command_line = NULL;
-static gint vala_terminal2_main_window_initial_command_line_length1 = 0;
-static gint _vala_terminal2_main_window_initial_command_line_size_ = 0;
-static gchar* vala_terminal2_main_window_hack_command;
-static gchar* vala_terminal2_main_window_hack_command = NULL;
-extern gint vala_terminal2_moko_terminal_starting_width;
-extern gint vala_terminal2_moko_terminal_starting_height;
-
-#define DEFAULT_FONTSIZE ((guint) 5)
-#define DEFAULT_START_VERTICAL FALSE
-GType vala_terminal2_main_window_get_type (void) G_GNUC_CONST;
-#define VALA_TERMINAL2_MAIN_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TERMINAL2_TYPE_MAIN_WINDOW, ValaTerminal2MainWindowPrivate))
-enum  {
-	VALA_TERMINAL2_MAIN_WINDOW_DUMMY_PROPERTY
-};
-#define VALA_TERMINAL2_MAIN_WINDOW_default_title "Terminal"
-ValaTerminal2MainWindow* vala_terminal2_main_window_new (gboolean start_vertical, gboolean start_fullscreen);
-ValaTerminal2MainWindow* vala_terminal2_main_window_construct (GType object_type, gboolean start_vertical, gboolean start_fullscreen);
-static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self);
-void vala_terminal2_main_window_setup_toolbar (ValaTerminal2MainWindow* self);
-void vala_terminal2_main_window_setup_notebook (ValaTerminal2MainWindow* self);
-static void __lambda3_ (ValaTerminal2MainWindow* self, GtkNotebook* o, GtkWidget* page, guint num);
-void vala_terminal2_main_window_update_toolbar (ValaTerminal2MainWindow* self);
-static void vala_terminal2_main_window_update_title (ValaTerminal2MainWindow* self);
-static void ___lambda3__gtk_notebook_page_removed (GtkNotebook* _sender, GtkWidget* p0, guint p1, gpointer self);
-void vala_terminal2_main_window_setup_command (ValaTerminal2MainWindow* self, const gchar* command);
-static void vala_terminal2_main_window_on_new_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_new_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_delete_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_delete_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_zoom_in_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_zoom_in_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_zoom_out_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_zoom_out_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_paste_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_paste_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_prev_tab_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_prev_tab_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_next_tab_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_next_tab_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_rotate_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_rotate_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-static void vala_terminal2_main_window_on_fullscreen_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b);
-static void _vala_terminal2_main_window_on_fullscreen_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
-GType vala_terminal2_moko_terminal_get_type (void) G_GNUC_CONST;
-static ValaTerminal2MokoTerminal* vala_terminal2_main_window_add_new_terminal (ValaTerminal2MainWindow* self);
-void vala_terminal2_moko_terminal_paste_command (ValaTerminal2MokoTerminal* self, const gchar* command);
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_new (void);
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_construct (GType object_type);
-static void vala_terminal2_main_window_on_title_changed (ValaTerminal2MainWindow* self, ValaTerminal2MokoTerminal* terminal);
-static void _vala_terminal2_main_window_on_title_changed_vala_terminal2_moko_terminal_title_changed (ValaTerminal2MokoTerminal* _sender, gpointer self);
-void vala_terminal2_moko_terminal_zoom_in (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_zoom_out (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_paste (ValaTerminal2MokoTerminal* self);
-gchar* vala_terminal2_moko_terminal_get_title (ValaTerminal2MokoTerminal* self);
-guint vala_terminal2_moko_terminal_get_font_size (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_main_window_run (ValaTerminal2MainWindow* self);
-static gint vala_terminal2_main_window_main (gchar** args, int args_length1);
-void vala_terminal2_moko_terminal_set_fore_color (guint r, guint g, guint b);
-void vala_terminal2_moko_terminal_set_back_color (guint r, guint g, guint b);
-void vala_terminal2_moko_terminal_set_font (const gchar* font);
-void vala_terminal2_moko_terminal_set_starting_fontsize (guint size);
-static void vala_terminal2_main_window_finalize (GObject* obj);
-
-static const GOptionEntry VALA_TERMINAL2_MAIN_WINDOW_options[3] = {{"command", 'e', 0, G_OPTION_ARG_STRING, &vala_terminal2_main_window_initial_command, "Execute COMMAND inside the terminal.", "COMMAND"}, {"", 'x', 0, G_OPTION_ARG_STRING_ARRAY, &vala_terminal2_main_window_initial_command_line, "Execute remainder of command line inside the terminal.", "COMMANDS"}, {NULL}};
-
-static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self) {
-	gtk_main_quit ();
-}
-
-
-static void __lambda3_ (ValaTerminal2MainWindow* self, GtkNotebook* o, GtkWidget* page, guint num) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	gint _tmp2_ = 0;
-	g_return_if_fail (o != NULL);
-	g_return_if_fail (page != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_page_removed\n");
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = gtk_notebook_get_n_pages (_tmp1_);
-	if (_tmp2_ == 0) {
-		gtk_main_quit ();
-	} else {
-		vala_terminal2_main_window_update_toolbar (self);
-		vala_terminal2_main_window_update_title (self);
-	}
-}
-
-
-static void ___lambda3__gtk_notebook_page_removed (GtkNotebook* _sender, GtkWidget* p0, guint p1, gpointer self) {
-	__lambda3_ (self, _sender, p0, p1);
-}
-
-
-ValaTerminal2MainWindow* vala_terminal2_main_window_construct (GType object_type, gboolean start_vertical, gboolean start_fullscreen) {
-	ValaTerminal2MainWindow * self = NULL;
-	gboolean _tmp0_;
-	gboolean _tmp1_;
-	gboolean _tmp2_;
-	GtkBox* _tmp15_;
-	GtkBox* _tmp16_;
-	GtkNotebook* _tmp17_;
-	GtkNotebook* _tmp18_;
-	gboolean _tmp19_;
-	self = (ValaTerminal2MainWindow*) g_object_new (object_type, NULL);
-	gtk_window_set_title ((GtkWindow*) self, VALA_TERMINAL2_MAIN_WINDOW_default_title);
-	g_signal_connect ((GtkObject*) self, "destroy", (GCallback) _gtk_main_quit_gtk_object_destroy, NULL);
-	_tmp0_ = start_vertical;
-	self->priv->vertical = _tmp0_;
-	_tmp1_ = start_fullscreen;
-	self->priv->fullscreen_ = _tmp1_;
-	vala_terminal2_main_window_setup_toolbar (self);
-	vala_terminal2_main_window_setup_notebook (self);
-	_tmp2_ = self->priv->vertical;
-	if (_tmp2_) {
-		GtkHBox* _tmp3_;
-		GtkBox* _tmp4_;
-		GtkBox* _tmp5_;
-		GtkNotebook* _tmp6_;
-		GtkBox* _tmp7_;
-		GtkBox* _tmp8_;
-		_tmp3_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
-		_tmp4_ = (GtkBox*) g_object_ref_sink (_tmp3_);
-		_g_object_unref0 (self->priv->box);
-		self->priv->box = _tmp4_;
-		_tmp5_ = self->priv->box;
-		_tmp6_ = self->priv->notebook;
-		gtk_box_pack_start (_tmp5_, (GtkWidget*) _tmp6_, TRUE, TRUE, (guint) 0);
-		_tmp7_ = self->priv->box;
-		_tmp8_ = self->priv->toolbar;
-		gtk_box_pack_start (_tmp7_, (GtkWidget*) _tmp8_, FALSE, FALSE, (guint) 0);
-	} else {
-		GtkVBox* _tmp9_;
-		GtkBox* _tmp10_;
-		GtkBox* _tmp11_;
-		GtkNotebook* _tmp12_;
-		GtkBox* _tmp13_;
-		GtkBox* _tmp14_;
-		_tmp9_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
-		_tmp10_ = (GtkBox*) g_object_ref_sink (_tmp9_);
-		_g_object_unref0 (self->priv->box);
-		self->priv->box = _tmp10_;
-		_tmp11_ = self->priv->box;
-		_tmp12_ = self->priv->notebook;
-		gtk_box_pack_end (_tmp11_, (GtkWidget*) _tmp12_, TRUE, TRUE, (guint) 0);
-		_tmp13_ = self->priv->box;
-		_tmp14_ = self->priv->toolbar;
-		gtk_box_pack_end (_tmp13_, (GtkWidget*) _tmp14_, FALSE, FALSE, (guint) 0);
-	}
-	_tmp15_ = self->priv->box;
-	gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp15_);
-	_tmp16_ = self->priv->box;
-	_tmp17_ = self->priv->notebook;
-	gtk_container_set_focus_child ((GtkContainer*) _tmp16_, (GtkWidget*) _tmp17_);
-	_tmp18_ = self->priv->notebook;
-	g_signal_connect_object (_tmp18_, "page-removed", (GCallback) ___lambda3__gtk_notebook_page_removed, self, 0);
-	_tmp19_ = self->priv->fullscreen_;
-	if (_tmp19_) {
-		gtk_window_fullscreen ((GtkWindow*) self);
-	}
-	vala_terminal2_main_window_update_toolbar (self);
-	return self;
-}
-
-
-ValaTerminal2MainWindow* vala_terminal2_main_window_new (gboolean start_vertical, gboolean start_fullscreen) {
-	return vala_terminal2_main_window_construct (VALA_TERMINAL2_TYPE_MAIN_WINDOW, start_vertical, start_fullscreen);
-}
-
-
-void vala_terminal2_main_window_setup_command (ValaTerminal2MainWindow* self, const gchar* command) {
-	const gchar* _tmp0_;
-	gchar* _tmp1_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (command != NULL);
-	_tmp0_ = command;
-	_tmp1_ = g_strconcat (_tmp0_, "\n", NULL);
-	_g_free0 (vala_terminal2_main_window_initial_command);
-	vala_terminal2_main_window_initial_command = _tmp1_;
-}
-
-
-static void _vala_terminal2_main_window_on_new_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_new_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_delete_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_delete_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_zoom_in_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_zoom_in_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_zoom_out_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_zoom_out_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_paste_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_paste_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_prev_tab_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_prev_tab_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_next_tab_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_next_tab_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_rotate_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_rotate_clicked (self, _sender);
-}
-
-
-static void _vala_terminal2_main_window_on_fullscreen_clicked_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
-	vala_terminal2_main_window_on_fullscreen_clicked (self, _sender);
-}
-
-
-void vala_terminal2_main_window_setup_toolbar (ValaTerminal2MainWindow* self) {
-	gboolean _tmp0_;
-	GtkToolButton* _tmp5_;
-	GtkToolButton* _tmp6_;
-	GtkToolButton* _tmp7_;
-	GtkBox* _tmp8_;
-	GtkToolButton* _tmp9_;
-	GtkToolButton* _tmp10_;
-	GtkToolButton* _tmp11_;
-	GtkToolButton* _tmp12_;
-	GtkBox* _tmp13_;
-	GtkToolButton* _tmp14_;
-	GtkToolButton* _tmp15_;
-	GtkToolButton* _tmp16_;
-	GtkToolButton* _tmp17_;
-	GtkBox* _tmp18_;
-	GtkToolButton* _tmp19_;
-	GtkToolButton* _tmp20_;
-	GtkToolButton* _tmp21_;
-	GtkToolButton* _tmp22_;
-	GtkBox* _tmp23_;
-	GtkToolButton* _tmp24_;
-	GtkToolButton* _tmp25_;
-	GtkToolButton* _tmp26_;
-	GtkToolButton* _tmp27_;
-	GtkBox* _tmp28_;
-	GtkToolButton* _tmp29_;
-	GtkToolButton* _tmp30_;
-	GtkToolButton* _tmp31_;
-	GtkToolButton* _tmp32_;
-	GtkToolButton* _tmp33_;
-	GtkBox* _tmp34_;
-	GtkToolButton* _tmp35_;
-	GtkToolButton* _tmp36_;
-	GtkToolButton* _tmp37_;
-	GtkToolButton* _tmp38_;
-	GtkToolButton* _tmp39_;
-	GtkBox* _tmp40_;
-	GtkToolButton* _tmp41_;
-	GtkLabel* _tmp42_;
-	GtkLabel* _tmp43_;
-	GtkBox* _tmp44_;
-	GtkLabel* _tmp45_;
-	GtkToolButton* _tmp46_;
-	GtkToolButton* _tmp47_;
-	GtkToolButton* _tmp48_;
-	GtkToolButton* _tmp49_;
-	GtkBox* _tmp50_;
-	GtkToolButton* _tmp51_;
-	GtkToolButton* _tmp52_;
-	GtkToolButton* _tmp53_;
-	GtkToolButton* _tmp54_;
-	GtkToolButton* _tmp55_;
-	GtkBox* _tmp56_;
-	GtkToolButton* _tmp57_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = self->priv->vertical;
-	if (_tmp0_) {
-		GtkVBox* _tmp1_;
-		GtkBox* _tmp2_;
-		_tmp1_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
-		_tmp2_ = (GtkBox*) g_object_ref_sink (_tmp1_);
-		_g_object_unref0 (self->priv->toolbar);
-		self->priv->toolbar = _tmp2_;
-	} else {
-		GtkHBox* _tmp3_;
-		GtkBox* _tmp4_;
-		_tmp3_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
-		_tmp4_ = (GtkBox*) g_object_ref_sink (_tmp3_);
-		_g_object_unref0 (self->priv->toolbar);
-		self->priv->toolbar = _tmp4_;
-	}
-	_tmp5_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_NEW);
-	_tmp6_ = g_object_ref_sink (_tmp5_);
-	_g_object_unref0 (self->priv->btn_new);
-	self->priv->btn_new = _tmp6_;
-	_tmp7_ = self->priv->btn_new;
-	g_signal_connect_object (_tmp7_, "clicked", (GCallback) _vala_terminal2_main_window_on_new_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp8_ = self->priv->toolbar;
-	_tmp9_ = self->priv->btn_new;
-	gtk_box_pack_start (_tmp8_, (GtkWidget*) _tmp9_, FALSE, FALSE, (guint) 0);
-	_tmp10_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_DELETE);
-	_tmp11_ = g_object_ref_sink (_tmp10_);
-	_g_object_unref0 (self->priv->btn_delete);
-	self->priv->btn_delete = _tmp11_;
-	_tmp12_ = self->priv->btn_delete;
-	g_signal_connect_object (_tmp12_, "clicked", (GCallback) _vala_terminal2_main_window_on_delete_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp13_ = self->priv->toolbar;
-	_tmp14_ = self->priv->btn_delete;
-	gtk_box_pack_start (_tmp13_, (GtkWidget*) _tmp14_, FALSE, FALSE, (guint) 0);
-	_tmp15_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_ZOOM_IN);
-	_tmp16_ = g_object_ref_sink (_tmp15_);
-	_g_object_unref0 (self->priv->btn_zoom_in);
-	self->priv->btn_zoom_in = _tmp16_;
-	_tmp17_ = self->priv->btn_zoom_in;
-	g_signal_connect_object (_tmp17_, "clicked", (GCallback) _vala_terminal2_main_window_on_zoom_in_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp18_ = self->priv->toolbar;
-	_tmp19_ = self->priv->btn_zoom_in;
-	gtk_box_pack_start (_tmp18_, (GtkWidget*) _tmp19_, FALSE, FALSE, (guint) 0);
-	_tmp20_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_ZOOM_OUT);
-	_tmp21_ = g_object_ref_sink (_tmp20_);
-	_g_object_unref0 (self->priv->btn_zoom_out);
-	self->priv->btn_zoom_out = _tmp21_;
-	_tmp22_ = self->priv->btn_zoom_out;
-	g_signal_connect_object (_tmp22_, "clicked", (GCallback) _vala_terminal2_main_window_on_zoom_out_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp23_ = self->priv->toolbar;
-	_tmp24_ = self->priv->btn_zoom_out;
-	gtk_box_pack_start (_tmp23_, (GtkWidget*) _tmp24_, FALSE, FALSE, (guint) 0);
-	_tmp25_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_PASTE);
-	_tmp26_ = g_object_ref_sink (_tmp25_);
-	_g_object_unref0 (self->priv->btn_paste);
-	self->priv->btn_paste = _tmp26_;
-	_tmp27_ = self->priv->btn_paste;
-	g_signal_connect_object (_tmp27_, "clicked", (GCallback) _vala_terminal2_main_window_on_paste_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp28_ = self->priv->toolbar;
-	_tmp29_ = self->priv->btn_paste;
-	gtk_box_pack_start (_tmp28_, (GtkWidget*) _tmp29_, FALSE, FALSE, (guint) 0);
-	_tmp30_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_GO_BACK);
-	_tmp31_ = g_object_ref_sink (_tmp30_);
-	_g_object_unref0 (self->priv->btn_prev_tab);
-	self->priv->btn_prev_tab = _tmp31_;
-	_tmp32_ = self->priv->btn_prev_tab;
-	g_signal_connect_object (_tmp32_, "clicked", (GCallback) _vala_terminal2_main_window_on_prev_tab_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp33_ = self->priv->btn_prev_tab;
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp33_, FALSE);
-	_tmp34_ = self->priv->toolbar;
-	_tmp35_ = self->priv->btn_prev_tab;
-	gtk_box_pack_start (_tmp34_, (GtkWidget*) _tmp35_, FALSE, FALSE, (guint) 0);
-	_tmp36_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_GO_FORWARD);
-	_tmp37_ = g_object_ref_sink (_tmp36_);
-	_g_object_unref0 (self->priv->btn_next_tab);
-	self->priv->btn_next_tab = _tmp37_;
-	_tmp38_ = self->priv->btn_next_tab;
-	g_signal_connect_object (_tmp38_, "clicked", (GCallback) _vala_terminal2_main_window_on_next_tab_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp39_ = self->priv->btn_next_tab;
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp39_, FALSE);
-	_tmp40_ = self->priv->toolbar;
-	_tmp41_ = self->priv->btn_next_tab;
-	gtk_box_pack_start (_tmp40_, (GtkWidget*) _tmp41_, FALSE, FALSE, (guint) 0);
-	_tmp42_ = (GtkLabel*) gtk_label_new ("");
-	_tmp43_ = g_object_ref_sink (_tmp42_);
-	_g_object_unref0 (self->priv->tab_counter);
-	self->priv->tab_counter = _tmp43_;
-	_tmp44_ = self->priv->toolbar;
-	_tmp45_ = self->priv->tab_counter;
-	gtk_box_pack_start (_tmp44_, (GtkWidget*) _tmp45_, FALSE, FALSE, (guint) 0);
-	_tmp46_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_REFRESH);
-	_tmp47_ = g_object_ref_sink (_tmp46_);
-	_g_object_unref0 (self->priv->btn_rotate);
-	self->priv->btn_rotate = _tmp47_;
-	_tmp48_ = self->priv->btn_rotate;
-	g_signal_connect_object (_tmp48_, "clicked", (GCallback) _vala_terminal2_main_window_on_rotate_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp49_ = self->priv->btn_rotate;
-	gtk_tool_button_set_label (_tmp49_, "Rotate");
-	_tmp50_ = self->priv->toolbar;
-	_tmp51_ = self->priv->btn_rotate;
-	gtk_box_pack_start (_tmp50_, (GtkWidget*) _tmp51_, FALSE, FALSE, (guint) 0);
-	_tmp52_ = (GtkToolButton*) gtk_tool_button_new_from_stock (GTK_STOCK_FULLSCREEN);
-	_tmp53_ = g_object_ref_sink (_tmp52_);
-	_g_object_unref0 (self->priv->btn_fullscreen);
-	self->priv->btn_fullscreen = _tmp53_;
-	_tmp54_ = self->priv->btn_fullscreen;
-	g_signal_connect_object (_tmp54_, "clicked", (GCallback) _vala_terminal2_main_window_on_fullscreen_clicked_gtk_tool_button_clicked, self, 0);
-	_tmp55_ = self->priv->btn_fullscreen;
-	gtk_tool_button_set_label (_tmp55_, "Fullscreen");
-	_tmp56_ = self->priv->toolbar;
-	_tmp57_ = self->priv->btn_fullscreen;
-	gtk_box_pack_start (_tmp56_, (GtkWidget*) _tmp57_, FALSE, FALSE, (guint) 0);
-}
-
-
-void vala_terminal2_main_window_setup_notebook (ValaTerminal2MainWindow* self) {
-	GtkNotebook* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkNotebook* _tmp2_;
-	GtkNotebook* _tmp3_;
-	GtkNotebook* _tmp4_;
-	ValaTerminal2MokoTerminal* _tmp5_ = NULL;
-	ValaTerminal2MokoTerminal* terminal;
-	const gchar* _tmp6_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = (GtkNotebook*) gtk_notebook_new ();
-	_tmp1_ = g_object_ref_sink (_tmp0_);
-	_g_object_unref0 (self->priv->notebook);
-	self->priv->notebook = _tmp1_;
-	_tmp2_ = self->priv->notebook;
-	gtk_notebook_set_tab_pos (_tmp2_, GTK_POS_BOTTOM);
-	_tmp3_ = self->priv->notebook;
-	gtk_notebook_set_show_tabs (_tmp3_, FALSE);
-	_tmp4_ = self->priv->notebook;
-	gtk_notebook_set_show_border (_tmp4_, FALSE);
-	_tmp5_ = vala_terminal2_main_window_add_new_terminal (self);
-	terminal = _tmp5_;
-	_tmp6_ = vala_terminal2_main_window_hack_command;
-	if (_tmp6_ != NULL) {
-		ValaTerminal2MokoTerminal* _tmp7_;
-		const gchar* _tmp8_;
-		_tmp7_ = terminal;
-		_tmp8_ = vala_terminal2_main_window_hack_command;
-		vala_terminal2_moko_terminal_paste_command (_tmp7_, _tmp8_);
-	}
-	_g_object_unref0 (terminal);
-}
-
-
-static void vala_terminal2_main_window_on_new_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	ValaTerminal2MokoTerminal* _tmp1_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp2_;
-	GtkNotebook* _tmp3_;
-	GtkNotebook* _tmp4_;
-	GtkNotebook* _tmp5_;
-	gint _tmp6_ = 0;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_new_clicked\n");
-	_tmp1_ = vala_terminal2_main_window_add_new_terminal (self);
-	_tmp2_ = _tmp1_;
-	_g_object_unref0 (_tmp2_);
-	_tmp3_ = self->priv->notebook;
-	gtk_widget_show_all ((GtkWidget*) _tmp3_);
-	_tmp4_ = self->priv->notebook;
-	_tmp5_ = self->priv->notebook;
-	_tmp6_ = gtk_notebook_get_n_pages (_tmp5_);
-	gtk_notebook_set_current_page (_tmp4_, _tmp6_ - 1);
-	vala_terminal2_main_window_update_toolbar (self);
-	vala_terminal2_main_window_update_title (self);
-}
-
-
-static void _vala_terminal2_main_window_on_title_changed_vala_terminal2_moko_terminal_title_changed (ValaTerminal2MokoTerminal* _sender, gpointer self) {
-	vala_terminal2_main_window_on_title_changed (self, _sender);
-}
-
-
-static ValaTerminal2MokoTerminal* vala_terminal2_main_window_add_new_terminal (ValaTerminal2MainWindow* self) {
-	ValaTerminal2MokoTerminal* result = NULL;
-	ValaTerminal2MokoTerminal* _tmp0_;
-	ValaTerminal2MokoTerminal* _tmp1_;
-	ValaTerminal2MokoTerminal* terminal;
-	GtkNotebook* _tmp2_;
-	GtkImage* _tmp3_;
-	GtkImage* _tmp4_;
-	GtkNotebook* _tmp5_;
-	g_return_val_if_fail (self != NULL, NULL);
-	_tmp0_ = vala_terminal2_moko_terminal_new ();
-	_tmp1_ = g_object_ref_sink (_tmp0_);
-	terminal = _tmp1_;
-	g_signal_connect_object (terminal, "title-changed", (GCallback) _vala_terminal2_main_window_on_title_changed_vala_terminal2_moko_terminal_title_changed, self, 0);
-	_tmp2_ = self->priv->notebook;
-	_tmp3_ = (GtkImage*) gtk_image_new_from_stock (GTK_STOCK_INDEX, GTK_ICON_SIZE_LARGE_TOOLBAR);
-	_tmp4_ = g_object_ref_sink (_tmp3_);
-	gtk_notebook_append_page (_tmp2_, (GtkWidget*) terminal, (GtkWidget*) _tmp4_);
-	_g_object_unref0 (_tmp4_);
-	_tmp5_ = self->priv->notebook;
-	gtk_container_child_set ((GtkContainer*) _tmp5_, (GtkWidget*) terminal, "tab-expand", TRUE, NULL, NULL);
-	result = terminal;
-	return result;
-}
-
-
-static gpointer _g_object_ref0 (gpointer self) {
-	return self ? g_object_ref (self) : NULL;
-}
-
-
-static void vala_terminal2_main_window_on_delete_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkNotebook* _tmp2_;
-	gint _tmp3_ = 0;
-	GtkWidget* _tmp4_ = NULL;
-	GtkWidget* _tmp5_;
-	GtkWidget* page;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_delete_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = self->priv->notebook;
-	_tmp3_ = gtk_notebook_get_current_page (_tmp2_);
-	_tmp4_ = gtk_notebook_get_nth_page (_tmp1_, _tmp3_);
-	_tmp5_ = _g_object_ref0 (_tmp4_);
-	page = _tmp5_;
-	gtk_object_destroy ((GtkObject*) page);
-	_g_object_unref0 (page);
-}
-
-
-static void vala_terminal2_main_window_on_zoom_in_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkNotebook* _tmp2_;
-	gint _tmp3_ = 0;
-	GtkWidget* _tmp4_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp5_;
-	ValaTerminal2MokoTerminal* terminal;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_zoom_in_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = self->priv->notebook;
-	_tmp3_ = gtk_notebook_get_current_page (_tmp2_);
-	_tmp4_ = gtk_notebook_get_nth_page (_tmp1_, _tmp3_);
-	_tmp5_ = _g_object_ref0 (VALA_TERMINAL2_MOKO_TERMINAL (_tmp4_));
-	terminal = _tmp5_;
-	vala_terminal2_moko_terminal_zoom_in (terminal);
-	vala_terminal2_main_window_update_toolbar (self);
-	_g_object_unref0 (terminal);
-}
-
-
-static void vala_terminal2_main_window_on_zoom_out_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkNotebook* _tmp2_;
-	gint _tmp3_ = 0;
-	GtkWidget* _tmp4_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp5_;
-	ValaTerminal2MokoTerminal* terminal;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_zoom_out_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = self->priv->notebook;
-	_tmp3_ = gtk_notebook_get_current_page (_tmp2_);
-	_tmp4_ = gtk_notebook_get_nth_page (_tmp1_, _tmp3_);
-	_tmp5_ = _g_object_ref0 (VALA_TERMINAL2_MOKO_TERMINAL (_tmp4_));
-	terminal = _tmp5_;
-	vala_terminal2_moko_terminal_zoom_out (terminal);
-	vala_terminal2_main_window_update_toolbar (self);
-	_g_object_unref0 (terminal);
-}
-
-
-static void vala_terminal2_main_window_on_paste_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkNotebook* _tmp2_;
-	gint _tmp3_ = 0;
-	GtkWidget* _tmp4_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp5_;
-	ValaTerminal2MokoTerminal* terminal;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_paste_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = self->priv->notebook;
-	_tmp3_ = gtk_notebook_get_current_page (_tmp2_);
-	_tmp4_ = gtk_notebook_get_nth_page (_tmp1_, _tmp3_);
-	_tmp5_ = _g_object_ref0 (VALA_TERMINAL2_MOKO_TERMINAL (_tmp4_));
-	terminal = _tmp5_;
-	vala_terminal2_moko_terminal_paste (terminal);
-	vala_terminal2_main_window_update_toolbar (self);
-	_g_object_unref0 (terminal);
-}
-
-
-static void vala_terminal2_main_window_on_prev_tab_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_prev_tab_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	gtk_notebook_prev_page (_tmp1_);
-	vala_terminal2_main_window_update_toolbar (self);
-	vala_terminal2_main_window_update_title (self);
-}
-
-
-static void vala_terminal2_main_window_on_next_tab_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_next_tab_clicked\n");
-	_tmp1_ = self->priv->notebook;
-	gtk_notebook_next_page (_tmp1_);
-	vala_terminal2_main_window_update_toolbar (self);
-	vala_terminal2_main_window_update_title (self);
-}
-
-
-static void vala_terminal2_main_window_on_rotate_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	gboolean _tmp1_;
-	GtkBox* _tmp2_;
-	GtkNotebook* _tmp3_;
-	GtkBox* _tmp4_;
-	GtkBox* _tmp5_;
-	GtkBox* _tmp6_;
-	gboolean _tmp7_;
-	GtkBox* _tmp20_;
-	GtkBox* _tmp21_;
-	GtkNotebook* _tmp22_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_rotate_clicked\n");
-	_tmp1_ = self->priv->vertical;
-	self->priv->vertical = !_tmp1_;
-	_tmp2_ = self->priv->box;
-	_tmp3_ = self->priv->notebook;
-	gtk_container_remove ((GtkContainer*) _tmp2_, (GtkWidget*) _tmp3_);
-	_tmp4_ = self->priv->box;
-	_tmp5_ = self->priv->toolbar;
-	gtk_container_remove ((GtkContainer*) _tmp4_, (GtkWidget*) _tmp5_);
-	_tmp6_ = self->priv->box;
-	gtk_container_remove ((GtkContainer*) self, (GtkWidget*) _tmp6_);
-	vala_terminal2_main_window_setup_toolbar (self);
-	_tmp7_ = self->priv->vertical;
-	if (_tmp7_) {
-		GtkHBox* _tmp8_;
-		GtkBox* _tmp9_;
-		GtkBox* _tmp10_;
-		GtkNotebook* _tmp11_;
-		GtkBox* _tmp12_;
-		GtkBox* _tmp13_;
-		_tmp8_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
-		_tmp9_ = (GtkBox*) g_object_ref_sink (_tmp8_);
-		_g_object_unref0 (self->priv->box);
-		self->priv->box = _tmp9_;
-		_tmp10_ = self->priv->box;
-		_tmp11_ = self->priv->notebook;
-		gtk_box_pack_start (_tmp10_, (GtkWidget*) _tmp11_, TRUE, TRUE, (guint) 0);
-		_tmp12_ = self->priv->box;
-		_tmp13_ = self->priv->toolbar;
-		gtk_box_pack_start (_tmp12_, (GtkWidget*) _tmp13_, FALSE, FALSE, (guint) 0);
-	} else {
-		GtkVBox* _tmp14_;
-		GtkBox* _tmp15_;
-		GtkBox* _tmp16_;
-		GtkNotebook* _tmp17_;
-		GtkBox* _tmp18_;
-		GtkBox* _tmp19_;
-		_tmp14_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
-		_tmp15_ = (GtkBox*) g_object_ref_sink (_tmp14_);
-		_g_object_unref0 (self->priv->box);
-		self->priv->box = _tmp15_;
-		_tmp16_ = self->priv->box;
-		_tmp17_ = self->priv->notebook;
-		gtk_box_pack_end (_tmp16_, (GtkWidget*) _tmp17_, TRUE, TRUE, (guint) 0);
-		_tmp18_ = self->priv->box;
-		_tmp19_ = self->priv->toolbar;
-		gtk_box_pack_end (_tmp18_, (GtkWidget*) _tmp19_, FALSE, FALSE, (guint) 0);
-	}
-	_tmp20_ = self->priv->box;
-	gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp20_);
-	_tmp21_ = self->priv->box;
-	_tmp22_ = self->priv->notebook;
-	gtk_container_set_focus_child ((GtkContainer*) _tmp21_, (GtkWidget*) _tmp22_);
-	vala_terminal2_main_window_update_toolbar (self);
-	gtk_widget_show_all ((GtkWidget*) self);
-}
-
-
-static void vala_terminal2_main_window_on_fullscreen_clicked (ValaTerminal2MainWindow* self, GtkToolButton* b) {
-	FILE* _tmp0_;
-	gboolean _tmp1_;
-	gboolean _tmp2_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (b != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "on_fullscreen_clicked\n");
-	_tmp1_ = self->priv->fullscreen_;
-	self->priv->fullscreen_ = !_tmp1_;
-	_tmp2_ = self->priv->fullscreen_;
-	if (_tmp2_) {
-		gtk_window_fullscreen ((GtkWindow*) self);
-	} else {
-		gtk_window_unfullscreen ((GtkWindow*) self);
-	}
-}
-
-
-static void vala_terminal2_main_window_on_title_changed (ValaTerminal2MainWindow* self, ValaTerminal2MokoTerminal* terminal) {
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (terminal != NULL);
-	vala_terminal2_main_window_update_title (self);
-}
-
-
-static void vala_terminal2_main_window_update_title (ValaTerminal2MainWindow* self) {
-	GtkNotebook* _tmp0_;
-	GtkNotebook* _tmp1_;
-	gint _tmp2_ = 0;
-	GtkWidget* _tmp3_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp4_;
-	ValaTerminal2MokoTerminal* terminal;
-	ValaTerminal2MokoTerminal* _tmp5_;
-	gchar* _tmp6_ = NULL;
-	gchar* s;
-	gboolean _tmp7_ = FALSE;
-	const gchar* _tmp8_;
-	gboolean _tmp12_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = self->priv->notebook;
-	_tmp1_ = self->priv->notebook;
-	_tmp2_ = gtk_notebook_get_current_page (_tmp1_);
-	_tmp3_ = gtk_notebook_get_nth_page (_tmp0_, _tmp2_);
-	_tmp4_ = _g_object_ref0 (VALA_TERMINAL2_MOKO_TERMINAL (_tmp3_));
-	terminal = _tmp4_;
-	_tmp5_ = terminal;
-	_tmp6_ = vala_terminal2_moko_terminal_get_title (_tmp5_);
-	s = _tmp6_;
-	_tmp8_ = s;
-	if (_tmp8_ == NULL) {
-		_tmp7_ = TRUE;
-	} else {
-		const gchar* _tmp9_;
-		gint _tmp10_;
-		gint _tmp11_;
-		_tmp9_ = s;
-		_tmp10_ = strlen (_tmp9_);
-		_tmp11_ = _tmp10_;
-		_tmp7_ = _tmp11_ == 0;
-	}
-	_tmp12_ = _tmp7_;
-	if (_tmp12_) {
-		gtk_window_set_title ((GtkWindow*) self, VALA_TERMINAL2_MAIN_WINDOW_default_title);
-	} else {
-		const gchar* _tmp13_;
-		_tmp13_ = s;
-		gtk_window_set_title ((GtkWindow*) self, _tmp13_);
-	}
-	_g_free0 (s);
-	_g_object_unref0 (terminal);
-}
-
-
-void vala_terminal2_main_window_update_toolbar (ValaTerminal2MainWindow* self) {
-	FILE* _tmp0_;
-	GtkNotebook* _tmp1_;
-	GtkToolButton* _tmp3_;
-	GtkNotebook* _tmp4_;
-	gint _tmp5_ = 0;
-	GtkNotebook* _tmp6_;
-	GtkNotebook* _tmp7_;
-	gint _tmp8_ = 0;
-	GtkWidget* _tmp9_ = NULL;
-	ValaTerminal2MokoTerminal* _tmp10_;
-	ValaTerminal2MokoTerminal* terminal;
-	FILE* _tmp11_;
-	ValaTerminal2MokoTerminal* _tmp12_;
-	guint _tmp13_ = 0U;
-	GtkToolButton* _tmp14_;
-	ValaTerminal2MokoTerminal* _tmp15_;
-	guint _tmp16_ = 0U;
-	GtkToolButton* _tmp17_;
-	ValaTerminal2MokoTerminal* _tmp18_;
-	guint _tmp19_ = 0U;
-	GtkNotebook* _tmp20_;
-	gint _tmp21_ = 0;
-	gint current_tab;
-	gint _tmp22_;
-	gint _tmp23_;
-	gint _tmp24_;
-	GtkNotebook* _tmp25_;
-	gint _tmp26_ = 0;
-	gchar* _tmp27_ = NULL;
-	gchar* count;
-	GtkToolButton* _tmp28_;
-	gint _tmp29_;
-	GtkToolButton* _tmp30_;
-	gint _tmp31_;
-	GtkNotebook* _tmp32_;
-	gint _tmp33_ = 0;
-	GtkLabel* _tmp34_;
-	const gchar* _tmp35_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "update_toolbar\n");
-	_tmp1_ = self->priv->notebook;
-	if (NULL == _tmp1_) {
-		FILE* _tmp2_;
-		_tmp2_ = stdout;
-		fprintf (_tmp2_, "notebook no longer present\n");
-		return;
-	}
-	_tmp3_ = self->priv->btn_delete;
-	_tmp4_ = self->priv->notebook;
-	_tmp5_ = gtk_notebook_get_n_pages (_tmp4_);
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, _tmp5_ > 1);
-	_tmp6_ = self->priv->notebook;
-	_tmp7_ = self->priv->notebook;
-	_tmp8_ = gtk_notebook_get_current_page (_tmp7_);
-	_tmp9_ = gtk_notebook_get_nth_page (_tmp6_, _tmp8_);
-	_tmp10_ = _g_object_ref0 (VALA_TERMINAL2_MOKO_TERMINAL (_tmp9_));
-	terminal = _tmp10_;
-	_tmp11_ = stdout;
-	_tmp12_ = terminal;
-	_tmp13_ = vala_terminal2_moko_terminal_get_font_size (_tmp12_);
-	fprintf (_tmp11_, "current font size for terminal is %u\n", _tmp13_);
-	_tmp14_ = self->priv->btn_zoom_in;
-	_tmp15_ = terminal;
-	_tmp16_ = vala_terminal2_moko_terminal_get_font_size (_tmp15_);
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp14_, _tmp16_ < ((guint) 20));
-	_tmp17_ = self->priv->btn_zoom_out;
-	_tmp18_ = terminal;
-	_tmp19_ = vala_terminal2_moko_terminal_get_font_size (_tmp18_);
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp17_, _tmp19_ > ((guint) 1));
-	_tmp20_ = self->priv->notebook;
-	_tmp21_ = gtk_notebook_get_current_page (_tmp20_);
-	current_tab = _tmp21_;
-	_tmp22_ = current_tab;
-	if (_tmp22_ == (-1)) {
-		current_tab = 0;
-	}
-	_tmp23_ = current_tab;
-	current_tab = _tmp23_ + 1;
-	_tmp24_ = current_tab;
-	_tmp25_ = self->priv->notebook;
-	_tmp26_ = gtk_notebook_get_n_pages (_tmp25_);
-	_tmp27_ = g_strdup_printf ("tab:%d/%d", _tmp24_, _tmp26_);
-	count = _tmp27_;
-	_tmp28_ = self->priv->btn_prev_tab;
-	_tmp29_ = current_tab;
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, _tmp29_ != 1);
-	_tmp30_ = self->priv->btn_next_tab;
-	_tmp31_ = current_tab;
-	_tmp32_ = self->priv->notebook;
-	_tmp33_ = gtk_notebook_get_n_pages (_tmp32_);
-	gtk_widget_set_sensitive ((GtkWidget*) _tmp30_, _tmp31_ != _tmp33_);
-	_tmp34_ = self->priv->tab_counter;
-	_tmp35_ = count;
-	gtk_label_set_label (_tmp34_, _tmp35_);
-	_g_free0 (count);
-	_g_object_unref0 (terminal);
-}
-
-
-void vala_terminal2_main_window_run (ValaTerminal2MainWindow* self) {
-	g_return_if_fail (self != NULL);
-	gtk_widget_show_all ((GtkWidget*) self);
-	gtk_main ();
-}
-
-
-static gint vala_terminal2_main_window_main (gchar** args, int args_length1) {
-	gint result = 0;
-	guint fontsize;
-	gboolean start_vertical;
-	gboolean start_fullscreen;
-	gint counter;
-	guint _tmp129_;
-	gboolean _tmp130_;
-	gboolean _tmp131_;
-	ValaTerminal2MainWindow* _tmp132_;
-	ValaTerminal2MainWindow* _tmp133_;
-	ValaTerminal2MainWindow* window;
-	const gchar* _tmp134_;
-	ValaTerminal2MainWindow* _tmp142_;
-	gtk_init (&args_length1, &args);
-	fontsize = DEFAULT_FONTSIZE;
-	start_vertical = DEFAULT_START_VERTICAL;
-	start_fullscreen = FALSE;
-	counter = 1;
-	while (TRUE) {
-		gint _tmp0_;
-		gchar** _tmp1_;
-		gint _tmp1__length1;
-		gchar** _tmp2_;
-		gint _tmp2__length1;
-		gint _tmp3_;
-		const gchar* _tmp4_;
-		_tmp0_ = counter;
-		_tmp1_ = args;
-		_tmp1__length1 = args_length1;
-		if (!(_tmp0_ < _tmp1__length1)) {
-			break;
-		}
-		_tmp2_ = args;
-		_tmp2__length1 = args_length1;
-		_tmp3_ = counter;
-		_tmp4_ = _tmp2_[_tmp3_];
-		if (g_strcmp0 (_tmp4_, "--help") == 0) {
-			FILE* _tmp5_;
-			const gchar* _tmp6_ = NULL;
-			FILE* _tmp7_;
-			const gchar* _tmp8_;
-			FILE* _tmp9_;
-			FILE* _tmp10_;
-			FILE* _tmp11_;
-			FILE* _tmp12_;
-			FILE* _tmp13_;
-			FILE* _tmp14_;
-			FILE* _tmp15_;
-			FILE* _tmp16_;
-			FILE* _tmp17_;
-			_tmp5_ = stdout;
-			fprintf (_tmp5_, "Flag\tparameter\tmeaning\n");
-			if (DEFAULT_START_VERTICAL) {
-				_tmp6_ = "vertical";
-			} else {
-				_tmp6_ = "horizontal";
-			}
-			_tmp7_ = stdout;
-			_tmp8_ = _tmp6_;
-			fprintf (_tmp7_, " -v\t        \tStart with toolbar vertically (default=%s)\n", _tmp8_);
-			_tmp9_ = stdout;
-			fprintf (_tmp9_, " -h\t        \tStart with toolbar horizontally\n");
-			_tmp10_ = stdout;
-			fprintf (_tmp10_, " --fullscreen\t\tStart fullscreen\n");
-			_tmp11_ = stdout;
-			fprintf (_tmp11_, " -fs\t   int    \tStarting fontize (default=%u)\n", DEFAULT_FONTSIZE);
-			_tmp12_ = stdout;
-			fprintf (_tmp12_, " -f\t fontname \tUses font 'fontname'(default=LiberationMono)\n");
-			_tmp13_ = stdout;
-			fprintf (_tmp13_, " -fc\t  r g b  \tFont color (values are between 0...65535) (default=65" \
-"535 65535 65535)\n");
-			_tmp14_ = stdout;
-			fprintf (_tmp14_, " -bc\t  r g b  \tBackground color (values are between 0...65535) (defa" \
-"ult=0 0 0)\n");
-			_tmp15_ = stdout;
-			fprintf (_tmp15_, " -g\t  width height  \tgeometry\n");
-			_tmp16_ = stdout;
-			fprintf (_tmp16_, " -e\tcmd [par1...]\tExecutes 'cmd' inside terminal [with parameters] (" \
-"-e must be last flag)\n");
-			_tmp17_ = stdout;
-			fprintf (_tmp17_, "\n");
-			result = 0;
-			return result;
-		} else {
-			gchar** _tmp18_;
-			gint _tmp18__length1;
-			gint _tmp19_;
-			const gchar* _tmp20_;
-			_tmp18_ = args;
-			_tmp18__length1 = args_length1;
-			_tmp19_ = counter;
-			_tmp20_ = _tmp18_[_tmp19_];
-			if (g_strcmp0 (_tmp20_, "-e") == 0) {
-				gint _tmp21_;
-				gint i;
-				gchar* _tmp22_;
-				const gchar* _tmp33_;
-				gchar* _tmp34_;
-				gchar** _tmp35_;
-				gint _tmp35__length1;
-				_tmp21_ = counter;
-				i = _tmp21_ + 1;
-				_tmp22_ = g_strdup ("");
-				_g_free0 (vala_terminal2_main_window_hack_command);
-				vala_terminal2_main_window_hack_command = _tmp22_;
-				while (TRUE) {
-					gchar** _tmp23_;
-					gint _tmp23__length1;
-					gint _tmp24_;
-					const gchar* _tmp25_;
-					gchar** _tmp26_;
-					gint _tmp26__length1;
-					gint _tmp27_;
-					const gchar* _tmp28_;
-					gchar* _tmp29_;
-					gchar* _tmp30_;
-					gchar* _tmp31_;
-					gint _tmp32_;
-					_tmp23_ = args;
-					_tmp23__length1 = args_length1;
-					_tmp24_ = i;
-					if (!(_tmp23__length1 > _tmp24_)) {
-						break;
-					}
-					_tmp25_ = vala_terminal2_main_window_hack_command;
-					_tmp26_ = args;
-					_tmp26__length1 = args_length1;
-					_tmp27_ = i;
-					_tmp28_ = _tmp26_[_tmp27_];
-					_tmp29_ = g_strconcat (_tmp28_, " ", NULL);
-					_tmp30_ = _tmp29_;
-					_tmp31_ = g_strconcat (_tmp25_, _tmp30_, NULL);
-					_g_free0 (vala_terminal2_main_window_hack_command);
-					vala_terminal2_main_window_hack_command = _tmp31_;
-					_g_free0 (_tmp30_);
-					_tmp32_ = i;
-					i = _tmp32_ + 1;
-				}
-				_tmp33_ = vala_terminal2_main_window_hack_command;
-				_tmp34_ = g_strconcat (_tmp33_, "\n", NULL);
-				_g_free0 (vala_terminal2_main_window_hack_command);
-				vala_terminal2_main_window_hack_command = _tmp34_;
-				_tmp35_ = args;
-				_tmp35__length1 = args_length1;
-				counter = _tmp35__length1;
-			} else {
-				gchar** _tmp36_;
-				gint _tmp36__length1;
-				gint _tmp37_;
-				const gchar* _tmp38_;
-				_tmp36_ = args;
-				_tmp36__length1 = args_length1;
-				_tmp37_ = counter;
-				_tmp38_ = _tmp36_[_tmp37_];
-				if (g_strcmp0 (_tmp38_, "-fs") == 0) {
-					gint _tmp39_;
-					gchar** _tmp40_;
-					gint _tmp40__length1;
-					gchar** _tmp42_;
-					gint _tmp42__length1;
-					gint _tmp43_;
-					const gchar* _tmp44_;
-					gint _tmp45_ = 0;
-					guint _tmp46_;
-					gint _tmp47_;
-					_tmp39_ = counter;
-					_tmp40_ = args;
-					_tmp40__length1 = args_length1;
-					if ((_tmp39_ + 2) > _tmp40__length1) {
-						FILE* _tmp41_;
-						_tmp41_ = stdout;
-						fprintf (_tmp41_, "USAGE: -fs int\n");
-						result = 0;
-						return result;
-					}
-					_tmp42_ = args;
-					_tmp42__length1 = args_length1;
-					_tmp43_ = counter;
-					_tmp44_ = _tmp42_[_tmp43_ + 1];
-					_tmp45_ = atoi (_tmp44_);
-					fontsize = (guint) _tmp45_;
-					_tmp46_ = fontsize;
-					if (_tmp46_ < ((guint) 1)) {
-						fontsize = (guint) 1;
-					}
-					_tmp47_ = counter;
-					counter = _tmp47_ + 2;
-				} else {
-					gchar** _tmp48_;
-					gint _tmp48__length1;
-					gint _tmp49_;
-					const gchar* _tmp50_;
-					_tmp48_ = args;
-					_tmp48__length1 = args_length1;
-					_tmp49_ = counter;
-					_tmp50_ = _tmp48_[_tmp49_];
-					if (g_strcmp0 (_tmp50_, "-v") == 0) {
-						gint _tmp51_;
-						start_vertical = TRUE;
-						_tmp51_ = counter;
-						counter = _tmp51_ + 1;
-					} else {
-						gchar** _tmp52_;
-						gint _tmp52__length1;
-						gint _tmp53_;
-						const gchar* _tmp54_;
-						_tmp52_ = args;
-						_tmp52__length1 = args_length1;
-						_tmp53_ = counter;
-						_tmp54_ = _tmp52_[_tmp53_];
-						if (g_strcmp0 (_tmp54_, "-h") == 0) {
-							gint _tmp55_;
-							start_vertical = FALSE;
-							_tmp55_ = counter;
-							counter = _tmp55_ + 1;
-						} else {
-							gchar** _tmp56_;
-							gint _tmp56__length1;
-							gint _tmp57_;
-							const gchar* _tmp58_;
-							_tmp56_ = args;
-							_tmp56__length1 = args_length1;
-							_tmp57_ = counter;
-							_tmp58_ = _tmp56_[_tmp57_];
-							if (g_strcmp0 (_tmp58_, "--fullscreen") == 0) {
-								gint _tmp59_;
-								start_fullscreen = TRUE;
-								_tmp59_ = counter;
-								counter = _tmp59_ + 1;
-							} else {
-								gchar** _tmp60_;
-								gint _tmp60__length1;
-								gint _tmp61_;
-								const gchar* _tmp62_;
-								_tmp60_ = args;
-								_tmp60__length1 = args_length1;
-								_tmp61_ = counter;
-								_tmp62_ = _tmp60_[_tmp61_];
-								if (g_strcmp0 (_tmp62_, "-fc") == 0) {
-									gint _tmp63_;
-									gchar** _tmp64_;
-									gint _tmp64__length1;
-									gchar** _tmp66_;
-									gint _tmp66__length1;
-									gint _tmp67_;
-									const gchar* _tmp68_;
-									gint _tmp69_ = 0;
-									gchar** _tmp70_;
-									gint _tmp70__length1;
-									gint _tmp71_;
-									const gchar* _tmp72_;
-									gint _tmp73_ = 0;
-									gchar** _tmp74_;
-									gint _tmp74__length1;
-									gint _tmp75_;
-									const gchar* _tmp76_;
-									gint _tmp77_ = 0;
-									gint _tmp78_;
-									_tmp63_ = counter;
-									_tmp64_ = args;
-									_tmp64__length1 = args_length1;
-									if ((_tmp63_ + 4) > _tmp64__length1) {
-										FILE* _tmp65_;
-										_tmp65_ = stdout;
-										fprintf (_tmp65_, "USAGE: -fc int int int\n");
-										result = 0;
-										return result;
-									}
-									_tmp66_ = args;
-									_tmp66__length1 = args_length1;
-									_tmp67_ = counter;
-									_tmp68_ = _tmp66_[_tmp67_ + 1];
-									_tmp69_ = atoi (_tmp68_);
-									_tmp70_ = args;
-									_tmp70__length1 = args_length1;
-									_tmp71_ = counter;
-									_tmp72_ = _tmp70_[_tmp71_ + 2];
-									_tmp73_ = atoi (_tmp72_);
-									_tmp74_ = args;
-									_tmp74__length1 = args_length1;
-									_tmp75_ = counter;
-									_tmp76_ = _tmp74_[_tmp75_ + 3];
-									_tmp77_ = atoi (_tmp76_);
-									vala_terminal2_moko_terminal_set_fore_color ((guint) _tmp69_, (guint) _tmp73_, (guint) _tmp77_);
-									_tmp78_ = counter;
-									counter = _tmp78_ + 4;
-								} else {
-									gchar** _tmp79_;
-									gint _tmp79__length1;
-									gint _tmp80_;
-									const gchar* _tmp81_;
-									_tmp79_ = args;
-									_tmp79__length1 = args_length1;
-									_tmp80_ = counter;
-									_tmp81_ = _tmp79_[_tmp80_];
-									if (g_strcmp0 (_tmp81_, "-bc") == 0) {
-										gint _tmp82_;
-										gchar** _tmp83_;
-										gint _tmp83__length1;
-										gchar** _tmp85_;
-										gint _tmp85__length1;
-										gint _tmp86_;
-										const gchar* _tmp87_;
-										gint _tmp88_ = 0;
-										gchar** _tmp89_;
-										gint _tmp89__length1;
-										gint _tmp90_;
-										const gchar* _tmp91_;
-										gint _tmp92_ = 0;
-										gchar** _tmp93_;
-										gint _tmp93__length1;
-										gint _tmp94_;
-										const gchar* _tmp95_;
-										gint _tmp96_ = 0;
-										gint _tmp97_;
-										_tmp82_ = counter;
-										_tmp83_ = args;
-										_tmp83__length1 = args_length1;
-										if ((_tmp82_ + 4) > _tmp83__length1) {
-											FILE* _tmp84_;
-											_tmp84_ = stdout;
-											fprintf (_tmp84_, "USAGE: -bc int int int\n");
-											result = 0;
-											return result;
-										}
-										_tmp85_ = args;
-										_tmp85__length1 = args_length1;
-										_tmp86_ = counter;
-										_tmp87_ = _tmp85_[_tmp86_ + 1];
-										_tmp88_ = atoi (_tmp87_);
-										_tmp89_ = args;
-										_tmp89__length1 = args_length1;
-										_tmp90_ = counter;
-										_tmp91_ = _tmp89_[_tmp90_ + 2];
-										_tmp92_ = atoi (_tmp91_);
-										_tmp93_ = args;
-										_tmp93__length1 = args_length1;
-										_tmp94_ = counter;
-										_tmp95_ = _tmp93_[_tmp94_ + 3];
-										_tmp96_ = atoi (_tmp95_);
-										vala_terminal2_moko_terminal_set_back_color ((guint) _tmp88_, (guint) _tmp92_, (guint) _tmp96_);
-										_tmp97_ = counter;
-										counter = _tmp97_ + 4;
-									} else {
-										gchar** _tmp98_;
-										gint _tmp98__length1;
-										gint _tmp99_;
-										const gchar* _tmp100_;
-										_tmp98_ = args;
-										_tmp98__length1 = args_length1;
-										_tmp99_ = counter;
-										_tmp100_ = _tmp98_[_tmp99_];
-										if (g_strcmp0 (_tmp100_, "-g") == 0) {
-											gint _tmp101_;
-											gchar** _tmp102_;
-											gint _tmp102__length1;
-											gchar** _tmp104_;
-											gint _tmp104__length1;
-											gint _tmp105_;
-											const gchar* _tmp106_;
-											gint _tmp107_ = 0;
-											gchar** _tmp108_;
-											gint _tmp108__length1;
-											gint _tmp109_;
-											const gchar* _tmp110_;
-											gint _tmp111_ = 0;
-											gint _tmp112_;
-											_tmp101_ = counter;
-											_tmp102_ = args;
-											_tmp102__length1 = args_length1;
-											if ((_tmp101_ + 3) > _tmp102__length1) {
-												FILE* _tmp103_;
-												_tmp103_ = stdout;
-												fprintf (_tmp103_, "USAGE: -g X Y\n");
-												result = 0;
-												return result;
-											}
-											_tmp104_ = args;
-											_tmp104__length1 = args_length1;
-											_tmp105_ = counter;
-											_tmp106_ = _tmp104_[_tmp105_ + 1];
-											_tmp107_ = atoi (_tmp106_);
-											vala_terminal2_moko_terminal_starting_width = _tmp107_;
-											_tmp108_ = args;
-											_tmp108__length1 = args_length1;
-											_tmp109_ = counter;
-											_tmp110_ = _tmp108_[_tmp109_ + 2];
-											_tmp111_ = atoi (_tmp110_);
-											vala_terminal2_moko_terminal_starting_height = _tmp111_;
-											_tmp112_ = counter;
-											counter = _tmp112_ + 3;
-										} else {
-											gchar** _tmp113_;
-											gint _tmp113__length1;
-											gint _tmp114_;
-											const gchar* _tmp115_;
-											_tmp113_ = args;
-											_tmp113__length1 = args_length1;
-											_tmp114_ = counter;
-											_tmp115_ = _tmp113_[_tmp114_];
-											if (g_strcmp0 (_tmp115_, "-f") == 0) {
-												gint _tmp116_;
-												gchar** _tmp117_;
-												gint _tmp117__length1;
-												gchar** _tmp119_;
-												gint _tmp119__length1;
-												gint _tmp120_;
-												const gchar* _tmp121_;
-												gint _tmp122_;
-												_tmp116_ = counter;
-												_tmp117_ = args;
-												_tmp117__length1 = args_length1;
-												if ((_tmp116_ + 2) > _tmp117__length1) {
-													FILE* _tmp118_;
-													_tmp118_ = stdout;
-													fprintf (_tmp118_, "USAGE: -f fontname\n");
-													result = 0;
-													return result;
-												}
-												_tmp119_ = args;
-												_tmp119__length1 = args_length1;
-												_tmp120_ = counter;
-												_tmp121_ = _tmp119_[_tmp120_ + 1];
-												vala_terminal2_moko_terminal_set_font (_tmp121_);
-												_tmp122_ = counter;
-												counter = _tmp122_ + 2;
-											} else {
-												FILE* _tmp123_;
-												gchar** _tmp124_;
-												gint _tmp124__length1;
-												const gchar* _tmp125_;
-												gchar** _tmp126_;
-												gint _tmp126__length1;
-												gint _tmp127_;
-												const gchar* _tmp128_;
-												_tmp123_ = stdout;
-												_tmp124_ = args;
-												_tmp124__length1 = args_length1;
-												_tmp125_ = _tmp124_[0];
-												_tmp126_ = args;
-												_tmp126__length1 = args_length1;
-												_tmp127_ = counter;
-												_tmp128_ = _tmp126_[_tmp127_];
-												fprintf (_tmp123_, "%s: unknown flag '%s' \nUse --help\n", _tmp125_, _tmp128_);
-												result = 1;
-												return result;
-											}
-										}
-									}
-								}
-							}
-						}
-					}
-				}
-			}
-		}
-	}
-	_tmp129_ = fontsize;
-	vala_terminal2_moko_terminal_set_starting_fontsize (_tmp129_);
-	_tmp130_ = start_vertical;
-	_tmp131_ = start_fullscreen;
-	_tmp132_ = vala_terminal2_main_window_new (_tmp130_, _tmp131_);
-	_tmp133_ = g_object_ref_sink (_tmp132_);
-	window = _tmp133_;
-	_tmp134_ = vala_terminal2_main_window_initial_command;
-	if (_tmp134_ != NULL) {
-		ValaTerminal2MainWindow* _tmp135_;
-		const gchar* _tmp136_;
-		_tmp135_ = window;
-		_tmp136_ = vala_terminal2_main_window_initial_command;
-		vala_terminal2_main_window_setup_command (_tmp135_, _tmp136_);
-	} else {
-		gchar** _tmp137_;
-		gint _tmp137__length1;
-		_tmp137_ = vala_terminal2_main_window_initial_command_line;
-		_tmp137__length1 = vala_terminal2_main_window_initial_command_line_length1;
-		if (_tmp137_ != NULL) {
-			gchar** _tmp138_;
-			gint _tmp138__length1;
-			gchar* _tmp139_ = NULL;
-			ValaTerminal2MainWindow* _tmp140_;
-			const gchar* _tmp141_;
-			_tmp138_ = vala_terminal2_main_window_initial_command_line;
-			_tmp138__length1 = vala_terminal2_main_window_initial_command_line_length1;
-			_tmp139_ = g_strjoinv (" ", _tmp138_);
-			_g_free0 (vala_terminal2_main_window_initial_command);
-			vala_terminal2_main_window_initial_command = _tmp139_;
-			_tmp140_ = window;
-			_tmp141_ = vala_terminal2_main_window_initial_command;
-			vala_terminal2_main_window_setup_command (_tmp140_, _tmp141_);
-		}
-	}
-	_tmp142_ = window;
-	vala_terminal2_main_window_run (_tmp142_);
-	result = 0;
-	_g_object_unref0 (window);
-	return result;
-}
-
-
-int main (int argc, char ** argv) {
-	g_type_init ();
-	return vala_terminal2_main_window_main (argv, argc);
-}
-
-
-static void vala_terminal2_main_window_class_init (ValaTerminal2MainWindowClass * klass) {
-	vala_terminal2_main_window_parent_class = g_type_class_peek_parent (klass);
-	g_type_class_add_private (klass, sizeof (ValaTerminal2MainWindowPrivate));
-	G_OBJECT_CLASS (klass)->finalize = vala_terminal2_main_window_finalize;
-}
-
-
-static void vala_terminal2_main_window_instance_init (ValaTerminal2MainWindow * self) {
-	self->priv = VALA_TERMINAL2_MAIN_WINDOW_GET_PRIVATE (self);
-}
-
-
-static void vala_terminal2_main_window_finalize (GObject* obj) {
-	ValaTerminal2MainWindow * self;
-	self = VALA_TERMINAL2_MAIN_WINDOW (obj);
-	_g_object_unref0 (self->priv->box);
-	_g_object_unref0 (self->priv->toolbar);
-	_g_object_unref0 (self->priv->notebook);
-	_g_object_unref0 (self->priv->btn_new);
-	_g_object_unref0 (self->priv->btn_delete);
-	_g_object_unref0 (self->priv->btn_zoom_in);
-	_g_object_unref0 (self->priv->btn_zoom_out);
-	_g_object_unref0 (self->priv->btn_paste);
-	_g_object_unref0 (self->priv->btn_prev_tab);
-	_g_object_unref0 (self->priv->btn_next_tab);
-	_g_object_unref0 (self->priv->tab_counter);
-	_g_object_unref0 (self->priv->btn_rotate);
-	_g_object_unref0 (self->priv->btn_fullscreen);
-	G_OBJECT_CLASS (vala_terminal2_main_window_parent_class)->finalize (obj);
-}
-
-
-GType vala_terminal2_main_window_get_type (void) {
-	static volatile gsize vala_terminal2_main_window_type_id__volatile = 0;
-	if (g_once_init_enter (&vala_terminal2_main_window_type_id__volatile)) {
-		static const GTypeInfo g_define_type_info = { sizeof (ValaTerminal2MainWindowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_terminal2_main_window_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaTerminal2MainWindow), 0, (GInstanceInitFunc) vala_terminal2_main_window_instance_init, NULL };
-		GType vala_terminal2_main_window_type_id;
-		vala_terminal2_main_window_type_id = g_type_register_static (GTK_TYPE_WINDOW, "ValaTerminal2MainWindow", &g_define_type_info, 0);
-		g_once_init_leave (&vala_terminal2_main_window_type_id__volatile, vala_terminal2_main_window_type_id);
-	}
-	return vala_terminal2_main_window_type_id__volatile;
-}
-
-
-
--- vala-terminal-1.3.orig/src/terminal.c
+++ /dev/null
@@ -1,569 +0,0 @@
-/* terminal.c generated by valac 0.14.1, the Vala compiler
- * generated from terminal.vala, do not modify */
-
-/*
- * Vala-Terminal -- a lightweight terminal program
- *
- * (C) 2007-2010 Michael 'Mickey' Lauer <mickey@vanille-media.de>
- * (C) 2009 Aapo Rantalainen
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
- */
-
-#include <glib.h>
-#include <glib-object.h>
-#include <gtk/gtk.h>
-#include <vte/vte.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <gdk/gdk.h>
-
-
-#define VALA_TERMINAL2_TYPE_MOKO_TERMINAL (vala_terminal2_moko_terminal_get_type ())
-#define VALA_TERMINAL2_MOKO_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminal))
-#define VALA_TERMINAL2_MOKO_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminalClass))
-#define VALA_TERMINAL2_IS_MOKO_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL))
-#define VALA_TERMINAL2_IS_MOKO_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TERMINAL2_TYPE_MOKO_TERMINAL))
-#define VALA_TERMINAL2_MOKO_TERMINAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminalClass))
-
-typedef struct _ValaTerminal2MokoTerminal ValaTerminal2MokoTerminal;
-typedef struct _ValaTerminal2MokoTerminalClass ValaTerminal2MokoTerminalClass;
-typedef struct _ValaTerminal2MokoTerminalPrivate ValaTerminal2MokoTerminalPrivate;
-#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
-#define _g_free0(var) (var = (g_free (var), NULL))
-
-struct _ValaTerminal2MokoTerminal {
-	GtkHBox parent_instance;
-	ValaTerminal2MokoTerminalPrivate * priv;
-};
-
-struct _ValaTerminal2MokoTerminalClass {
-	GtkHBoxClass parent_class;
-};
-
-struct _ValaTerminal2MokoTerminalPrivate {
-	guint fontsize;
-	GtkScrollbar* scrollbar;
-	VteTerminal* terminal;
-};
-
-
-static gpointer vala_terminal2_moko_terminal_parent_class = NULL;
-static gchar* vala_terminal2_moko_terminal_fontname;
-static gchar* vala_terminal2_moko_terminal_fontname = NULL;
-static guint vala_terminal2_moko_terminal_starting_fontsize;
-static guint vala_terminal2_moko_terminal_starting_fontsize = 0U;
-static gboolean vala_terminal2_moko_terminal_use_default_fore_color;
-static gboolean vala_terminal2_moko_terminal_use_default_fore_color = TRUE;
-static guint16 vala_terminal2_moko_terminal_fore_red;
-static guint16 vala_terminal2_moko_terminal_fore_red = 0U;
-static guint16 vala_terminal2_moko_terminal_fore_green;
-static guint16 vala_terminal2_moko_terminal_fore_green = 0U;
-static guint16 vala_terminal2_moko_terminal_fore_blue;
-static guint16 vala_terminal2_moko_terminal_fore_blue = 0U;
-static gboolean vala_terminal2_moko_terminal_use_default_back_color;
-static gboolean vala_terminal2_moko_terminal_use_default_back_color = TRUE;
-static guint16 vala_terminal2_moko_terminal_back_red;
-static guint16 vala_terminal2_moko_terminal_back_red = 0U;
-static guint16 vala_terminal2_moko_terminal_back_green;
-static guint16 vala_terminal2_moko_terminal_back_green = 0U;
-static guint16 vala_terminal2_moko_terminal_back_blue;
-static guint16 vala_terminal2_moko_terminal_back_blue = 0U;
-extern gint vala_terminal2_moko_terminal_starting_width;
-gint vala_terminal2_moko_terminal_starting_width = 0;
-extern gint vala_terminal2_moko_terminal_starting_height;
-gint vala_terminal2_moko_terminal_starting_height = 0;
-
-GType vala_terminal2_moko_terminal_get_type (void) G_GNUC_CONST;
-#define VALA_TERMINAL2_MOKO_TERMINAL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TERMINAL2_TYPE_MOKO_TERMINAL, ValaTerminal2MokoTerminalPrivate))
-enum  {
-	VALA_TERMINAL2_MOKO_TERMINAL_DUMMY_PROPERTY
-};
-void vala_terminal2_moko_terminal_set_font (const gchar* font);
-void vala_terminal2_moko_terminal_set_starting_fontsize (guint size);
-gchar* vala_terminal2_moko_terminal_get_title (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_set_fore_color (guint r, guint g, guint b);
-void vala_terminal2_moko_terminal_set_back_color (guint r, guint g, guint b);
-guint vala_terminal2_moko_terminal_get_font_size (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_update_font (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_zoom_in (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_zoom_out (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_paste (ValaTerminal2MokoTerminal* self);
-void vala_terminal2_moko_terminal_paste_command (ValaTerminal2MokoTerminal* self, const gchar* command);
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_new (void);
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_construct (GType object_type);
-static GObject * vala_terminal2_moko_terminal_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
-static void _vala_terminal2_moko_terminal___lambda0_ (ValaTerminal2MokoTerminal* self, VteTerminal* term);
-static void __vala_terminal2_moko_terminal___lambda0__vte_terminal_child_exited (VteTerminal* _sender, gpointer self);
-static void _vala_terminal2_moko_terminal___lambda1_ (ValaTerminal2MokoTerminal* self, VteTerminal* term);
-static void __vala_terminal2_moko_terminal___lambda1__vte_terminal_eof (VteTerminal* _sender, gpointer self);
-static void _vala_terminal2_moko_terminal___lambda2_ (ValaTerminal2MokoTerminal* self, VteTerminal* term);
-static void __vala_terminal2_moko_terminal___lambda2__vte_terminal_window_title_changed (VteTerminal* _sender, gpointer self);
-static void vala_terminal2_moko_terminal_finalize (GObject* obj);
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
-
-
-void vala_terminal2_moko_terminal_set_font (const gchar* font) {
-	const gchar* _tmp0_;
-	gchar* _tmp1_;
-	g_return_if_fail (font != NULL);
-	_tmp0_ = font;
-	_tmp1_ = g_strdup (_tmp0_);
-	_g_free0 (vala_terminal2_moko_terminal_fontname);
-	vala_terminal2_moko_terminal_fontname = _tmp1_;
-}
-
-
-void vala_terminal2_moko_terminal_set_starting_fontsize (guint size) {
-	guint _tmp0_;
-	_tmp0_ = size;
-	vala_terminal2_moko_terminal_starting_fontsize = _tmp0_;
-}
-
-
-gchar* vala_terminal2_moko_terminal_get_title (ValaTerminal2MokoTerminal* self) {
-	gchar* result = NULL;
-	VteTerminal* _tmp0_;
-	const gchar* _tmp1_;
-	const gchar* _tmp2_;
-	gchar* _tmp3_;
-	g_return_val_if_fail (self != NULL, NULL);
-	_tmp0_ = self->priv->terminal;
-	_tmp1_ = vte_terminal_get_window_title (_tmp0_);
-	_tmp2_ = _tmp1_;
-	_tmp3_ = g_strdup (_tmp2_);
-	result = _tmp3_;
-	return result;
-}
-
-
-void vala_terminal2_moko_terminal_set_fore_color (guint r, guint g, guint b) {
-	guint _tmp0_;
-	guint _tmp1_;
-	guint _tmp2_;
-	vala_terminal2_moko_terminal_use_default_fore_color = FALSE;
-	_tmp0_ = r;
-	vala_terminal2_moko_terminal_fore_red = (guint16) _tmp0_;
-	_tmp1_ = g;
-	vala_terminal2_moko_terminal_fore_green = (guint16) _tmp1_;
-	_tmp2_ = b;
-	vala_terminal2_moko_terminal_fore_blue = (guint16) _tmp2_;
-}
-
-
-void vala_terminal2_moko_terminal_set_back_color (guint r, guint g, guint b) {
-	guint _tmp0_;
-	guint _tmp1_;
-	guint _tmp2_;
-	vala_terminal2_moko_terminal_use_default_back_color = FALSE;
-	_tmp0_ = r;
-	vala_terminal2_moko_terminal_back_red = (guint16) _tmp0_;
-	_tmp1_ = g;
-	vala_terminal2_moko_terminal_back_green = (guint16) _tmp1_;
-	_tmp2_ = b;
-	vala_terminal2_moko_terminal_back_blue = (guint16) _tmp2_;
-}
-
-
-guint vala_terminal2_moko_terminal_get_font_size (ValaTerminal2MokoTerminal* self) {
-	guint result = 0U;
-	guint _tmp0_;
-	g_return_val_if_fail (self != NULL, 0U);
-	_tmp0_ = self->priv->fontsize;
-	result = _tmp0_;
-	return result;
-}
-
-
-void vala_terminal2_moko_terminal_update_font (ValaTerminal2MokoTerminal* self) {
-	const gchar* _tmp0_;
-	guint _tmp1_;
-	gchar* _tmp2_ = NULL;
-	gchar* font;
-	VteTerminal* _tmp3_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = vala_terminal2_moko_terminal_fontname;
-	_tmp1_ = self->priv->fontsize;
-	_tmp2_ = g_strdup_printf ("%s %u", _tmp0_, _tmp1_);
-	font = _tmp2_;
-	_tmp3_ = self->priv->terminal;
-	vte_terminal_set_font_from_string_full (_tmp3_, font, VTE_ANTI_ALIAS_FORCE_ENABLE);
-	_g_free0 (font);
-}
-
-
-void vala_terminal2_moko_terminal_zoom_in (ValaTerminal2MokoTerminal* self) {
-	guint _tmp0_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = self->priv->fontsize;
-	self->priv->fontsize = _tmp0_ + 1;
-	vala_terminal2_moko_terminal_update_font (self);
-}
-
-
-void vala_terminal2_moko_terminal_zoom_out (ValaTerminal2MokoTerminal* self) {
-	guint _tmp0_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = self->priv->fontsize;
-	self->priv->fontsize = _tmp0_ - 1;
-	vala_terminal2_moko_terminal_update_font (self);
-}
-
-
-void vala_terminal2_moko_terminal_paste (ValaTerminal2MokoTerminal* self) {
-	VteTerminal* _tmp0_;
-	g_return_if_fail (self != NULL);
-	_tmp0_ = self->priv->terminal;
-	vte_terminal_paste_primary (_tmp0_);
-}
-
-
-void vala_terminal2_moko_terminal_paste_command (ValaTerminal2MokoTerminal* self, const gchar* command) {
-	VteTerminal* _tmp0_;
-	const gchar* _tmp1_;
-	gchar* _tmp2_;
-	gchar* _tmp3_;
-	g_return_if_fail (self != NULL);
-	g_return_if_fail (command != NULL);
-	_tmp0_ = self->priv->terminal;
-	_tmp1_ = command;
-	_tmp2_ = g_strconcat (_tmp1_, "\0", NULL);
-	_tmp3_ = _tmp2_;
-	vte_terminal_feed_child (_tmp0_, _tmp3_, (glong) (-1));
-	_g_free0 (_tmp3_);
-}
-
-
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_construct (GType object_type) {
-	ValaTerminal2MokoTerminal * self = NULL;
-	self = (ValaTerminal2MokoTerminal*) g_object_new (object_type, NULL);
-	return self;
-}
-
-
-ValaTerminal2MokoTerminal* vala_terminal2_moko_terminal_new (void) {
-	return vala_terminal2_moko_terminal_construct (VALA_TERMINAL2_TYPE_MOKO_TERMINAL);
-}
-
-
-static void _vala_terminal2_moko_terminal___lambda0_ (ValaTerminal2MokoTerminal* self, VteTerminal* term) {
-	g_return_if_fail (term != NULL);
-	gtk_object_destroy ((GtkObject*) self);
-}
-
-
-static void __vala_terminal2_moko_terminal___lambda0__vte_terminal_child_exited (VteTerminal* _sender, gpointer self) {
-	_vala_terminal2_moko_terminal___lambda0_ (self, _sender);
-}
-
-
-static void _vala_terminal2_moko_terminal___lambda1_ (ValaTerminal2MokoTerminal* self, VteTerminal* term) {
-	g_return_if_fail (term != NULL);
-	gtk_object_destroy ((GtkObject*) self);
-}
-
-
-static void __vala_terminal2_moko_terminal___lambda1__vte_terminal_eof (VteTerminal* _sender, gpointer self) {
-	_vala_terminal2_moko_terminal___lambda1_ (self, _sender);
-}
-
-
-static void _vala_terminal2_moko_terminal___lambda2_ (ValaTerminal2MokoTerminal* self, VteTerminal* term) {
-	g_return_if_fail (term != NULL);
-	g_signal_emit_by_name (self, "title-changed");
-}
-
-
-static void __vala_terminal2_moko_terminal___lambda2__vte_terminal_window_title_changed (VteTerminal* _sender, gpointer self) {
-	_vala_terminal2_moko_terminal___lambda2_ (self, _sender);
-}
-
-
-static GObject * vala_terminal2_moko_terminal_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
-	GObject * obj;
-	GObjectClass * parent_class;
-	ValaTerminal2MokoTerminal * self;
-	FILE* _tmp0_;
-	const gchar* _tmp1_;
-	gboolean _tmp3_;
-	gboolean _tmp4_;
-	guint _tmp5_;
-	VteTerminal* _tmp6_;
-	VteTerminal* _tmp7_;
-	VteTerminal* _tmp8_;
-	VteTerminal* _tmp9_;
-	VteTerminal* _tmp10_;
-	VteTerminal* _tmp11_;
-	VteTerminal* _tmp12_;
-	GtkAdjustment* _tmp13_;
-	GtkVScrollbar* _tmp14_;
-	GtkScrollbar* _tmp15_;
-	GtkScrollbar* _tmp16_;
-	guint16 _tmp17_;
-	guint16 _tmp18_;
-	guint16 _tmp19_;
-	GdkColor _tmp20_ = {0};
-	GdkColor fore;
-	guint16 _tmp21_;
-	guint16 _tmp22_;
-	guint16 _tmp23_;
-	GdkColor _tmp24_ = {0};
-	GdkColor back;
-	GdkColor _tmp25_ = {0};
-	GdkColor _tmp26_ = {0};
-	GdkColor _tmp27_ = {0};
-	GdkColor _tmp28_ = {0};
-	GdkColor _tmp29_ = {0};
-	GdkColor _tmp30_ = {0};
-	GdkColor _tmp31_ = {0};
-	GdkColor _tmp32_ = {0};
-	GdkColor* _tmp33_ = NULL;
-	GdkColor* colors;
-	gint colors_length1;
-	gint _colors_size_;
-	VteTerminal* _tmp34_;
-	GdkColor _tmp35_;
-	GdkColor _tmp36_;
-	GdkColor* _tmp37_;
-	gint _tmp37__length1;
-	VteTerminal* _tmp38_;
-	VteTerminal* _tmp39_;
-	VteTerminal* _tmp40_;
-	VteTerminal* _tmp41_;
-	VteTerminal* _tmp42_;
-	gchar** _tmp43_ = NULL;
-	gchar** _tmp44_;
-	gint _tmp44__length1;
-	const gchar* _tmp45_ = NULL;
-	gboolean _tmp46_ = FALSE;
-	gint _tmp47_;
-	gboolean _tmp49_;
-	parent_class = G_OBJECT_CLASS (vala_terminal2_moko_terminal_parent_class);
-	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
-	self = VALA_TERMINAL2_MOKO_TERMINAL (obj);
-	_tmp0_ = stdout;
-	fprintf (_tmp0_, "moko-terminal constructed\n");
-	_tmp1_ = vala_terminal2_moko_terminal_fontname;
-	if (_tmp1_ == NULL) {
-		gchar* _tmp2_;
-		_tmp2_ = g_strdup ("LiberationMono");
-		_g_free0 (vala_terminal2_moko_terminal_fontname);
-		vala_terminal2_moko_terminal_fontname = _tmp2_;
-	}
-	_tmp3_ = vala_terminal2_moko_terminal_use_default_fore_color;
-	if (_tmp3_) {
-		vala_terminal2_moko_terminal_fore_red = (guint16) 0xffff;
-		vala_terminal2_moko_terminal_fore_green = (guint16) 0xffff;
-		vala_terminal2_moko_terminal_fore_blue = (guint16) 0xffff;
-	}
-	_tmp4_ = vala_terminal2_moko_terminal_use_default_back_color;
-	if (_tmp4_) {
-		vala_terminal2_moko_terminal_back_red = (guint16) 0x0000;
-		vala_terminal2_moko_terminal_back_green = (guint16) 0x0000;
-		vala_terminal2_moko_terminal_back_blue = (guint16) 0x0000;
-	}
-	_tmp5_ = vala_terminal2_moko_terminal_starting_fontsize;
-	self->priv->fontsize = _tmp5_;
-	_tmp6_ = (VteTerminal*) vte_terminal_new ();
-	_tmp7_ = g_object_ref_sink (_tmp6_);
-	_g_object_unref0 (self->priv->terminal);
-	self->priv->terminal = _tmp7_;
-	_tmp8_ = self->priv->terminal;
-	g_signal_connect_object (_tmp8_, "child-exited", (GCallback) __vala_terminal2_moko_terminal___lambda0__vte_terminal_child_exited, self, 0);
-	_tmp9_ = self->priv->terminal;
-	g_signal_connect_object (_tmp9_, "eof", (GCallback) __vala_terminal2_moko_terminal___lambda1__vte_terminal_eof, self, 0);
-	_tmp10_ = self->priv->terminal;
-	g_signal_connect_object (_tmp10_, "window-title-changed", (GCallback) __vala_terminal2_moko_terminal___lambda2__vte_terminal_window_title_changed, self, 0);
-	_tmp11_ = self->priv->terminal;
-	gtk_box_pack_start ((GtkBox*) self, (GtkWidget*) _tmp11_, TRUE, TRUE, (guint) 0);
-	_tmp12_ = self->priv->terminal;
-	_tmp13_ = _tmp12_->adjustment;
-	_tmp14_ = (GtkVScrollbar*) gtk_vscrollbar_new (_tmp13_);
-	_tmp15_ = (GtkScrollbar*) g_object_ref_sink (_tmp14_);
-	_g_object_unref0 (self->priv->scrollbar);
-	self->priv->scrollbar = _tmp15_;
-	_tmp16_ = self->priv->scrollbar;
-	gtk_box_pack_start ((GtkBox*) self, (GtkWidget*) _tmp16_, FALSE, FALSE, (guint) 0);
-	_tmp17_ = vala_terminal2_moko_terminal_fore_red;
-	_tmp18_ = vala_terminal2_moko_terminal_fore_green;
-	_tmp19_ = vala_terminal2_moko_terminal_fore_blue;
-	memset (&_tmp20_, 0, sizeof (GdkColor));
-	_tmp20_.pixel = (guint32) 0;
-	_tmp20_.red = _tmp17_;
-	_tmp20_.green = _tmp18_;
-	_tmp20_.blue = _tmp19_;
-	fore = _tmp20_;
-	_tmp21_ = vala_terminal2_moko_terminal_back_red;
-	_tmp22_ = vala_terminal2_moko_terminal_back_green;
-	_tmp23_ = vala_terminal2_moko_terminal_back_blue;
-	memset (&_tmp24_, 0, sizeof (GdkColor));
-	_tmp24_.pixel = (guint32) 0;
-	_tmp24_.red = _tmp21_;
-	_tmp24_.green = _tmp22_;
-	_tmp24_.blue = _tmp23_;
-	back = _tmp24_;
-	memset (&_tmp25_, 0, sizeof (GdkColor));
-	_tmp25_.pixel = (guint32) 0;
-	_tmp25_.red = (guint16) 0x0000;
-	_tmp25_.green = (guint16) 0x0000;
-	_tmp25_.blue = (guint16) 0x0000;
-	memset (&_tmp26_, 0, sizeof (GdkColor));
-	_tmp26_.pixel = (guint32) 0;
-	_tmp26_.red = (guint16) 0x8000;
-	_tmp26_.green = (guint16) 0x0000;
-	_tmp26_.blue = (guint16) 0x0000;
-	memset (&_tmp27_, 0, sizeof (GdkColor));
-	_tmp27_.pixel = (guint32) 0;
-	_tmp27_.red = (guint16) 0x0000;
-	_tmp27_.green = (guint16) 0x8000;
-	_tmp27_.blue = (guint16) 0x0000;
-	memset (&_tmp28_, 0, sizeof (GdkColor));
-	_tmp28_.pixel = (guint32) 0;
-	_tmp28_.red = (guint16) 0x8000;
-	_tmp28_.green = (guint16) 0x8000;
-	_tmp28_.blue = (guint16) 0x0000;
-	memset (&_tmp29_, 0, sizeof (GdkColor));
-	_tmp29_.pixel = (guint32) 0;
-	_tmp29_.red = (guint16) 0x0000;
-	_tmp29_.green = (guint16) 0x0000;
-	_tmp29_.blue = (guint16) 0x8000;
-	memset (&_tmp30_, 0, sizeof (GdkColor));
-	_tmp30_.pixel = (guint32) 0;
-	_tmp30_.red = (guint16) 0x8000;
-	_tmp30_.green = (guint16) 0x0000;
-	_tmp30_.blue = (guint16) 0x8000;
-	memset (&_tmp31_, 0, sizeof (GdkColor));
-	_tmp31_.pixel = (guint32) 0;
-	_tmp31_.red = (guint16) 0x0000;
-	_tmp31_.green = (guint16) 0x8000;
-	_tmp31_.blue = (guint16) 0x8000;
-	memset (&_tmp32_, 0, sizeof (GdkColor));
-	_tmp32_.pixel = (guint32) 0;
-	_tmp32_.red = (guint16) 0x8000;
-	_tmp32_.green = (guint16) 0x8000;
-	_tmp32_.blue = (guint16) 0x8000;
-	_tmp33_ = g_new0 (GdkColor, 8);
-	_tmp33_[0] = _tmp25_;
-	_tmp33_[1] = _tmp26_;
-	_tmp33_[2] = _tmp27_;
-	_tmp33_[3] = _tmp28_;
-	_tmp33_[4] = _tmp29_;
-	_tmp33_[5] = _tmp30_;
-	_tmp33_[6] = _tmp31_;
-	_tmp33_[7] = _tmp32_;
-	colors = _tmp33_;
-	colors_length1 = 8;
-	_colors_size_ = colors_length1;
-	_tmp34_ = self->priv->terminal;
-	_tmp35_ = fore;
-	_tmp36_ = back;
-	_tmp37_ = colors;
-	_tmp37__length1 = colors_length1;
-	vte_terminal_set_colors (_tmp34_, &_tmp35_, &_tmp36_, _tmp37_, _tmp37__length1);
-	vala_terminal2_moko_terminal_update_font (self);
-	_tmp38_ = self->priv->terminal;
-	vte_terminal_set_scrollback_lines (_tmp38_, (glong) 1000);
-	_tmp39_ = self->priv->terminal;
-	vte_terminal_set_mouse_autohide (_tmp39_, TRUE);
-	_tmp40_ = self->priv->terminal;
-	vte_terminal_set_cursor_blinks (_tmp40_, TRUE);
-	_tmp41_ = self->priv->terminal;
-	vte_terminal_set_backspace_binding (_tmp41_, VTE_ERASE_ASCII_DELETE);
-	_tmp42_ = self->priv->terminal;
-	_tmp43_ = g_new0 (gchar*, 0 + 1);
-	_tmp44_ = _tmp43_;
-	_tmp44__length1 = 0;
-	_tmp45_ = g_getenv ("HOME");
-	vte_terminal_fork_command (_tmp42_, (const gchar*) 0, (gchar**) 0, _tmp44_, _tmp45_, TRUE, TRUE, TRUE);
-	_tmp44_ = (_vala_array_free (_tmp44_, _tmp44__length1, (GDestroyNotify) g_free), NULL);
-	_tmp47_ = vala_terminal2_moko_terminal_starting_width;
-	if (_tmp47_ > 0) {
-		gint _tmp48_;
-		_tmp48_ = vala_terminal2_moko_terminal_starting_height;
-		_tmp46_ = _tmp48_ > 0;
-	} else {
-		_tmp46_ = FALSE;
-	}
-	_tmp49_ = _tmp46_;
-	if (_tmp49_) {
-		VteTerminal* _tmp50_;
-		gint _tmp51_;
-		gint _tmp52_;
-		_tmp50_ = self->priv->terminal;
-		_tmp51_ = vala_terminal2_moko_terminal_starting_width;
-		_tmp52_ = vala_terminal2_moko_terminal_starting_height;
-		vte_terminal_set_size (_tmp50_, (glong) _tmp51_, (glong) _tmp52_);
-	}
-	colors = (g_free (colors), NULL);
-	return obj;
-}
-
-
-static void vala_terminal2_moko_terminal_class_init (ValaTerminal2MokoTerminalClass * klass) {
-	vala_terminal2_moko_terminal_parent_class = g_type_class_peek_parent (klass);
-	g_type_class_add_private (klass, sizeof (ValaTerminal2MokoTerminalPrivate));
-	G_OBJECT_CLASS (klass)->constructor = vala_terminal2_moko_terminal_constructor;
-	G_OBJECT_CLASS (klass)->finalize = vala_terminal2_moko_terminal_finalize;
-	g_signal_new ("title_changed", VALA_TERMINAL2_TYPE_MOKO_TERMINAL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-}
-
-
-static void vala_terminal2_moko_terminal_instance_init (ValaTerminal2MokoTerminal * self) {
-	self->priv = VALA_TERMINAL2_MOKO_TERMINAL_GET_PRIVATE (self);
-}
-
-
-static void vala_terminal2_moko_terminal_finalize (GObject* obj) {
-	ValaTerminal2MokoTerminal * self;
-	self = VALA_TERMINAL2_MOKO_TERMINAL (obj);
-	_g_object_unref0 (self->priv->scrollbar);
-	_g_object_unref0 (self->priv->terminal);
-	G_OBJECT_CLASS (vala_terminal2_moko_terminal_parent_class)->finalize (obj);
-}
-
-
-GType vala_terminal2_moko_terminal_get_type (void) {
-	static volatile gsize vala_terminal2_moko_terminal_type_id__volatile = 0;
-	if (g_once_init_enter (&vala_terminal2_moko_terminal_type_id__volatile)) {
-		static const GTypeInfo g_define_type_info = { sizeof (ValaTerminal2MokoTerminalClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_terminal2_moko_terminal_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaTerminal2MokoTerminal), 0, (GInstanceInitFunc) vala_terminal2_moko_terminal_instance_init, NULL };
-		GType vala_terminal2_moko_terminal_type_id;
-		vala_terminal2_moko_terminal_type_id = g_type_register_static (GTK_TYPE_HBOX, "ValaTerminal2MokoTerminal", &g_define_type_info, 0);
-		g_once_init_leave (&vala_terminal2_moko_terminal_type_id__volatile, vala_terminal2_moko_terminal_type_id);
-	}
-	return vala_terminal2_moko_terminal_type_id__volatile;
-}
-
-
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
-	if ((array != NULL) && (destroy_func != NULL)) {
-		int i;
-		for (i = 0; i < array_length; i = i + 1) {
-			if (((gpointer*) array)[i] != NULL) {
-				destroy_func (((gpointer*) array)[i]);
-			}
-		}
-	}
-}
-
-
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
-	_vala_array_destroy (array, array_length, destroy_func);
-	g_free (array);
-}
-
-
-