/* widgets.c generated by valac 0.26.2, the Vala compiler
 * generated from widgets.vala, do not modify */

/*
 Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
 Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 See the file COPYING for the full license text.
*/

#include <glib.h>
#include <glib-object.h>
#include "toolbar-editor.h"
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include "midori-core.h"
#include <pango/pango.h>
#include <gdk/gdk.h>
#include <gobject/gvaluecollector.h>

#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _adblock_subscription_manager_unref0(var) ((var == NULL) ? NULL : (var = (adblock_subscription_manager_unref (var), NULL)))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
typedef struct _Block2Data Block2Data;
#define _adblock_status_icon_unref0(var) ((var == NULL) ? NULL : (var = (adblock_status_icon_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block3Data Block3Data;
typedef struct _AdblockParamSpecStatusIcon AdblockParamSpecStatusIcon;
typedef struct _Block4Data Block4Data;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
typedef struct _AdblockParamSpecSubscriptionManager AdblockParamSpecSubscriptionManager;

#define ADBLOCK_TYPE_CUSTOM_RULES_EDITOR (adblock_custom_rules_editor_get_type ())
#define ADBLOCK_CUSTOM_RULES_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, AdblockCustomRulesEditor))
#define ADBLOCK_CUSTOM_RULES_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, AdblockCustomRulesEditorClass))
#define ADBLOCK_IS_CUSTOM_RULES_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR))
#define ADBLOCK_IS_CUSTOM_RULES_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR))
#define ADBLOCK_CUSTOM_RULES_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, AdblockCustomRulesEditorClass))

typedef struct _AdblockCustomRulesEditor AdblockCustomRulesEditor;
typedef struct _AdblockCustomRulesEditorClass AdblockCustomRulesEditorClass;
typedef struct _AdblockCustomRulesEditorPrivate AdblockCustomRulesEditorPrivate;
typedef struct _AdblockParamSpecCustomRulesEditor AdblockParamSpecCustomRulesEditor;

struct _AdblockStatusIconPrivate {
	AdblockConfig* config;
	AdblockSubscriptionManager* manager;
};

struct _Block2Data {
	int _ref_count_;
	AdblockStatusIcon* self;
	AdblockStatusIconIconButton* button;
};

struct _Block3Data {
	int _ref_count_;
	AdblockStatusIcon* self;
	GtkCheckMenuItem* checkitem;
	GtkCheckMenuItem* hideritem;
};

struct _AdblockStatusIconIconButtonPrivate {
	GtkImage* icon;
};

struct _AdblockParamSpecStatusIcon {
	GParamSpec parent_instance;
};

struct _AdblockSubscriptionManagerPrivate {
	GtkTreeView* treeview;
	GtkListStore* liststore;
	AdblockConfig* config;
	gchar* description;
};

struct _Block4Data {
	int _ref_count_;
	AdblockSubscriptionManager* self;
	GtkDialog* dialog;
	GtkEntry* entry;
};

struct _AdblockParamSpecSubscriptionManager {
	GParamSpec parent_instance;
};

struct _AdblockCustomRulesEditor {
	GTypeInstance parent_instance;
	volatile int ref_count;
	AdblockCustomRulesEditorPrivate * priv;
};

struct _AdblockCustomRulesEditorClass {
	GTypeClass parent_class;
	void (*finalize) (AdblockCustomRulesEditor *self);
};

struct _AdblockCustomRulesEditorPrivate {
	GtkDialog* dialog;
	AdblockSubscription* custom;
	gchar* _rule;
};

struct _AdblockParamSpecCustomRulesEditor {
	GParamSpec parent_instance;
};


static gpointer adblock_status_icon_parent_class = NULL;
static gpointer adblock_status_icon_icon_button_parent_class = NULL;
static gpointer adblock_subscription_manager_parent_class = NULL;
static gpointer adblock_custom_rules_editor_parent_class = NULL;

#define ADBLOCK_STATUS_ICON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), ADBLOCK_TYPE_STATUS_ICON, AdblockStatusIconPrivate))
enum  {
	ADBLOCK_STATUS_ICON_DUMMY_PROPERTY
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static void _adblock_status_icon_icon_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda12_ (Block2Data* _data2_);
static void ___lambda12__gtk_object_destroy (GtkObject* _sender, gpointer self);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static void __lambda9_ (AdblockStatusIcon* self);
static void ___lambda9__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void __lambda10_ (Block3Data* _data3_);
static void ___lambda10__gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self);
static void __lambda11_ (Block3Data* _data3_);
static void ___lambda11__gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self);
#define ADBLOCK_STATUS_ICON_ICON_BUTTON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), ADBLOCK_STATUS_ICON_TYPE_ICON_BUTTON, AdblockStatusIconIconButtonPrivate))
enum  {
	ADBLOCK_STATUS_ICON_ICON_BUTTON_DUMMY_PROPERTY
};
static void adblock_status_icon_icon_button_finalize (GObject* obj);
static void adblock_status_icon_finalize (AdblockStatusIcon* obj);
#define ADBLOCK_SUBSCRIPTION_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), ADBLOCK_TYPE_SUBSCRIPTION_MANAGER, AdblockSubscriptionManagerPrivate))
enum  {
	ADBLOCK_SUBSCRIPTION_MANAGER_DUMMY_PROPERTY
};
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
static void __lambda4_ (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter);
static void ___lambda4__gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static void __lambda5_ (AdblockSubscriptionManager* self, const gchar* path);
static void ___lambda5__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self);
static void __lambda6_ (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter);
static void ___lambda6__gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static void adblock_subscription_manager_on_render_button (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter);
static void _adblock_subscription_manager_on_render_button_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self);
static gboolean _adblock_subscription_manager_button_released_gtk_widget_button_release_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
static void __lambda7_ (Block4Data* _data4_);
static void ___lambda7__gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void __lambda8_ (Block4Data* _data4_, gint response);
static void ___lambda8__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void adblock_subscription_manager_finalize (AdblockSubscriptionManager* obj);
gpointer adblock_custom_rules_editor_ref (gpointer instance);
void adblock_custom_rules_editor_unref (gpointer instance);
GParamSpec* adblock_param_spec_custom_rules_editor (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void adblock_value_set_custom_rules_editor (GValue* value, gpointer v_object);
void adblock_value_take_custom_rules_editor (GValue* value, gpointer v_object);
gpointer adblock_value_get_custom_rules_editor (const GValue* value);
GType adblock_custom_rules_editor_get_type (void) G_GNUC_CONST;
#define ADBLOCK_CUSTOM_RULES_EDITOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, AdblockCustomRulesEditorPrivate))
enum  {
	ADBLOCK_CUSTOM_RULES_EDITOR_DUMMY_PROPERTY
};
AdblockCustomRulesEditor* adblock_custom_rules_editor_new (AdblockSubscription* custom);
AdblockCustomRulesEditor* adblock_custom_rules_editor_construct (GType object_type, AdblockSubscription* custom);
void adblock_custom_rules_editor_set_uri (AdblockCustomRulesEditor* self, const gchar* uri);
void adblock_custom_rules_editor_set_rule (AdblockCustomRulesEditor* self, const gchar* value);
void adblock_custom_rules_editor_show (AdblockCustomRulesEditor* self);
const gchar* adblock_custom_rules_editor_get_rule (AdblockCustomRulesEditor* self);
static void adblock_custom_rules_editor_finalize (AdblockCustomRulesEditor* obj);


static void _g_object_unref0_ (gpointer var) {
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 193 "widgets.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_list_free (self);
#line 202 "widgets.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self ? g_object_ref (self) : NULL;
#line 209 "widgets.c"
}


static gpointer _adblock_subscription_manager_ref0 (gpointer self) {
#line 25 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self ? adblock_subscription_manager_ref (self) : NULL;
#line 216 "widgets.c"
}


AdblockStatusIcon* adblock_status_icon_construct (GType object_type, AdblockConfig* config, AdblockSubscriptionManager* manager) {
	AdblockStatusIcon* self = NULL;
	AdblockConfig* _tmp0_ = NULL;
	AdblockConfig* _tmp1_ = NULL;
	AdblockSubscriptionManager* _tmp2_ = NULL;
	AdblockSubscriptionManager* _tmp3_ = NULL;
#line 23 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (config != NULL, NULL);
#line 23 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (manager != NULL, NULL);
#line 23 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = (AdblockStatusIcon*) g_type_create_instance (object_type);
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = config;
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->config);
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->config = _tmp1_;
#line 25 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = manager;
#line 25 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = _adblock_subscription_manager_ref0 (_tmp2_);
#line 25 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_adblock_subscription_manager_unref0 (self->priv->manager);
#line 25 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->manager = _tmp3_;
#line 26 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->debug_element_toggled = FALSE;
#line 23 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self;
#line 252 "widgets.c"
}


AdblockStatusIcon* adblock_status_icon_new (AdblockConfig* config, AdblockSubscriptionManager* manager) {
#line 23 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return adblock_status_icon_construct (ADBLOCK_TYPE_STATUS_ICON, config, manager);
#line 259 "widgets.c"
}


void adblock_status_icon_set_state (AdblockStatusIcon* self, AdblockState state) {
	AdblockState _tmp0_ = 0;
#line 29 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 30 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = state;
#line 30 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->state = _tmp0_;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_update_buttons (self);
#line 273 "widgets.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return _data2_;
#line 282 "widgets.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 291 "widgets.c"
		AdblockStatusIcon* self;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		self = _data2_->self;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_data2_->button);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_adblock_status_icon_unref0 (self);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_slice_free (Block2Data, _data2_);
#line 301 "widgets.c"
	}
}


static void _adblock_status_icon_icon_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 51 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_icon_clicked ((AdblockStatusIcon*) self, _sender);
#line 309 "widgets.c"
}


static void __lambda12_ (Block2Data* _data2_) {
	AdblockStatusIcon* self;
	AdblockStatusIconIconButton* _tmp0_ = NULL;
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = _data2_->self;
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = _data2_->button;
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->toggle_buttons = g_list_remove (self->toggle_buttons, _tmp0_);
#line 322 "widgets.c"
}


static void ___lambda12__gtk_object_destroy (GtkObject* _sender, gpointer self) {
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda12_ (self);
#line 329 "widgets.c"
}


