/* contacts-linked-accounts-dialog.c generated by valac 0.37.1.6-1eaec, the Vala compiler
 * generated from contacts-linked-accounts-dialog.vala, do not modify */

/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 8 -*- */
/*
 * Copyright (C) 2011 Alexander Larsson <alexl@redhat.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <gee.h>
#include <folks/folks.h>


#define CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG (contacts_linked_accounts_dialog_get_type ())
#define CONTACTS_LINKED_ACCOUNTS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, ContactsLinkedAccountsDialog))
#define CONTACTS_LINKED_ACCOUNTS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, ContactsLinkedAccountsDialogClass))
#define CONTACTS_IS_LINKED_ACCOUNTS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG))
#define CONTACTS_IS_LINKED_ACCOUNTS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG))
#define CONTACTS_LINKED_ACCOUNTS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, ContactsLinkedAccountsDialogClass))

typedef struct _ContactsLinkedAccountsDialog ContactsLinkedAccountsDialog;
typedef struct _ContactsLinkedAccountsDialogClass ContactsLinkedAccountsDialogClass;
typedef struct _ContactsLinkedAccountsDialogPrivate ContactsLinkedAccountsDialogPrivate;

#define CONTACTS_TYPE_CONTACT (contacts_contact_get_type ())
#define CONTACTS_CONTACT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_CONTACT, ContactsContact))
#define CONTACTS_CONTACT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_CONTACT, ContactsContactClass))
#define CONTACTS_IS_CONTACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_CONTACT))
#define CONTACTS_IS_CONTACT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_CONTACT))
#define CONTACTS_CONTACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_CONTACT, ContactsContactClass))

typedef struct _ContactsContact ContactsContact;
typedef struct _ContactsContactClass ContactsContactClass;
enum  {
	CONTACTS_LINKED_ACCOUNTS_DIALOG_DUMMY_PROPERTY,
	CONTACTS_LINKED_ACCOUNTS_DIALOG_LAST_PROPERTY
};
static GParamSpec* contacts_linked_accounts_dialog_properties[CONTACTS_LINKED_ACCOUNTS_DIALOG_LAST_PROPERTY];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block28Data Block28Data;
#define _g_free0(var) (var = (g_free (var), NULL))

#define CONTACTS_TYPE_APP (contacts_app_get_type ())
#define CONTACTS_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_APP, ContactsApp))
#define CONTACTS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_APP, ContactsAppClass))
#define CONTACTS_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_APP))
#define CONTACTS_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_APP))
#define CONTACTS_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_APP, ContactsAppClass))

typedef struct _ContactsApp ContactsApp;
typedef struct _ContactsAppClass ContactsAppClass;
typedef struct _ContactsAppPrivate ContactsAppPrivate;

#define CONTACTS_TYPE_STORE (contacts_store_get_type ())
#define CONTACTS_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_STORE, ContactsStore))
#define CONTACTS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_STORE, ContactsStoreClass))
#define CONTACTS_IS_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_STORE))
#define CONTACTS_IS_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_STORE))
#define CONTACTS_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_STORE, ContactsStoreClass))

typedef struct _ContactsStore ContactsStore;
typedef struct _ContactsStoreClass ContactsStoreClass;

#define CONTACTS_TYPE_WINDOW (contacts_window_get_type ())
#define CONTACTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_WINDOW, ContactsWindow))
#define CONTACTS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_WINDOW, ContactsWindowClass))
#define CONTACTS_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_WINDOW))
#define CONTACTS_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_WINDOW))
#define CONTACTS_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_WINDOW, ContactsWindowClass))

typedef struct _ContactsWindow ContactsWindow;
typedef struct _ContactsWindowClass ContactsWindowClass;
typedef struct _Block29Data Block29Data;

#define CONTACTS_TYPE_CONTACT_FRAME (contacts_contact_frame_get_type ())
#define CONTACTS_CONTACT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_CONTACT_FRAME, ContactsContactFrame))
#define CONTACTS_CONTACT_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_CONTACT_FRAME, ContactsContactFrameClass))
#define CONTACTS_IS_CONTACT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_CONTACT_FRAME))
#define CONTACTS_IS_CONTACT_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_CONTACT_FRAME))
#define CONTACTS_CONTACT_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_CONTACT_FRAME, ContactsContactFrameClass))

typedef struct _ContactsContactFrame ContactsContactFrame;
typedef struct _ContactsContactFrameClass ContactsContactFrameClass;
typedef struct _ContactsContactPrivate ContactsContactPrivate;

#define CONTACTS_TYPE_LINK_OPERATION (contacts_link_operation_get_type ())
#define CONTACTS_LINK_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_LINK_OPERATION, ContactsLinkOperation))
#define CONTACTS_LINK_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_LINK_OPERATION, ContactsLinkOperationClass))
#define CONTACTS_IS_LINK_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_LINK_OPERATION))
#define CONTACTS_IS_LINK_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_LINK_OPERATION))
#define CONTACTS_LINK_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_LINK_OPERATION, ContactsLinkOperationClass))

typedef struct _ContactsLinkOperation ContactsLinkOperation;
typedef struct _ContactsLinkOperationClass ContactsLinkOperationClass;

struct _ContactsLinkedAccountsDialog {
	GtkDialog parent_instance;
	ContactsLinkedAccountsDialogPrivate * priv;
	gboolean any_unlinked;
};

struct _ContactsLinkedAccountsDialogClass {
	GtkDialogClass parent_class;
};

struct _ContactsLinkedAccountsDialogPrivate {
	ContactsContact* contact;
	GtkListBox* linked_accounts_view;
};

struct _Block28Data {
	int _ref_count_;
	ContactsLinkedAccountsDialog* self;
	ContactsContact* contact;
};

struct _ContactsApp {
	GtkApplication parent_instance;
	ContactsAppPrivate * priv;
	GSettings* settings;
	ContactsStore* contacts_store;
	ContactsWindow* window;
};

struct _ContactsAppClass {
	GtkApplicationClass parent_class;
};

struct _Block29Data {
	int _ref_count_;
	Block28Data * _data28_;
	FolksPersona* p;
	GtkGrid* row_grid;
};

struct _ContactsContact {
	GObject parent_instance;
	ContactsContactPrivate * priv;
	ContactsStore* store;
	gboolean is_main;
	FolksPresenceType presence_type;
	gchar* presence_message;
	gboolean is_phone;
	FolksIndividual* individual;
	FolksPersona* fake_persona;
};

struct _ContactsContactClass {
	GObjectClass parent_class;
};


static gpointer contacts_linked_accounts_dialog_parent_class = NULL;
extern ContactsApp* contacts_app_app;

GType contacts_linked_accounts_dialog_get_type (void) G_GNUC_CONST;
GType contacts_contact_get_type (void) G_GNUC_CONST;
#define CONTACTS_LINKED_ACCOUNTS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, ContactsLinkedAccountsDialogPrivate))
ContactsLinkedAccountsDialog* contacts_linked_accounts_dialog_new (ContactsContact* contact);
ContactsLinkedAccountsDialog* contacts_linked_accounts_dialog_construct (GType object_type, ContactsContact* contact);
static Block28Data* block28_data_ref (Block28Data* _data28_);
static void block28_data_unref (void * _userdata_);
const gchar* contacts_contact_get_display_name (ContactsContact* self);
GType contacts_app_get_type (void) G_GNUC_CONST;
GType contacts_store_get_type (void) G_GNUC_CONST;
GType contacts_window_get_type (void) G_GNUC_CONST;
void contacts_add_separator (GtkListBoxRow* row, GtkListBoxRow* before_row);
static void _contacts_add_separator_gtk_list_box_update_header_func (GtkListBoxRow* row, GtkListBoxRow* before, gpointer self);
GeeList* contacts_contact_get_personas_for_display (ContactsContact* self);
static Block29Data* block29_data_ref (Block29Data* _data29_);
static void block29_data_unref (void * _userdata_);
GType contacts_contact_frame_get_type (void) G_GNUC_CONST;
#define CONTACTS_CONTACT_SMALL_AVATAR_SIZE 54
ContactsContactFrame* contacts_contact_frame_new (gint size, gboolean with_button);
ContactsContactFrame* contacts_contact_frame_construct (GType object_type, gint size, gboolean with_button);
void contacts_contact_keep_widget_uptodate (ContactsContact* self, GtkWidget* w, GtkCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify);
static void ____lambda72_ (Block29Data* _data29_, GtkWidget* w);
void contacts_contact_frame_set_image (ContactsContactFrame* self, FolksAvatarDetails* details, ContactsContact* contact);
static void _____lambda72__gtk_callback (GtkWidget* widget, gpointer self);
gchar* contacts_contact_format_persona_store_name_for_contact (FolksPersona* persona);
static void ____lambda73_ (Block29Data* _data29_);
void contacts_unlink_persona (ContactsContact* contact, FolksPersona* persona_to_unlink, GAsyncReadyCallback _callback_, gpointer _user_data_);
GType contacts_link_operation_get_type (void) G_GNUC_CONST;
ContactsLinkOperation* contacts_unlink_persona_finish (GAsyncResult* _res_);
static void __lambda74_ (Block29Data* _data29_, GObject* obj, GAsyncResult* _result_);
static void ___lambda74__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void _____lambda73__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void contacts_linked_accounts_dialog_finalize (GObject * obj);


static gpointer _g_object_ref0 (gpointer self) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 214 "contacts-linked-accounts-dialog.c"
}


static Block28Data* block28_data_ref (Block28Data* _data28_) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_atomic_int_inc (&_data28_->_ref_count_);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	return _data28_;
#line 223 "contacts-linked-accounts-dialog.c"
}


static void block28_data_unref (void * _userdata_) {
	Block28Data* _data28_;
	_data28_ = (Block28Data*) _userdata_;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data28_->_ref_count_)) {
#line 232 "contacts-linked-accounts-dialog.c"
		ContactsLinkedAccountsDialog* self;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		self = _data28_->self;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_g_object_unref0 (_data28_->contact);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_g_object_unref0 (self);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		g_slice_free (Block28Data, _data28_);
#line 242 "contacts-linked-accounts-dialog.c"
	}
}


static void _contacts_add_separator_gtk_list_box_update_header_func (GtkListBoxRow* row, GtkListBoxRow* before, gpointer self) {
#line 55 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	contacts_add_separator (row, before);
#line 250 "contacts-linked-accounts-dialog.c"
}


static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	return _data29_;
#line 259 "contacts-linked-accounts-dialog.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 268 "contacts-linked-accounts-dialog.c"
		ContactsLinkedAccountsDialog* self;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		self = _data29_->_data28_->self;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_g_object_unref0 (_data29_->row_grid);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_g_object_unref0 (_data29_->p);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		block28_data_unref (_data29_->_data28_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_data29_->_data28_ = NULL;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		g_slice_free (Block29Data, _data29_);
#line 282 "contacts-linked-accounts-dialog.c"
	}
}


static void ____lambda72_ (Block29Data* _data29_, GtkWidget* w) {
	Block28Data* _data28_;
	ContactsLinkedAccountsDialog* self;
	GtkWidget* _tmp0_;
	ContactsContact* _tmp1_;
	FolksIndividual* _tmp2_;
	ContactsContact* _tmp3_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_ = _data29_->_data28_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self = _data28_->self;
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_return_if_fail (w != NULL);
#line 84 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp0_ = w;
#line 84 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp1_ = _data28_->contact;
#line 84 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp2_ = _tmp1_->individual;
#line 84 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp3_ = _data28_->contact;
#line 84 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	contacts_contact_frame_set_image (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, CONTACTS_TYPE_CONTACT_FRAME) ? ((ContactsContactFrame*) _tmp0_) : NULL, (FolksAvatarDetails*) _tmp2_, _tmp3_);
#line 310 "contacts-linked-accounts-dialog.c"
}


static void _____lambda72__gtk_callback (GtkWidget* widget, gpointer self) {
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	____lambda72_ (self, widget);
#line 317 "contacts-linked-accounts-dialog.c"
}


static void __lambda74_ (Block29Data* _data29_, GObject* obj, GAsyncResult* _result_) {
	Block28Data* _data28_;
	ContactsLinkedAccountsDialog* self;
	GAsyncResult* _tmp0_;
	ContactsLinkOperation* _tmp1_;
	ContactsLinkOperation* _tmp2_;
	GtkGrid* _tmp3_;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_ = _data29_->_data28_;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self = _data28_->self;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_return_if_fail (_result_ != NULL);
#line 113 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp0_ = _result_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp1_ = contacts_unlink_persona_finish (_tmp0_);
#line 113 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp2_ = _tmp1_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (_tmp2_);
#line 115 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp3_ = _data29_->row_grid;
#line 115 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp3_);
#line 117 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self->any_unlinked = TRUE;
#line 348 "contacts-linked-accounts-dialog.c"
}


static void ___lambda74__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	__lambda74_ (self, source_object, res);
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	block29_data_unref (self);
#line 357 "contacts-linked-accounts-dialog.c"
}


static void ____lambda73_ (Block29Data* _data29_) {
	Block28Data* _data28_;
	ContactsLinkedAccountsDialog* self;
	ContactsContact* _tmp0_;
	FolksPersona* _tmp1_;
#line 111 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_ = _data29_->_data28_;
#line 111 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self = _data28_->self;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp0_ = _data28_->contact;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp1_ = _data29_->p;
#line 112 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	contacts_unlink_persona (_tmp0_, _tmp1_, ___lambda74__gasync_ready_callback, block29_data_ref (_data29_));
#line 376 "contacts-linked-accounts-dialog.c"
}


static void _____lambda73__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 111 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	____lambda73_ (self);
#line 383 "contacts-linked-accounts-dialog.c"
}


ContactsLinkedAccountsDialog* contacts_linked_accounts_dialog_construct (GType object_type, ContactsContact* contact) {
	ContactsLinkedAccountsDialog * self = NULL;
	Block28Data* _data28_;
	ContactsContact* _tmp0_;
	ContactsContact* _tmp1_;
	ContactsContact* _tmp2_;
	ContactsContact* _tmp3_;
	GtkHeaderBar* headerbar = NULL;
	GtkWidget* _tmp4_;
	GtkHeaderBar* _tmp5_;
	GtkHeaderBar* _tmp6_;
	ContactsContact* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GtkHeaderBar* _tmp12_;
	ContactsApp* _tmp13_;
	ContactsWindow* _tmp14_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp15_;
	GtkGrid* _tmp16_;
	GtkGrid* _tmp17_;
	GtkGrid* _tmp18_;
	GtkScrolledWindow* scrolled = NULL;
	GtkScrolledWindow* _tmp19_;
	GtkScrolledWindow* _tmp20_;
	GtkScrolledWindow* _tmp21_;
	GtkScrolledWindow* _tmp22_;
	GtkScrolledWindow* _tmp23_;
	GtkListBox* _tmp24_;
	GtkListBox* _tmp25_;
	GtkListBox* _tmp26_;
	GtkScrolledWindow* _tmp27_;
	GtkListBox* _tmp28_;
	GtkGrid* _tmp29_;
	GtkScrolledWindow* _tmp30_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp31_;
	GtkLabel* _tmp32_;
	GtkGrid* _tmp33_;
	GtkLabel* _tmp34_;
	GtkGrid* _tmp35_;
	GtkBox* _tmp36_;
	GtkGrid* _tmp37_;
	GeeList* personas = NULL;
	ContactsContact* _tmp38_;
	GeeList* _tmp39_;
	gboolean is_first = FALSE;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_return_val_if_fail (contact != NULL, NULL);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_ = g_slice_new0 (Block28Data);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_->_ref_count_ = 1;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp0_ = contact;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (_data28_->contact);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_->contact = _tmp1_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self = (ContactsLinkedAccountsDialog*) g_object_new (object_type, "use-header-bar", 1, NULL);
#line 29 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_->self = g_object_ref (self);
#line 31 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp2_ = _data28_->contact;
#line 31 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 31 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (self->priv->contact);
#line 31 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self->priv->contact = _tmp3_;
#line 32 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self->any_unlinked = FALSE;
#line 34 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp4_ = gtk_dialog_get_header_bar ((GtkDialog*) self);
#line 34 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_header_bar_get_type ()) ? ((GtkHeaderBar*) _tmp4_) : NULL);
#line 34 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	headerbar = _tmp5_;
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp6_ = headerbar;
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp7_ = _data28_->contact;
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp8_ = contacts_contact_get_display_name (_tmp7_);
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp9_ = _tmp8_;
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp10_ = g_strdup_printf (_ ("%s"), _tmp9_);
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp11_ = _tmp10_;
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_header_bar_set_title (_tmp6_, _tmp11_);
#line 35 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_free0 (_tmp11_);
#line 36 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp12_ = headerbar;
#line 36 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_header_bar_set_subtitle (_tmp12_, _ ("Linked Accounts"));
#line 38 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp13_ = contacts_app_app;
#line 38 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp14_ = _tmp13_->window;
#line 38 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_window_set_transient_for ((GtkWindow*) self, (GtkWindow*) _tmp14_);
#line 39 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_window_set_modal ((GtkWindow*) self, TRUE);
#line 40 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_window_set_default_size ((GtkWindow*) self, 600, 400);
#line 42 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp15_ = (GtkGrid*) gtk_grid_new ();
#line 42 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_object_ref_sink (_tmp15_);
#line 42 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	grid = _tmp15_;
#line 43 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp16_ = grid;
#line 43 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) _tmp16_, GTK_ORIENTATION_VERTICAL);
#line 44 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp17_ = grid;
#line 44 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_grid_set_row_spacing (_tmp17_, (guint) 12);
#line 45 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp18_ = grid;
#line 45 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp18_, (guint) 8);
#line 47 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp19_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 47 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_object_ref_sink (_tmp19_);
#line 47 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	scrolled = _tmp19_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp20_ = scrolled;
#line 48 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_scrolled_window_set_policy (_tmp20_, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
#line 49 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp21_ = scrolled;
#line 49 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp21_, TRUE);
#line 50 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp22_ = scrolled;
#line 50 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp22_, TRUE);
#line 51 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp23_ = scrolled;
#line 51 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_scrolled_window_set_shadow_type (_tmp23_, GTK_SHADOW_IN);
#line 53 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp24_ = (GtkListBox*) gtk_list_box_new ();
#line 53 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_object_ref_sink (_tmp24_);
#line 53 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (self->priv->linked_accounts_view);
#line 53 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self->priv->linked_accounts_view = _tmp24_;
#line 54 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp25_ = self->priv->linked_accounts_view;
#line 54 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_list_box_set_selection_mode (_tmp25_, GTK_SELECTION_NONE);
#line 55 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp26_ = self->priv->linked_accounts_view;
#line 55 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_list_box_set_header_func (_tmp26_, _contacts_add_separator_gtk_list_box_update_header_func, NULL, NULL);
#line 57 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp27_ = scrolled;
#line 57 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp28_ = self->priv->linked_accounts_view;
#line 57 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_container_add ((GtkContainer*) _tmp27_, (GtkWidget*) _tmp28_);
#line 58 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp29_ = grid;
#line 58 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp30_ = scrolled;
#line 58 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_container_add ((GtkContainer*) _tmp29_, (GtkWidget*) _tmp30_);
#line 60 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp31_ = (GtkLabel*) gtk_label_new (_ ("You can link contacts by selecting them from the contacts list"));
#line 60 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_object_ref_sink (_tmp31_);
#line 60 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	label = _tmp31_;
#line 61 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp32_ = label;
#line 61 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp32_, GTK_ALIGN_CENTER);
#line 62 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp33_ = grid;
#line 62 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp34_ = label;
#line 62 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_container_add ((GtkContainer*) _tmp33_, (GtkWidget*) _tmp34_);
#line 64 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp35_ = grid;
#line 64 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp35_);
#line 65 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp36_ = (GtkBox*) gtk_dialog_get_content_area ((GtkDialog*) self);
#line 65 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp37_ = grid;
#line 65 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp36_) : NULL, (GtkWidget*) _tmp37_);
#line 68 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp38_ = _data28_->contact;
#line 68 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_tmp39_ = contacts_contact_get_personas_for_display (_tmp38_);
#line 68 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	personas = _tmp39_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	is_first = TRUE;
#line 602 "contacts-linked-accounts-dialog.c"
	{
		GeeList* _p_list = NULL;
		GeeList* _tmp40_;
		GeeList* _tmp41_;
		gint _p_size = 0;
		GeeList* _tmp42_;
		gint _tmp43_;
		gint _tmp44_;
		gint _p_index = 0;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_tmp40_ = personas;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_tmp41_ = _g_object_ref0 (_tmp40_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_p_list = _tmp41_;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_tmp42_ = _p_list;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_tmp43_ = gee_collection_get_size ((GeeCollection*) _tmp42_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_tmp44_ = _tmp43_;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_p_size = _tmp44_;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_p_index = -1;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		while (TRUE) {
#line 630 "contacts-linked-accounts-dialog.c"
			Block29Data* _data29_;
			gint _tmp45_;
			gint _tmp46_;
			gint _tmp47_;
			GeeList* _tmp48_;
			gint _tmp49_;
			gpointer _tmp50_;
			gboolean _tmp51_;
			GtkGrid* _tmp52_;
			ContactsContactFrame* image_frame = NULL;
			ContactsContactFrame* _tmp53_;
			ContactsContactFrame* _tmp54_;
			ContactsContactFrame* _tmp55_;
			ContactsContactFrame* _tmp56_;
			ContactsContact* _tmp57_;
			ContactsContactFrame* _tmp58_;
			GtkGrid* _tmp59_;
			ContactsContactFrame* _tmp60_;
			GtkLabel* display_name = NULL;
			GtkLabel* _tmp61_;
			GtkLabel* _tmp62_;
			GtkLabel* _tmp63_;
			GtkLabel* _tmp64_;
			GtkLabel* _tmp65_;
			FolksPersona* _tmp66_;
			const gchar* _tmp67_;
			const gchar* _tmp68_;
			gchar* _tmp69_;
			gchar* _tmp70_;
			GtkGrid* _tmp71_;
			GtkLabel* _tmp72_;
			GtkLabel* store_name = NULL;
			FolksPersona* _tmp73_;
			gchar* _tmp74_;
			gchar* _tmp75_;
			GtkLabel* _tmp76_;
			GtkLabel* _tmp77_;
			GtkLabel* _tmp78_;
			GtkLabel* _tmp79_;
			GtkLabel* _tmp80_;
			GtkLabel* _tmp81_;
			GtkStyleContext* _tmp82_;
			GtkGrid* _tmp83_;
			GtkLabel* _tmp84_;
			GtkButton* button = NULL;
			GtkButton* _tmp85_;
			GtkButton* _tmp86_;
			GtkButton* _tmp87_;
			GtkButton* _tmp88_;
			GtkWidget* _tmp89_;
			GtkGrid* _tmp90_;
			GtkButton* _tmp91_;
			GtkButton* _tmp92_;
			GtkGrid* _tmp93_;
			GtkListBox* _tmp94_;
			GtkGrid* _tmp95_;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_ = g_slice_new0 (Block29Data);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_->_ref_count_ = 1;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_->_data28_ = block28_data_ref (_data28_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp45_ = _p_index;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_p_index = _tmp45_ + 1;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp46_ = _p_index;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp47_ = _p_size;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			if (!(_tmp46_ < _tmp47_)) {
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				block29_data_unref (_data29_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				_data29_ = NULL;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				break;
#line 709 "contacts-linked-accounts-dialog.c"
			}
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp48_ = _p_list;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp49_ = _p_index;
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp50_ = gee_list_get (_tmp48_, _tmp49_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_->p = (FolksPersona*) _tmp50_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp51_ = is_first;
#line 72 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			if (_tmp51_) {
#line 73 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				is_first = FALSE;
#line 74 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				block29_data_unref (_data29_);
#line 74 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				_data29_ = NULL;
#line 74 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
				continue;
#line 731 "contacts-linked-accounts-dialog.c"
			}
#line 77 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp52_ = (GtkGrid*) gtk_grid_new ();
#line 77 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_ref_sink (_tmp52_);
#line 77 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_->row_grid = _tmp52_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp53_ = contacts_contact_frame_new (CONTACTS_CONTACT_SMALL_AVATAR_SIZE, FALSE);
#line 79 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_ref_sink (_tmp53_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			image_frame = _tmp53_;
#line 80 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp54_ = image_frame;
#line 80 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_hexpand ((GtkWidget*) _tmp54_, FALSE);
#line 81 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp55_ = image_frame;
#line 81 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_set ((GtkWidget*) _tmp55_, "margin", 6, NULL);
#line 82 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp56_ = image_frame;
#line 82 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_margin_end ((GtkWidget*) _tmp56_, 12);
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp57_ = _data28_->contact;
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp58_ = image_frame;
#line 83 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			contacts_contact_keep_widget_uptodate (_tmp57_, (GtkWidget*) _tmp58_, _____lambda72__gtk_callback, block29_data_ref (_data29_), block29_data_unref);
#line 86 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp59_ = _data29_->row_grid;
#line 86 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp60_ = image_frame;
#line 86 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_grid_attach (_tmp59_, (GtkWidget*) _tmp60_, 0, 0, 1, 2);
#line 88 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp61_ = (GtkLabel*) gtk_label_new ("");
#line 88 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_ref_sink (_tmp61_);
#line 88 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			display_name = _tmp61_;
#line 89 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp62_ = display_name;
#line 89 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp62_, GTK_ALIGN_START);
#line 90 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp63_ = display_name;
#line 90 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_valign ((GtkWidget*) _tmp63_, GTK_ALIGN_END);
#line 91 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp64_ = display_name;
#line 91 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_hexpand ((GtkWidget*) _tmp64_, TRUE);
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp65_ = display_name;
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp66_ = _data29_->p;
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp67_ = folks_persona_get_display_id (_tmp66_);
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp68_ = _tmp67_;
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp69_ = g_markup_printf_escaped ("<span font='bold'>%s</span>", _tmp68_);
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp70_ = _tmp69_;
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_label_set_markup (_tmp65_, _tmp70_);
#line 92 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_free0 (_tmp70_);
#line 95 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp71_ = _data29_->row_grid;
#line 95 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp72_ = display_name;
#line 95 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_grid_attach (_tmp71_, (GtkWidget*) _tmp72_, 1, 0, 1, 1);
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp73_ = _data29_->p;
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp74_ = contacts_contact_format_persona_store_name_for_contact (_tmp73_);
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp75_ = _tmp74_;
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp76_ = (GtkLabel*) gtk_label_new (_tmp75_);
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_ref_sink (_tmp76_);
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp77_ = _tmp76_;
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_free0 (_tmp75_);
#line 97 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			store_name = _tmp77_;
#line 98 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp78_ = store_name;
#line 98 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp78_, GTK_ALIGN_START);
#line 99 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp79_ = store_name;
#line 99 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_valign ((GtkWidget*) _tmp79_, GTK_ALIGN_START);
#line 100 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp80_ = store_name;
#line 100 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_hexpand ((GtkWidget*) _tmp80_, TRUE);
#line 101 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp81_ = store_name;
#line 101 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp82_ = gtk_widget_get_style_context ((GtkWidget*) _tmp81_);
#line 101 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_style_context_add_class (_tmp82_, "dim-label");
#line 102 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp83_ = _data29_->row_grid;
#line 102 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp84_ = store_name;
#line 102 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_grid_attach (_tmp83_, (GtkWidget*) _tmp84_, 1, 1, 1, 1);
#line 104 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp85_ = (GtkButton*) gtk_button_new_with_label (_ ("Unlink"));
#line 104 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_ref_sink (_tmp85_);
#line 104 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			button = _tmp85_;
#line 105 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp86_ = button;
#line 105 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_margin_end ((GtkWidget*) _tmp86_, 6);
#line 106 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp87_ = button;
#line 106 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_set_valign ((GtkWidget*) _tmp87_, GTK_ALIGN_CENTER);
#line 107 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp88_ = button;
#line 107 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp89_ = gtk_bin_get_child ((GtkBin*) _tmp88_);
#line 107 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_object_set (_tmp89_, "margin", 1, NULL);
#line 108 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp90_ = _data29_->row_grid;
#line 108 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp91_ = button;
#line 108 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_grid_attach (_tmp90_, (GtkWidget*) _tmp91_, 2, 0, 1, 2);
#line 111 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp92_ = button;
#line 111 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			g_signal_connect_data (_tmp92_, "clicked", (GCallback) _____lambda73__gtk_button_clicked, block29_data_ref (_data29_), (GClosureNotify) block29_data_unref, 0);
#line 123 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp93_ = _data29_->row_grid;
#line 123 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_widget_show_all ((GtkWidget*) _tmp93_);
#line 124 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp94_ = self->priv->linked_accounts_view;
#line 124 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_tmp95_ = _data29_->row_grid;
#line 124 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			gtk_container_add ((GtkContainer*) _tmp94_, (GtkWidget*) _tmp95_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_object_unref0 (button);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_object_unref0 (store_name);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_object_unref0 (display_name);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_g_object_unref0 (image_frame);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			block29_data_unref (_data29_);
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
			_data29_ = NULL;
#line 901 "contacts-linked-accounts-dialog.c"
		}
#line 71 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
		_g_object_unref0 (_p_list);
#line 905 "contacts-linked-accounts-dialog.c"
	}
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (personas);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (label);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (scrolled);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (grid);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (headerbar);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	block28_data_unref (_data28_);
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_data28_ = NULL;
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	return self;
#line 923 "contacts-linked-accounts-dialog.c"
}


ContactsLinkedAccountsDialog* contacts_linked_accounts_dialog_new (ContactsContact* contact) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	return contacts_linked_accounts_dialog_construct (CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, contact);
#line 930 "contacts-linked-accounts-dialog.c"
}


static void contacts_linked_accounts_dialog_class_init (ContactsLinkedAccountsDialogClass * klass) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	contacts_linked_accounts_dialog_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	g_type_class_add_private (klass, sizeof (ContactsLinkedAccountsDialogPrivate));
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = contacts_linked_accounts_dialog_finalize;
#line 941 "contacts-linked-accounts-dialog.c"
}


static void contacts_linked_accounts_dialog_instance_init (ContactsLinkedAccountsDialog * self) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self->priv = CONTACTS_LINKED_ACCOUNTS_DIALOG_GET_PRIVATE (self);
#line 948 "contacts-linked-accounts-dialog.c"
}


static void contacts_linked_accounts_dialog_finalize (GObject * obj) {
	ContactsLinkedAccountsDialog * self;
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, CONTACTS_TYPE_LINKED_ACCOUNTS_DIALOG, ContactsLinkedAccountsDialog);
#line 23 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (self->priv->contact);
#line 24 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	_g_object_unref0 (self->priv->linked_accounts_view);
#line 22 "/home/mcatanzaro/Projects/GNOME/gnome-contacts/src/contacts-linked-accounts-dialog.vala"
	G_OBJECT_CLASS (contacts_linked_accounts_dialog_parent_class)->finalize (obj);
#line 962 "contacts-linked-accounts-dialog.c"
}


GType contacts_linked_accounts_dialog_get_type (void) {
	static volatile gsize contacts_linked_accounts_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&contacts_linked_accounts_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ContactsLinkedAccountsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) contacts_linked_accounts_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ContactsLinkedAccountsDialog), 0, (GInstanceInitFunc) contacts_linked_accounts_dialog_instance_init, NULL };
		GType contacts_linked_accounts_dialog_type_id;
		contacts_linked_accounts_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "ContactsLinkedAccountsDialog", &g_define_type_info, 0);
		g_once_init_leave (&contacts_linked_accounts_dialog_type_id__volatile, contacts_linked_accounts_dialog_type_id);
	}
	return contacts_linked_accounts_dialog_type_id__volatile;
}



