/* quadrapassel.c generated by valac 0.34.0.4-5c9b2, the Vala compiler
 * generated from quadrapassel.vala, do not modify */

/*
 * Copyright (C) 2010-2013 Robert Ancell
 *
 * 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. See http://www.gnu.org/copyleft/gpl.html the full text of the
 * license.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <clutter-gtk/clutter-gtk.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <locale.h>
#include <clutter/clutter.h>
#include <stdio.h>


#define TYPE_QUADRAPASSEL (quadrapassel_get_type ())
#define QUADRAPASSEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_QUADRAPASSEL, Quadrapassel))
#define QUADRAPASSEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_QUADRAPASSEL, QuadrapasselClass))
#define IS_QUADRAPASSEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_QUADRAPASSEL))
#define IS_QUADRAPASSEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_QUADRAPASSEL))
#define QUADRAPASSEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_QUADRAPASSEL, QuadrapasselClass))

typedef struct _Quadrapassel Quadrapassel;
typedef struct _QuadrapasselClass QuadrapasselClass;
typedef struct _QuadrapasselPrivate QuadrapasselPrivate;

#define TYPE_GAME (game_get_type ())
#define GAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GAME, Game))
#define GAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GAME, GameClass))
#define IS_GAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GAME))
#define IS_GAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GAME))
#define GAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GAME, GameClass))

typedef struct _Game Game;
typedef struct _GameClass GameClass;

#define TYPE_GAME_VIEW (game_view_get_type ())
#define GAME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GAME_VIEW, GameView))
#define GAME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GAME_VIEW, GameViewClass))
#define IS_GAME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GAME_VIEW))
#define IS_GAME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GAME_VIEW))
#define GAME_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GAME_VIEW, GameViewClass))

typedef struct _GameView GameView;
typedef struct _GameViewClass GameViewClass;

#define TYPE_PREVIEW (preview_get_type ())
#define PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREVIEW, Preview))
#define PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREVIEW, PreviewClass))
#define IS_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREVIEW))
#define IS_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREVIEW))
#define PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREVIEW, PreviewClass))

typedef struct _Preview Preview;
typedef struct _PreviewClass PreviewClass;

#define TYPE_HISTORY (history_get_type ())
#define HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_HISTORY, History))
#define HISTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HISTORY, HistoryClass))
#define IS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_HISTORY))
#define IS_HISTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_HISTORY))
#define HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_HISTORY, HistoryClass))

typedef struct _History History;
typedef struct _HistoryClass HistoryClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _GameViewPrivate GameViewPrivate;
typedef struct _GamePrivate GamePrivate;

#define TYPE_SHAPE (shape_get_type ())
#define SHAPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SHAPE, Shape))
#define SHAPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SHAPE, ShapeClass))
#define IS_SHAPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SHAPE))
#define IS_SHAPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SHAPE))
#define SHAPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SHAPE, ShapeClass))

typedef struct _Shape Shape;
typedef struct _ShapeClass ShapeClass;

#define TYPE_BLOCK (block_get_type ())
#define BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_BLOCK, Block))
#define BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_BLOCK, BlockClass))
#define IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_BLOCK))
#define IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_BLOCK))
#define BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_BLOCK, BlockClass))

typedef struct _Block Block;
typedef struct _BlockClass BlockClass;

#define TYPE_HISTORY_ENTRY (history_entry_get_type ())
#define HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_HISTORY_ENTRY, HistoryEntry))
#define HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HISTORY_ENTRY, HistoryEntryClass))
#define IS_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_HISTORY_ENTRY))
#define IS_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_HISTORY_ENTRY))
#define HISTORY_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_HISTORY_ENTRY, HistoryEntryClass))

typedef struct _HistoryEntry HistoryEntry;
typedef struct _HistoryEntryClass HistoryEntryClass;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))

#define TYPE_SCORE_DIALOG (score_dialog_get_type ())
#define SCORE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SCORE_DIALOG, ScoreDialog))
#define SCORE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SCORE_DIALOG, ScoreDialogClass))
#define IS_SCORE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SCORE_DIALOG))
#define IS_SCORE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SCORE_DIALOG))
#define SCORE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SCORE_DIALOG, ScoreDialogClass))

typedef struct _ScoreDialog ScoreDialog;
typedef struct _ScoreDialogClass ScoreDialogClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL)))

struct _Quadrapassel {
	GtkApplication parent_instance;
	QuadrapasselPrivate * priv;
};

struct _QuadrapasselClass {
	GtkApplicationClass parent_class;
};

struct _QuadrapasselPrivate {
	GSettings* settings;
	GtkWindow* window;
	gint window_width;
	gint window_height;
	gboolean is_maximized;
	gboolean is_tiled;
	Game* game;
	GameView* view;
	Preview* preview;
	GtkLabel* score_label;
	GtkLabel* n_destroyed_label;
	GtkLabel* level_label;
	History* history;
	GSimpleAction* pause_action;
	GtkButton* pause_play_button;
	GtkImage* pause_play_button_image;
	GtkDialog* preferences_dialog;
	GtkSpinButton* starting_level_spin;
	Preview* theme_preview;
	GtkSpinButton* fill_height_spinner;
	GtkSpinButton* fill_prob_spinner;
	GtkCheckButton* do_preview_toggle;
	GtkCheckButton* difficult_blocks_toggle;
	GtkCheckButton* rotate_counter_clock_wise_toggle;
	GtkCheckButton* show_shadow_toggle;
	GtkCheckButton* sound_toggle;
	GtkListStore* controls_model;
};

struct _GameView {
	GtkClutterEmbed parent_instance;
	GameViewPrivate * priv;
	gboolean mute;
};

struct _GameViewClass {
	GtkClutterEmbedClass parent_class;
};

struct _Game {
	GObject parent_instance;
	GamePrivate * priv;
	Shape* shape;
	Shape* next_shape;
	Block** blocks;
	gint blocks_length1;
	gint blocks_length2;
	gint n_lines_destroyed;
	gint score;
	gboolean game_over;
};

struct _GameClass {
	GObjectClass parent_class;
};


static gpointer quadrapassel_parent_class = NULL;

GType quadrapassel_get_type (void) G_GNUC_CONST;
GType game_get_type (void) G_GNUC_CONST;
GType game_view_get_type (void) G_GNUC_CONST;
GType preview_get_type (void) G_GNUC_CONST;
GType history_get_type (void) G_GNUC_CONST;
#define QUADRAPASSEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_QUADRAPASSEL, QuadrapasselPrivate))
enum  {
	QUADRAPASSEL_DUMMY_PROPERTY
};
static void quadrapassel_new_game_cb (Quadrapassel* self);
static void _quadrapassel_new_game_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_pause_cb (Quadrapassel* self);
static void _quadrapassel_pause_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_scores_cb (Quadrapassel* self);
static void _quadrapassel_scores_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_preferences_cb (Quadrapassel* self);
static void _quadrapassel_preferences_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_help_cb (Quadrapassel* self);
static void _quadrapassel_help_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_about_cb (Quadrapassel* self);
static void _quadrapassel_about_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void quadrapassel_quit_cb (Quadrapassel* self);
static void _quadrapassel_quit_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
Quadrapassel* quadrapassel_new (void);
Quadrapassel* quadrapassel_construct (GType object_type);
static void quadrapassel_real_startup (GApplication* base);
static void quadrapassel_size_allocate_cb (Quadrapassel* self, GtkAllocation* allocation);
static void _quadrapassel_size_allocate_cb_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
static gboolean quadrapassel_window_state_event_cb (Quadrapassel* self, GdkEventWindowState* event);
static gboolean _quadrapassel_window_state_event_cb_gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self);
static gboolean quadrapassel_key_press_event_cb (Quadrapassel* self, GtkWidget* widget, GdkEventKey* event);
static gboolean _quadrapassel_key_press_event_cb_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
static gboolean quadrapassel_key_release_event_cb (Quadrapassel* self, GtkWidget* widget, GdkEventKey* event);
static gboolean _quadrapassel_key_release_event_cb_gtk_widget_key_release_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
GameView* game_view_new (void);
GameView* game_view_construct (GType object_type);
void game_view_set_theme (GameView* self, const gchar* value);
void game_view_set_show_shadow (GameView* self, gboolean value);
Game* game_new (gint lines, gint columns, gint starting_level, gint filled_lines, gint fill_prob, gboolean pick_difficult_blocks);
Game* game_construct (GType object_type, gint lines, gint columns, gint starting_level, gint filled_lines, gint fill_prob, gboolean pick_difficult_blocks);
void game_view_set_game (GameView* self, Game* value);
Preview* preview_new (GtkFrame* parent);
Preview* preview_construct (GType object_type, GtkFrame* parent);
void preview_set_theme (Preview* self, const gchar* value);
void preview_set_enabled (Preview* self, gboolean value);
History* history_new (const gchar* filename);
History* history_construct (GType object_type, const gchar* filename);
void history_load (History* self);
static void quadrapassel_real_shutdown (GApplication* base);
GType shape_get_type (void) G_GNUC_CONST;
GType block_get_type (void) G_GNUC_CONST;
GType history_entry_get_type (void) G_GNUC_CONST;
HistoryEntry* history_entry_new (GDateTime* date, gint score);
HistoryEntry* history_entry_construct (GType object_type, GDateTime* date, gint score);
void history_add (History* self, HistoryEntry* entry);
void history_save (History* self);
static void quadrapassel_real_activate (GApplication* base);
static void quadrapassel_preferences_dialog_close_cb (Quadrapassel* self);
static void quadrapassel_preferences_dialog_response_cb (Quadrapassel* self, gint response_id);
static void _quadrapassel_preferences_dialog_close_cb_gtk_dialog_close (GtkDialog* _sender, gpointer self);
static void _quadrapassel_preferences_dialog_response_cb_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void quadrapassel_fill_height_spinner_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin);
static void _quadrapassel_fill_height_spinner_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self);
static void quadrapassel_fill_prob_spinner_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin);
static void _quadrapassel_fill_prob_spinner_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self);
static void quadrapassel_starting_level_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin);
static void _quadrapassel_starting_level_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self);
static void quadrapassel_sound_toggle_toggled_cb (Quadrapassel* self);
static void _quadrapassel_sound_toggle_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void quadrapassel_difficult_blocks_toggled_cb (Quadrapassel* self);
static void _quadrapassel_difficult_blocks_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void quadrapassel_do_preview_toggle_toggled_cb (Quadrapassel* self);
static void _quadrapassel_do_preview_toggle_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void quadrapassel_set_rotate_counter_clock_wise (Quadrapassel* self);
static void _quadrapassel_set_rotate_counter_clock_wise_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void quadrapassel_user_target_toggled_cb (Quadrapassel* self);
static void _quadrapassel_user_target_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void quadrapassel_accel_edited_cb (Quadrapassel* self, GtkCellRendererAccel* cell, const gchar* path_string, guint keyval, GdkModifierType mask, guint hardware_keycode);
static void _quadrapassel_accel_edited_cb_gtk_cell_renderer_accel_accel_edited (GtkCellRendererAccel* _sender, const gchar* path_string, guint accel_key, GdkModifierType accel_mods, guint hardware_keycode, gpointer self);
static void quadrapassel_accel_cleared_cb (Quadrapassel* self, GtkCellRendererAccel* cell, const gchar* path_string);
static void _quadrapassel_accel_cleared_cb_gtk_cell_renderer_accel_accel_cleared (GtkCellRendererAccel* _sender, const gchar* path_string, gpointer self);
static void quadrapassel_theme_combo_changed_cb (Quadrapassel* self, GtkComboBox* widget);
static void _quadrapassel_theme_combo_changed_cb_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
void preview_set_game (Preview* self, Game* value);
static void quadrapassel_update_preview_settings (Quadrapassel* self);
gboolean game_get_paused (Game* self);
void game_set_paused (Game* self, gboolean value);
static guint quadrapassel_upper_key (Quadrapassel* self, guint keyval);
gboolean game_move_left (Game* self);
gboolean game_move_right (Game* self);
gboolean game_rotate_left (Game* self);
gboolean game_rotate_right (Game* self);
void game_set_fast_forward (Game* self, gboolean enable);
void game_drop (Game* self);
static void quadrapassel_new_game (Quadrapassel* self);
void game_stop (Game* self);
static void quadrapassel_pause_changed_cb (Quadrapassel* self);
static void _quadrapassel_pause_changed_cb_game_pause_changed (Game* _sender, gpointer self);
static void quadrapassel_shape_landed_cb (Quadrapassel* self, gint* lines, int lines_length1, GList* line_blocks);
static void _quadrapassel_shape_landed_cb_game_shape_landed (Game* _sender, gint* lines, int lines_length1, GList* line_blocks, gpointer self);
static void quadrapassel_complete_cb (Quadrapassel* self);
static void _quadrapassel_complete_cb_game_complete (Game* _sender, gpointer self);
void game_start (Game* self);
static void quadrapassel_update_score (Quadrapassel* self);
static gint quadrapassel_show_scores (Quadrapassel* self, HistoryEntry* selected_entry, gboolean show_close);
GType score_dialog_get_type (void) G_GNUC_CONST;
ScoreDialog* score_dialog_new (History* history, HistoryEntry* selected_entry, gboolean show_close);
ScoreDialog* score_dialog_construct (GType object_type, History* history, HistoryEntry* selected_entry, gboolean show_close);
gint game_get_level (Game* self);
gint quadrapassel_main (gchar** args, int args_length1);
static void quadrapassel_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);

static const GActionEntry QUADRAPASSEL_action_entries[7] = {{"new-game", _quadrapassel_new_game_cb_gsimple_action_activate_callback}, {"pause", _quadrapassel_pause_cb_gsimple_action_activate_callback}, {"scores", _quadrapassel_scores_cb_gsimple_action_activate_callback}, {"preferences", _quadrapassel_preferences_cb_gsimple_action_activate_callback}, {"help", _quadrapassel_help_cb_gsimple_action_activate_callback}, {"about", _quadrapassel_about_cb_gsimple_action_activate_callback}, {"quit", _quadrapassel_quit_cb_gsimple_action_activate_callback}};

static void _quadrapassel_new_game_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_new_game_cb ((Quadrapassel*) self);
#line 318 "quadrapassel.c"
}


static void _quadrapassel_pause_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_pause_cb ((Quadrapassel*) self);
#line 325 "quadrapassel.c"
}


static void _quadrapassel_scores_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_scores_cb ((Quadrapassel*) self);
#line 332 "quadrapassel.c"
}


static void _quadrapassel_preferences_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_preferences_cb ((Quadrapassel*) self);
#line 339 "quadrapassel.c"
}


static void _quadrapassel_help_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_help_cb ((Quadrapassel*) self);
#line 346 "quadrapassel.c"
}


static void _quadrapassel_about_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_about_cb ((Quadrapassel*) self);
#line 353 "quadrapassel.c"
}


static void _quadrapassel_quit_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 60 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_quit_cb ((Quadrapassel*) self);
#line 360 "quadrapassel.c"
}


Quadrapassel* quadrapassel_construct (GType object_type) {
	Quadrapassel * self = NULL;
#line 73 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self = (Quadrapassel*) g_object_new (object_type, "application-id", "org.gnome.quadrapassel", "flags", G_APPLICATION_FLAGS_NONE, NULL);
#line 71 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return self;
#line 370 "quadrapassel.c"
}


Quadrapassel* quadrapassel_new (void) {
#line 71 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return quadrapassel_construct (TYPE_QUADRAPASSEL);
#line 377 "quadrapassel.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 88 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return self ? g_object_ref (self) : NULL;
#line 384 "quadrapassel.c"
}


static void _quadrapassel_size_allocate_cb_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 109 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_size_allocate_cb ((Quadrapassel*) self, allocation);
#line 391 "quadrapassel.c"
}


static gboolean _quadrapassel_window_state_event_cb_gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) {
	gboolean result;
	result = quadrapassel_window_state_event_cb ((Quadrapassel*) self, event);
#line 110 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 400 "quadrapassel.c"
}


static gboolean _quadrapassel_key_press_event_cb_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = quadrapassel_key_press_event_cb ((Quadrapassel*) self, _sender, event);
#line 111 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 409 "quadrapassel.c"
}


static gboolean _quadrapassel_key_release_event_cb_gtk_widget_key_release_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = quadrapassel_key_release_event_cb ((Quadrapassel*) self, _sender, event);
#line 112 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 418 "quadrapassel.c"
}


static void quadrapassel_real_startup (GApplication* base) {
	Quadrapassel * self;
	GtkSettings* _tmp0_ = NULL;
	GAction* _tmp1_ = NULL;
	GSimpleAction* _tmp2_ = NULL;
	GMenu* menu = NULL;
	GMenu* _tmp3_ = NULL;
	GMenu* section = NULL;
	GMenu* _tmp4_ = NULL;
	GMenu* _tmp5_ = NULL;
	GMenu* _tmp6_ = NULL;
	GMenu* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	GMenu* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	GMenu* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	GMenu* _tmp13_ = NULL;
	GMenu* _tmp14_ = NULL;
	GMenu* _tmp15_ = NULL;
	GMenu* _tmp16_ = NULL;
	const gchar* _tmp17_ = NULL;
	GMenu* _tmp18_ = NULL;
	const gchar* _tmp19_ = NULL;
	GMenu* _tmp20_ = NULL;
	const gchar* _tmp21_ = NULL;
	GMenu* _tmp22_ = NULL;
	GSettings* _tmp23_ = NULL;
	GtkApplicationWindow* _tmp24_ = NULL;
	GtkWindow* _tmp25_ = NULL;
	GtkWindow* _tmp26_ = NULL;
	GtkWindow* _tmp27_ = NULL;
	gint _tmp28_ = 0;
	GtkWindow* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GtkWindow* _tmp31_ = NULL;
	GtkWindow* _tmp32_ = NULL;
	GtkWindow* _tmp33_ = NULL;
	GtkWindow* _tmp34_ = NULL;
	GtkWindow* _tmp35_ = NULL;
	GSettings* _tmp36_ = NULL;
	gint _tmp37_ = 0;
	GSettings* _tmp38_ = NULL;
	gint _tmp39_ = 0;
	GSettings* _tmp40_ = NULL;
	gboolean _tmp41_ = FALSE;
	GtkHeaderBar* headerbar = NULL;
	GtkHeaderBar* _tmp43_ = NULL;
	const gchar* _tmp44_ = NULL;
	GtkWindow* _tmp45_ = NULL;
	GtkGrid* game_grid = NULL;
	GtkGrid* _tmp46_ = NULL;
	GtkWindow* _tmp47_ = NULL;
	GameView* _tmp48_ = NULL;
	GameView* _tmp49_ = NULL;
	GSettings* _tmp50_ = NULL;
	gchar* _tmp51_ = NULL;
	gchar* _tmp52_ = NULL;
	GameView* _tmp53_ = NULL;
	GSettings* _tmp54_ = NULL;
	gboolean _tmp55_ = FALSE;
	GameView* _tmp56_ = NULL;
	GSettings* _tmp57_ = NULL;
	gboolean _tmp58_ = FALSE;
	GameView* _tmp59_ = NULL;
	Game* _tmp60_ = NULL;
	Game* _tmp61_ = NULL;
	GameView* _tmp62_ = NULL;
	GtkAspectFrame* game_aspect = NULL;
	GtkAspectFrame* _tmp63_ = NULL;
	GameView* _tmp64_ = NULL;
	GtkButton* _tmp65_ = NULL;
	GtkImage* _tmp66_ = NULL;
	GtkButton* _tmp67_ = NULL;
	GtkImage* _tmp68_ = NULL;
	GtkButton* _tmp69_ = NULL;
	GtkButton* _tmp70_ = NULL;
	const gchar* _tmp71_ = NULL;
	GtkButton* _tmp72_ = NULL;
	GtkImage* _tmp73_ = NULL;
	GtkButton* _tmp74_ = NULL;
	GtkAspectFrame* preview_frame = NULL;
	const gchar* _tmp75_ = NULL;
	GtkAspectFrame* _tmp76_ = NULL;
	Preview* _tmp77_ = NULL;
	Preview* _tmp78_ = NULL;
	GSettings* _tmp79_ = NULL;
	gchar* _tmp80_ = NULL;
	gchar* _tmp81_ = NULL;
	Preview* _tmp82_ = NULL;
	GSettings* _tmp83_ = NULL;
	gboolean _tmp84_ = FALSE;
	Preview* _tmp85_ = NULL;
	Preview* _tmp86_ = NULL;
	GtkLabel* label = NULL;
	GtkLabel* _tmp87_ = NULL;
	GtkLabel* _tmp88_ = NULL;
	const gchar* _tmp89_ = NULL;
	gchar* _tmp90_ = NULL;
	gchar* _tmp91_ = NULL;
	GtkLabel* _tmp92_ = NULL;
	GtkLabel* _tmp93_ = NULL;
	GtkLabel* _tmp94_ = NULL;
	GtkLabel* _tmp95_ = NULL;
	GtkLabel* _tmp96_ = NULL;
	GtkLabel* _tmp97_ = NULL;
	GtkLabel* _tmp98_ = NULL;
	GtkLabel* _tmp99_ = NULL;
	GtkLabel* _tmp100_ = NULL;
	GtkLabel* _tmp101_ = NULL;
	const gchar* _tmp102_ = NULL;
	gchar* _tmp103_ = NULL;
	gchar* _tmp104_ = NULL;
	GtkLabel* _tmp105_ = NULL;
	GtkLabel* _tmp106_ = NULL;
	GtkLabel* _tmp107_ = NULL;
	GtkLabel* _tmp108_ = NULL;
	GtkLabel* _tmp109_ = NULL;
	GtkLabel* _tmp110_ = NULL;
	GtkLabel* _tmp111_ = NULL;
	GtkLabel* _tmp112_ = NULL;
	GtkLabel* _tmp113_ = NULL;
	GtkLabel* _tmp114_ = NULL;
	const gchar* _tmp115_ = NULL;
	gchar* _tmp116_ = NULL;
	gchar* _tmp117_ = NULL;
	GtkLabel* _tmp118_ = NULL;
	GtkLabel* _tmp119_ = NULL;
	GtkLabel* _tmp120_ = NULL;
	GtkLabel* _tmp121_ = NULL;
	GtkLabel* _tmp122_ = NULL;
	GtkLabel* _tmp123_ = NULL;
	GtkLabel* _tmp124_ = NULL;
	GtkLabel* _tmp125_ = NULL;
	GtkButton* _tmp126_ = NULL;
	const gchar* _tmp127_ = NULL;
	gchar* _tmp128_ = NULL;
	gchar* _tmp129_ = NULL;
	History* _tmp130_ = NULL;
	History* _tmp131_ = NULL;
	GSimpleAction* _tmp132_ = NULL;
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self = (Quadrapassel*) base;
#line 78 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	G_APPLICATION_CLASS (quadrapassel_parent_class)->startup ((GApplication*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_get_type (), GtkApplication));
#line 80 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 80 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set ((GObject*) _tmp0_, "gtk-application-prefer-dark-theme", TRUE, NULL);
#line 82 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_action_map_add_action_entries ((GActionMap*) self, QUADRAPASSEL_action_entries, G_N_ELEMENTS (QUADRAPASSEL_action_entries), self);
#line 83 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_add_accelerator ((GtkApplication*) self, "<Primary>n", "app.new-game", NULL);
#line 84 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_add_accelerator ((GtkApplication*) self, "Pause", "app.pause", NULL);
#line 85 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_add_accelerator ((GtkApplication*) self, "F11", "app.fullscreen", NULL);
#line 86 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_add_accelerator ((GtkApplication*) self, "F1", "app.help", NULL);
#line 87 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_add_accelerator ((GtkApplication*) self, "<Primary>q", "app.quit", NULL);
#line 88 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = g_action_map_lookup_action ((GActionMap*) self, "pause");
#line 88 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL);
#line 88 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_action);
#line 88 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->pause_action = _tmp2_;
#line 90 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = g_menu_new ();
#line 90 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	menu = _tmp3_;
#line 91 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = g_menu_new ();
#line 91 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	section = _tmp4_;
#line 92 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = menu;
#line 92 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = section;
#line 92 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append_section (_tmp5_, NULL, (GMenuModel*) _tmp6_);
#line 93 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = section;
#line 93 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = _ ("_New Game");
#line 93 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp7_, _tmp8_, "app.new-game");
#line 94 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = section;
#line 94 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = _ ("_Scores");
#line 94 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp9_, _tmp10_, "app.scores");
#line 95 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = section;
#line 95 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = _ ("_Preferences");
#line 95 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp11_, _tmp12_, "app.preferences");
#line 96 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = g_menu_new ();
#line 96 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (section);
#line 96 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	section = _tmp13_;
#line 97 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = menu;
#line 97 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = section;
#line 97 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append_section (_tmp14_, NULL, (GMenuModel*) _tmp15_);
#line 98 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp16_ = section;
#line 98 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp17_ = _ ("_Help");
#line 98 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp16_, _tmp17_, "app.help");
#line 99 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp18_ = section;
#line 99 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp19_ = _ ("_About");
#line 99 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp18_, _tmp19_, "app.about");
#line 100 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp20_ = section;
#line 100 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp21_ = _ ("_Quit");
#line 100 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_menu_append (_tmp20_, _tmp21_, "app.quit");
#line 101 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp22_ = menu;
#line 101 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_application_set_app_menu ((GtkApplication*) self, (GMenuModel*) _tmp22_);
#line 103 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp23_ = g_settings_new ("org.gnome.quadrapassel");
#line 103 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->settings);
#line 103 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->settings = _tmp23_;
#line 105 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp24_ = (GtkApplicationWindow*) gtk_application_window_new ((GtkApplication*) self);
#line 105 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp24_);
#line 105 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->window);
#line 105 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->window = (GtkWindow*) _tmp24_;
#line 106 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp25_ = self->priv->window;
#line 106 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_icon_name (_tmp25_, "quadrapassel");
#line 107 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp26_ = self->priv->window;
#line 107 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp27_ = self->priv->window;
#line 107 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp28_ = gtk_widget_get_events ((GtkWidget*) _tmp27_);
#line 107 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_events ((GtkWidget*) _tmp26_, (_tmp28_ | GDK_KEY_PRESS_MASK) | GDK_KEY_RELEASE_MASK);
#line 108 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp29_ = self->priv->window;
#line 108 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp30_ = _ ("Quadrapassel");
#line 108 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_title (_tmp29_, _tmp30_);
#line 109 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp31_ = self->priv->window;
#line 109 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkWidget*) _tmp31_, "size-allocate", (GCallback) _quadrapassel_size_allocate_cb_gtk_widget_size_allocate, self, 0);
#line 110 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp32_ = self->priv->window;
#line 110 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkWidget*) _tmp32_, "window-state-event", (GCallback) _quadrapassel_window_state_event_cb_gtk_widget_window_state_event, self, 0);
#line 111 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp33_ = self->priv->window;
#line 111 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkWidget*) _tmp33_, "key-press-event", (GCallback) _quadrapassel_key_press_event_cb_gtk_widget_key_press_event, self, 0);
#line 112 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp34_ = self->priv->window;
#line 112 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkWidget*) _tmp34_, "key-release-event", (GCallback) _quadrapassel_key_release_event_cb_gtk_widget_key_release_event, self, 0);
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp35_ = self->priv->window;
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp36_ = self->priv->settings;
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp37_ = g_settings_get_int (_tmp36_, "window-width");
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp38_ = self->priv->settings;
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp39_ = g_settings_get_int (_tmp38_, "window-height");
#line 113 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_default_size (_tmp35_, _tmp37_, _tmp39_);
#line 114 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp40_ = self->priv->settings;
#line 114 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp41_ = g_settings_get_boolean (_tmp40_, "window-is-maximized");
#line 114 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp41_) {
#line 723 "quadrapassel.c"
		GtkWindow* _tmp42_ = NULL;
#line 115 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp42_ = self->priv->window;
#line 115 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_window_maximize (_tmp42_);
#line 729 "quadrapassel.c"
	}
#line 117 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp43_ = (GtkHeaderBar*) gtk_header_bar_new ();
#line 117 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp43_);
#line 117 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	headerbar = _tmp43_;
#line 118 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_header_bar_set_show_close_button (headerbar, TRUE);
#line 119 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp44_ = _ ("Quadrapassel");
#line 119 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_header_bar_set_title (headerbar, _tmp44_);
#line 120 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) headerbar);
#line 121 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp45_ = self->priv->window;
#line 121 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_titlebar (_tmp45_, (GtkWidget*) headerbar);
#line 123 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp46_ = (GtkGrid*) gtk_grid_new ();
#line 123 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp46_);
#line 123 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_grid = _tmp46_;
#line 124 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_set_column_homogeneous (game_grid, TRUE);
#line 125 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp47_ = self->priv->window;
#line 125 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_add ((GtkContainer*) _tmp47_, (GtkWidget*) game_grid);
#line 127 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp48_ = game_view_new ();
#line 127 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp48_);
#line 127 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->view);
#line 127 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->view = _tmp48_;
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp49_ = self->priv->view;
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp50_ = self->priv->settings;
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp51_ = g_settings_get_string (_tmp50_, "theme");
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp52_ = _tmp51_;
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_theme (_tmp49_, _tmp52_);
#line 128 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp52_);
#line 129 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp53_ = self->priv->view;
#line 129 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp54_ = self->priv->settings;
#line 129 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp55_ = g_settings_get_boolean (_tmp54_, "sound");
#line 129 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp53_->mute = !_tmp55_;
#line 130 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp56_ = self->priv->view;
#line 130 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp57_ = self->priv->settings;
#line 130 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp58_ = g_settings_get_boolean (_tmp57_, "show-shadow");
#line 130 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_show_shadow (_tmp56_, _tmp58_);
#line 131 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp59_ = self->priv->view;
#line 131 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp60_ = game_new (20, 14, 1, 20, 10, FALSE);
#line 131 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp61_ = _tmp60_;
#line 131 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_game (_tmp59_, _tmp61_);
#line 131 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (_tmp61_);
#line 132 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp62_ = self->priv->view;
#line 132 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp62_);
#line 133 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp63_ = (GtkAspectFrame*) gtk_aspect_frame_new (NULL, 0.5f, 0.5f, 14.0f / 20.0f, FALSE);
#line 133 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp63_);
#line 133 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_aspect = _tmp63_;
#line 134 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) game_aspect);
#line 135 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp64_ = self->priv->view;
#line 135 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_add ((GtkContainer*) game_aspect, (GtkWidget*) _tmp64_);
#line 136 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) game_aspect, (guint) 12);
#line 137 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) game_aspect, 0, 1, 2, 17);
#line 139 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp65_ = (GtkButton*) gtk_button_new ();
#line 139 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp65_);
#line 139 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_play_button);
#line 139 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->pause_play_button = _tmp65_;
#line 140 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp66_ = (GtkImage*) gtk_image_new_from_icon_name ("media-playback-start-symbolic", GTK_ICON_SIZE_DIALOG);
#line 140 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp66_);
#line 140 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_play_button_image);
#line 140 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->pause_play_button_image = _tmp66_;
#line 141 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp67_ = self->priv->pause_play_button;
#line 141 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp68_ = self->priv->pause_play_button_image;
#line 141 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_add ((GtkContainer*) _tmp67_, (GtkWidget*) _tmp68_);
#line 142 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp69_ = self->priv->pause_play_button;
#line 142 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_actionable_set_action_name ((GtkActionable*) _tmp69_, "app.new-game");
#line 143 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp70_ = self->priv->pause_play_button;
#line 143 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp71_ = _ ("Start a new game");
#line 143 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp70_, _tmp71_);
#line 144 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp72_ = self->priv->pause_play_button;
#line 144 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set ((GtkWidget*) _tmp72_, "margin", 30, NULL);
#line 145 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp73_ = self->priv->pause_play_button_image;
#line 145 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp73_);
#line 146 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp74_ = self->priv->pause_play_button;
#line 146 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp74_);
#line 148 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp75_ = _ ("Next");
#line 148 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp76_ = (GtkAspectFrame*) gtk_aspect_frame_new (_tmp75_, 0.5f, 0.5f, 1.0f, FALSE);
#line 148 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp76_);
#line 148 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_frame = _tmp76_;
#line 149 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_frame_set_label_align ((GtkFrame*) preview_frame, 0.5f, 1.0f);
#line 150 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp77_ = preview_new ((GtkFrame*) preview_frame);
#line 150 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp77_);
#line 150 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->preview);
#line 150 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->preview = _tmp77_;
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp78_ = self->priv->preview;
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp79_ = self->priv->settings;
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp80_ = g_settings_get_string (_tmp79_, "theme");
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp81_ = _tmp80_;
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_theme (_tmp78_, _tmp81_);
#line 151 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp81_);
#line 152 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp82_ = self->priv->preview;
#line 152 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp83_ = self->priv->settings;
#line 152 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp84_ = g_settings_get_boolean (_tmp83_, "do-preview");
#line 152 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_enabled (_tmp82_, _tmp84_);
#line 153 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp85_ = self->priv->preview;
#line 153 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_add ((GtkContainer*) preview_frame, (GtkWidget*) _tmp85_);
#line 154 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) preview_frame);
#line 155 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp86_ = self->priv->preview;
#line 155 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp86_);
#line 157 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) preview_frame, 2, 1, 1, 3);
#line 158 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) game_grid);
#line 160 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp87_ = (GtkLabel*) gtk_label_new (NULL);
#line 160 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp87_);
#line 160 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp87_;
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp88_ = label;
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp89_ = _ ("Score");
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp90_ = g_strdup_printf ("<span color='gray'>%s</span>", _tmp89_);
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp91_ = _tmp90_;
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp88_, _tmp91_);
#line 161 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp91_);
#line 162 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp92_ = label;
#line 162 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp92_, 0.5f, 0.5f);
#line 163 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp93_ = label;
#line 163 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp93_);
#line 164 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp94_ = label;
#line 164 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp94_, 2, 5, 1, 1);
#line 165 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp95_ = (GtkLabel*) gtk_label_new ("<big>-</big>");
#line 165 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp95_);
#line 165 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->score_label);
#line 165 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->score_label = _tmp95_;
#line 166 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp96_ = self->priv->score_label;
#line 166 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_use_markup (_tmp96_, TRUE);
#line 167 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp97_ = self->priv->score_label;
#line 167 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp97_, 0.5f, 0.0f);
#line 168 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp98_ = self->priv->score_label;
#line 168 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp98_);
#line 169 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp99_ = self->priv->score_label;
#line 169 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp99_, 2, 6, 1, 2);
#line 171 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp100_ = (GtkLabel*) gtk_label_new (NULL);
#line 171 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp100_);
#line 171 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 171 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp100_;
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp101_ = label;
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp102_ = _ ("Lines");
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp103_ = g_strdup_printf ("<span color='gray'>%s</span>", _tmp102_);
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp104_ = _tmp103_;
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp101_, _tmp104_);
#line 172 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp104_);
#line 173 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp105_ = label;
#line 173 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp105_, 0.5f, 0.5f);
#line 174 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp106_ = label;
#line 174 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp106_);
#line 175 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp107_ = label;
#line 175 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp107_, 2, 9, 1, 1);
#line 176 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp108_ = (GtkLabel*) gtk_label_new ("<big>-</big>");
#line 176 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp108_);
#line 176 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->n_destroyed_label);
#line 176 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->n_destroyed_label = _tmp108_;
#line 177 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp109_ = self->priv->n_destroyed_label;
#line 177 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_use_markup (_tmp109_, TRUE);
#line 178 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp110_ = self->priv->n_destroyed_label;
#line 178 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp110_, 0.5f, 0.0f);
#line 179 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp111_ = self->priv->n_destroyed_label;
#line 179 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp111_);
#line 180 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp112_ = self->priv->n_destroyed_label;
#line 180 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp112_, 2, 10, 1, 2);
#line 182 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp113_ = (GtkLabel*) gtk_label_new (NULL);
#line 182 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp113_);
#line 182 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 182 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp113_;
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp114_ = label;
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp115_ = _ ("Level");
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp116_ = g_strdup_printf ("<span color='gray'>%s</span>", _tmp115_);
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp117_ = _tmp116_;
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp114_, _tmp117_);
#line 183 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp117_);
#line 184 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp118_ = label;
#line 184 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp118_, 0.5f, 0.5f);
#line 185 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp119_ = label;
#line 185 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp119_);
#line 186 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp120_ = label;
#line 186 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp120_, 2, 13, 1, 1);
#line 187 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp121_ = (GtkLabel*) gtk_label_new ("<big>-</big>");
#line 187 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp121_);
#line 187 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->level_label);
#line 187 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->level_label = _tmp121_;
#line 188 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp122_ = self->priv->level_label;
#line 188 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_use_markup (_tmp122_, TRUE);
#line 189 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp123_ = self->priv->level_label;
#line 189 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp123_, 0.5f, 0.0f);
#line 190 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp124_ = self->priv->level_label;
#line 190 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show ((GtkWidget*) _tmp124_);
#line 191 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp125_ = self->priv->level_label;
#line 191 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp125_, 2, 14, 1, 2);
#line 193 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp126_ = self->priv->pause_play_button;
#line 193 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (game_grid, (GtkWidget*) _tmp126_, 2, 16, 1, 2);
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp127_ = g_get_user_data_dir ();
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp128_ = g_build_filename (_tmp127_, "quadrapassel", "history", NULL);
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp129_ = _tmp128_;
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp130_ = history_new (_tmp129_);
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->history);
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->history = _tmp130_;
#line 196 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp129_);
#line 197 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp131_ = self->priv->history;
#line 197 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	history_load (_tmp131_);
#line 199 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp132_ = self->priv->pause_action;
#line 199 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_simple_action_set_enabled (_tmp132_, FALSE);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (preview_frame);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (game_aspect);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (game_grid);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (headerbar);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (section);
#line 76 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (menu);
#line 1129 "quadrapassel.c"
}


static void quadrapassel_size_allocate_cb (Quadrapassel* self, GtkAllocation* allocation) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GtkWindow* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
#line 202 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 202 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (allocation != NULL);
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->is_maximized;
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp1_) {
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp0_ = TRUE;
#line 1149 "quadrapassel.c"
	} else {
		gboolean _tmp2_ = FALSE;
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = self->priv->is_tiled;
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp0_ = _tmp2_;
#line 1156 "quadrapassel.c"
	}
#line 204 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_) {
#line 205 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 1162 "quadrapassel.c"
	}
#line 206 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->window;
#line 206 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_get_size (_tmp3_, &_tmp4_, &_tmp5_);
#line 206 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->window_width = _tmp4_;
#line 206 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->window_height = _tmp5_;
#line 1172 "quadrapassel.c"
}


static gboolean quadrapassel_window_state_event_cb (Quadrapassel* self, GdkEventWindowState* event) {
	gboolean result = FALSE;
	GdkEventWindowState* _tmp0_ = NULL;
	GdkWindowState _tmp1_ = 0;
	GdkEventWindowState* _tmp4_ = NULL;
	GdkWindowState _tmp5_ = 0;
#line 209 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 209 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 211 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = event;
#line 211 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = _tmp0_->changed_mask;
#line 211 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if ((_tmp1_ & GDK_WINDOW_STATE_MAXIMIZED) != 0) {
#line 1192 "quadrapassel.c"
		GdkEventWindowState* _tmp2_ = NULL;
		GdkWindowState _tmp3_ = 0;
#line 212 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = event;
#line 212 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp3_ = _tmp2_->new_window_state;
#line 212 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		self->priv->is_maximized = (_tmp3_ & GDK_WINDOW_STATE_MAXIMIZED) != 0;
#line 1201 "quadrapassel.c"
	}
#line 214 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = event;
#line 214 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = _tmp4_->changed_mask;
#line 214 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if ((_tmp5_ & GDK_WINDOW_STATE_TILED) != 0) {
#line 1209 "quadrapassel.c"
		GdkEventWindowState* _tmp6_ = NULL;
		GdkWindowState _tmp7_ = 0;
#line 215 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = event;
#line 215 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = _tmp6_->new_window_state;
#line 215 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		self->priv->is_tiled = (_tmp7_ & GDK_WINDOW_STATE_TILED) != 0;
#line 1218 "quadrapassel.c"
	}
#line 216 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = FALSE;
#line 216 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 1224 "quadrapassel.c"
}


static void quadrapassel_real_shutdown (GApplication* base) {
	Quadrapassel * self;
	GSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	GSettings* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GSettings* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
	Game* _tmp8_ = NULL;
#line 219 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self = (Quadrapassel*) base;
#line 221 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	G_APPLICATION_CLASS (quadrapassel_parent_class)->shutdown ((GApplication*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_get_type (), GtkApplication));
#line 224 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->settings;
#line 224 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->window_width;
#line 224 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp0_, "window-width", _tmp1_);
#line 225 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 225 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->window_height;
#line 225 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp2_, "window-height", _tmp3_);
#line 226 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = self->priv->settings;
#line 226 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->is_maximized;
#line 226 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp4_, "window-is-maximized", _tmp5_);
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = self->priv->game;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp8_ != NULL) {
#line 1265 "quadrapassel.c"
		Game* _tmp9_ = NULL;
		gboolean _tmp10_ = FALSE;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp9_ = self->priv->game;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp10_ = _tmp9_->game_over;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = !_tmp10_;
#line 1274 "quadrapassel.c"
	} else {
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = FALSE;
#line 1278 "quadrapassel.c"
	}
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp7_) {
#line 1282 "quadrapassel.c"
		Game* _tmp11_ = NULL;
		gint _tmp12_ = 0;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = self->priv->game;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp12_ = _tmp11_->score;
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = _tmp12_ > 0;
#line 1291 "quadrapassel.c"
	} else {
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = FALSE;
#line 1295 "quadrapassel.c"
	}
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp6_) {
#line 1299 "quadrapassel.c"
		GDateTime* date = NULL;
		GDateTime* _tmp13_ = NULL;
		HistoryEntry* entry = NULL;
		GDateTime* _tmp14_ = NULL;
		Game* _tmp15_ = NULL;
		gint _tmp16_ = 0;
		HistoryEntry* _tmp17_ = NULL;
		History* _tmp18_ = NULL;
		HistoryEntry* _tmp19_ = NULL;
		History* _tmp20_ = NULL;
#line 231 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp13_ = g_date_time_new_now_local ();
#line 231 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		date = _tmp13_;
#line 232 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp14_ = date;
#line 232 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp15_ = self->priv->game;
#line 232 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp16_ = _tmp15_->score;
#line 232 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp17_ = history_entry_new (_tmp14_, _tmp16_);
#line 232 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		entry = _tmp17_;
#line 233 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp18_ = self->priv->history;
#line 233 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp19_ = entry;
#line 233 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		history_add (_tmp18_, _tmp19_);
#line 234 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp20_ = self->priv->history;
#line 234 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		history_save (_tmp20_);
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_object_unref0 (entry);
#line 229 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_date_time_unref0 (date);
#line 1338 "quadrapassel.c"
	}
}


static void quadrapassel_real_activate (GApplication* base) {
	Quadrapassel * self;
	GtkWindow* _tmp0_ = NULL;
#line 238 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self = (Quadrapassel*) base;
#line 240 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->window;
#line 240 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_present (_tmp0_);
#line 1352 "quadrapassel.c"
}


static void quadrapassel_preferences_dialog_close_cb (Quadrapassel* self) {
	GtkDialog* _tmp0_ = NULL;
#line 243 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 245 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->preferences_dialog;
#line 245 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp0_);
#line 246 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->preferences_dialog);
#line 246 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->preferences_dialog = NULL;
#line 1368 "quadrapassel.c"
}


static void quadrapassel_preferences_dialog_response_cb (Quadrapassel* self, gint response_id) {
#line 249 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 251 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_preferences_dialog_close_cb (self);
#line 1377 "quadrapassel.c"
}


static void _quadrapassel_preferences_dialog_close_cb_gtk_dialog_close (GtkDialog* _sender, gpointer self) {
#line 269 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_preferences_dialog_close_cb ((Quadrapassel*) self);
#line 1384 "quadrapassel.c"
}


static void _quadrapassel_preferences_dialog_response_cb_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 270 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_preferences_dialog_response_cb ((Quadrapassel*) self, response_id);
#line 1391 "quadrapassel.c"
}


static void _quadrapassel_fill_height_spinner_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self) {
#line 294 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_fill_height_spinner_value_changed_cb ((Quadrapassel*) self, _sender);
#line 1398 "quadrapassel.c"
}


static void _quadrapassel_fill_prob_spinner_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self) {
#line 308 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_fill_prob_spinner_value_changed_cb ((Quadrapassel*) self, _sender);
#line 1405 "quadrapassel.c"
}


static void _quadrapassel_starting_level_value_changed_cb_gtk_spin_button_value_changed (GtkSpinButton* _sender, gpointer self) {
#line 322 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_starting_level_value_changed_cb ((Quadrapassel*) self, _sender);
#line 1412 "quadrapassel.c"
}


static void _quadrapassel_sound_toggle_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 328 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_sound_toggle_toggled_cb ((Quadrapassel*) self);
#line 1419 "quadrapassel.c"
}


static void _quadrapassel_difficult_blocks_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 333 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_difficult_blocks_toggled_cb ((Quadrapassel*) self);
#line 1426 "quadrapassel.c"
}


static void _quadrapassel_do_preview_toggle_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 339 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_do_preview_toggle_toggled_cb ((Quadrapassel*) self);
#line 1433 "quadrapassel.c"
}


static void _quadrapassel_set_rotate_counter_clock_wise_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 345 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_set_rotate_counter_clock_wise ((Quadrapassel*) self);
#line 1440 "quadrapassel.c"
}


static void _quadrapassel_user_target_toggled_cb_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 350 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_user_target_toggled_cb ((Quadrapassel*) self);
#line 1447 "quadrapassel.c"
}


static void _quadrapassel_accel_edited_cb_gtk_cell_renderer_accel_accel_edited (GtkCellRendererAccel* _sender, const gchar* path_string, guint accel_key, GdkModifierType accel_mods, guint hardware_keycode, gpointer self) {
#line 382 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_accel_edited_cb ((Quadrapassel*) self, _sender, path_string, accel_key, accel_mods, hardware_keycode);
#line 1454 "quadrapassel.c"
}


static void _quadrapassel_accel_cleared_cb_gtk_cell_renderer_accel_accel_cleared (GtkCellRendererAccel* _sender, const gchar* path_string, gpointer self) {
#line 383 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_accel_cleared_cb ((Quadrapassel*) self, _sender, path_string);
#line 1461 "quadrapassel.c"
}


static void _quadrapassel_theme_combo_changed_cb_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 429 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_theme_combo_changed_cb ((Quadrapassel*) self, _sender);
#line 1468 "quadrapassel.c"
}


static void quadrapassel_preferences_cb (Quadrapassel* self) {
	GtkDialog* _tmp0_ = NULL;
	const gchar* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	GtkDialog* _tmp4_ = NULL;
	GtkDialog* _tmp5_ = NULL;
	GtkBox* vbox = NULL;
	GtkDialog* _tmp6_ = NULL;
	GtkBox* _tmp7_ = NULL;
	GtkBox* _tmp8_ = NULL;
	GtkBox* _tmp9_ = NULL;
	GtkDialog* _tmp10_ = NULL;
	GtkDialog* _tmp11_ = NULL;
	GtkNotebook* notebook = NULL;
	GtkNotebook* _tmp12_ = NULL;
	GtkNotebook* _tmp13_ = NULL;
	GtkBox* _tmp14_ = NULL;
	GtkNotebook* _tmp15_ = NULL;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp16_ = NULL;
	GtkGrid* _tmp17_ = NULL;
	GtkGrid* _tmp18_ = NULL;
	GtkGrid* _tmp19_ = NULL;
	GtkLabel* label = NULL;
	const gchar* _tmp20_ = NULL;
	GtkLabel* _tmp21_ = NULL;
	GtkNotebook* _tmp22_ = NULL;
	GtkGrid* _tmp23_ = NULL;
	GtkLabel* _tmp24_ = NULL;
	const gchar* _tmp25_ = NULL;
	GtkLabel* _tmp26_ = NULL;
	GtkLabel* _tmp27_ = NULL;
	GtkLabel* _tmp28_ = NULL;
	GtkGrid* _tmp29_ = NULL;
	GtkLabel* _tmp30_ = NULL;
	GtkAdjustment* adj = NULL;
	GSettings* _tmp31_ = NULL;
	gint _tmp32_ = 0;
	GtkAdjustment* _tmp33_ = NULL;
	GtkAdjustment* _tmp34_ = NULL;
	GtkSpinButton* _tmp35_ = NULL;
	GtkSpinButton* _tmp36_ = NULL;
	GtkSpinButton* _tmp37_ = NULL;
	GtkSpinButton* _tmp38_ = NULL;
	GtkGrid* _tmp39_ = NULL;
	GtkSpinButton* _tmp40_ = NULL;
	GtkLabel* _tmp41_ = NULL;
	GtkSpinButton* _tmp42_ = NULL;
	const gchar* _tmp43_ = NULL;
	GtkLabel* _tmp44_ = NULL;
	GtkLabel* _tmp45_ = NULL;
	GtkLabel* _tmp46_ = NULL;
	GtkGrid* _tmp47_ = NULL;
	GtkLabel* _tmp48_ = NULL;
	GSettings* _tmp49_ = NULL;
	gint _tmp50_ = 0;
	GtkAdjustment* _tmp51_ = NULL;
	GtkAdjustment* _tmp52_ = NULL;
	GtkSpinButton* _tmp53_ = NULL;
	GtkSpinButton* _tmp54_ = NULL;
	GtkSpinButton* _tmp55_ = NULL;
	GtkSpinButton* _tmp56_ = NULL;
	GtkGrid* _tmp57_ = NULL;
	GtkSpinButton* _tmp58_ = NULL;
	GtkLabel* _tmp59_ = NULL;
	GtkSpinButton* _tmp60_ = NULL;
	const gchar* _tmp61_ = NULL;
	GtkLabel* _tmp62_ = NULL;
	GtkLabel* _tmp63_ = NULL;
	GtkLabel* _tmp64_ = NULL;
	GtkGrid* _tmp65_ = NULL;
	GtkLabel* _tmp66_ = NULL;
	GSettings* _tmp67_ = NULL;
	gint _tmp68_ = 0;
	GtkAdjustment* _tmp69_ = NULL;
	GtkAdjustment* _tmp70_ = NULL;
	GtkSpinButton* _tmp71_ = NULL;
	GtkSpinButton* _tmp72_ = NULL;
	GtkSpinButton* _tmp73_ = NULL;
	GtkSpinButton* _tmp74_ = NULL;
	GtkGrid* _tmp75_ = NULL;
	GtkSpinButton* _tmp76_ = NULL;
	GtkLabel* _tmp77_ = NULL;
	GtkSpinButton* _tmp78_ = NULL;
	const gchar* _tmp79_ = NULL;
	GtkCheckButton* _tmp80_ = NULL;
	GtkCheckButton* _tmp81_ = NULL;
	GSettings* _tmp82_ = NULL;
	gboolean _tmp83_ = FALSE;
	GtkCheckButton* _tmp84_ = NULL;
	GtkGrid* _tmp85_ = NULL;
	GtkCheckButton* _tmp86_ = NULL;
	const gchar* _tmp87_ = NULL;
	GtkCheckButton* _tmp88_ = NULL;
	GtkCheckButton* _tmp89_ = NULL;
	GSettings* _tmp90_ = NULL;
	gboolean _tmp91_ = FALSE;
	GtkCheckButton* _tmp92_ = NULL;
	GtkGrid* _tmp93_ = NULL;
	GtkCheckButton* _tmp94_ = NULL;
	const gchar* _tmp95_ = NULL;
	GtkCheckButton* _tmp96_ = NULL;
	GtkCheckButton* _tmp97_ = NULL;
	GSettings* _tmp98_ = NULL;
	gboolean _tmp99_ = FALSE;
	GtkCheckButton* _tmp100_ = NULL;
	GSettings* _tmp101_ = NULL;
	gboolean _tmp102_ = FALSE;
	GtkCheckButton* _tmp103_ = NULL;
	GtkGrid* _tmp104_ = NULL;
	GtkCheckButton* _tmp105_ = NULL;
	const gchar* _tmp106_ = NULL;
	GtkCheckButton* _tmp107_ = NULL;
	GtkCheckButton* _tmp108_ = NULL;
	GSettings* _tmp109_ = NULL;
	gboolean _tmp110_ = FALSE;
	GtkCheckButton* _tmp111_ = NULL;
	GtkGrid* _tmp112_ = NULL;
	GtkCheckButton* _tmp113_ = NULL;
	const gchar* _tmp114_ = NULL;
	GtkCheckButton* _tmp115_ = NULL;
	GtkCheckButton* _tmp116_ = NULL;
	GSettings* _tmp117_ = NULL;
	gboolean _tmp118_ = FALSE;
	GtkCheckButton* _tmp119_ = NULL;
	GtkGrid* _tmp120_ = NULL;
	GtkCheckButton* _tmp121_ = NULL;
	GtkListStore* _tmp122_ = NULL;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp123_ = NULL;
	GtkTreeIter _tmp124_ = {0};
	gint keyval = 0;
	GSettings* _tmp125_ = NULL;
	gint _tmp126_ = 0;
	GtkListStore* _tmp127_ = NULL;
	GtkTreeIter _tmp128_ = {0};
	const gchar* _tmp129_ = NULL;
	gint _tmp130_ = 0;
	GtkListStore* _tmp131_ = NULL;
	GtkTreeIter _tmp132_ = {0};
	GSettings* _tmp133_ = NULL;
	gint _tmp134_ = 0;
	GtkListStore* _tmp135_ = NULL;
	GtkTreeIter _tmp136_ = {0};
	const gchar* _tmp137_ = NULL;
	gint _tmp138_ = 0;
	GtkListStore* _tmp139_ = NULL;
	GtkTreeIter _tmp140_ = {0};
	GSettings* _tmp141_ = NULL;
	gint _tmp142_ = 0;
	GtkListStore* _tmp143_ = NULL;
	GtkTreeIter _tmp144_ = {0};
	const gchar* _tmp145_ = NULL;
	gint _tmp146_ = 0;
	GtkListStore* _tmp147_ = NULL;
	GtkTreeIter _tmp148_ = {0};
	GSettings* _tmp149_ = NULL;
	gint _tmp150_ = 0;
	GtkListStore* _tmp151_ = NULL;
	GtkTreeIter _tmp152_ = {0};
	const gchar* _tmp153_ = NULL;
	gint _tmp154_ = 0;
	GtkListStore* _tmp155_ = NULL;
	GtkTreeIter _tmp156_ = {0};
	GSettings* _tmp157_ = NULL;
	gint _tmp158_ = 0;
	GtkListStore* _tmp159_ = NULL;
	GtkTreeIter _tmp160_ = {0};
	const gchar* _tmp161_ = NULL;
	gint _tmp162_ = 0;
	GtkListStore* _tmp163_ = NULL;
	GtkTreeIter _tmp164_ = {0};
	GSettings* _tmp165_ = NULL;
	gint _tmp166_ = 0;
	GtkListStore* _tmp167_ = NULL;
	GtkTreeIter _tmp168_ = {0};
	const gchar* _tmp169_ = NULL;
	gint _tmp170_ = 0;
	GtkTreeView* controls_view = NULL;
	GtkListStore* _tmp171_ = NULL;
	GtkTreeView* _tmp172_ = NULL;
	GtkTreeView* _tmp173_ = NULL;
	GtkTreeView* _tmp174_ = NULL;
	GtkCellRendererText* label_renderer = NULL;
	GtkCellRendererText* _tmp175_ = NULL;
	GtkTreeView* _tmp176_ = NULL;
	GtkCellRendererText* _tmp177_ = NULL;
	GtkCellRendererAccel* key_renderer = NULL;
	GtkCellRendererAccel* _tmp178_ = NULL;
	GtkCellRendererAccel* _tmp179_ = NULL;
	GtkCellRendererAccel* _tmp180_ = NULL;
	GtkCellRendererAccel* _tmp181_ = NULL;
	GtkCellRendererAccel* _tmp182_ = NULL;
	GtkTreeView* _tmp183_ = NULL;
	GtkCellRendererAccel* _tmp184_ = NULL;
	GtkScrolledWindow* controls_list = NULL;
	GtkScrolledWindow* _tmp185_ = NULL;
	GtkScrolledWindow* _tmp186_ = NULL;
	GtkScrolledWindow* _tmp187_ = NULL;
	GtkScrolledWindow* _tmp188_ = NULL;
	GtkScrolledWindow* _tmp189_ = NULL;
	GtkScrolledWindow* _tmp190_ = NULL;
	GtkTreeView* _tmp191_ = NULL;
	const gchar* _tmp192_ = NULL;
	GtkLabel* _tmp193_ = NULL;
	GtkNotebook* _tmp194_ = NULL;
	GtkScrolledWindow* _tmp195_ = NULL;
	GtkLabel* _tmp196_ = NULL;
	GtkBox* _tmp197_ = NULL;
	GtkBox* _tmp198_ = NULL;
	const gchar* _tmp199_ = NULL;
	GtkLabel* _tmp200_ = NULL;
	GtkNotebook* _tmp201_ = NULL;
	GtkBox* _tmp202_ = NULL;
	GtkLabel* _tmp203_ = NULL;
	GtkComboBox* theme_combo = NULL;
	GtkComboBox* _tmp204_ = NULL;
	GtkBox* _tmp205_ = NULL;
	GtkComboBox* _tmp206_ = NULL;
	GtkListStore* theme_store = NULL;
	GtkListStore* _tmp207_ = NULL;
	GtkComboBox* _tmp208_ = NULL;
	GtkListStore* _tmp209_ = NULL;
	GtkCellRendererText* renderer = NULL;
	GtkCellRendererText* _tmp210_ = NULL;
	GtkComboBox* _tmp211_ = NULL;
	GtkCellRendererText* _tmp212_ = NULL;
	GtkComboBox* _tmp213_ = NULL;
	GtkCellRendererText* _tmp214_ = NULL;
	GtkListStore* _tmp215_ = NULL;
	GtkTreeIter _tmp216_ = {0};
	GtkListStore* _tmp217_ = NULL;
	GtkTreeIter _tmp218_ = {0};
	const gchar* _tmp219_ = NULL;
	GSettings* _tmp220_ = NULL;
	gchar* _tmp221_ = NULL;
	gchar* _tmp222_ = NULL;
	gboolean _tmp223_ = FALSE;
	GtkListStore* _tmp226_ = NULL;
	GtkTreeIter _tmp227_ = {0};
	GtkListStore* _tmp228_ = NULL;
	GtkTreeIter _tmp229_ = {0};
	const gchar* _tmp230_ = NULL;
	GSettings* _tmp231_ = NULL;
	gchar* _tmp232_ = NULL;
	gchar* _tmp233_ = NULL;
	gboolean _tmp234_ = FALSE;
	GtkListStore* _tmp237_ = NULL;
	GtkTreeIter _tmp238_ = {0};
	GtkListStore* _tmp239_ = NULL;
	GtkTreeIter _tmp240_ = {0};
	const gchar* _tmp241_ = NULL;
	GSettings* _tmp242_ = NULL;
	gchar* _tmp243_ = NULL;
	gchar* _tmp244_ = NULL;
	gboolean _tmp245_ = FALSE;
	GtkListStore* _tmp248_ = NULL;
	GtkTreeIter _tmp249_ = {0};
	GtkListStore* _tmp250_ = NULL;
	GtkTreeIter _tmp251_ = {0};
	const gchar* _tmp252_ = NULL;
	GSettings* _tmp253_ = NULL;
	gchar* _tmp254_ = NULL;
	gchar* _tmp255_ = NULL;
	gboolean _tmp256_ = FALSE;
	GtkComboBox* _tmp259_ = NULL;
	Preview* _tmp260_ = NULL;
	Preview* _tmp261_ = NULL;
	Game* _tmp262_ = NULL;
	Game* _tmp263_ = NULL;
	Preview* _tmp264_ = NULL;
	GSettings* _tmp265_ = NULL;
	gchar* _tmp266_ = NULL;
	gchar* _tmp267_ = NULL;
	GtkBox* _tmp268_ = NULL;
	Preview* _tmp269_ = NULL;
	GtkDialog* _tmp270_ = NULL;
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 256 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->preferences_dialog;
#line 256 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_ != NULL) {
#line 1755 "quadrapassel.c"
		GtkDialog* _tmp1_ = NULL;
#line 258 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = self->priv->preferences_dialog;
#line 258 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_window_present ((GtkWindow*) _tmp1_);
#line 259 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 1763 "quadrapassel.c"
	}
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = _ ("Preferences");
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->window;
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp2_, _tmp3_, GTK_DIALOG_USE_HEADER_BAR, NULL, NULL);
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp4_);
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->preferences_dialog);
#line 262 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->preferences_dialog = _tmp4_;
#line 266 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->preferences_dialog;
#line 266 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp5_, (guint) 5);
#line 267 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = self->priv->preferences_dialog;
#line 267 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = (GtkBox*) gtk_dialog_get_content_area (_tmp6_);
#line 267 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_box_get_type (), GtkBox));
#line 267 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	vbox = _tmp8_;
#line 268 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = vbox;
#line 268 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_box_set_spacing (_tmp9_, 2);
#line 269 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = self->priv->preferences_dialog;
#line 269 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp10_, "close", (GCallback) _quadrapassel_preferences_dialog_close_cb_gtk_dialog_close, self, 0);
#line 270 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = self->priv->preferences_dialog;
#line 270 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp11_, "response", (GCallback) _quadrapassel_preferences_dialog_response_cb_gtk_dialog_response, self, 0);
#line 272 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = (GtkNotebook*) gtk_notebook_new ();
#line 272 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp12_);
#line 272 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	notebook = _tmp12_;
#line 273 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = notebook;
#line 273 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp13_, (guint) 5);
#line 274 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = vbox;
#line 274 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = notebook;
#line 274 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_box_pack_start (_tmp14_, (GtkWidget*) _tmp15_, TRUE, TRUE, (guint) 0);
#line 276 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp16_ = (GtkGrid*) gtk_grid_new ();
#line 276 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp16_);
#line 276 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	grid = _tmp16_;
#line 277 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp17_ = grid;
#line 277 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_set_row_spacing (_tmp17_, (guint) 6);
#line 278 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp18_ = grid;
#line 278 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_set_column_spacing (_tmp18_, (guint) 12);
#line 279 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp19_ = grid;
#line 279 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp19_, (guint) 12);
#line 280 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp20_ = _ ("Game");
#line 280 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp21_ = (GtkLabel*) gtk_label_new (_tmp20_);
#line 280 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp21_);
#line 280 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp21_;
#line 281 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp22_ = notebook;
#line 281 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp23_ = grid;
#line 281 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp24_ = label;
#line 281 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_notebook_append_page (_tmp22_, (GtkWidget*) _tmp23_, (GtkWidget*) _tmp24_);
#line 284 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp25_ = _ ("_Number of pre-filled rows:");
#line 284 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp26_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp25_);
#line 284 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp26_);
#line 284 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 284 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp26_;
#line 285 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp27_ = label;
#line 285 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp27_, (gfloat) 0, 0.5f);
#line 286 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp28_ = label;
#line 286 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp28_, TRUE);
#line 287 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp29_ = grid;
#line 287 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp30_ = label;
#line 287 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp29_, (GtkWidget*) _tmp30_, 0, 0, 1, 1);
#line 289 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp31_ = self->priv->settings;
#line 289 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp32_ = g_settings_get_int (_tmp31_, "line-fill-height");
#line 289 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp33_ = gtk_adjustment_new ((gdouble) _tmp32_, (gdouble) 0, (gdouble) 15, (gdouble) 1, (gdouble) 5, (gdouble) 0);
#line 289 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp33_);
#line 289 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	adj = _tmp33_;
#line 291 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp34_ = adj;
#line 291 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp35_ = (GtkSpinButton*) gtk_spin_button_new (_tmp34_, (gdouble) 10, (guint) 0);
#line 291 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp35_);
#line 291 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->fill_height_spinner);
#line 291 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->fill_height_spinner = _tmp35_;
#line 292 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp36_ = self->priv->fill_height_spinner;
#line 292 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_update_policy (_tmp36_, GTK_UPDATE_ALWAYS);
#line 293 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp37_ = self->priv->fill_height_spinner;
#line 293 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_snap_to_ticks (_tmp37_, TRUE);
#line 294 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp38_ = self->priv->fill_height_spinner;
#line 294 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp38_, "value-changed", (GCallback) _quadrapassel_fill_height_spinner_value_changed_cb_gtk_spin_button_value_changed, self, 0);
#line 295 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp39_ = grid;
#line 295 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp40_ = self->priv->fill_height_spinner;
#line 295 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp39_, (GtkWidget*) _tmp40_, 1, 0, 1, 1);
#line 296 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp41_ = label;
#line 296 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp42_ = self->priv->fill_height_spinner;
#line 296 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_mnemonic_widget (_tmp41_, (GtkWidget*) _tmp42_);
#line 299 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp43_ = _ ("_Density of blocks in a pre-filled row:");
#line 299 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp44_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp43_);
#line 299 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp44_);
#line 299 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 299 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp44_;
#line 300 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp45_ = label;
#line 300 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp45_, (gfloat) 0, 0.5f);
#line 301 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp46_ = label;
#line 301 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp46_, TRUE);
#line 302 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp47_ = grid;
#line 302 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp48_ = label;
#line 302 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp47_, (GtkWidget*) _tmp48_, 0, 1, 1, 1);
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp49_ = self->priv->settings;
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp50_ = g_settings_get_int (_tmp49_, "line-fill-probability");
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp51_ = gtk_adjustment_new ((gdouble) _tmp50_, (gdouble) 0, (gdouble) 10, (gdouble) 1, (gdouble) 5, (gdouble) 0);
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp51_);
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (adj);
#line 304 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	adj = _tmp51_;
#line 305 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp52_ = adj;
#line 305 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp53_ = (GtkSpinButton*) gtk_spin_button_new (_tmp52_, (gdouble) 10, (guint) 0);
#line 305 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp53_);
#line 305 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->fill_prob_spinner);
#line 305 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->fill_prob_spinner = _tmp53_;
#line 306 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp54_ = self->priv->fill_prob_spinner;
#line 306 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_update_policy (_tmp54_, GTK_UPDATE_ALWAYS);
#line 307 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp55_ = self->priv->fill_prob_spinner;
#line 307 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_snap_to_ticks (_tmp55_, TRUE);
#line 308 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp56_ = self->priv->fill_prob_spinner;
#line 308 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp56_, "value-changed", (GCallback) _quadrapassel_fill_prob_spinner_value_changed_cb_gtk_spin_button_value_changed, self, 0);
#line 309 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp57_ = grid;
#line 309 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp58_ = self->priv->fill_prob_spinner;
#line 309 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp57_, (GtkWidget*) _tmp58_, 1, 1, 1, 1);
#line 310 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp59_ = label;
#line 310 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp60_ = self->priv->fill_prob_spinner;
#line 310 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_mnemonic_widget (_tmp59_, (GtkWidget*) _tmp60_);
#line 313 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp61_ = _ ("_Starting level:");
#line 313 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp62_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp61_);
#line 313 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp62_);
#line 313 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 313 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp62_;
#line 314 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp63_ = label;
#line 314 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_misc_set_alignment ((GtkMisc*) _tmp63_, (gfloat) 0, 0.5f);
#line 315 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp64_ = label;
#line 315 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp64_, TRUE);
#line 316 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp65_ = grid;
#line 316 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp66_ = label;
#line 316 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp65_, (GtkWidget*) _tmp66_, 0, 2, 1, 1);
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp67_ = self->priv->settings;
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp68_ = g_settings_get_int (_tmp67_, "starting-level");
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp69_ = gtk_adjustment_new ((gdouble) _tmp68_, (gdouble) 1, (gdouble) 20, (gdouble) 1, (gdouble) 5, (gdouble) 0);
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp69_);
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (adj);
#line 318 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	adj = _tmp69_;
#line 319 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp70_ = adj;
#line 319 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp71_ = (GtkSpinButton*) gtk_spin_button_new (_tmp70_, 10.0, (guint) 0);
#line 319 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp71_);
#line 319 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->starting_level_spin);
#line 319 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->starting_level_spin = _tmp71_;
#line 320 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp72_ = self->priv->starting_level_spin;
#line 320 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_update_policy (_tmp72_, GTK_UPDATE_ALWAYS);
#line 321 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp73_ = self->priv->starting_level_spin;
#line 321 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_spin_button_set_snap_to_ticks (_tmp73_, TRUE);
#line 322 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp74_ = self->priv->starting_level_spin;
#line 322 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp74_, "value-changed", (GCallback) _quadrapassel_starting_level_value_changed_cb_gtk_spin_button_value_changed, self, 0);
#line 323 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp75_ = grid;
#line 323 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp76_ = self->priv->starting_level_spin;
#line 323 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp75_, (GtkWidget*) _tmp76_, 1, 2, 1, 1);
#line 324 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp77_ = label;
#line 324 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp78_ = self->priv->starting_level_spin;
#line 324 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_mnemonic_widget (_tmp77_, (GtkWidget*) _tmp78_);
#line 326 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp79_ = _ ("_Enable sounds");
#line 326 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp80_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp79_);
#line 326 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp80_);
#line 326 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->sound_toggle);
#line 326 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->sound_toggle = _tmp80_;
#line 327 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp81_ = self->priv->sound_toggle;
#line 327 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp82_ = self->priv->settings;
#line 327 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp83_ = g_settings_get_boolean (_tmp82_, "sound");
#line 327 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp81_, _tmp83_);
#line 328 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp84_ = self->priv->sound_toggle;
#line 328 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp84_, "toggled", (GCallback) _quadrapassel_sound_toggle_toggled_cb_gtk_toggle_button_toggled, self, 0);
#line 329 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp85_ = grid;
#line 329 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp86_ = self->priv->sound_toggle;
#line 329 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp85_, (GtkWidget*) _tmp86_, 0, 3, 2, 1);
#line 331 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp87_ = _ ("Choose difficult _blocks");
#line 331 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp88_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp87_);
#line 331 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp88_);
#line 331 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->difficult_blocks_toggle);
#line 331 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->difficult_blocks_toggle = _tmp88_;
#line 332 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp89_ = self->priv->difficult_blocks_toggle;
#line 332 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp90_ = self->priv->settings;
#line 332 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp91_ = g_settings_get_boolean (_tmp90_, "pick-difficult-blocks");
#line 332 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp89_, _tmp91_);
#line 333 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp92_ = self->priv->difficult_blocks_toggle;
#line 333 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp92_, "toggled", (GCallback) _quadrapassel_difficult_blocks_toggled_cb_gtk_toggle_button_toggled, self, 0);
#line 334 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp93_ = grid;
#line 334 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp94_ = self->priv->difficult_blocks_toggle;
#line 334 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp93_, (GtkWidget*) _tmp94_, 0, 4, 2, 1);
#line 336 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp95_ = _ ("_Preview next block");
#line 336 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp96_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp95_);
#line 336 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp96_);
#line 336 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->do_preview_toggle);
#line 336 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->do_preview_toggle = _tmp96_;
#line 337 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp97_ = self->priv->do_preview_toggle;
#line 337 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp98_ = self->priv->settings;
#line 337 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp99_ = g_settings_get_boolean (_tmp98_, "do-preview");
#line 337 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp97_, _tmp99_);
#line 338 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp100_ = self->priv->do_preview_toggle;
#line 338 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp101_ = self->priv->settings;
#line 338 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp102_ = g_settings_get_boolean (_tmp101_, "pick-difficult-blocks");
#line 338 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp100_, !_tmp102_);
#line 339 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp103_ = self->priv->do_preview_toggle;
#line 339 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp103_, "toggled", (GCallback) _quadrapassel_do_preview_toggle_toggled_cb_gtk_toggle_button_toggled, self, 0);
#line 340 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp104_ = grid;
#line 340 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp105_ = self->priv->do_preview_toggle;
#line 340 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp104_, (GtkWidget*) _tmp105_, 0, 5, 2, 1);
#line 343 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp106_ = _ ("_Rotate blocks counterclockwise");
#line 343 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp107_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp106_);
#line 343 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp107_);
#line 343 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->rotate_counter_clock_wise_toggle);
#line 343 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->rotate_counter_clock_wise_toggle = _tmp107_;
#line 344 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp108_ = self->priv->rotate_counter_clock_wise_toggle;
#line 344 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp109_ = self->priv->settings;
#line 344 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp110_ = g_settings_get_boolean (_tmp109_, "rotate-counter-clock-wise");
#line 344 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp108_, _tmp110_);
#line 345 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp111_ = self->priv->rotate_counter_clock_wise_toggle;
#line 345 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp111_, "toggled", (GCallback) _quadrapassel_set_rotate_counter_clock_wise_gtk_toggle_button_toggled, self, 0);
#line 346 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp112_ = grid;
#line 346 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp113_ = self->priv->rotate_counter_clock_wise_toggle;
#line 346 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp112_, (GtkWidget*) _tmp113_, 0, 6, 2, 1);
#line 348 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp114_ = _ ("Show _where the block will land");
#line 348 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp115_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp114_);
#line 348 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp115_);
#line 348 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->show_shadow_toggle);
#line 348 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->show_shadow_toggle = _tmp115_;
#line 349 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp116_ = self->priv->show_shadow_toggle;
#line 349 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp117_ = self->priv->settings;
#line 349 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp118_ = g_settings_get_boolean (_tmp117_, "show-shadow");
#line 349 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp116_, _tmp118_);
#line 350 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp119_ = self->priv->show_shadow_toggle;
#line 350 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp119_, "toggled", (GCallback) _quadrapassel_user_target_toggled_cb_gtk_toggle_button_toggled, self, 0);
#line 351 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp120_ = grid;
#line 351 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp121_ = self->priv->show_shadow_toggle;
#line 351 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_grid_attach (_tmp120_, (GtkWidget*) _tmp121_, 0, 7, 2, 1);
#line 354 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp122_ = gtk_list_store_new (4, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, -1);
#line 354 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->controls_model);
#line 354 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->controls_model = _tmp122_;
#line 356 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp123_ = self->priv->controls_model;
#line 356 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp123_, &_tmp124_);
#line 356 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp124_;
#line 357 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp125_ = self->priv->settings;
#line 357 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp126_ = g_settings_get_int (_tmp125_, "key-left");
#line 357 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp126_;
#line 358 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp127_ = self->priv->controls_model;
#line 358 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp128_ = iter;
#line 358 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp129_ = _ ("Move left");
#line 358 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp130_ = keyval;
#line 358 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp127_, &_tmp128_, 0, "key-left", 1, _tmp129_, 2, _tmp130_, -1);
#line 359 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp131_ = self->priv->controls_model;
#line 359 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp131_, &_tmp132_);
#line 359 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp132_;
#line 360 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp133_ = self->priv->settings;
#line 360 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp134_ = g_settings_get_int (_tmp133_, "key-right");
#line 360 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp134_;
#line 361 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp135_ = self->priv->controls_model;
#line 361 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp136_ = iter;
#line 361 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp137_ = _ ("Move right");
#line 361 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp138_ = keyval;
#line 361 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp135_, &_tmp136_, 0, "key-right", 1, _tmp137_, 2, _tmp138_, -1);
#line 362 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp139_ = self->priv->controls_model;
#line 362 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp139_, &_tmp140_);
#line 362 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp140_;
#line 363 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp141_ = self->priv->settings;
#line 363 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp142_ = g_settings_get_int (_tmp141_, "key-down");
#line 363 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp142_;
#line 364 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp143_ = self->priv->controls_model;
#line 364 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp144_ = iter;
#line 364 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp145_ = _ ("Move down");
#line 364 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp146_ = keyval;
#line 364 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp143_, &_tmp144_, 0, "key-down", 1, _tmp145_, 2, _tmp146_, -1);
#line 365 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp147_ = self->priv->controls_model;
#line 365 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp147_, &_tmp148_);
#line 365 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp148_;
#line 366 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp149_ = self->priv->settings;
#line 366 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp150_ = g_settings_get_int (_tmp149_, "key-drop");
#line 366 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp150_;
#line 367 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp151_ = self->priv->controls_model;
#line 367 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp152_ = iter;
#line 367 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp153_ = _ ("Drop");
#line 367 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp154_ = keyval;
#line 367 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp151_, &_tmp152_, 0, "key-drop", 1, _tmp153_, 2, _tmp154_, -1);
#line 368 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp155_ = self->priv->controls_model;
#line 368 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp155_, &_tmp156_);
#line 368 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp156_;
#line 369 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp157_ = self->priv->settings;
#line 369 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp158_ = g_settings_get_int (_tmp157_, "key-rotate");
#line 369 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp158_;
#line 370 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp159_ = self->priv->controls_model;
#line 370 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp160_ = iter;
#line 370 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp161_ = _ ("Rotate");
#line 370 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp162_ = keyval;
#line 370 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp159_, &_tmp160_, 0, "key-rotate", 1, _tmp161_, 2, _tmp162_, -1);
#line 371 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp163_ = self->priv->controls_model;
#line 371 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp163_, &_tmp164_);
#line 371 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp164_;
#line 372 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp165_ = self->priv->settings;
#line 372 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp166_ = g_settings_get_int (_tmp165_, "key-pause");
#line 372 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp166_;
#line 373 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp167_ = self->priv->controls_model;
#line 373 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp168_ = iter;
#line 373 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp169_ = _ ("Pause");
#line 373 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp170_ = keyval;
#line 373 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp167_, &_tmp168_, 0, "key-pause", 1, _tmp169_, 2, _tmp170_, -1);
#line 374 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp171_ = self->priv->controls_model;
#line 374 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp172_ = (GtkTreeView*) gtk_tree_view_new_with_model ((GtkTreeModel*) _tmp171_);
#line 374 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp172_);
#line 374 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	controls_view = _tmp172_;
#line 375 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp173_ = controls_view;
#line 375 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_view_set_headers_visible (_tmp173_, FALSE);
#line 376 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp174_ = controls_view;
#line 376 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_view_set_enable_search (_tmp174_, FALSE);
#line 377 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp175_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 377 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp175_);
#line 377 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label_renderer = _tmp175_;
#line 378 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp176_ = controls_view;
#line 378 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp177_ = label_renderer;
#line 378 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_view_insert_column_with_attributes (_tmp176_, -1, "Control", (GtkCellRenderer*) _tmp177_, "text", 1, NULL);
#line 379 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp178_ = (GtkCellRendererAccel*) gtk_cell_renderer_accel_new ();
#line 379 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp178_);
#line 379 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	key_renderer = _tmp178_;
#line 380 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp179_ = key_renderer;
#line 380 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set ((GtkCellRendererText*) _tmp179_, "editable", TRUE, NULL);
#line 381 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp180_ = key_renderer;
#line 381 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set (_tmp180_, "accel-mode", GTK_CELL_RENDERER_ACCEL_MODE_OTHER, NULL);
#line 382 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp181_ = key_renderer;
#line 382 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp181_, "accel-edited", (GCallback) _quadrapassel_accel_edited_cb_gtk_cell_renderer_accel_accel_edited, self, 0);
#line 383 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp182_ = key_renderer;
#line 383 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp182_, "accel-cleared", (GCallback) _quadrapassel_accel_cleared_cb_gtk_cell_renderer_accel_accel_cleared, self, 0);
#line 384 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp183_ = controls_view;
#line 384 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp184_ = key_renderer;
#line 384 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_view_insert_column_with_attributes (_tmp183_, -1, "Key", (GtkCellRenderer*) _tmp184_, "accel-key", 2, "accel-mods", 3, NULL);
#line 386 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp185_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 386 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp185_);
#line 386 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	controls_list = _tmp185_;
#line 387 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp186_ = controls_list;
#line 387 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp186_, (guint) 12);
#line 388 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp187_ = controls_list;
#line 388 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set (_tmp187_, "hscrollbar-policy", GTK_POLICY_NEVER, NULL);
#line 389 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp188_ = controls_list;
#line 389 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_set (_tmp188_, "vscrollbar-policy", GTK_POLICY_ALWAYS, NULL);
#line 390 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp189_ = controls_list;
#line 390 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_scrolled_window_set_shadow_type (_tmp189_, GTK_SHADOW_IN);
#line 391 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp190_ = controls_list;
#line 391 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp191_ = controls_view;
#line 391 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_add ((GtkContainer*) _tmp190_, (GtkWidget*) _tmp191_);
#line 392 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp192_ = _ ("Controls");
#line 392 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp193_ = (GtkLabel*) gtk_label_new (_tmp192_);
#line 392 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp193_);
#line 392 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 392 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp193_;
#line 393 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp194_ = notebook;
#line 393 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp195_ = controls_list;
#line 393 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp196_ = label;
#line 393 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_notebook_append_page (_tmp194_, (GtkWidget*) _tmp195_, (GtkWidget*) _tmp196_);
#line 396 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp197_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 396 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp197_);
#line 396 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (vbox);
#line 396 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	vbox = _tmp197_;
#line 397 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp198_ = vbox;
#line 397 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp198_, (guint) 12);
#line 398 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp199_ = _ ("Theme");
#line 398 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp200_ = (GtkLabel*) gtk_label_new (_tmp199_);
#line 398 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp200_);
#line 398 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 398 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	label = _tmp200_;
#line 399 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp201_ = notebook;
#line 399 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp202_ = vbox;
#line 399 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp203_ = label;
#line 399 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_notebook_append_page (_tmp201_, (GtkWidget*) _tmp202_, (GtkWidget*) _tmp203_);
#line 401 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp204_ = (GtkComboBox*) gtk_combo_box_new ();
#line 401 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp204_);
#line 401 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	theme_combo = _tmp204_;
#line 402 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp205_ = vbox;
#line 402 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp206_ = theme_combo;
#line 402 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_box_pack_start (_tmp205_, (GtkWidget*) _tmp206_, FALSE, TRUE, (guint) 0);
#line 403 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp207_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING, -1);
#line 403 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	theme_store = _tmp207_;
#line 404 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp208_ = theme_combo;
#line 404 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp209_ = theme_store;
#line 404 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_combo_box_set_model (_tmp208_, (GtkTreeModel*) _tmp209_);
#line 405 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp210_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 405 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp210_);
#line 405 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	renderer = _tmp210_;
#line 406 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp211_ = theme_combo;
#line 406 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp212_ = renderer;
#line 406 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp211_, (GtkCellRenderer*) _tmp212_, TRUE);
#line 407 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp213_ = theme_combo;
#line 407 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp214_ = renderer;
#line 407 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp213_, (GtkCellRenderer*) _tmp214_, "text", 0);
#line 409 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp215_ = theme_store;
#line 409 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp215_, &_tmp216_);
#line 409 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp216_;
#line 410 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp217_ = theme_store;
#line 410 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp218_ = iter;
#line 410 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp219_ = _ ("Plain");
#line 410 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp217_, &_tmp218_, 0, _tmp219_, 1, "plain", -1, -1);
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp220_ = self->priv->settings;
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp221_ = g_settings_get_string (_tmp220_, "theme");
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp222_ = _tmp221_;
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp223_ = g_strcmp0 (_tmp222_, "plain") == 0;
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp222_);
#line 411 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp223_) {
#line 2543 "quadrapassel.c"
		GtkComboBox* _tmp224_ = NULL;
		GtkTreeIter _tmp225_ = {0};
#line 412 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp224_ = theme_combo;
#line 412 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp225_ = iter;
#line 412 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_combo_box_set_active_iter (_tmp224_, &_tmp225_);
#line 2552 "quadrapassel.c"
	}
#line 414 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp226_ = theme_store;
#line 414 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp226_, &_tmp227_);
#line 414 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp227_;
#line 415 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp228_ = theme_store;
#line 415 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp229_ = iter;
#line 415 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp230_ = _ ("Tango Flat");
#line 415 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp228_, &_tmp229_, 0, _tmp230_, 1, "tangoflat", -1, -1);
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp231_ = self->priv->settings;
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp232_ = g_settings_get_string (_tmp231_, "theme");
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp233_ = _tmp232_;
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp234_ = g_strcmp0 (_tmp233_, "tangoflat") == 0;
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp233_);
#line 416 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp234_) {
#line 2580 "quadrapassel.c"
		GtkComboBox* _tmp235_ = NULL;
		GtkTreeIter _tmp236_ = {0};
#line 417 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp235_ = theme_combo;
#line 417 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp236_ = iter;
#line 417 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_combo_box_set_active_iter (_tmp235_, &_tmp236_);
#line 2589 "quadrapassel.c"
	}
#line 419 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp237_ = theme_store;
#line 419 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp237_, &_tmp238_);
#line 419 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp238_;
#line 420 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp239_ = theme_store;
#line 420 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp240_ = iter;
#line 420 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp241_ = _ ("Tango Shaded");
#line 420 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp239_, &_tmp240_, 0, _tmp241_, 1, "tangoshaded", -1, -1);
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp242_ = self->priv->settings;
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp243_ = g_settings_get_string (_tmp242_, "theme");
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp244_ = _tmp243_;
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp245_ = g_strcmp0 (_tmp244_, "tangoshaded") == 0;
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp244_);
#line 421 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp245_) {
#line 2617 "quadrapassel.c"
		GtkComboBox* _tmp246_ = NULL;
		GtkTreeIter _tmp247_ = {0};
#line 422 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp246_ = theme_combo;
#line 422 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp247_ = iter;
#line 422 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_combo_box_set_active_iter (_tmp246_, &_tmp247_);
#line 2626 "quadrapassel.c"
	}
#line 424 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp248_ = theme_store;
#line 424 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_append (_tmp248_, &_tmp249_);
#line 424 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp249_;
#line 425 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp250_ = theme_store;
#line 425 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp251_ = iter;
#line 425 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp252_ = _ ("Clean");
#line 425 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp250_, &_tmp251_, 0, _tmp252_, 1, "clean", -1, -1);
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp253_ = self->priv->settings;
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp254_ = g_settings_get_string (_tmp253_, "theme");
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp255_ = _tmp254_;
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp256_ = g_strcmp0 (_tmp255_, "clean") == 0;
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp255_);
#line 426 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp256_) {
#line 2654 "quadrapassel.c"
		GtkComboBox* _tmp257_ = NULL;
		GtkTreeIter _tmp258_ = {0};
#line 427 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp257_ = theme_combo;
#line 427 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp258_ = iter;
#line 427 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_combo_box_set_active_iter (_tmp257_, &_tmp258_);
#line 2663 "quadrapassel.c"
	}
#line 429 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp259_ = theme_combo;
#line 429 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp259_, "changed", (GCallback) _quadrapassel_theme_combo_changed_cb_gtk_combo_box_changed, self, 0);
#line 431 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp260_ = preview_new (NULL);
#line 431 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp260_);
#line 431 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->theme_preview);
#line 431 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->theme_preview = _tmp260_;
#line 432 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp261_ = self->priv->theme_preview;
#line 432 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp262_ = game_new (20, 14, 1, 0, 5, FALSE);
#line 432 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp263_ = _tmp262_;
#line 432 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_game (_tmp261_, _tmp263_);
#line 432 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (_tmp263_);
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp264_ = self->priv->theme_preview;
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp265_ = self->priv->settings;
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp266_ = g_settings_get_string (_tmp265_, "theme");
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp267_ = _tmp266_;
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_theme (_tmp264_, _tmp267_);
#line 433 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp267_);
#line 434 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp268_ = vbox;
#line 434 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp269_ = self->priv->theme_preview;
#line 434 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_box_pack_start (_tmp268_, (GtkWidget*) _tmp269_, TRUE, TRUE, (guint) 0);
#line 436 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp270_ = self->priv->preferences_dialog;
#line 436 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp270_);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (renderer);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (theme_store);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (theme_combo);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (controls_list);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (key_renderer);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label_renderer);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (controls_view);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (adj);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (label);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (grid);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (notebook);
#line 254 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (vbox);
#line 2733 "quadrapassel.c"
}


static void quadrapassel_sound_toggle_toggled_cb (Quadrapassel* self) {
	gboolean play_sound = FALSE;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GSettings* _tmp2_ = NULL;
	GameView* _tmp3_ = NULL;
#line 439 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 441 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->sound_toggle;
#line 441 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 441 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	play_sound = _tmp1_;
#line 442 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 442 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp2_, "sound", play_sound);
#line 443 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->view;
#line 443 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_->mute = !play_sound;
#line 2759 "quadrapassel.c"
}


static void quadrapassel_do_preview_toggle_toggled_cb (Quadrapassel* self) {
	GSettings* _tmp0_ = NULL;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 446 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 448 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->settings;
#line 448 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->do_preview_toggle;
#line 448 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 448 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp0_, "do-preview", _tmp2_);
#line 449 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_update_preview_settings (self);
#line 2779 "quadrapassel.c"
}


static void quadrapassel_difficult_blocks_toggled_cb (Quadrapassel* self) {
	GSettings* _tmp0_ = NULL;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GtkCheckButton* _tmp3_ = NULL;
	GSettings* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
#line 452 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 454 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->settings;
#line 454 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->difficult_blocks_toggle;
#line 454 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 454 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp0_, "pick-difficult-blocks", _tmp2_);
#line 455 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->do_preview_toggle;
#line 455 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = self->priv->settings;
#line 455 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = g_settings_get_boolean (_tmp4_, "pick-difficult-blocks");
#line 455 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, !_tmp5_);
#line 456 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_update_preview_settings (self);
#line 2810 "quadrapassel.c"
}


static void quadrapassel_update_preview_settings (Quadrapassel* self) {
	gboolean do_preview = FALSE;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean difficult_block_mode = FALSE;
	GtkCheckButton* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	Preview* _tmp7_ = NULL;
#line 459 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 461 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->do_preview_toggle;
#line 461 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 461 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	do_preview = _tmp1_;
#line 462 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->difficult_blocks_toggle;
#line 462 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp2_);
#line 462 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	difficult_block_mode = _tmp3_;
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = do_preview;
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp5_) {
#line 2842 "quadrapassel.c"
		gboolean _tmp6_ = FALSE;
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = difficult_block_mode;
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = !_tmp6_;
#line 2848 "quadrapassel.c"
	} else {
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = FALSE;
#line 2852 "quadrapassel.c"
	}
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = self->priv->preview;
#line 463 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_enabled (_tmp7_, _tmp4_);
#line 2858 "quadrapassel.c"
}


static void quadrapassel_set_rotate_counter_clock_wise (Quadrapassel* self) {
	GSettings* _tmp0_ = NULL;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 466 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 468 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->settings;
#line 468 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->rotate_counter_clock_wise_toggle;
#line 468 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 468 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp0_, "rotate-counter-clock-wise", _tmp2_);
#line 2876 "quadrapassel.c"
}


static void quadrapassel_user_target_toggled_cb (Quadrapassel* self) {
	gboolean show_shadow = FALSE;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GSettings* _tmp2_ = NULL;
	GameView* _tmp3_ = NULL;
#line 471 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 473 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->show_shadow_toggle;
#line 473 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 473 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	show_shadow = _tmp1_;
#line 474 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 474 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_boolean (_tmp2_, "show-shadow", show_shadow);
#line 475 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->view;
#line 475 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_show_shadow (_tmp3_, show_shadow);
#line 2902 "quadrapassel.c"
}


static void quadrapassel_accel_edited_cb (Quadrapassel* self, GtkCellRendererAccel* cell, const gchar* path_string, guint keyval, GdkModifierType mask, guint hardware_keycode) {
	GtkTreePath* path = NULL;
	const gchar* _tmp0_ = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreePath* _tmp2_ = NULL;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp3_ = NULL;
	GtkTreePath* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	gboolean _tmp6_ = FALSE;
	gchar* key = NULL;
	GtkListStore* _tmp7_ = NULL;
	GtkTreeIter _tmp8_ = {0};
	const gchar* _tmp9_ = NULL;
	GtkListStore* _tmp10_ = NULL;
	GtkTreeIter _tmp11_ = {0};
	guint _tmp12_ = 0U;
	GSettings* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	guint _tmp15_ = 0U;
#line 478 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 478 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (cell != NULL);
#line 478 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (path_string != NULL);
#line 480 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = path_string;
#line 480 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_tree_path_new_from_string (_tmp0_);
#line 480 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	path = _tmp1_;
#line 481 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = path;
#line 481 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp2_ == NULL) {
#line 482 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 482 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 2946 "quadrapassel.c"
	}
#line 485 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->controls_model;
#line 485 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = path;
#line 485 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = gtk_tree_model_get_iter ((GtkTreeModel*) _tmp3_, &_tmp5_, _tmp4_);
#line 485 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp5_;
#line 485 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (!_tmp6_) {
#line 486 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 486 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 2962 "quadrapassel.c"
	}
#line 488 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	key = NULL;
#line 489 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = self->priv->controls_model;
#line 489 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = iter;
#line 489 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp7_, &_tmp8_, 0, &key, -1);
#line 490 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = key;
#line 490 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp9_ == NULL) {
#line 491 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_free0 (key);
#line 491 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 491 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 2982 "quadrapassel.c"
	}
#line 493 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = self->priv->controls_model;
#line 493 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = iter;
#line 493 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = keyval;
#line 493 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp10_, &_tmp11_, 2, _tmp12_, -1);
#line 494 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = self->priv->settings;
#line 494 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = key;
#line 494 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = keyval;
#line 494 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp13_, _tmp14_, (gint) _tmp15_);
#line 478 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (key);
#line 478 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_gtk_tree_path_free0 (path);
#line 3004 "quadrapassel.c"
}


static void quadrapassel_accel_cleared_cb (Quadrapassel* self, GtkCellRendererAccel* cell, const gchar* path_string) {
	GtkTreePath* path = NULL;
	const gchar* _tmp0_ = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreePath* _tmp2_ = NULL;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp3_ = NULL;
	GtkTreePath* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	gboolean _tmp6_ = FALSE;
	gchar* key = NULL;
	GtkListStore* _tmp7_ = NULL;
	GtkTreeIter _tmp8_ = {0};
	const gchar* _tmp9_ = NULL;
	GtkListStore* _tmp10_ = NULL;
	GtkTreeIter _tmp11_ = {0};
	GSettings* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
#line 497 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 497 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (cell != NULL);
#line 497 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (path_string != NULL);
#line 499 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = path_string;
#line 499 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_tree_path_new_from_string (_tmp0_);
#line 499 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	path = _tmp1_;
#line 500 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = path;
#line 500 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp2_ == NULL) {
#line 501 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 501 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 3046 "quadrapassel.c"
	}
#line 504 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->controls_model;
#line 504 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = path;
#line 504 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = gtk_tree_model_get_iter ((GtkTreeModel*) _tmp3_, &_tmp5_, _tmp4_);
#line 504 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp5_;
#line 504 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (!_tmp6_) {
#line 505 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 505 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 3062 "quadrapassel.c"
	}
#line 507 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	key = NULL;
#line 508 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = self->priv->controls_model;
#line 508 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = iter;
#line 508 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp7_, &_tmp8_, 0, &key, -1);
#line 509 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = key;
#line 509 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp9_ == NULL) {
#line 510 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_free0 (key);
#line 510 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_gtk_tree_path_free0 (path);
#line 510 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 3082 "quadrapassel.c"
	}
#line 512 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = self->priv->controls_model;
#line 512 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = iter;
#line 512 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_list_store_set (_tmp10_, &_tmp11_, 2, 0, -1);
#line 513 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = self->priv->settings;
#line 513 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = key;
#line 513 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp12_, _tmp13_, 0);
#line 497 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (key);
#line 497 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_gtk_tree_path_free0 (path);
#line 3100 "quadrapassel.c"
}


static void quadrapassel_theme_combo_changed_cb (Quadrapassel* self, GtkComboBox* widget) {
	GtkTreeIter iter = {0};
	GtkComboBox* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	gchar* theme = NULL;
	GtkComboBox* _tmp2_ = NULL;
	GtkTreeModel* _tmp3_ = NULL;
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeIter _tmp5_ = {0};
	GameView* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	Preview* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	Preview* _tmp10_ = NULL;
	GSettings* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
#line 516 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 516 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (widget != NULL);
#line 519 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = widget;
#line 519 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_);
#line 519 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	iter = _tmp1_;
#line 521 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = widget;
#line 521 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = gtk_combo_box_get_model (_tmp2_);
#line 521 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = _tmp3_;
#line 521 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = iter;
#line 521 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_tree_model_get (_tmp4_, &_tmp5_, 1, &theme, -1);
#line 522 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = self->priv->view;
#line 522 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = theme;
#line 522 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_theme (_tmp6_, _tmp7_);
#line 523 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = self->priv->preview;
#line 523 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = theme;
#line 523 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_theme (_tmp8_, _tmp9_);
#line 524 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = self->priv->theme_preview;
#line 524 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp10_ != NULL) {
#line 3156 "quadrapassel.c"
		Preview* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
#line 525 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = self->priv->theme_preview;
#line 525 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp12_ = theme;
#line 525 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		preview_set_theme (_tmp11_, _tmp12_);
#line 3165 "quadrapassel.c"
	}
#line 526 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = self->priv->settings;
#line 526 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = theme;
#line 526 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_string (_tmp13_, "theme", _tmp14_);
#line 516 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (theme);
#line 3175 "quadrapassel.c"
}


static void quadrapassel_fill_height_spinner_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin) {
	gint value = 0;
	GtkSpinButton* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	GSettings* _tmp2_ = NULL;
#line 529 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 529 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (spin != NULL);
#line 531 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = spin;
#line 531 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_spin_button_get_value_as_int (_tmp0_);
#line 531 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	value = _tmp1_;
#line 532 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 532 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp2_, "line-fill-height", value);
#line 3198 "quadrapassel.c"
}


static void quadrapassel_fill_prob_spinner_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin) {
	gint value = 0;
	GtkSpinButton* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	GSettings* _tmp2_ = NULL;
#line 535 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 535 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (spin != NULL);
#line 537 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = spin;
#line 537 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_spin_button_get_value_as_int (_tmp0_);
#line 537 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	value = _tmp1_;
#line 538 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 538 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp2_, "line-fill-probability", value);
#line 3221 "quadrapassel.c"
}


static void quadrapassel_starting_level_value_changed_cb (Quadrapassel* self, GtkSpinButton* spin) {
	gint value = 0;
	GtkSpinButton* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	GSettings* _tmp2_ = NULL;
#line 541 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 541 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (spin != NULL);
#line 543 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = spin;
#line 543 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = gtk_spin_button_get_value_as_int (_tmp0_);
#line 543 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	value = _tmp1_;
#line 544 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->settings;
#line 544 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_settings_set_int (_tmp2_, "starting-level", value);
#line 3244 "quadrapassel.c"
}


static void quadrapassel_pause_cb (Quadrapassel* self) {
	Game* _tmp0_ = NULL;
#line 547 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 549 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->game;
#line 549 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_ != NULL) {
#line 3256 "quadrapassel.c"
		Game* _tmp1_ = NULL;
		Game* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 550 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = self->priv->game;
#line 550 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = self->priv->game;
#line 550 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp3_ = game_get_paused (_tmp2_);
#line 550 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = _tmp3_;
#line 550 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		game_set_paused (_tmp1_, !_tmp4_);
#line 3271 "quadrapassel.c"
	}
}


static void quadrapassel_quit_cb (Quadrapassel* self) {
	GtkWindow* _tmp0_ = NULL;
#line 553 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 555 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->window;
#line 555 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp0_);
#line 3284 "quadrapassel.c"
}


static gboolean quadrapassel_key_press_event_cb (Quadrapassel* self, GtkWidget* widget, GdkEventKey* event) {
	gboolean result = FALSE;
	guint keyval = 0U;
	GdkEventKey* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	guint _tmp2_ = 0U;
	Game* _tmp3_ = NULL;
	guint _tmp4_ = 0U;
	GSettings* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	guint _tmp7_ = 0U;
	Game* _tmp12_ = NULL;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp14_ = FALSE;
	guint _tmp15_ = 0U;
	GSettings* _tmp16_ = NULL;
	gint _tmp17_ = 0;
	guint _tmp18_ = 0U;
#line 558 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 558 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 558 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 560 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = event;
#line 560 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = _tmp0_->keyval;
#line 560 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = quadrapassel_upper_key (self, _tmp1_);
#line 560 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp2_;
#line 562 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->game;
#line 562 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp3_ == NULL) {
#line 563 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = FALSE;
#line 563 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3328 "quadrapassel.c"
	}
#line 565 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = keyval;
#line 565 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->settings;
#line 565 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = g_settings_get_int (_tmp5_, "key-pause");
#line 565 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = quadrapassel_upper_key (self, (guint) _tmp6_);
#line 565 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp4_ == _tmp7_) {
#line 3340 "quadrapassel.c"
		Game* _tmp8_ = NULL;
		Game* _tmp9_ = NULL;
		gboolean _tmp10_ = FALSE;
		gboolean _tmp11_ = FALSE;
#line 567 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp8_ = self->priv->game;
#line 567 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp9_ = self->priv->game;
#line 567 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp10_ = game_get_paused (_tmp9_);
#line 567 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = _tmp10_;
#line 567 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		game_set_paused (_tmp8_, !_tmp11_);
#line 568 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = TRUE;
#line 568 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3359 "quadrapassel.c"
	}
#line 571 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = self->priv->game;
#line 571 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = game_get_paused (_tmp12_);
#line 571 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = _tmp13_;
#line 571 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp14_) {
#line 572 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = FALSE;
#line 572 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3373 "quadrapassel.c"
	}
#line 574 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = keyval;
#line 574 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp16_ = self->priv->settings;
#line 574 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp17_ = g_settings_get_int (_tmp16_, "key-left");
#line 574 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp18_ = quadrapassel_upper_key (self, (guint) _tmp17_);
#line 574 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp15_ == _tmp18_) {
#line 3385 "quadrapassel.c"
		Game* _tmp19_ = NULL;
#line 576 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp19_ = self->priv->game;
#line 576 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		game_move_left (_tmp19_);
#line 577 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = TRUE;
#line 577 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3395 "quadrapassel.c"
	} else {
		guint _tmp20_ = 0U;
		GSettings* _tmp21_ = NULL;
		gint _tmp22_ = 0;
		guint _tmp23_ = 0U;
#line 579 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp20_ = keyval;
#line 579 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp21_ = self->priv->settings;
#line 579 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp22_ = g_settings_get_int (_tmp21_, "key-right");
#line 579 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp23_ = quadrapassel_upper_key (self, (guint) _tmp22_);
#line 579 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		if (_tmp20_ == _tmp23_) {
#line 3411 "quadrapassel.c"
			Game* _tmp24_ = NULL;
#line 581 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			_tmp24_ = self->priv->game;
#line 581 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			game_move_right (_tmp24_);
#line 582 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			result = TRUE;
#line 582 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			return result;
#line 3421 "quadrapassel.c"
		} else {
			guint _tmp25_ = 0U;
			GSettings* _tmp26_ = NULL;
			gint _tmp27_ = 0;
			guint _tmp28_ = 0U;
#line 584 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			_tmp25_ = keyval;
#line 584 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			_tmp26_ = self->priv->settings;
#line 584 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			_tmp27_ = g_settings_get_int (_tmp26_, "key-rotate");
#line 584 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			_tmp28_ = quadrapassel_upper_key (self, (guint) _tmp27_);
#line 584 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			if (_tmp25_ == _tmp28_) {
#line 3437 "quadrapassel.c"
				GSettings* _tmp29_ = NULL;
				gboolean _tmp30_ = FALSE;
#line 586 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp29_ = self->priv->settings;
#line 586 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp30_ = g_settings_get_boolean (_tmp29_, "rotate-counter-clock-wise");
#line 586 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				if (_tmp30_) {
#line 3446 "quadrapassel.c"
					Game* _tmp31_ = NULL;
#line 587 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp31_ = self->priv->game;
#line 587 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					game_rotate_left (_tmp31_);
#line 3452 "quadrapassel.c"
				} else {
					Game* _tmp32_ = NULL;
#line 589 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp32_ = self->priv->game;
#line 589 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					game_rotate_right (_tmp32_);
#line 3459 "quadrapassel.c"
				}
#line 590 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				result = TRUE;
#line 590 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				return result;
#line 3465 "quadrapassel.c"
			} else {
				guint _tmp33_ = 0U;
				GSettings* _tmp34_ = NULL;
				gint _tmp35_ = 0;
				guint _tmp36_ = 0U;
#line 592 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp33_ = keyval;
#line 592 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp34_ = self->priv->settings;
#line 592 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp35_ = g_settings_get_int (_tmp34_, "key-down");
#line 592 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				_tmp36_ = quadrapassel_upper_key (self, (guint) _tmp35_);
#line 592 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
				if (_tmp33_ == _tmp36_) {
#line 3481 "quadrapassel.c"
					Game* _tmp37_ = NULL;
#line 594 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp37_ = self->priv->game;
#line 594 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					game_set_fast_forward (_tmp37_, TRUE);
#line 595 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					result = TRUE;
#line 595 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					return result;
#line 3491 "quadrapassel.c"
				} else {
					guint _tmp38_ = 0U;
					GSettings* _tmp39_ = NULL;
					gint _tmp40_ = 0;
					guint _tmp41_ = 0U;
#line 597 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp38_ = keyval;
#line 597 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp39_ = self->priv->settings;
#line 597 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp40_ = g_settings_get_int (_tmp39_, "key-drop");
#line 597 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					_tmp41_ = quadrapassel_upper_key (self, (guint) _tmp40_);
#line 597 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
					if (_tmp38_ == _tmp41_) {
#line 3507 "quadrapassel.c"
						Game* _tmp42_ = NULL;
#line 599 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
						_tmp42_ = self->priv->game;
#line 599 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
						game_drop (_tmp42_);
#line 600 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
						result = TRUE;
#line 600 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
						return result;
#line 3517 "quadrapassel.c"
					}
				}
			}
		}
	}
#line 603 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = FALSE;
#line 603 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 3527 "quadrapassel.c"
}


static gboolean quadrapassel_key_release_event_cb (Quadrapassel* self, GtkWidget* widget, GdkEventKey* event) {
	gboolean result = FALSE;
	guint keyval = 0U;
	GdkEventKey* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	guint _tmp2_ = 0U;
	Game* _tmp3_ = NULL;
	guint _tmp4_ = 0U;
	GSettings* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	guint _tmp7_ = 0U;
#line 606 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 606 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 606 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 608 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = event;
#line 608 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = _tmp0_->keyval;
#line 608 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = quadrapassel_upper_key (self, _tmp1_);
#line 608 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	keyval = _tmp2_;
#line 610 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->game;
#line 610 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp3_ == NULL) {
#line 611 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = FALSE;
#line 611 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3564 "quadrapassel.c"
	}
#line 613 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = keyval;
#line 613 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->settings;
#line 613 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = g_settings_get_int (_tmp5_, "key-down");
#line 613 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = quadrapassel_upper_key (self, (guint) _tmp6_);
#line 613 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp4_ == _tmp7_) {
#line 3576 "quadrapassel.c"
		Game* _tmp8_ = NULL;
#line 615 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp8_ = self->priv->game;
#line 615 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		game_set_fast_forward (_tmp8_, FALSE);
#line 616 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = TRUE;
#line 616 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3586 "quadrapassel.c"
	}
#line 619 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = FALSE;
#line 619 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 3592 "quadrapassel.c"
}


static guint quadrapassel_upper_key (Quadrapassel* self, guint keyval) {
	guint result = 0U;
	guint _tmp0_ = 0U;
	guint _tmp2_ = 0U;
	gchar _tmp3_ = '\0';
#line 622 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 624 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = keyval;
#line 624 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_ > ((guint) 255)) {
#line 3607 "quadrapassel.c"
		guint _tmp1_ = 0U;
#line 625 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = keyval;
#line 625 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = _tmp1_;
#line 625 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 3615 "quadrapassel.c"
	}
#line 626 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = keyval;
#line 626 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = g_ascii_toupper ((gchar) _tmp2_);
#line 626 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = (guint) _tmp3_;
#line 626 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 3625 "quadrapassel.c"
}


static void quadrapassel_new_game_cb (Quadrapassel* self) {
#line 629 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 631 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_new_game (self);
#line 3634 "quadrapassel.c"
}


static void _quadrapassel_pause_changed_cb_game_pause_changed (Game* _sender, gpointer self) {
#line 643 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_pause_changed_cb ((Quadrapassel*) self);
#line 3641 "quadrapassel.c"
}


static void _quadrapassel_shape_landed_cb_game_shape_landed (Game* _sender, gint* lines, int lines_length1, GList* line_blocks, gpointer self) {
#line 644 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_shape_landed_cb ((Quadrapassel*) self, lines, lines_length1, line_blocks);
#line 3648 "quadrapassel.c"
}


static void _quadrapassel_complete_cb_game_complete (Game* _sender, gpointer self) {
#line 645 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_complete_cb ((Quadrapassel*) self);
#line 3655 "quadrapassel.c"
}


static void quadrapassel_new_game (Quadrapassel* self) {
	Game* _tmp0_ = NULL;
	GSettings* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	GSettings* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	GSettings* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	GSettings* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	Game* _tmp11_ = NULL;
	Game* _tmp12_ = NULL;
	Game* _tmp13_ = NULL;
	Game* _tmp14_ = NULL;
	Preview* _tmp15_ = NULL;
	Game* _tmp16_ = NULL;
	GameView* _tmp17_ = NULL;
	Game* _tmp18_ = NULL;
	Game* _tmp19_ = NULL;
	GSimpleAction* _tmp20_ = NULL;
	GtkButton* _tmp21_ = NULL;
#line 634 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 636 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->game;
#line 636 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_ != NULL) {
#line 3686 "quadrapassel.c"
		Game* _tmp1_ = NULL;
		Game* _tmp2_ = NULL;
#line 638 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = self->priv->game;
#line 638 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		game_stop (_tmp1_);
#line 639 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = self->priv->game;
#line 639 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_DATA, (guint) 0, (GQuark) 0, NULL, NULL, self);
#line 3697 "quadrapassel.c"
	}
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->settings;
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = g_settings_get_int (_tmp3_, "starting-level");
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->settings;
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = g_settings_get_int (_tmp5_, "line-fill-height");
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = self->priv->settings;
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = g_settings_get_int (_tmp7_, "line-fill-probability");
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = self->priv->settings;
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = g_settings_get_boolean (_tmp9_, "pick-difficult-blocks");
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = game_new (20, 14, _tmp4_, _tmp6_, _tmp8_, _tmp10_);
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->game);
#line 642 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->game = _tmp11_;
#line 643 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = self->priv->game;
#line 643 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp12_, "pause-changed", (GCallback) _quadrapassel_pause_changed_cb_game_pause_changed, self, 0);
#line 644 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = self->priv->game;
#line 644 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp13_, "shape-landed", (GCallback) _quadrapassel_shape_landed_cb_game_shape_landed, self, 0);
#line 645 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = self->priv->game;
#line 645 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_signal_connect_object (_tmp14_, "complete", (GCallback) _quadrapassel_complete_cb_game_complete, self, 0);
#line 646 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = self->priv->preview;
#line 646 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp16_ = self->priv->game;
#line 646 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	preview_set_game (_tmp15_, _tmp16_);
#line 647 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp17_ = self->priv->view;
#line 647 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp18_ = self->priv->game;
#line 647 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_view_set_game (_tmp17_, _tmp18_);
#line 649 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp19_ = self->priv->game;
#line 649 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	game_start (_tmp19_);
#line 651 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_update_score (self);
#line 652 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp20_ = self->priv->pause_action;
#line 652 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_simple_action_set_enabled (_tmp20_, TRUE);
#line 653 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp21_ = self->priv->pause_play_button;
#line 653 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_actionable_set_action_name ((GtkActionable*) _tmp21_, "app.pause");
#line 3759 "quadrapassel.c"
}


static void quadrapassel_pause_changed_cb (Quadrapassel* self) {
	Game* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 656 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 658 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->game;
#line 658 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = game_get_paused (_tmp0_);
#line 658 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = _tmp1_;
#line 658 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp2_) {
#line 3777 "quadrapassel.c"
		GtkImage* _tmp3_ = NULL;
		GtkButton* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
#line 660 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp3_ = self->priv->pause_play_button_image;
#line 660 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_image_set_from_icon_name (_tmp3_, "media-playback-start-symbolic", GTK_ICON_SIZE_DIALOG);
#line 661 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = self->priv->pause_play_button;
#line 661 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp5_ = _ ("Unpause the game");
#line 661 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_widget_set_tooltip_text ((GtkWidget*) _tmp4_, _tmp5_);
#line 3791 "quadrapassel.c"
	} else {
		GtkImage* _tmp6_ = NULL;
		GtkButton* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
#line 665 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = self->priv->pause_play_button_image;
#line 665 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_image_set_from_icon_name (_tmp6_, "media-playback-pause-symbolic", GTK_ICON_SIZE_DIALOG);
#line 666 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = self->priv->pause_play_button;
#line 666 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp8_ = _ ("Pause the game");
#line 666 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_widget_set_tooltip_text ((GtkWidget*) _tmp7_, _tmp8_);
#line 3806 "quadrapassel.c"
	}
}


static void quadrapassel_shape_landed_cb (Quadrapassel* self, gint* lines, int lines_length1, GList* line_blocks) {
#line 670 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 672 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_update_score (self);
#line 3816 "quadrapassel.c"
}


static void quadrapassel_complete_cb (Quadrapassel* self) {
	GSimpleAction* _tmp0_ = NULL;
	GtkImage* _tmp1_ = NULL;
	GtkButton* _tmp2_ = NULL;
	GtkButton* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	Game* _tmp5_ = NULL;
	gint _tmp6_ = 0;
#line 675 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 677 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->pause_action;
#line 677 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_simple_action_set_enabled (_tmp0_, FALSE);
#line 678 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = self->priv->pause_play_button_image;
#line 678 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_image_set_from_icon_name (_tmp1_, "view-refresh-symbolic", GTK_ICON_SIZE_DIALOG);
#line 679 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = self->priv->pause_play_button;
#line 679 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_actionable_set_action_name ((GtkActionable*) _tmp2_, "app.new-game");
#line 680 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = self->priv->pause_play_button;
#line 680 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = _ ("Start a new game");
#line 680 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp3_, _tmp4_);
#line 682 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = self->priv->game;
#line 682 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = _tmp5_->score;
#line 682 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp6_ > 0) {
#line 3854 "quadrapassel.c"
		GDateTime* date = NULL;
		GDateTime* _tmp7_ = NULL;
		HistoryEntry* entry = NULL;
		GDateTime* _tmp8_ = NULL;
		Game* _tmp9_ = NULL;
		gint _tmp10_ = 0;
		HistoryEntry* _tmp11_ = NULL;
		History* _tmp12_ = NULL;
		HistoryEntry* _tmp13_ = NULL;
		History* _tmp14_ = NULL;
		HistoryEntry* _tmp15_ = NULL;
		gint _tmp16_ = 0;
#line 684 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = g_date_time_new_now_local ();
#line 684 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		date = _tmp7_;
#line 685 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp8_ = date;
#line 685 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp9_ = self->priv->game;
#line 685 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp10_ = _tmp9_->score;
#line 685 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = history_entry_new (_tmp8_, _tmp10_);
#line 685 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		entry = _tmp11_;
#line 686 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp12_ = self->priv->history;
#line 686 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp13_ = entry;
#line 686 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		history_add (_tmp12_, _tmp13_);
#line 687 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp14_ = self->priv->history;
#line 687 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		history_save (_tmp14_);
#line 689 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp15_ = entry;
#line 689 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp16_ = quadrapassel_show_scores (self, _tmp15_, TRUE);
#line 689 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		if (_tmp16_ == ((gint) GTK_RESPONSE_OK)) {
#line 690 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
			quadrapassel_new_game (self);
#line 3899 "quadrapassel.c"
		}
#line 682 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_object_unref0 (entry);
#line 682 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_date_time_unref0 (date);
#line 3905 "quadrapassel.c"
	}
}


static gint quadrapassel_show_scores (Quadrapassel* self, HistoryEntry* selected_entry, gboolean show_close) {
	gint result = 0;
	ScoreDialog* dialog = NULL;
	History* _tmp0_ = NULL;
	HistoryEntry* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	ScoreDialog* _tmp3_ = NULL;
	GtkWindow* _tmp4_ = NULL;
	gint _result_ = 0;
	gint _tmp5_ = 0;
#line 694 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->history;
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = selected_entry;
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = show_close;
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = score_dialog_new (_tmp0_, _tmp1_, _tmp2_);
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_object_ref_sink (_tmp3_);
#line 696 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	dialog = _tmp3_;
#line 697 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_modal ((GtkWindow*) dialog, TRUE);
#line 698 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = self->priv->window;
#line 698 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_transient_for ((GtkWindow*) dialog, _tmp4_);
#line 700 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = gtk_dialog_run ((GtkDialog*) dialog);
#line 700 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_result_ = _tmp5_;
#line 701 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_widget_destroy ((GtkWidget*) dialog);
#line 703 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = _result_;
#line 703 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (dialog);
#line 703 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 3952 "quadrapassel.c"
}


static void quadrapassel_update_score (Quadrapassel* self) {
	gint score = 0;
	gint level = 0;
	gint n_lines_destroyed = 0;
	Game* _tmp0_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	gint _tmp9_ = 0;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	gint _tmp13_ = 0;
	gchar* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	GtkLabel* _tmp16_ = NULL;
	gint _tmp17_ = 0;
	gchar* _tmp18_ = NULL;
	gchar* _tmp19_ = NULL;
#line 706 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 708 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	score = 0;
#line 709 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	level = 0;
#line 710 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	n_lines_destroyed = 0;
#line 712 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = self->priv->game;
#line 712 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (_tmp0_ != NULL) {
#line 3985 "quadrapassel.c"
		Game* _tmp1_ = NULL;
		gint _tmp2_ = 0;
		Game* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		gint _tmp5_ = 0;
		Game* _tmp6_ = NULL;
		gint _tmp7_ = 0;
#line 714 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = self->priv->game;
#line 714 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = _tmp1_->score;
#line 714 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		score = _tmp2_;
#line 715 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp3_ = self->priv->game;
#line 715 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = game_get_level (_tmp3_);
#line 715 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp5_ = _tmp4_;
#line 715 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		level = _tmp5_;
#line 716 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = self->priv->game;
#line 716 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = _tmp6_->n_lines_destroyed;
#line 716 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		n_lines_destroyed = _tmp7_;
#line 4013 "quadrapassel.c"
	}
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp8_ = self->priv->score_label;
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = score;
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp10_ = g_strdup_printf ("<big>%d</big>", _tmp9_);
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp11_ = _tmp10_;
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp8_, _tmp11_);
#line 719 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp11_);
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp12_ = self->priv->level_label;
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp13_ = level;
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp14_ = g_strdup_printf ("<big>%d</big>", _tmp13_);
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp15_ = _tmp14_;
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp12_, _tmp15_);
#line 720 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp15_);
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp16_ = self->priv->n_destroyed_label;
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp17_ = n_lines_destroyed;
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp18_ = g_strdup_printf ("<big>%d</big>", _tmp17_);
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp19_ = _tmp18_;
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_label_set_markup (_tmp16_, _tmp19_);
#line 721 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_free0 (_tmp19_);
#line 4051 "quadrapassel.c"
}


static void quadrapassel_help_cb (Quadrapassel* self) {
	GError * _inner_error_ = NULL;
#line 724 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 4059 "quadrapassel.c"
	{
		GtkWindow* _tmp0_ = NULL;
		GdkScreen* _tmp1_ = NULL;
		guint32 _tmp2_ = 0U;
#line 728 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp0_ = self->priv->window;
#line 728 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp1_ = gtk_window_get_screen (_tmp0_);
#line 728 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp2_ = gtk_get_current_event_time ();
#line 728 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_show_uri (_tmp1_, "help:quadrapassel", _tmp2_, &_inner_error_);
#line 728 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4074 "quadrapassel.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		e = _inner_error_;
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_inner_error_ = NULL;
#line 732 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp3_ = e;
#line 732 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp4_ = _tmp3_->message;
#line 732 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_warning ("quadrapassel.vala:732: Failed to show help: %s", _tmp4_);
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_error_free0 (e);
#line 4096 "quadrapassel.c"
	}
	__finally0:
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.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 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_clear_error (&_inner_error_);
#line 726 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return;
#line 4107 "quadrapassel.c"
	}
}


static void quadrapassel_about_cb (Quadrapassel* self) {
	gchar** authors = NULL;
	gchar* _tmp0_ = NULL;
	gchar** _tmp1_ = NULL;
	gint authors_length1 = 0;
	gint _authors_size_ = 0;
	gchar** documenters = NULL;
	gchar* _tmp2_ = NULL;
	gchar** _tmp3_ = NULL;
	gint documenters_length1 = 0;
	gint _documenters_size_ = 0;
	GtkWindow* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
#line 736 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = g_strdup ("GNOME Games Team");
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = g_new0 (gchar*, 2 + 1);
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_[0] = _tmp0_;
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_[1] = NULL;
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	authors = _tmp1_;
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	authors_length1 = 2;
#line 738 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_authors_size_ = authors_length1;
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = g_strdup ("Angela Boyle");
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = g_new0 (gchar*, 2 + 1);
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_[0] = _tmp2_;
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_[1] = NULL;
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	documenters = _tmp3_;
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	documenters_length1 = 2;
#line 739 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_documenters_size_ = documenters_length1;
#line 741 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = self->priv->window;
#line 741 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp5_ = _ ("Quadrapassel");
#line 741 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp6_ = _ ("A classic game of fitting falling blocks together");
#line 741 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp7_ = _ ("translator-credits");
#line 741 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_show_about_dialog (_tmp4_, "program-name", _tmp5_, "version", VERSION, "comments", _tmp6_, "copyright", "Copyright © 1999 J. Marcin Gorycki, 2000–2015 Others", "license-type", GTK_LICENSE_GPL_2_0, "authors", authors, "documenters", documenters, "translator-credits", _tmp7_, "logo-icon-name", "quadrapassel", "website", "https://wiki.gnome.org/Apps/Quadrapassel", NULL, NULL);
#line 736 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	documenters = (_vala_array_free (documenters, documenters_length1, (GDestroyNotify) g_free), NULL);
#line 736 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
#line 4171 "quadrapassel.c"
}


static void quadrapassel_scores_cb (Quadrapassel* self) {
#line 755 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_return_if_fail (self != NULL);
#line 757 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_show_scores (self, NULL, FALSE);
#line 4180 "quadrapassel.c"
}


gint quadrapassel_main (gchar** args, int args_length1) {
	gint result = 0;
	GOptionContext* context = NULL;
	GOptionContext* _tmp0_ = NULL;
	GOptionContext* _tmp1_ = NULL;
	GOptionGroup* _tmp2_ = NULL;
	GOptionContext* _tmp3_ = NULL;
	GOptionGroup* _tmp4_ = NULL;
	const gchar* _tmp9_ = NULL;
	Quadrapassel* app = NULL;
	Quadrapassel* _tmp19_ = NULL;
	Quadrapassel* _tmp20_ = NULL;
	gchar** _tmp21_ = NULL;
	gint _tmp21__length1 = 0;
	gint _tmp22_ = 0;
	GError * _inner_error_ = NULL;
#line 762 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	setlocale (LC_ALL, "");
#line 763 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 764 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 765 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	textdomain (GETTEXT_PACKAGE);
#line 767 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp0_ = g_option_context_new ("");
#line 767 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	context = _tmp0_;
#line 769 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp1_ = context;
#line 769 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp2_ = gtk_get_option_group (TRUE);
#line 769 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_option_context_add_group (_tmp1_, _tmp2_);
#line 770 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp3_ = context;
#line 770 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp4_ = clutter_get_option_group_without_init ();
#line 770 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_option_context_add_group (_tmp3_, _tmp4_);
#line 4224 "quadrapassel.c"
	{
		GOptionContext* _tmp5_ = NULL;
#line 774 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp5_ = context;
#line 774 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_option_context_parse (_tmp5_, &args_length1, &args, &_inner_error_);
#line 774 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4233 "quadrapassel.c"
			goto __catch1_g_error;
		}
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e = NULL;
		FILE* _tmp6_ = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		e = _inner_error_;
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_inner_error_ = NULL;
#line 778 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp6_ = stderr;
#line 778 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp7_ = e;
#line 778 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp8_ = _tmp7_->message;
#line 778 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		fprintf (_tmp6_, "%s\n", _tmp8_);
#line 779 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = EXIT_FAILURE;
#line 779 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_error_free0 (e);
#line 779 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_option_context_free0 (context);
#line 779 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 4264 "quadrapassel.c"
	}
	__finally1:
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_option_context_free0 (context);
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.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 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_clear_error (&_inner_error_);
#line 772 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return 0;
#line 4277 "quadrapassel.c"
	}
#line 782 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp9_ = _ ("Quadrapassel");
#line 782 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_set_application_name (_tmp9_);
#line 784 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	gtk_window_set_default_icon_name ("quadrapassel");
#line 4285 "quadrapassel.c"
	{
		GOptionEntry* _tmp10_ = NULL;
		GOptionEntry* _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp10_ = g_new0 (GOptionEntry, 0);
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = _tmp10_;
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11__length1 = 0;
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_clutter_init_with_args (&args_length1, &args, "", _tmp11_, NULL, &_inner_error_);
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp11_ = (g_free (_tmp11_), NULL);
#line 788 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4302 "quadrapassel.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e = NULL;
		GtkMessageDialog* dialog = NULL;
		GError* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		GtkMessageDialog* _tmp14_ = NULL;
		GtkMessageDialog* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
		GtkMessageDialog* _tmp17_ = NULL;
		GtkMessageDialog* _tmp18_ = NULL;
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		e = _inner_error_;
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_inner_error_ = NULL;
#line 792 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp12_ = e;
#line 792 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp13_ = _tmp12_->message;
#line 792 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp14_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_NONE, "Unable to initialize Clutter:\n%s", _tmp13_);
#line 792 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_object_ref_sink (_tmp14_);
#line 792 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		dialog = _tmp14_;
#line 793 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp15_ = dialog;
#line 793 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp16_ = g_get_application_name ();
#line 793 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_window_set_title ((GtkWindow*) _tmp15_, _tmp16_);
#line 794 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp17_ = dialog;
#line 794 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_dialog_run ((GtkDialog*) _tmp17_);
#line 795 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_tmp18_ = dialog;
#line 795 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp18_);
#line 796 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		result = EXIT_FAILURE;
#line 796 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_object_unref0 (dialog);
#line 796 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_error_free0 (e);
#line 796 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_option_context_free0 (context);
#line 796 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return result;
#line 4356 "quadrapassel.c"
	}
	__finally2:
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		_g_option_context_free0 (context);
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.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 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		g_clear_error (&_inner_error_);
#line 786 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
		return 0;
#line 4369 "quadrapassel.c"
	}
#line 799 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp19_ = quadrapassel_new ();
#line 799 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	app = _tmp19_;
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp20_ = app;
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp21_ = args;
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp21__length1 = args_length1;
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_tmp22_ = g_application_run ((GApplication*) _tmp20_, _tmp21__length1, _tmp21_);
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	result = _tmp22_;
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (app);
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_option_context_free0 (context);
#line 800 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return result;
#line 4391 "quadrapassel.c"
}


int main (int argc, char ** argv) {
#if !GLIB_CHECK_VERSION (2,35,0)
	g_type_init ();
#endif
#line 760 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	return quadrapassel_main (argv, argc);
#line 4401 "quadrapassel.c"
}


static void quadrapassel_class_init (QuadrapasselClass * klass) {
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	quadrapassel_parent_class = g_type_class_peek_parent (klass);
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	g_type_class_add_private (klass, sizeof (QuadrapasselPrivate));
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	((GApplicationClass *) klass)->startup = quadrapassel_real_startup;
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	((GApplicationClass *) klass)->shutdown = quadrapassel_real_shutdown;
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	((GApplicationClass *) klass)->activate = quadrapassel_real_activate;
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	G_OBJECT_CLASS (klass)->finalize = quadrapassel_finalize;
#line 4418 "quadrapassel.c"
}


static void quadrapassel_instance_init (Quadrapassel * self) {
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv = QUADRAPASSEL_GET_PRIVATE (self);
#line 24 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self->priv->game = NULL;
#line 4427 "quadrapassel.c"
}


static void quadrapassel_finalize (GObject* obj) {
	Quadrapassel * self;
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_QUADRAPASSEL, Quadrapassel);
#line 14 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->settings);
#line 17 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->window);
#line 24 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->game);
#line 27 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->view);
#line 30 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->preview);
#line 33 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->score_label);
#line 36 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->n_destroyed_label);
#line 39 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->level_label);
#line 41 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->history);
#line 43 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_action);
#line 45 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_play_button);
#line 46 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->pause_play_button_image);
#line 48 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->preferences_dialog);
#line 49 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->starting_level_spin);
#line 50 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->theme_preview);
#line 51 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->fill_height_spinner);
#line 52 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->fill_prob_spinner);
#line 53 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->do_preview_toggle);
#line 54 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->difficult_blocks_toggle);
#line 55 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->rotate_counter_clock_wise_toggle);
#line 56 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->show_shadow_toggle);
#line 57 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->sound_toggle);
#line 58 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	_g_object_unref0 (self->priv->controls_model);
#line 11 "/home/mcatanzaro/src/jhbuild/checkout/quadrapassel/src/quadrapassel.vala"
	G_OBJECT_CLASS (quadrapassel_parent_class)->finalize (obj);
#line 4483 "quadrapassel.c"
}


GType quadrapassel_get_type (void) {
	static volatile gsize quadrapassel_type_id__volatile = 0;
	if (g_once_init_enter (&quadrapassel_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (QuadrapasselClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) quadrapassel_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Quadrapassel), 0, (GInstanceInitFunc) quadrapassel_instance_init, NULL };
		GType quadrapassel_type_id;
		quadrapassel_type_id = g_type_register_static (gtk_application_get_type (), "Quadrapassel", &g_define_type_info, 0);
		g_once_init_leave (&quadrapassel_type_id__volatile, quadrapassel_type_id);
	}
	return quadrapassel_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);
}