AdblockStatusIconIconButton* adblock_status_icon_add_button (AdblockStatusIcon* self) {
	AdblockStatusIconIconButton* result = NULL;
	Block2Data* _data2_;
	AdblockStatusIconIconButton* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	AdblockConfig* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	AdblockStatusIconIconButton* _tmp5_ = NULL;
	AdblockStatusIconIconButton* _tmp6_ = NULL;
	AdblockStatusIconIconButton* _tmp7_ = NULL;
	AdblockStatusIconIconButton* _tmp8_ = NULL;
	AdblockStatusIconIconButton* _tmp9_ = NULL;
	AdblockStatusIconIconButton* _tmp10_ = NULL;
	AdblockStatusIconIconButton* _tmp11_ = NULL;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data2_->_ref_count_ = 1;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data2_->self = adblock_status_icon_ref (self);
#line 49 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = adblock_status_icon_icon_button_new ();
#line 49 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp0_);
#line 49 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data2_->button = _tmp0_;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = self->priv->config;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = adblock_config_get_enabled (_tmp2_);
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = _tmp3_;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp4_) {
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp1_ = "enabled";
#line 372 "widgets.c"
	} else {
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp1_ = "disabled";
#line 376 "widgets.c"
	}
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = _data2_->button;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_icon_button_set_status (_tmp5_, _tmp1_);
#line 51 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = _data2_->button;
#line 51 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect ((GtkButton*) _tmp6_, "clicked", (GCallback) _adblock_status_icon_icon_clicked_gtk_button_clicked, self);
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = _data2_->button;
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect_data ((GtkObject*) _tmp7_, "destroy", (GCallback) ___lambda12__gtk_object_destroy, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = _data2_->button;
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp9_ = _g_object_ref0 (_tmp8_);
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->toggle_buttons = g_list_append (self->toggle_buttons, _tmp9_);
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp10_ = _data2_->button;
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp11_ = _g_object_ref0 (_tmp10_);
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	result = _tmp11_;
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	block2_data_unref (_data2_);
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data2_ = NULL;
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return result;
#line 408 "widgets.c"
}


void adblock_status_icon_update_buttons (AdblockStatusIcon* self) {
	gchar* state = NULL;
	gchar* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 58 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = g_strdup ("");
#line 58 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	state = _tmp0_;
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = self->toggle_buttons;
#line 424 "widgets.c"
	{
		GList* toggle_button_collection = NULL;
		GList* toggle_button_it = NULL;
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		toggle_button_collection = _tmp1_;
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		for (toggle_button_it = toggle_button_collection; toggle_button_it != NULL; toggle_button_it = toggle_button_it->next) {
#line 432 "widgets.c"
			AdblockStatusIconIconButton* _tmp2_ = NULL;
			AdblockStatusIconIconButton* toggle_button = NULL;
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp2_ = _g_object_ref0 ((AdblockStatusIconIconButton*) toggle_button_it->data);
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			toggle_button = _tmp2_;
#line 439 "widgets.c"
			{
				AdblockState _tmp3_ = 0;
				AdblockState _tmp7_ = 0;
				AdblockState _tmp11_ = 0;
				AdblockStatusIconIconButton* _tmp15_ = NULL;
				const gchar* _tmp16_ = NULL;
				const gchar* _tmp17_ = NULL;
				gchar* _tmp18_ = NULL;
				gchar* _tmp19_ = NULL;
#line 60 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp3_ = self->state;
#line 60 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (_tmp3_ == ADBLOCK_STATE_BLOCKED) {
#line 453 "widgets.c"
					AdblockStatusIconIconButton* _tmp4_ = NULL;
					const gchar* _tmp5_ = NULL;
					gchar* _tmp6_ = NULL;
#line 61 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp4_ = toggle_button;
#line 61 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					adblock_status_icon_icon_button_set_status (_tmp4_, "blocked");
#line 62 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp5_ = _ ("Blocking");
#line 62 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp6_ = g_strdup (_tmp5_);
#line 62 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_g_free0 (state);
#line 62 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					state = _tmp6_;
#line 469 "widgets.c"
				}
#line 64 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp7_ = self->state;
#line 64 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (_tmp7_ == ADBLOCK_STATE_ENABLED) {
#line 475 "widgets.c"
					AdblockStatusIconIconButton* _tmp8_ = NULL;
					const gchar* _tmp9_ = NULL;
					gchar* _tmp10_ = NULL;
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp8_ = toggle_button;
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					adblock_status_icon_icon_button_set_status (_tmp8_, "enabled");
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp9_ = _ ("Enabled");
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp10_ = g_strdup (_tmp9_);
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_g_free0 (state);
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					state = _tmp10_;
#line 491 "widgets.c"
				}
#line 68 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp11_ = self->state;
#line 68 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (_tmp11_ == ADBLOCK_STATE_DISABLED) {
#line 497 "widgets.c"
					AdblockStatusIconIconButton* _tmp12_ = NULL;
					const gchar* _tmp13_ = NULL;
					gchar* _tmp14_ = NULL;
#line 69 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp12_ = toggle_button;
#line 69 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					adblock_status_icon_icon_button_set_status (_tmp12_, "disabled");
#line 70 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp13_ = _ ("Disabled");
#line 70 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp14_ = g_strdup (_tmp13_);
#line 70 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_g_free0 (state);
#line 70 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					state = _tmp14_;
#line 513 "widgets.c"
				}
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp15_ = toggle_button;
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp16_ = _ ("Adblock state: %s");
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp17_ = state;
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp18_ = g_strdup_printf (_tmp16_, _tmp17_);
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp19_ = _tmp18_;
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				gtk_widget_set_tooltip_text ((GtkWidget*) _tmp15_, _tmp19_);
#line 72 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_free0 (_tmp19_);
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_object_unref0 (toggle_button);
#line 531 "widgets.c"
			}
		}
	}
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (state);
#line 537 "widgets.c"
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return _data3_;
#line 546 "widgets.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 555 "widgets.c"
		AdblockStatusIcon* self;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		self = _data3_->self;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_data3_->hideritem);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_data3_->checkitem);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_adblock_status_icon_unref0 (self);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_slice_free (Block3Data, _data3_);
#line 567 "widgets.c"
	}
}


static void __lambda9_ (AdblockStatusIcon* self) {
	AdblockSubscriptionManager* _tmp0_ = NULL;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->manager;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_subscription_manager_add_subscription (_tmp0_, NULL);
#line 578 "widgets.c"
}


static void ___lambda9__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 83 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda9_ ((AdblockStatusIcon*) self);
#line 585 "widgets.c"
}


static void __lambda10_ (Block3Data* _data3_) {
	AdblockStatusIcon* self;
	AdblockConfig* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	AdblockState _tmp3_ = 0;
	AdblockConfig* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 93 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = _data3_->self;
#line 94 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->config;
#line 94 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = gtk_check_menu_item_get_active (_data3_->checkitem);
#line 94 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = _tmp1_;
#line 94 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_config_set_enabled (_tmp0_, !_tmp2_);
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = self->priv->config;
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = adblock_config_get_enabled (_tmp4_);
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = _tmp5_;
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp6_) {
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp3_ = ADBLOCK_STATE_ENABLED;
#line 618 "widgets.c"
	} else {
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp3_ = ADBLOCK_STATE_DISABLED;
#line 622 "widgets.c"
	}
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_set_state (self, _tmp3_);
#line 626 "widgets.c"
}


static void ___lambda10__gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) {
#line 93 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda10_ (self);
#line 633 "widgets.c"
}


static void __lambda11_ (Block3Data* _data3_) {
	AdblockStatusIcon* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 101 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = _data3_->self;
#line 102 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = gtk_check_menu_item_get_active (_data3_->hideritem);
#line 102 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = _tmp0_;
#line 102 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->debug_element_toggled = _tmp1_;
#line 649 "widgets.c"
}


static void ___lambda11__gtk_check_menu_item_toggled (GtkCheckMenuItem* _sender, gpointer self) {
#line 101 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda11_ (self);
#line 656 "widgets.c"
}


void adblock_status_icon_icon_clicked (AdblockStatusIcon* self, GtkButton* toggle_button) {
	Block3Data* _data3_;
	GtkMenu* menu = NULL;
	GtkMenu* _tmp0_ = NULL;
	GtkImageMenuItem* menuitem = NULL;
	const gchar* _tmp1_ = NULL;
	GtkImageMenuItem* _tmp2_ = NULL;
	GtkImage* image = NULL;
	GtkImage* _tmp3_ = NULL;
	GtkSeparatorMenuItem* separator = NULL;
	GtkSeparatorMenuItem* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	GtkCheckMenuItem* _tmp6_ = NULL;
	AdblockConfig* _tmp7_ = NULL;
	gboolean _tmp8_ = FALSE;
	gboolean _tmp9_ = FALSE;
	const gchar* _tmp10_ = NULL;
	GtkCheckMenuItem* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	GtkButton* _tmp13_ = NULL;
	guint32 _tmp14_ = 0U;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (toggle_button != NULL);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_->_ref_count_ = 1;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_->self = adblock_status_icon_ref (self);
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = (GtkMenu*) gtk_menu_new ();
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp0_);
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	menu = _tmp0_;
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = _ ("Preferences");
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = (GtkImageMenuItem*) gtk_image_menu_item_new_with_label (_tmp1_);
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp2_);
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	menuitem = _tmp2_;
#line 80 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = (GtkImage*) gtk_image_new_from_stock (GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU);
#line 80 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp3_);
#line 80 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	image = _tmp3_;
#line 81 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_image_menu_item_set_always_show_image (menuitem, TRUE);
#line 82 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_image_menu_item_set_image (menuitem, (GtkWidget*) image);
#line 83 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect ((GtkMenuItem*) menuitem, "activate", (GCallback) ___lambda9__gtk_menu_item_activate, self);
#line 86 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_shell_append ((GtkMenuShell*) menu, (GtkWidget*) ((GtkMenuItem*) menuitem));
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = (GtkSeparatorMenuItem*) gtk_separator_menu_item_new ();
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp4_);
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	separator = _tmp4_;
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_shell_append ((GtkMenuShell*) menu, (GtkWidget*) ((GtkMenuItem*) separator));
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = _ ("Disable");
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = (GtkCheckMenuItem*) gtk_check_menu_item_new_with_label (_tmp5_);
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp6_);
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_->checkitem = _tmp6_;
#line 92 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = self->priv->config;
#line 92 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = adblock_config_get_enabled (_tmp7_);
#line 92 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp9_ = _tmp8_;
#line 92 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_check_menu_item_set_active (_data3_->checkitem, !_tmp9_);
#line 93 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect_data (_data3_->checkitem, "toggled", (GCallback) ___lambda10__gtk_check_menu_item_toggled, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 97 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_shell_append ((GtkMenuShell*) menu, (GtkWidget*) ((GtkMenuItem*) _data3_->checkitem));
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp10_ = _ ("Display hidden elements");
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp11_ = (GtkCheckMenuItem*) gtk_check_menu_item_new_with_label (_tmp10_);
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp11_);
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_->hideritem = _tmp11_;
#line 100 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp12_ = self->debug_element_toggled;
#line 100 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_check_menu_item_set_active (_data3_->hideritem, _tmp12_);
#line 101 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect_data (_data3_->hideritem, "toggled", (GCallback) ___lambda11__gtk_check_menu_item_toggled, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
#line 104 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_shell_append ((GtkMenuShell*) menu, (GtkWidget*) ((GtkMenuItem*) _data3_->hideritem));
#line 106 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_show_all ((GtkWidget*) menu);
#line 107 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp13_ = toggle_button;
#line 107 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_attach_to_widget (menu, (GtkWidget*) _tmp13_, NULL);
#line 108 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp14_ = gtk_get_current_event_time ();
#line 108 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_menu_popup (menu, NULL, NULL, NULL, NULL, (guint) 1, _tmp14_);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (separator);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (image);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (menuitem);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (menu);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	block3_data_unref (_data3_);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data3_ = NULL;
#line 785 "widgets.c"
}


AdblockStatusIconIconButton* adblock_status_icon_icon_button_construct (GType object_type) {
	AdblockStatusIconIconButton * self = NULL;
	GtkImage* _tmp0_ = NULL;
	GtkImage* _tmp1_ = NULL;
	GtkImage* _tmp2_ = NULL;
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = (AdblockStatusIconIconButton*) g_object_new (object_type, NULL);
#line 38 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = (GtkImage*) gtk_image_new ();
#line 38 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp0_);
#line 38 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->icon);
#line 38 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->icon = _tmp0_;
#line 39 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = self->priv->icon;
#line 39 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp1_);
#line 40 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = self->priv->icon;
#line 40 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_show ((GtkWidget*) _tmp2_);
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self;
#line 814 "widgets.c"
}


AdblockStatusIconIconButton* adblock_status_icon_icon_button_new (void) {
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return adblock_status_icon_icon_button_construct (ADBLOCK_STATUS_ICON_TYPE_ICON_BUTTON);
#line 821 "widgets.c"
}


void adblock_status_icon_icon_button_set_status (AdblockStatusIconIconButton* self, const gchar* status) {
	GtkImage* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
#line 43 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 43 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (status != NULL);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->icon;
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = status;
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = g_strdup_printf ("adblock/%s.png", _tmp1_);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = _tmp2_;
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = midori_paths_get_res_filename (_tmp3_);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = _tmp4_;
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_image_set_from_file (_tmp0_, _tmp5_);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (_tmp5_);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (_tmp3_);
#line 854 "widgets.c"
}


static void adblock_status_icon_icon_button_class_init (AdblockStatusIconIconButtonClass * klass) {
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_icon_button_parent_class = g_type_class_peek_parent (klass);
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_type_class_add_private (klass, sizeof (AdblockStatusIconIconButtonPrivate));
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	G_OBJECT_CLASS (klass)->finalize = adblock_status_icon_icon_button_finalize;
#line 865 "widgets.c"
}


static void adblock_status_icon_icon_button_instance_init (AdblockStatusIconIconButton * self) {
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv = ADBLOCK_STATUS_ICON_ICON_BUTTON_GET_PRIVATE (self);
#line 872 "widgets.c"
}


static void adblock_status_icon_icon_button_finalize (GObject* obj) {
	AdblockStatusIconIconButton * self;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ADBLOCK_STATUS_ICON_TYPE_ICON_BUTTON, AdblockStatusIconIconButton);
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->icon);
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	G_OBJECT_CLASS (adblock_status_icon_icon_button_parent_class)->finalize (obj);
#line 884 "widgets.c"
}


GType adblock_status_icon_icon_button_get_type (void) {
	static volatile gsize adblock_status_icon_icon_button_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_status_icon_icon_button_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AdblockStatusIconIconButtonClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_status_icon_icon_button_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockStatusIconIconButton), 0, (GInstanceInitFunc) adblock_status_icon_icon_button_instance_init, NULL };
		GType adblock_status_icon_icon_button_type_id;
		adblock_status_icon_icon_button_type_id = g_type_register_static (GTK_TYPE_BUTTON, "AdblockStatusIconIconButton", &g_define_type_info, 0);
		g_once_init_leave (&adblock_status_icon_icon_button_type_id__volatile, adblock_status_icon_icon_button_type_id);
	}
	return adblock_status_icon_icon_button_type_id__volatile;
}


static void adblock_value_status_icon_init (GValue* value) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	value->data[0].v_pointer = NULL;
#line 903 "widgets.c"
}


static void adblock_value_status_icon_free_value (GValue* value) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (value->data[0].v_pointer) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_status_icon_unref (value->data[0].v_pointer);
#line 912 "widgets.c"
	}
}


static void adblock_value_status_icon_copy_value (const GValue* src_value, GValue* dest_value) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (src_value->data[0].v_pointer) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = adblock_status_icon_ref (src_value->data[0].v_pointer);
#line 922 "widgets.c"
	} else {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = NULL;
#line 926 "widgets.c"
	}
}


static gpointer adblock_value_status_icon_peek_pointer (const GValue* value) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 934 "widgets.c"
}


static gchar* adblock_value_status_icon_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (collect_values[0].v_pointer) {
#line 941 "widgets.c"
		AdblockStatusIcon* object;
		object = collect_values[0].v_pointer;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		if (object->parent_instance.g_class == NULL) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 948 "widgets.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 952 "widgets.c"
		}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = adblock_status_icon_ref (object);
#line 956 "widgets.c"
	} else {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 960 "widgets.c"
	}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 964 "widgets.c"
}


static gchar* adblock_value_status_icon_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	AdblockStatusIcon** object_p;
	object_p = collect_values[0].v_pointer;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!object_p) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 975 "widgets.c"
	}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!value->data[0].v_pointer) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = NULL;
#line 981 "widgets.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = value->data[0].v_pointer;
#line 985 "widgets.c"
	} else {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = adblock_status_icon_ref (value->data[0].v_pointer);
#line 989 "widgets.c"
	}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 993 "widgets.c"
}


GParamSpec* adblock_param_spec_status_icon (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	AdblockParamSpecStatusIcon* spec;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (g_type_is_a (object_type, ADBLOCK_TYPE_STATUS_ICON), NULL);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return G_PARAM_SPEC (spec);
#line 1007 "widgets.c"
}


gpointer adblock_value_get_status_icon (const GValue* value) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_STATUS_ICON), NULL);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 1016 "widgets.c"
}


void adblock_value_set_status_icon (GValue* value, gpointer v_object) {
	AdblockStatusIcon* old;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_STATUS_ICON));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_STATUS_ICON));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_status_icon_ref (value->data[0].v_pointer);
#line 1036 "widgets.c"
	} else {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 1040 "widgets.c"
	}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_status_icon_unref (old);
#line 1046 "widgets.c"
	}
}


void adblock_value_take_status_icon (GValue* value, gpointer v_object) {
	AdblockStatusIcon* old;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_STATUS_ICON));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_STATUS_ICON));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 1065 "widgets.c"
	} else {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 1069 "widgets.c"
	}
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_status_icon_unref (old);
#line 1075 "widgets.c"
	}
}


static void adblock_status_icon_class_init (AdblockStatusIconClass * klass) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_status_icon_parent_class = g_type_class_peek_parent (klass);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	((AdblockStatusIconClass *) klass)->finalize = adblock_status_icon_finalize;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_type_class_add_private (klass, sizeof (AdblockStatusIconPrivate));
#line 1087 "widgets.c"
}


static void adblock_status_icon_instance_init (AdblockStatusIcon * self) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv = ADBLOCK_STATUS_ICON_GET_PRIVATE (self);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->ref_count = 1;
#line 1096 "widgets.c"
}


static void adblock_status_icon_finalize (AdblockStatusIcon* obj) {
	AdblockStatusIcon * self;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ADBLOCK_TYPE_STATUS_ICON, AdblockStatusIcon);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_handlers_destroy (self);
#line 17 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->config);
#line 18 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_adblock_subscription_manager_unref0 (self->priv->manager);
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__g_list_free__g_object_unref0_0 (self->toggle_buttons);
#line 1112 "widgets.c"
}


GType adblock_status_icon_get_type (void) {
	static volatile gsize adblock_status_icon_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_status_icon_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { adblock_value_status_icon_init, adblock_value_status_icon_free_value, adblock_value_status_icon_copy_value, adblock_value_status_icon_peek_pointer, "p", adblock_value_status_icon_collect_value, "p", adblock_value_status_icon_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (AdblockStatusIconClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_status_icon_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockStatusIcon), 0, (GInstanceInitFunc) adblock_status_icon_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType adblock_status_icon_type_id;
		adblock_status_icon_type_id = g_type_register_fundamental (g_type_fundamental_next (), "AdblockStatusIcon", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&adblock_status_icon_type_id__volatile, adblock_status_icon_type_id);
	}
	return adblock_status_icon_type_id__volatile;
}


gpointer adblock_status_icon_ref (gpointer instance) {
	AdblockStatusIcon* self;
	self = instance;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&self->ref_count);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return instance;
#line 1137 "widgets.c"
}


void adblock_status_icon_unref (gpointer instance) {
	AdblockStatusIcon* self;
	self = instance;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		ADBLOCK_STATUS_ICON_GET_CLASS (self)->finalize (self);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 1150 "widgets.c"
	}
}


AdblockSubscriptionManager* adblock_subscription_manager_construct (GType object_type, AdblockConfig* config) {
	AdblockSubscriptionManager* self = NULL;
	AdblockConfig* _tmp0_ = NULL;
	AdblockConfig* _tmp1_ = NULL;
	GtkListStore* _tmp2_ = NULL;
	GtkLabel* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
#line 119 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (config != NULL, NULL);
#line 119 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = (AdblockSubscriptionManager*) g_type_create_instance (object_type);
#line 120 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = config;
#line 120 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 120 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->config);
#line 120 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->config = _tmp1_;
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = gtk_list_store_new (1, ADBLOCK_TYPE_SUBSCRIPTION);
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->liststore);
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->liststore = _tmp2_;
#line 122 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = (GtkLabel*) gtk_label_new (NULL);
#line 122 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp3_);
#line 122 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->description_label);
#line 122 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->description_label = _tmp3_;
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = _ ("Type the address of a preconfigured filter list in the text entry and " \
"hit Enter.\n");
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (self->priv->description);
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->description = _tmp5_;
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = self->priv->description;
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = g_strdup_printf ("You can find more lists by visiting following sites:\n %s, %s\n", "<a href=\"http://adblockplus.org/en/subscriptions\">adblockplus.org/en" \
"/subscriptions</a>", "<a href=\"http://easylist.adblockplus.org/\">easylist.adblockplus.org<" \
"/a>");
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = _tmp7_;
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp9_ = _ (_tmp8_);
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp10_ = g_strconcat (_tmp6_, _tmp9_, NULL);
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (self->priv->description);
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->description = _tmp10_;
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (_tmp8_);
#line 119 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self;
#line 1220 "widgets.c"
}


AdblockSubscriptionManager* adblock_subscription_manager_new (AdblockConfig* config) {
#line 119 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return adblock_subscription_manager_construct (ADBLOCK_TYPE_SUBSCRIPTION_MANAGER, config);
#line 1227 "widgets.c"
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return _data4_;
#line 1236 "widgets.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 1245 "widgets.c"
		AdblockSubscriptionManager* self;
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		self = _data4_->self;
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_data4_->entry);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_data4_->dialog);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_adblock_subscription_manager_unref0 (self);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_slice_free (Block4Data, _data4_);
#line 1257 "widgets.c"
	}
}


static void __lambda4_ (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter) {
	AdblockSubscription* sub = NULL;
	GtkListStore* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	GtkCellRenderer* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (column != NULL);
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (renderer != NULL);
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (model != NULL);
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (iter != NULL);
#line 166 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->liststore;
#line 166 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = *iter;
#line 166 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp0_, &_tmp1_, 0, &sub, -1);
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = renderer;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = adblock_subscription_get_active (sub);
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = _tmp3_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = adblock_subscription_get_mutable (sub);
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = _tmp5_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_set ((GObject*) _tmp2_, "active", _tmp4_, "sensitive", _tmp6_, NULL);
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (sub);
#line 1299 "widgets.c"
}


static void ___lambda4__gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda4_ ((AdblockSubscriptionManager*) self, cell_layout, cell, tree_model, iter);
#line 1306 "widgets.c"
}


static void __lambda5_ (AdblockSubscriptionManager* self, const gchar* path) {
	GtkTreeIter iter = {0};
	GtkListStore* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkTreeIter _tmp2_ = {0};
	gboolean _tmp3_ = FALSE;
#line 170 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (path != NULL);
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->liststore;
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = path;
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = gtk_tree_model_get_iter_from_string ((GtkTreeModel*) _tmp0_, &_tmp2_, _tmp1_);
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	iter = _tmp2_;
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp3_) {
#line 1328 "widgets.c"
		AdblockSubscription* sub = NULL;
		GtkListStore* _tmp4_ = NULL;
		GtkTreeIter _tmp5_ = {0};
		AdblockSubscription* _tmp6_ = NULL;
		AdblockSubscription* _tmp7_ = NULL;
		gboolean _tmp8_ = FALSE;
		gboolean _tmp9_ = FALSE;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp4_ = self->priv->liststore;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp5_ = iter;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		gtk_tree_model_get ((GtkTreeModel*) _tmp4_, &_tmp5_, 0, &sub, -1);
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp6_ = sub;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp7_ = sub;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp8_ = adblock_subscription_get_active (_tmp7_);
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp9_ = _tmp8_;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_subscription_set_active (_tmp6_, !_tmp9_);
#line 172 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (sub);
#line 1354 "widgets.c"
	}
}


static void ___lambda5__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
#line 170 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda5_ ((AdblockSubscriptionManager*) self, path);
#line 1362 "widgets.c"
}


static void __lambda6_ (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter) {
	AdblockSubscription* sub = NULL;
	GtkListStore* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	gchar* status = NULL;
	gchar* _tmp2_ = NULL;
	AdblockSubscription* _tmp25_ = NULL;
	gboolean _tmp26_ = FALSE;
	gboolean _tmp27_ = FALSE;
	const gchar* _tmp30_ = NULL;
	AdblockSubscription* _tmp31_ = NULL;
	const gchar* _tmp32_ = NULL;
	const gchar* _tmp33_ = NULL;
	GtkCellRenderer* _tmp37_ = NULL;
	const gchar* _tmp38_ = NULL;
	gchar* _tmp39_ = NULL;
	gchar* _tmp40_ = NULL;
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (column != NULL);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (renderer != NULL);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (model != NULL);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (iter != NULL);
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->liststore;
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = *iter;
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp0_, &_tmp1_, 0, &sub, -1);
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = g_strdup ("");
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	status = _tmp2_;
#line 1401 "widgets.c"
	{
		AdblockSubscription* _feature_list = NULL;
		AdblockSubscription* _tmp3_ = NULL;
		AdblockSubscription* _tmp4_ = NULL;
		guint _feature_size = 0U;
		AdblockSubscription* _tmp5_ = NULL;
		guint _tmp6_ = 0U;
		guint _tmp7_ = 0U;
		gint _feature_index = 0;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp3_ = sub;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp4_ = _g_object_ref0 (_tmp3_);
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_feature_list = _tmp4_;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp5_ = _feature_list;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp6_ = adblock_subscription_get_size (_tmp5_);
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp7_ = _tmp6_;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_feature_size = _tmp7_;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_feature_index = -1;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		while (TRUE) {
#line 1429 "widgets.c"
			gint _tmp8_ = 0;
			gint _tmp9_ = 0;
			guint _tmp10_ = 0U;
			AdblockFeature* feature = NULL;
			AdblockSubscription* _tmp11_ = NULL;
			gint _tmp12_ = 0;
			AdblockFeature* _tmp13_ = NULL;
			AdblockFeature* _tmp14_ = NULL;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp8_ = _feature_index;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_feature_index = _tmp8_ + 1;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp9_ = _feature_index;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp10_ = _feature_size;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			if (!(((guint) _tmp9_) < _tmp10_)) {
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				break;
#line 1450 "widgets.c"
			}
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp11_ = _feature_list;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp12_ = _feature_index;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp13_ = adblock_subscription_get (_tmp11_, (guint) _tmp12_);
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			feature = _tmp13_;
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp14_ = feature;
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, ADBLOCK_TYPE_UPDATER)) {
#line 1464 "widgets.c"
				AdblockUpdater* updater = NULL;
				AdblockFeature* _tmp15_ = NULL;
				AdblockUpdater* _tmp16_ = NULL;
				AdblockUpdater* _tmp17_ = NULL;
				GDateTime* _tmp18_ = NULL;
				GDateTime* _tmp19_ = NULL;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp15_ = feature;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, ADBLOCK_TYPE_UPDATER) ? ((AdblockUpdater*) _tmp15_) : NULL);
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				updater = _tmp16_;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp17_ = updater;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp18_ = adblock_updater_get_last_updated (_tmp17_);
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp19_ = _tmp18_;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (_tmp19_ != NULL) {
#line 1485 "widgets.c"
					AdblockUpdater* _tmp20_ = NULL;
					GDateTime* _tmp21_ = NULL;
					GDateTime* _tmp22_ = NULL;
					const gchar* _tmp23_ = NULL;
					gchar* _tmp24_ = NULL;
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp20_ = updater;
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp21_ = adblock_updater_get_last_updated (_tmp20_);
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp22_ = _tmp21_;
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp23_ = _ ("Last update: %x %X");
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp24_ = g_date_time_format (_tmp22_, _tmp23_);
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_g_free0 (status);
#line 193 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					status = _tmp24_;
#line 1505 "widgets.c"
				}
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_object_unref0 (updater);
#line 1509 "widgets.c"
			}
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_g_object_unref0 (feature);
#line 1513 "widgets.c"
		}
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_feature_list);
#line 1517 "widgets.c"
	}
#line 196 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp25_ = sub;
#line 196 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp26_ = adblock_subscription_get_valid (_tmp25_);
#line 196 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp27_ = _tmp26_;
#line 196 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!_tmp27_) {
#line 1527 "widgets.c"
		const gchar* _tmp28_ = NULL;
		gchar* _tmp29_ = NULL;
#line 197 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp28_ = _ ("File incomplete - broken download?");
#line 197 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp29_ = g_strdup (_tmp28_);
#line 197 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_free0 (status);
#line 197 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		status = _tmp29_;
#line 1538 "widgets.c"
	}
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp31_ = sub;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp32_ = adblock_subscription_get_title (_tmp31_);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp33_ = _tmp32_;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp30_ = _tmp33_;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp30_ == NULL) {
#line 1550 "widgets.c"
		AdblockSubscription* _tmp34_ = NULL;
		const gchar* _tmp35_ = NULL;
		const gchar* _tmp36_ = NULL;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp34_ = sub;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp35_ = adblock_subscription_get_uri (_tmp34_);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp36_ = _tmp35_;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp30_ = _tmp36_;
#line 1562 "widgets.c"
	}
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp37_ = renderer;
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp38_ = status;
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp39_ = g_markup_printf_escaped ("<b>%s</b>\n%s", _tmp30_, _tmp38_);
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp40_ = _tmp39_;
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_set ((GObject*) _tmp37_, "markup", _tmp40_, NULL);
#line 198 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (_tmp40_);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (status);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (sub);
#line 1580 "widgets.c"
}


static void ___lambda6__gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda6_ ((AdblockSubscriptionManager*) self, cell_layout, cell, tree_model, iter);
#line 1587 "widgets.c"
}


static void _adblock_subscription_manager_on_render_button_gtk_cell_layout_data_func (GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer self) {
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_subscription_manager_on_render_button ((AdblockSubscriptionManager*) self, cell_layout, cell, tree_model, iter);
#line 1594 "widgets.c"
}


static gboolean _adblock_subscription_manager_button_released_gtk_widget_button_release_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = adblock_subscription_manager_button_released ((AdblockSubscriptionManager*) self, event);
#line 219 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return result;
#line 1603 "widgets.c"
}


static void __lambda7_ (Block4Data* _data4_) {
	AdblockSubscriptionManager* self;
	gchar* parsed_uri = NULL;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	GtkEntry* _tmp18_ = NULL;
	GError * _inner_error_ = NULL;
#line 221 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = _data4_->self;
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = _data4_->entry;
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = _tmp1_;
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = adblock_parse_subscription_uri (_tmp2_);
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	parsed_uri = _tmp3_;
#line 223 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = parsed_uri;
#line 223 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp4_ != NULL) {
#line 1633 "widgets.c"
		AdblockSubscription* sub = NULL;
		const gchar* _tmp5_ = NULL;
		AdblockSubscription* _tmp6_ = NULL;
		AdblockConfig* _tmp7_ = NULL;
		AdblockSubscription* _tmp8_ = NULL;
		gboolean _tmp9_ = FALSE;
#line 224 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp5_ = parsed_uri;
#line 224 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp6_ = adblock_subscription_new (_tmp5_);
#line 224 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		sub = _tmp6_;
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp7_ = self->priv->config;
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp8_ = sub;
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp9_ = adblock_config_add (_tmp7_, _tmp8_);
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		if (_tmp9_) {
#line 1654 "widgets.c"
			GtkListStore* _tmp10_ = NULL;
			AdblockSubscription* _tmp11_ = NULL;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp10_ = self->priv->liststore;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp11_ = sub;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			gtk_list_store_insert_with_values (_tmp10_, NULL, 0, 0, _tmp11_, -1);
#line 1663 "widgets.c"
			{
				AdblockSubscription* _tmp12_ = NULL;
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp12_ = sub;
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				adblock_subscription_parse (_tmp12_, &_inner_error_);
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1672 "widgets.c"
					goto __catch19_g_error;
				}
			}
			goto __finally19;
			__catch19_g_error:
			{
				GError* _error_ = NULL;
				AdblockSubscription* _tmp13_ = NULL;
				const gchar* _tmp14_ = NULL;
				const gchar* _tmp15_ = NULL;
				GError* _tmp16_ = NULL;
				const gchar* _tmp17_ = NULL;
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_error_ = _inner_error_;
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_inner_error_ = NULL;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp13_ = sub;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp14_ = adblock_subscription_get_uri (_tmp13_);
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp15_ = _tmp14_;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp16_ = _error_;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp17_ = _tmp16_->message;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				g_warning ("widgets.vala:230: Error parsing %s: %s", _tmp15_, _tmp17_);
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_error_free0 (_error_);
#line 1703 "widgets.c"
			}
			__finally19:
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_object_unref0 (sub);
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_g_free0 (parsed_uri);
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.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 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				g_clear_error (&_inner_error_);
#line 227 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				return;
#line 1718 "widgets.c"
			}
		}
#line 223 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (sub);
#line 1723 "widgets.c"
	}
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp18_ = _data4_->entry;
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_entry_set_text (_tmp18_, "");
#line 221 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (parsed_uri);
#line 1731 "widgets.c"
}


static void ___lambda7__gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 221 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda7_ (self);
#line 1738 "widgets.c"
}


static void __lambda8_ (Block4Data* _data4_, gint response) {
	AdblockSubscriptionManager* self;
	GtkDialog* _tmp0_ = NULL;
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = _data4_->self;
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = _data4_->dialog;
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_object_destroy ((GtkObject*) _tmp0_);
#line 1751 "widgets.c"
}


static void ___lambda8__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	__lambda8_ (self, response_id);
#line 1758 "widgets.c"
}


void adblock_subscription_manager_add_subscription (AdblockSubscriptionManager* self, const gchar* uri) {
	Block4Data* _data4_;
	const gchar* _tmp0_ = NULL;
	GtkDialog* _tmp1_ = NULL;
	GtkDialog* _tmp2_ = NULL;
	GtkDialog* _tmp3_ = NULL;
	GtkHBox* hbox = NULL;
	GtkHBox* _tmp4_ = NULL;
	GtkDialog* _tmp5_ = NULL;
	GtkWidget* _tmp6_ = NULL;
	GtkHBox* _tmp7_ = NULL;
	GtkVBox* vbox = NULL;
	GtkVBox* _tmp8_ = NULL;
	GtkHBox* _tmp9_ = NULL;
	GtkVBox* _tmp10_ = NULL;
	GtkLabel* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	GtkVBox* _tmp14_ = NULL;
	GtkLabel* _tmp15_ = NULL;
	GtkEntry* _tmp16_ = NULL;
	const gchar* _tmp17_ = NULL;
	GtkVBox* _tmp20_ = NULL;
	GtkEntry* _tmp21_ = NULL;
	GtkListStore* _tmp22_ = NULL;
	GtkListStore* _tmp23_ = NULL;
	GtkTreeView* _tmp24_ = NULL;
	GtkTreeView* _tmp25_ = NULL;
	GtkTreeViewColumn* column = NULL;
	GtkTreeViewColumn* _tmp26_ = NULL;
	GtkCellRendererToggle* renderer_toggle = NULL;
	GtkCellRendererToggle* _tmp27_ = NULL;
	GtkTreeViewColumn* _tmp28_ = NULL;
	GtkCellRendererToggle* _tmp29_ = NULL;
	GtkTreeViewColumn* _tmp30_ = NULL;
	GtkCellRendererToggle* _tmp31_ = NULL;
	GtkCellRendererToggle* _tmp32_ = NULL;
	GtkTreeView* _tmp33_ = NULL;
	GtkTreeViewColumn* _tmp34_ = NULL;
	GtkTreeViewColumn* _tmp35_ = NULL;
	GtkCellRendererText* renderer_text = NULL;
	GtkCellRendererText* _tmp36_ = NULL;
	GtkTreeViewColumn* _tmp37_ = NULL;
	GtkCellRendererText* _tmp38_ = NULL;
	GtkCellRendererText* _tmp39_ = NULL;
	GtkTreeViewColumn* _tmp40_ = NULL;
	GtkCellRendererText* _tmp41_ = NULL;
	GtkTreeView* _tmp42_ = NULL;
	GtkTreeViewColumn* _tmp43_ = NULL;
	GtkTreeViewColumn* _tmp44_ = NULL;
	GtkCellRendererPixbuf* renderer_button = NULL;
	GtkCellRendererPixbuf* _tmp45_ = NULL;
	GtkTreeViewColumn* _tmp46_ = NULL;
	GtkCellRendererPixbuf* _tmp47_ = NULL;
	GtkTreeViewColumn* _tmp48_ = NULL;
	GtkCellRendererPixbuf* _tmp49_ = NULL;
	GtkTreeView* _tmp50_ = NULL;
	GtkTreeViewColumn* _tmp51_ = NULL;
	GtkScrolledWindow* scrolled = NULL;
	GtkScrolledWindow* _tmp52_ = NULL;
	GtkScrolledWindow* _tmp53_ = NULL;
	GtkScrolledWindow* _tmp54_ = NULL;
	GtkTreeView* _tmp55_ = NULL;
	GtkVBox* _tmp56_ = NULL;
	GtkScrolledWindow* _tmp57_ = NULL;
	gint height = 0;
	GtkTreeView* _tmp58_ = NULL;
	PangoLayout* _tmp59_ = NULL;
	PangoLayout* _tmp60_ = NULL;
	gint _tmp61_ = 0;
	GtkScrolledWindow* _tmp62_ = NULL;
	gint _tmp63_ = 0;
	GtkTreeView* _tmp77_ = NULL;
	GtkEntry* _tmp78_ = NULL;
	GtkDialog* _tmp79_ = NULL;
	GtkWidget* _tmp80_ = NULL;
	GtkDialog* _tmp81_ = NULL;
	GtkDialog* _tmp82_ = NULL;
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_ = g_slice_new0 (Block4Data);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_->_ref_count_ = 1;
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_->self = adblock_subscription_manager_ref (self);
#line 131 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = _ ("Configure Advertisement filters");
#line 131 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp0_, NULL, GTK_DIALOG_NO_SEPARATOR | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_HELP, GTK_RESPONSE_HELP, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);
#line 131 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp1_);
#line 131 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_->dialog = _tmp1_;
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = _data4_->dialog;
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_window_set_icon_name ((GtkWindow*) _tmp2_, GTK_STOCK_PROPERTIES);
#line 143 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = _data4_->dialog;
#line 143 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_dialog_set_response_sensitive (_tmp3_, (gint) GTK_RESPONSE_HELP, FALSE);
#line 145 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
#line 145 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp4_);
#line 145 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	hbox = _tmp4_;
#line 146 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = _data4_->dialog;
#line 146 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = gtk_dialog_get_content_area (_tmp5_);
#line 146 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = hbox;
#line 146 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, GTK_TYPE_BOX) ? ((GtkBox*) _tmp6_) : NULL, (GtkWidget*) _tmp7_, TRUE, TRUE, (guint) 12);
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp8_);
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	vbox = _tmp8_;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp9_ = hbox;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp10_ = vbox;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp9_, (GtkWidget*) _tmp10_, TRUE, TRUE, (guint) 4);
#line 149 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp11_ = self->description_label;
#line 149 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp12_ = self->priv->description;
#line 149 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_label_set_markup (_tmp11_, _tmp12_);
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp13_ = self->description_label;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_label_set_line_wrap (_tmp13_, TRUE);
#line 151 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp14_ = vbox;
#line 151 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp15_ = self->description_label;
#line 151 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp14_, (GtkWidget*) _tmp15_, FALSE, FALSE, (guint) 4);
#line 153 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp16_ = (GtkEntry*) gtk_entry_new ();
#line 153 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp16_);
#line 153 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_->entry = _tmp16_;
#line 154 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp17_ = uri;
#line 154 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp17_ != NULL) {
#line 1916 "widgets.c"
		GtkEntry* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp18_ = _data4_->entry;
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp19_ = uri;
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		gtk_entry_set_text (_tmp18_, _tmp19_);
#line 1925 "widgets.c"
	}
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp20_ = vbox;
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp21_ = _data4_->entry;
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp20_, (GtkWidget*) _tmp21_, FALSE, FALSE, (guint) 4);
#line 158 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp22_ = gtk_list_store_new (1, ADBLOCK_TYPE_SUBSCRIPTION);
#line 158 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->liststore);
#line 158 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->liststore = _tmp22_;
#line 159 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp23_ = self->priv->liststore;
#line 159 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp24_ = (GtkTreeView*) gtk_tree_view_new_with_model ((GtkTreeModel*) _tmp23_);
#line 159 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp24_);
#line 159 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->treeview);
#line 159 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->treeview = _tmp24_;
#line 160 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp25_ = self->priv->treeview;
#line 160 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_view_set_headers_visible (_tmp25_, FALSE);
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp26_ = gtk_tree_view_column_new ();
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp26_);
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	column = _tmp26_;
#line 162 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp27_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 162 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp27_);
#line 162 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	renderer_toggle = _tmp27_;
#line 163 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp28_ = column;
#line 163 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp29_ = renderer_toggle;
#line 163 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp28_, (GtkCellRenderer*) _tmp29_, FALSE);
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp30_ = column;
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp31_ = renderer_toggle;
#line 164 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp30_, (GtkCellRenderer*) _tmp31_, ___lambda4__gtk_cell_layout_data_func, adblock_subscription_manager_ref (self), adblock_subscription_manager_unref);
#line 170 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp32_ = renderer_toggle;
#line 170 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect (_tmp32_, "toggled", (GCallback) ___lambda5__gtk_cell_renderer_toggle_toggled, self);
#line 178 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp33_ = self->priv->treeview;
#line 178 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp34_ = column;
#line 178 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_view_append_column (_tmp33_, _tmp34_);
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp35_ = gtk_tree_view_column_new ();
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp35_);
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (column);
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	column = _tmp35_;
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp36_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp36_);
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	renderer_text = _tmp36_;
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp37_ = column;
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp38_ = renderer_text;
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp37_, (GtkCellRenderer*) _tmp38_, FALSE);
#line 183 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp39_ = renderer_text;
#line 183 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_set ((GObject*) _tmp39_, "editable", TRUE, NULL);
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp40_ = column;
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp41_ = renderer_text;
#line 185 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp40_, (GtkCellRenderer*) _tmp41_, ___lambda6__gtk_cell_layout_data_func, adblock_subscription_manager_ref (self), adblock_subscription_manager_unref);
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp42_ = self->priv->treeview;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp43_ = column;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_view_append_column (_tmp42_, _tmp43_);
#line 203 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp44_ = gtk_tree_view_column_new ();
#line 203 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp44_);
#line 203 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (column);
#line 203 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	column = _tmp44_;
#line 204 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp45_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 204 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp45_);
#line 204 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	renderer_button = _tmp45_;
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp46_ = column;
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp47_ = renderer_button;
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp46_, (GtkCellRenderer*) _tmp47_, FALSE);
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp48_ = column;
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp49_ = renderer_button;
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_cell_layout_set_cell_data_func ((GtkCellLayout*) _tmp48_, (GtkCellRenderer*) _tmp49_, _adblock_subscription_manager_on_render_button_gtk_cell_layout_data_func, adblock_subscription_manager_ref (self), adblock_subscription_manager_unref);
#line 207 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp50_ = self->priv->treeview;
#line 207 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp51_ = column;
#line 207 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_view_append_column (_tmp50_, _tmp51_);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp52_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp52_);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	scrolled = _tmp52_;
#line 210 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp53_ = scrolled;
#line 210 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_scrolled_window_set_policy (_tmp53_, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp54_ = scrolled;
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp55_ = self->priv->treeview;
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_container_add ((GtkContainer*) _tmp54_, (GtkWidget*) _tmp55_);
#line 212 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp56_ = vbox;
#line 212 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp57_ = scrolled;
#line 212 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp56_, (GtkWidget*) _tmp57_, TRUE, TRUE, (guint) 0);
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp58_ = self->priv->treeview;
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp59_ = gtk_widget_create_pango_layout ((GtkWidget*) _tmp58_, "a\nb");
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp60_ = _tmp59_;
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	pango_layout_get_pixel_size (_tmp60_, NULL, &_tmp61_);
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	height = _tmp61_;
#line 214 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (_tmp60_);
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp62_ = scrolled;
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp63_ = height;
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp62_, -1, _tmp63_ * 5);
#line 2095 "widgets.c"
	{
		AdblockConfig* _sub_list = NULL;
		AdblockConfig* _tmp64_ = NULL;
		AdblockConfig* _tmp65_ = NULL;
		guint _sub_size = 0U;
		AdblockConfig* _tmp66_ = NULL;
		guint _tmp67_ = 0U;
		guint _tmp68_ = 0U;
		gint _sub_index = 0;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp64_ = self->priv->config;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp65_ = _g_object_ref0 (_tmp64_);
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_sub_list = _tmp65_;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp66_ = _sub_list;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp67_ = adblock_config_get_size (_tmp66_);
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp68_ = _tmp67_;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_sub_size = _tmp68_;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_sub_index = -1;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		while (TRUE) {
#line 2123 "widgets.c"
			gint _tmp69_ = 0;
			gint _tmp70_ = 0;
			guint _tmp71_ = 0U;
			AdblockSubscription* sub = NULL;
			AdblockConfig* _tmp72_ = NULL;
			gint _tmp73_ = 0;
			AdblockSubscription* _tmp74_ = NULL;
			GtkListStore* _tmp75_ = NULL;
			AdblockSubscription* _tmp76_ = NULL;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp69_ = _sub_index;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_sub_index = _tmp69_ + 1;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp70_ = _sub_index;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp71_ = _sub_size;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			if (!(((guint) _tmp70_) < _tmp71_)) {
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				break;
#line 2145 "widgets.c"
			}
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp72_ = _sub_list;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp73_ = _sub_index;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp74_ = adblock_config_get (_tmp72_, (guint) _tmp73_);
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			sub = _tmp74_;
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp75_ = self->priv->liststore;
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp76_ = sub;
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			gtk_list_store_insert_with_values (_tmp75_, NULL, 0, 0, _tmp76_, -1);
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_g_object_unref0 (sub);
#line 2163 "widgets.c"
		}
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (_sub_list);
#line 2167 "widgets.c"
	}
#line 219 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp77_ = self->priv->treeview;
#line 219 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect ((GtkWidget*) _tmp77_, "button-release-event", (GCallback) _adblock_subscription_manager_button_released_gtk_widget_button_release_event, self);
#line 221 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp78_ = _data4_->entry;
#line 221 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect_data (_tmp78_, "activate", (GCallback) ___lambda7__gtk_entry_activate, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp79_ = _data4_->dialog;
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp80_ = gtk_dialog_get_content_area (_tmp79_);
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_show_all (_tmp80_);
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp81_ = _data4_->dialog;
#line 239 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_connect_data (_tmp81_, "response", (GCallback) ___lambda8__gtk_dialog_response, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
#line 240 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp82_ = _data4_->dialog;
#line 240 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_show ((GtkWidget*) _tmp82_);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (scrolled);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (renderer_button);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (renderer_text);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (renderer_toggle);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (column);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (vbox);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (hbox);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	block4_data_unref (_data4_);
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_data4_ = NULL;
#line 2209 "widgets.c"
}


static void adblock_subscription_manager_on_render_button (AdblockSubscriptionManager* self, GtkCellLayout* column, GtkCellRenderer* renderer, GtkTreeModel* model, GtkTreeIter* iter) {
	AdblockSubscription* sub = NULL;
	GtkListStore* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	const gchar* _tmp2_ = NULL;
	AdblockSubscription* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	GtkCellRenderer* _tmp6_ = NULL;
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (column != NULL);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (renderer != NULL);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (model != NULL);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (iter != NULL);
#line 247 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->liststore;
#line 247 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = *iter;
#line 247 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp0_, &_tmp1_, 0, &sub, -1);
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = sub;
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = adblock_subscription_get_mutable (_tmp3_);
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = _tmp4_;
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp5_) {
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp2_ = GTK_STOCK_DELETE;
#line 2248 "widgets.c"
	} else {
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp2_ = NULL;
#line 2252 "widgets.c"
	}
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = renderer;
#line 249 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_set ((GObject*) _tmp6_, "stock-id", _tmp2_, "stock-size", GTK_ICON_SIZE_MENU, NULL);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (sub);
#line 2260 "widgets.c"
}


gboolean adblock_subscription_manager_button_released (AdblockSubscriptionManager* self, GdkEventButton* event) {
	gboolean result = FALSE;
	GtkTreePath* path = NULL;
	GtkTreeViewColumn* column = NULL;
	GtkTreeView* _tmp0_ = NULL;
	GdkEventButton _tmp1_ = {0};
	gdouble _tmp2_ = 0.0;
	GdkEventButton _tmp3_ = {0};
	gdouble _tmp4_ = 0.0;
	GtkTreePath* _tmp5_ = NULL;
	GtkTreeViewColumn* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	GtkTreeViewColumn* _tmp8_ = NULL;
#line 253 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 253 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->treeview;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = *event;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = _tmp1_.x;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = *event;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = _tmp3_.y;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = gtk_tree_view_get_path_at_pos (_tmp0_, (gint) _tmp2_, (gint) _tmp4_, &_tmp5_, &_tmp6_, NULL, NULL);
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_gtk_tree_path_free0 (path);
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	path = _tmp5_;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (column);
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = _g_object_ref0 (_tmp6_);
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	column = _tmp8_;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp7_) {
#line 2305 "widgets.c"
		GtkTreePath* _tmp9_ = NULL;
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_tmp9_ = path;
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		if (_tmp9_ != NULL) {
#line 2311 "widgets.c"
			GtkTreeViewColumn* _tmp10_ = NULL;
			GtkTreeView* _tmp11_ = NULL;
			GtkTreeViewColumn* _tmp12_ = NULL;
#line 258 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp10_ = column;
#line 258 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp11_ = self->priv->treeview;
#line 258 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			_tmp12_ = gtk_tree_view_get_column (_tmp11_, 2);
#line 258 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			if (_tmp10_ == _tmp12_) {
#line 2323 "widgets.c"
				GtkTreeIter iter = {0};
				GtkListStore* _tmp13_ = NULL;
				GtkTreePath* _tmp14_ = NULL;
				GtkTreeIter _tmp15_ = {0};
				gboolean _tmp16_ = FALSE;
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp13_ = self->priv->liststore;
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp14_ = path;
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				_tmp16_ = gtk_tree_model_get_iter ((GtkTreeModel*) _tmp13_, &_tmp15_, _tmp14_);
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				iter = _tmp15_;
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
				if (_tmp16_) {
#line 2339 "widgets.c"
					AdblockSubscription* sub = NULL;
					GtkListStore* _tmp17_ = NULL;
					GtkTreeIter _tmp18_ = {0};
					AdblockSubscription* _tmp19_ = NULL;
					gboolean _tmp20_ = FALSE;
					gboolean _tmp21_ = FALSE;
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp17_ = self->priv->liststore;
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp18_ = iter;
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					gtk_tree_model_get ((GtkTreeModel*) _tmp17_, &_tmp18_, 0, &sub, -1);
#line 263 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp19_ = sub;
#line 263 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp20_ = adblock_subscription_get_mutable (_tmp19_);
#line 263 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_tmp21_ = _tmp20_;
#line 263 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					if (_tmp21_) {
#line 2360 "widgets.c"
						AdblockConfig* _tmp22_ = NULL;
						AdblockSubscription* _tmp23_ = NULL;
						GtkListStore* _tmp24_ = NULL;
						GtkTreeIter _tmp25_ = {0};
#line 264 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_tmp22_ = self->priv->config;
#line 264 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_tmp23_ = sub;
#line 264 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						adblock_config_remove (_tmp22_, _tmp23_);
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_tmp24_ = self->priv->liststore;
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_tmp25_ = iter;
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						gtk_list_store_remove (_tmp24_, &_tmp25_);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						result = TRUE;
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_g_object_unref0 (sub);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_g_object_unref0 (column);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						_gtk_tree_path_free0 (path);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
						return result;
#line 2387 "widgets.c"
					}
#line 260 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
					_g_object_unref0 (sub);
#line 2391 "widgets.c"
				}
			}
		}
	}
#line 272 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	result = FALSE;
#line 272 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (column);
#line 272 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_gtk_tree_path_free0 (path);
#line 272 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return result;
#line 2404 "widgets.c"
}


static void adblock_value_subscription_manager_init (GValue* value) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	value->data[0].v_pointer = NULL;
#line 2411 "widgets.c"
}


static void adblock_value_subscription_manager_free_value (GValue* value) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (value->data[0].v_pointer) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_subscription_manager_unref (value->data[0].v_pointer);
#line 2420 "widgets.c"
	}
}


static void adblock_value_subscription_manager_copy_value (const GValue* src_value, GValue* dest_value) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (src_value->data[0].v_pointer) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = adblock_subscription_manager_ref (src_value->data[0].v_pointer);
#line 2430 "widgets.c"
	} else {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = NULL;
#line 2434 "widgets.c"
	}
}


static gpointer adblock_value_subscription_manager_peek_pointer (const GValue* value) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 2442 "widgets.c"
}


static gchar* adblock_value_subscription_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (collect_values[0].v_pointer) {
#line 2449 "widgets.c"
		AdblockSubscriptionManager* object;
		object = collect_values[0].v_pointer;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		if (object->parent_instance.g_class == NULL) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2456 "widgets.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2460 "widgets.c"
		}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = adblock_subscription_manager_ref (object);
#line 2464 "widgets.c"
	} else {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 2468 "widgets.c"
	}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 2472 "widgets.c"
}


static gchar* adblock_value_subscription_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	AdblockSubscriptionManager** object_p;
	object_p = collect_values[0].v_pointer;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!object_p) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 2483 "widgets.c"
	}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!value->data[0].v_pointer) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = NULL;
#line 2489 "widgets.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = value->data[0].v_pointer;
#line 2493 "widgets.c"
	} else {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = adblock_subscription_manager_ref (value->data[0].v_pointer);
#line 2497 "widgets.c"
	}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 2501 "widgets.c"
}


GParamSpec* adblock_param_spec_subscription_manager (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	AdblockParamSpecSubscriptionManager* spec;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (g_type_is_a (object_type, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER), NULL);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return G_PARAM_SPEC (spec);
#line 2515 "widgets.c"
}


gpointer adblock_value_get_subscription_manager (const GValue* value) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER), NULL);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 2524 "widgets.c"
}


void adblock_value_set_subscription_manager (GValue* value, gpointer v_object) {
	AdblockSubscriptionManager* old;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_subscription_manager_ref (value->data[0].v_pointer);
#line 2544 "widgets.c"
	} else {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 2548 "widgets.c"
	}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_subscription_manager_unref (old);
#line 2554 "widgets.c"
	}
}


void adblock_value_take_subscription_manager (GValue* value, gpointer v_object) {
	AdblockSubscriptionManager* old;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 2573 "widgets.c"
	} else {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 2577 "widgets.c"
	}
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_subscription_manager_unref (old);
#line 2583 "widgets.c"
	}
}


static void adblock_subscription_manager_class_init (AdblockSubscriptionManagerClass * klass) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_subscription_manager_parent_class = g_type_class_peek_parent (klass);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	((AdblockSubscriptionManagerClass *) klass)->finalize = adblock_subscription_manager_finalize;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_type_class_add_private (klass, sizeof (AdblockSubscriptionManagerPrivate));
#line 2595 "widgets.c"
}


static void adblock_subscription_manager_instance_init (AdblockSubscriptionManager * self) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv = ADBLOCK_SUBSCRIPTION_MANAGER_GET_PRIVATE (self);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->ref_count = 1;
#line 2604 "widgets.c"
}


static void adblock_subscription_manager_finalize (AdblockSubscriptionManager* obj) {
	AdblockSubscriptionManager * self;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ADBLOCK_TYPE_SUBSCRIPTION_MANAGER, AdblockSubscriptionManager);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_handlers_destroy (self);
#line 113 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->treeview);
#line 114 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->liststore);
#line 115 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->config);
#line 116 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->description_label);
#line 117 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (self->priv->description);
#line 2624 "widgets.c"
}


GType adblock_subscription_manager_get_type (void) {
	static volatile gsize adblock_subscription_manager_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_subscription_manager_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { adblock_value_subscription_manager_init, adblock_value_subscription_manager_free_value, adblock_value_subscription_manager_copy_value, adblock_value_subscription_manager_peek_pointer, "p", adblock_value_subscription_manager_collect_value, "p", adblock_value_subscription_manager_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (AdblockSubscriptionManagerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_subscription_manager_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockSubscriptionManager), 0, (GInstanceInitFunc) adblock_subscription_manager_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType adblock_subscription_manager_type_id;
		adblock_subscription_manager_type_id = g_type_register_fundamental (g_type_fundamental_next (), "AdblockSubscriptionManager", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&adblock_subscription_manager_type_id__volatile, adblock_subscription_manager_type_id);
	}
	return adblock_subscription_manager_type_id__volatile;
}


gpointer adblock_subscription_manager_ref (gpointer instance) {
	AdblockSubscriptionManager* self;
	self = instance;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&self->ref_count);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return instance;
#line 2649 "widgets.c"
}


void adblock_subscription_manager_unref (gpointer instance) {
	AdblockSubscriptionManager* self;
	self = instance;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		ADBLOCK_SUBSCRIPTION_MANAGER_GET_CLASS (self)->finalize (self);
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 2662 "widgets.c"
	}
}


AdblockCustomRulesEditor* adblock_custom_rules_editor_construct (GType object_type, AdblockSubscription* custom) {
	AdblockCustomRulesEditor* self = NULL;
	AdblockSubscription* _tmp0_ = NULL;
	AdblockSubscription* _tmp1_ = NULL;
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (custom != NULL, NULL);
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = (AdblockCustomRulesEditor*) g_type_create_instance (object_type);
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = custom;
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->custom);
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->custom = _tmp1_;
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return self;
#line 2685 "widgets.c"
}


AdblockCustomRulesEditor* adblock_custom_rules_editor_new (AdblockSubscription* custom) {
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return adblock_custom_rules_editor_construct (ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, custom);
#line 2692 "widgets.c"
}


void adblock_custom_rules_editor_set_uri (AdblockCustomRulesEditor* self, const gchar* uri) {
	const gchar* _tmp0_ = NULL;
#line 285 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 285 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (uri != NULL);
#line 286 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = uri;
#line 286 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_custom_rules_editor_set_rule (self, _tmp0_);
#line 2706 "widgets.c"
}


void adblock_custom_rules_editor_show (AdblockCustomRulesEditor* self) {
	const gchar* _tmp0_ = NULL;
	GtkDialog* _tmp1_ = NULL;
	GtkDialog* _tmp2_ = NULL;
	GtkDialog* _tmp3_ = NULL;
	GtkHBox* hbox = NULL;
	GtkHBox* _tmp4_ = NULL;
	GtkSizeGroup* sizegroup = NULL;
	GtkSizeGroup* _tmp5_ = NULL;
	GtkHBox* _tmp6_ = NULL;
	GtkLabel* label = NULL;
	const gchar* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	GtkSizeGroup* _tmp9_ = NULL;
	GtkLabel* _tmp10_ = NULL;
	GtkHBox* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	GtkDialog* _tmp13_ = NULL;
	GtkWidget* _tmp14_ = NULL;
	GtkHBox* _tmp15_ = NULL;
	GtkEntry* entry = NULL;
	GtkEntry* _tmp16_ = NULL;
	GtkSizeGroup* _tmp17_ = NULL;
	GtkEntry* _tmp18_ = NULL;
	GtkEntry* _tmp19_ = NULL;
	GtkEntry* _tmp20_ = NULL;
	const gchar* _tmp21_ = NULL;
	GtkHBox* _tmp22_ = NULL;
	GtkEntry* _tmp23_ = NULL;
	GtkDialog* _tmp24_ = NULL;
	GtkWidget* _tmp25_ = NULL;
	GtkDialog* _tmp26_ = NULL;
	GtkDialog* _tmp27_ = NULL;
	gint _tmp28_ = 0;
	GtkEntry* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GtkDialog* _tmp31_ = NULL;
	AdblockSubscription* _tmp32_ = NULL;
	const gchar* _tmp33_ = NULL;
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = _ ("Edit rule");
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp0_, NULL, GTK_DIALOG_NO_SEPARATOR | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_ACCEPT, NULL);
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp1_);
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->dialog);
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->dialog = _tmp1_;
#line 298 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp2_ = self->priv->dialog;
#line 298 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_window_set_icon_name ((GtkWindow*) _tmp2_, GTK_STOCK_ADD);
#line 299 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp3_ = self->priv->dialog;
#line 299 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_window_set_resizable ((GtkWindow*) _tmp3_, FALSE);
#line 301 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp4_ = (GtkHBox*) gtk_hbox_new (FALSE, 8);
#line 301 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp4_);
#line 301 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	hbox = _tmp4_;
#line 302 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp5_ = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
#line 302 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	sizegroup = _tmp5_;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp6_ = hbox;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp6_, (guint) 5);
#line 304 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp7_ = _ ("_Rule:");
#line 304 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp8_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp7_);
#line 304 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp8_);
#line 304 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	label = _tmp8_;
#line 305 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp9_ = sizegroup;
#line 305 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp10_ = label;
#line 305 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_size_group_add_widget (_tmp9_, (GtkWidget*) _tmp10_);
#line 306 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp11_ = hbox;
#line 306 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp12_ = label;
#line 306 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp11_, (GtkWidget*) _tmp12_, FALSE, FALSE, (guint) 0);
#line 307 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp13_ = self->priv->dialog;
#line 307 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp14_ = gtk_dialog_get_content_area (_tmp13_);
#line 307 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp15_ = hbox;
#line 307 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, GTK_TYPE_BOX) ? ((GtkBox*) _tmp14_) : NULL, (GtkWidget*) _tmp15_, FALSE, TRUE, (guint) 0);
#line 309 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp16_ = (GtkEntry*) gtk_entry_new ();
#line 309 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_object_ref_sink (_tmp16_);
#line 309 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	entry = _tmp16_;
#line 310 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp17_ = sizegroup;
#line 310 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp18_ = entry;
#line 310 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_size_group_add_widget (_tmp17_, (GtkWidget*) _tmp18_);
#line 311 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp19_ = entry;
#line 311 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_entry_set_activates_default (_tmp19_, TRUE);
#line 312 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp20_ = entry;
#line 312 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp21_ = self->priv->_rule;
#line 312 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_entry_set_text (_tmp20_, _tmp21_);
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp22_ = hbox;
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp23_ = entry;
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_box_pack_start ((GtkBox*) _tmp22_, (GtkWidget*) _tmp23_, TRUE, TRUE, (guint) 0);
#line 315 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp24_ = self->priv->dialog;
#line 315 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp25_ = gtk_dialog_get_content_area (_tmp24_);
#line 315 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_widget_show_all (_tmp25_);
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp26_ = self->priv->dialog;
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_dialog_set_default_response (_tmp26_, (gint) GTK_RESPONSE_ACCEPT);
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp27_ = self->priv->dialog;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp28_ = gtk_dialog_run (_tmp27_);
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (_tmp28_ != ((gint) GTK_RESPONSE_ACCEPT)) {
#line 319 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (entry);
#line 319 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (label);
#line 319 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (sizegroup);
#line 319 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		_g_object_unref0 (hbox);
#line 319 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		return;
#line 2865 "widgets.c"
	}
#line 321 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp29_ = entry;
#line 321 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp30_ = gtk_entry_get_text (_tmp29_);
#line 321 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_custom_rules_editor_set_rule (self, _tmp30_);
#line 322 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp31_ = self->priv->dialog;
#line 322 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	gtk_object_destroy ((GtkObject*) _tmp31_);
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp32_ = self->priv->custom;
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp33_ = self->priv->_rule;
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_subscription_add_rule (_tmp32_, _tmp33_);
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (entry);
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (label);
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (sizegroup);
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (hbox);
#line 2891 "widgets.c"
}


const gchar* adblock_custom_rules_editor_get_rule (AdblockCustomRulesEditor* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = self->priv->_rule;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	result = _tmp0_;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return result;
#line 2906 "widgets.c"
}


void adblock_custom_rules_editor_set_rule (AdblockCustomRulesEditor* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (self != NULL);
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp0_ = value;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (self->priv->_rule);
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv->_rule = _tmp1_;
#line 2923 "widgets.c"
}


static void adblock_value_custom_rules_editor_init (GValue* value) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	value->data[0].v_pointer = NULL;
#line 2930 "widgets.c"
}


static void adblock_value_custom_rules_editor_free_value (GValue* value) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (value->data[0].v_pointer) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_custom_rules_editor_unref (value->data[0].v_pointer);
#line 2939 "widgets.c"
	}
}


static void adblock_value_custom_rules_editor_copy_value (const GValue* src_value, GValue* dest_value) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (src_value->data[0].v_pointer) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = adblock_custom_rules_editor_ref (src_value->data[0].v_pointer);
#line 2949 "widgets.c"
	} else {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		dest_value->data[0].v_pointer = NULL;
#line 2953 "widgets.c"
	}
}


static gpointer adblock_value_custom_rules_editor_peek_pointer (const GValue* value) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 2961 "widgets.c"
}


static gchar* adblock_value_custom_rules_editor_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (collect_values[0].v_pointer) {
#line 2968 "widgets.c"
		AdblockCustomRulesEditor* object;
		object = collect_values[0].v_pointer;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		if (object->parent_instance.g_class == NULL) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2975 "widgets.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2979 "widgets.c"
		}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = adblock_custom_rules_editor_ref (object);
#line 2983 "widgets.c"
	} else {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 2987 "widgets.c"
	}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 2991 "widgets.c"
}


static gchar* adblock_value_custom_rules_editor_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	AdblockCustomRulesEditor** object_p;
	object_p = collect_values[0].v_pointer;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!object_p) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 3002 "widgets.c"
	}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (!value->data[0].v_pointer) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = NULL;
#line 3008 "widgets.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = value->data[0].v_pointer;
#line 3012 "widgets.c"
	} else {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		*object_p = adblock_custom_rules_editor_ref (value->data[0].v_pointer);
#line 3016 "widgets.c"
	}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return NULL;
#line 3020 "widgets.c"
}


GParamSpec* adblock_param_spec_custom_rules_editor (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	AdblockParamSpecCustomRulesEditor* spec;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (g_type_is_a (object_type, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR), NULL);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return G_PARAM_SPEC (spec);
#line 3034 "widgets.c"
}


gpointer adblock_value_get_custom_rules_editor (const GValue* value) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR), NULL);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return value->data[0].v_pointer;
#line 3043 "widgets.c"
}


void adblock_value_set_custom_rules_editor (GValue* value, gpointer v_object) {
	AdblockCustomRulesEditor* old;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_custom_rules_editor_ref (value->data[0].v_pointer);
#line 3063 "widgets.c"
	} else {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 3067 "widgets.c"
	}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_custom_rules_editor_unref (old);
#line 3073 "widgets.c"
	}
}


void adblock_value_take_custom_rules_editor (GValue* value, gpointer v_object) {
	AdblockCustomRulesEditor* old;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	old = value->data[0].v_pointer;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (v_object) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = v_object;
#line 3092 "widgets.c"
	} else {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		value->data[0].v_pointer = NULL;
#line 3096 "widgets.c"
	}
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (old) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		adblock_custom_rules_editor_unref (old);
#line 3102 "widgets.c"
	}
}


static void adblock_custom_rules_editor_class_init (AdblockCustomRulesEditorClass * klass) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	adblock_custom_rules_editor_parent_class = g_type_class_peek_parent (klass);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	((AdblockCustomRulesEditorClass *) klass)->finalize = adblock_custom_rules_editor_finalize;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_type_class_add_private (klass, sizeof (AdblockCustomRulesEditorPrivate));
#line 3114 "widgets.c"
}


static void adblock_custom_rules_editor_instance_init (AdblockCustomRulesEditor * self) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->priv = ADBLOCK_CUSTOM_RULES_EDITOR_GET_PRIVATE (self);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self->ref_count = 1;
#line 3123 "widgets.c"
}


static void adblock_custom_rules_editor_finalize (AdblockCustomRulesEditor* obj) {
	AdblockCustomRulesEditor * self;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ADBLOCK_TYPE_CUSTOM_RULES_EDITOR, AdblockCustomRulesEditor);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_signal_handlers_destroy (self);
#line 277 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->dialog);
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_object_unref0 (self->priv->custom);
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	_g_free0 (self->priv->_rule);
#line 3139 "widgets.c"
}


GType adblock_custom_rules_editor_get_type (void) {
	static volatile gsize adblock_custom_rules_editor_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_custom_rules_editor_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { adblock_value_custom_rules_editor_init, adblock_value_custom_rules_editor_free_value, adblock_value_custom_rules_editor_copy_value, adblock_value_custom_rules_editor_peek_pointer, "p", adblock_value_custom_rules_editor_collect_value, "p", adblock_value_custom_rules_editor_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (AdblockCustomRulesEditorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_custom_rules_editor_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockCustomRulesEditor), 0, (GInstanceInitFunc) adblock_custom_rules_editor_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType adblock_custom_rules_editor_type_id;
		adblock_custom_rules_editor_type_id = g_type_register_fundamental (g_type_fundamental_next (), "AdblockCustomRulesEditor", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&adblock_custom_rules_editor_type_id__volatile, adblock_custom_rules_editor_type_id);
	}
	return adblock_custom_rules_editor_type_id__volatile;
}


gpointer adblock_custom_rules_editor_ref (gpointer instance) {
	AdblockCustomRulesEditor* self;
	self = instance;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	g_atomic_int_inc (&self->ref_count);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	return instance;
#line 3164 "widgets.c"
}


void adblock_custom_rules_editor_unref (gpointer instance) {
	AdblockCustomRulesEditor* self;
	self = instance;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		ADBLOCK_CUSTOM_RULES_EDITOR_GET_CLASS (self)->finalize (self);
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/widgets.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 3177 "widgets.c"
	}
}



