/* FollowRequests.c generated by valac 0.56.18-dirty, the Vala compiler
 * generated from FollowRequests.vala, do not modify */

#include <adwaita.h>
#include <glib-object.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gee.h>
#include <json-glib/json-glib.h>
#include <libsoup/soup.h>
#include <glib/gi18n-lib.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define TUBA_VIEWS_TYPE_BASE (tuba_views_base_get_type ())
#define TUBA_VIEWS_BASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_VIEWS_TYPE_BASE, TubaViewsBase))
#define TUBA_VIEWS_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_VIEWS_TYPE_BASE, TubaViewsBaseClass))
#define TUBA_VIEWS_IS_BASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_VIEWS_TYPE_BASE))
#define TUBA_VIEWS_IS_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_VIEWS_TYPE_BASE))
#define TUBA_VIEWS_BASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_VIEWS_TYPE_BASE, TubaViewsBaseClass))

typedef struct _TubaViewsBase TubaViewsBase;
typedef struct _TubaViewsBaseClass TubaViewsBaseClass;
typedef struct _TubaViewsBasePrivate TubaViewsBasePrivate;

#define TUBA_VIEWS_TYPE_CONTENT_BASE (tuba_views_content_base_get_type ())
#define TUBA_VIEWS_CONTENT_BASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_VIEWS_TYPE_CONTENT_BASE, TubaViewsContentBase))
#define TUBA_VIEWS_CONTENT_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_VIEWS_TYPE_CONTENT_BASE, TubaViewsContentBaseClass))
#define TUBA_VIEWS_IS_CONTENT_BASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_VIEWS_TYPE_CONTENT_BASE))
#define TUBA_VIEWS_IS_CONTENT_BASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_VIEWS_TYPE_CONTENT_BASE))
#define TUBA_VIEWS_CONTENT_BASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_VIEWS_TYPE_CONTENT_BASE, TubaViewsContentBaseClass))

typedef struct _TubaViewsContentBase TubaViewsContentBase;
typedef struct _TubaViewsContentBaseClass TubaViewsContentBaseClass;
typedef struct _TubaViewsContentBasePrivate TubaViewsContentBasePrivate;

#define TUBA_TYPE_ACCOUNT_HOLDER (tuba_account_holder_get_type ())
#define TUBA_ACCOUNT_HOLDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_ACCOUNT_HOLDER, TubaAccountHolder))
#define TUBA_IS_ACCOUNT_HOLDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_ACCOUNT_HOLDER))
#define TUBA_ACCOUNT_HOLDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TUBA_TYPE_ACCOUNT_HOLDER, TubaAccountHolderIface))

typedef struct _TubaAccountHolder TubaAccountHolder;
typedef struct _TubaAccountHolderIface TubaAccountHolderIface;

#define TUBA_TYPE_ENTITY (tuba_entity_get_type ())
#define TUBA_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_ENTITY, TubaEntity))
#define TUBA_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_TYPE_ENTITY, TubaEntityClass))
#define TUBA_IS_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_ENTITY))
#define TUBA_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_TYPE_ENTITY))
#define TUBA_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_TYPE_ENTITY, TubaEntityClass))

typedef struct _TubaEntity TubaEntity;
typedef struct _TubaEntityClass TubaEntityClass;

#define TUBA_API_TYPE_ACCOUNT (tuba_api_account_get_type ())
#define TUBA_API_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_API_TYPE_ACCOUNT, TubaAPIAccount))
#define TUBA_API_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_API_TYPE_ACCOUNT, TubaAPIAccountClass))
#define TUBA_API_IS_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_API_TYPE_ACCOUNT))
#define TUBA_API_IS_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_API_TYPE_ACCOUNT))
#define TUBA_API_ACCOUNT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_API_TYPE_ACCOUNT, TubaAPIAccountClass))

typedef struct _TubaAPIAccount TubaAPIAccount;
typedef struct _TubaAPIAccountClass TubaAPIAccountClass;

#define TUBA_TYPE_INSTANCE_ACCOUNT (tuba_instance_account_get_type ())
#define TUBA_INSTANCE_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_INSTANCE_ACCOUNT, TubaInstanceAccount))
#define TUBA_INSTANCE_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_TYPE_INSTANCE_ACCOUNT, TubaInstanceAccountClass))
#define TUBA_IS_INSTANCE_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_INSTANCE_ACCOUNT))
#define TUBA_IS_INSTANCE_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_TYPE_INSTANCE_ACCOUNT))
#define TUBA_INSTANCE_ACCOUNT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_TYPE_INSTANCE_ACCOUNT, TubaInstanceAccountClass))

typedef struct _TubaInstanceAccount TubaInstanceAccount;
typedef struct _TubaInstanceAccountClass TubaInstanceAccountClass;

#define TUBA_TYPE_STREAMABLE (tuba_streamable_get_type ())
#define TUBA_STREAMABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_STREAMABLE, TubaStreamable))
#define TUBA_IS_STREAMABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_STREAMABLE))
#define TUBA_STREAMABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TUBA_TYPE_STREAMABLE, TubaStreamableIface))

typedef struct _TubaStreamable TubaStreamable;
typedef struct _TubaStreamableIface TubaStreamableIface;

#define TUBA_VIEWS_TYPE_TIMELINE (tuba_views_timeline_get_type ())
#define TUBA_VIEWS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_VIEWS_TYPE_TIMELINE, TubaViewsTimeline))
#define TUBA_VIEWS_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_VIEWS_TYPE_TIMELINE, TubaViewsTimelineClass))
#define TUBA_VIEWS_IS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_VIEWS_TYPE_TIMELINE))
#define TUBA_VIEWS_IS_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_VIEWS_TYPE_TIMELINE))
#define TUBA_VIEWS_TIMELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_VIEWS_TYPE_TIMELINE, TubaViewsTimelineClass))

typedef struct _TubaViewsTimeline TubaViewsTimeline;
typedef struct _TubaViewsTimelineClass TubaViewsTimelineClass;
typedef struct _TubaViewsTimelinePrivate TubaViewsTimelinePrivate;

#define TUBA_TYPE_REQUEST (tuba_request_get_type ())
#define TUBA_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_REQUEST, TubaRequest))
#define TUBA_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_TYPE_REQUEST, TubaRequestClass))
#define TUBA_IS_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_REQUEST))
#define TUBA_IS_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_TYPE_REQUEST))
#define TUBA_REQUEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_TYPE_REQUEST, TubaRequestClass))

typedef struct _TubaRequest TubaRequest;
typedef struct _TubaRequestClass TubaRequestClass;

#define TUBA_STREAMABLE_TYPE_EVENT (tuba_streamable_event_get_type ())
typedef struct _TubaStreamableEvent TubaStreamableEvent;

#define TUBA_VIEWS_TYPE_FOLLOW_REQUESTS (tuba_views_follow_requests_get_type ())
#define TUBA_VIEWS_FOLLOW_REQUESTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_VIEWS_TYPE_FOLLOW_REQUESTS, TubaViewsFollowRequests))
#define TUBA_VIEWS_FOLLOW_REQUESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_VIEWS_TYPE_FOLLOW_REQUESTS, TubaViewsFollowRequestsClass))
#define TUBA_VIEWS_IS_FOLLOW_REQUESTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_VIEWS_TYPE_FOLLOW_REQUESTS))
#define TUBA_VIEWS_IS_FOLLOW_REQUESTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_VIEWS_TYPE_FOLLOW_REQUESTS))
#define TUBA_VIEWS_FOLLOW_REQUESTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_VIEWS_TYPE_FOLLOW_REQUESTS, TubaViewsFollowRequestsClass))

typedef struct _TubaViewsFollowRequests TubaViewsFollowRequests;
typedef struct _TubaViewsFollowRequestsClass TubaViewsFollowRequestsClass;
typedef struct _TubaViewsFollowRequestsPrivate TubaViewsFollowRequestsPrivate;
enum  {
	TUBA_VIEWS_FOLLOW_REQUESTS_0_PROPERTY,
	TUBA_VIEWS_FOLLOW_REQUESTS_NUM_PROPERTIES
};
static GParamSpec* tuba_views_follow_requests_properties[TUBA_VIEWS_FOLLOW_REQUESTS_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block79Data Block79Data;

#define TUBA_WIDGETS_TYPE_ACCOUNT (tuba_widgets_account_get_type ())
#define TUBA_WIDGETS_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_WIDGETS_TYPE_ACCOUNT, TubaWidgetsAccount))
#define TUBA_WIDGETS_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_WIDGETS_TYPE_ACCOUNT, TubaWidgetsAccountClass))
#define TUBA_WIDGETS_IS_ACCOUNT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_WIDGETS_TYPE_ACCOUNT))
#define TUBA_WIDGETS_IS_ACCOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_WIDGETS_TYPE_ACCOUNT))
#define TUBA_WIDGETS_ACCOUNT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_WIDGETS_TYPE_ACCOUNT, TubaWidgetsAccountClass))

typedef struct _TubaWidgetsAccount TubaWidgetsAccount;
typedef struct _TubaWidgetsAccountClass TubaWidgetsAccountClass;

#define TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW (tuba_widgets_follow_request_row_get_type ())
#define TUBA_WIDGETS_FOLLOW_REQUEST_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW, TubaWidgetsFollowRequestRow))
#define TUBA_WIDGETS_FOLLOW_REQUEST_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW, TubaWidgetsFollowRequestRowClass))
#define TUBA_WIDGETS_IS_FOLLOW_REQUEST_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW))
#define TUBA_WIDGETS_IS_FOLLOW_REQUEST_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW))
#define TUBA_WIDGETS_FOLLOW_REQUEST_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_WIDGETS_TYPE_FOLLOW_REQUEST_ROW, TubaWidgetsFollowRequestRowClass))

typedef struct _TubaWidgetsFollowRequestRow TubaWidgetsFollowRequestRow;
typedef struct _TubaWidgetsFollowRequestRowClass TubaWidgetsFollowRequestRowClass;

#define TUBA_TYPE_WIDGETIZABLE (tuba_widgetizable_get_type ())
#define TUBA_WIDGETIZABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_WIDGETIZABLE, TubaWidgetizable))
#define TUBA_IS_WIDGETIZABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_WIDGETIZABLE))
#define TUBA_WIDGETIZABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TUBA_TYPE_WIDGETIZABLE, TubaWidgetizableIface))

typedef struct _TubaWidgetizable TubaWidgetizable;
typedef struct _TubaWidgetizableIface TubaWidgetizableIface;
typedef struct _Block80Data Block80Data;
typedef void (*TubaNetworkSuccessCallback) (GInputStream* in_stream, SoupMessageHeaders* response_headers, gpointer user_data, GError** error);

#define TUBA_TYPE_NETWORK (tuba_network_get_type ())
#define TUBA_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_TYPE_NETWORK, TubaNetwork))
#define TUBA_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_TYPE_NETWORK, TubaNetworkClass))
#define TUBA_IS_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_TYPE_NETWORK))
#define TUBA_IS_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_TYPE_NETWORK))
#define TUBA_NETWORK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_TYPE_NETWORK, TubaNetworkClass))

typedef struct _TubaNetwork TubaNetwork;
typedef struct _TubaNetworkClass TubaNetworkClass;

#define TUBA_API_TYPE_RELATIONSHIP (tuba_api_relationship_get_type ())
#define TUBA_API_RELATIONSHIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUBA_API_TYPE_RELATIONSHIP, TubaAPIRelationship))
#define TUBA_API_RELATIONSHIP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TUBA_API_TYPE_RELATIONSHIP, TubaAPIRelationshipClass))
#define TUBA_API_IS_RELATIONSHIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUBA_API_TYPE_RELATIONSHIP))
#define TUBA_API_IS_RELATIONSHIP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TUBA_API_TYPE_RELATIONSHIP))
#define TUBA_API_RELATIONSHIP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TUBA_API_TYPE_RELATIONSHIP, TubaAPIRelationshipClass))

typedef struct _TubaAPIRelationship TubaAPIRelationship;
typedef struct _TubaAPIRelationshipClass TubaAPIRelationshipClass;
#define __vala_JsonNode_free0(var) ((var == NULL) ? NULL : (var = (_vala_JsonNode_free (var), NULL)))
typedef struct _Block81Data Block81Data;

struct _TubaViewsBase {
	AdwBreakpointBin parent_instance;
	TubaViewsBasePrivate * priv;
	AdwHeaderBar* header;
	AdwToolbarView* toolbar_view;
	GtkScrolledWindow* scrolled;
	GtkOverlay* scrolled_overlay;
	GtkRevealer* scroll_to_top_rev;
	GtkButton* scroll_to_top;
	GtkStack* states;
	AdwClamp* content_box;
	GtkButton* status_button;
};

struct _TubaViewsBaseClass {
	AdwBreakpointBinClass parent_class;
	void (*scroll_page) (TubaViewsBase* self, gboolean up);
	void (*unbind_listboxes) (TubaViewsBase* self);
	void (*build_actions) (TubaViewsBase* self);
	void (*build_header) (TubaViewsBase* self);
	void (*clear) (TubaViewsBase* self);
	void (*on_shown) (TubaViewsBase* self);
	void (*on_hidden) (TubaViewsBase* self);
	void (*on_content_changed) (TubaViewsBase* self);
	void (*on_error) (TubaViewsBase* self, gint32 code, const gchar* reason);
};

struct _TubaViewsContentBase {
	TubaViewsBase parent_instance;
	TubaViewsContentBasePrivate * priv;
	GtkListBox* content;
	GListStore* model;
};

struct _TubaViewsContentBaseClass {
	TubaViewsBaseClass parent_class;
	void (*on_scrolled_vadjustment_value_change) (TubaViewsContentBase* self);
	void (*clear_all_but_first) (TubaViewsContentBase* self, gint i);
	GtkWidget* (*on_create_model_widget) (TubaViewsContentBase* self, GObject* obj);
	void (*on_bottom_reached) (TubaViewsContentBase* self);
	void (*on_content_item_activated) (TubaViewsContentBase* self, GtkListBoxRow* row);
	gboolean (*get_empty) (TubaViewsContentBase* self);
};

struct _TubaAccountHolderIface {
	GTypeInterface parent_iface;
	void (*on_account_changed) (TubaAccountHolder* self, TubaInstanceAccount* acc);
	void (*on_accounts_changed) (TubaAccountHolder* self, GeeArrayList* accounts);
	TubaInstanceAccount* (*get_account) (TubaAccountHolder* self);
	void (*set_account) (TubaAccountHolder* self, TubaInstanceAccount* value);
};

struct _TubaStreamableIface {
	GTypeInterface parent_iface;
	gchar* (*get_stream_url) (TubaStreamable* self);
	void (*on_streaming_policy_changed) (TubaStreamable* self);
	const gchar* (*get_t_connection_url) (TubaStreamable* self);
	void (*set_t_connection_url) (TubaStreamable* self, const gchar* value);
	gboolean (*get_subscribed) (TubaStreamable* self);
	void (*set_subscribed) (TubaStreamable* self, gboolean value);
};

struct _TubaStreamableEvent {
	gchar* type;
	JsonNode* payload;
};

struct _TubaViewsTimeline {
	TubaViewsContentBase parent_instance;
	TubaViewsTimelinePrivate * priv;
};

struct _TubaViewsTimelineClass {
	TubaViewsContentBaseClass parent_class;
	gchar* (*get_req_url) (TubaViewsTimeline* self);
	TubaRequest* (*append_params) (TubaViewsTimeline* self, TubaRequest* req);
	void (*on_request_finish) (TubaViewsTimeline* self);
	gboolean (*request) (TubaViewsTimeline* self);
	void (*on_refresh) (TubaViewsTimeline* self);
	void (*on_manual_refresh) (TubaViewsTimeline* self);
	void (*on_account_changed) (TubaViewsTimeline* self, TubaInstanceAccount* acc);
	gchar* (*get_stream_url) (TubaViewsTimeline* self);
	gboolean (*should_hide) (TubaViewsTimeline* self, TubaEntity* entity);
	void (*on_new_post) (TubaViewsTimeline* self, TubaStreamableEvent* ev);
	void (*on_edit_post) (TubaViewsTimeline* self, TubaStreamableEvent* ev);
	void (*on_delete_post) (TubaViewsTimeline* self, TubaStreamableEvent* ev);
	void (*on_remove_user) (TubaViewsTimeline* self, const gchar* user_id);
};

struct _TubaViewsFollowRequests {
	TubaViewsTimeline parent_instance;
	TubaViewsFollowRequestsPrivate * priv;
};

struct _TubaViewsFollowRequestsClass {
	TubaViewsTimelineClass parent_class;
};

struct _Block79Data {
	int _ref_count_;
	TubaViewsFollowRequests* self;
	GObject* obj;
};

struct _TubaWidgetizableIface {
	GTypeInterface parent_iface;
	GtkWidget* (*to_widget) (TubaWidgetizable* self);
	void (*open) (TubaWidgetizable* self);
	void (*resolve_open) (TubaWidgetizable* self, TubaInstanceAccount* account);
};

struct _Block80Data {
	int _ref_count_;
	TubaViewsFollowRequests* self;
	TubaWidgetsFollowRequestRow* fr_row;
	TubaWidgetizable* widget;
};

struct _Block81Data {
	int _ref_count_;
	TubaViewsFollowRequests* self;
	TubaWidgetizable* widget;
};

static gpointer tuba_views_follow_requests_parent_class = NULL;
VALA_EXTERN TubaNetwork* tuba_network;

VALA_EXTERN GType tuba_views_base_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaViewsBase, g_object_unref)
VALA_EXTERN GType tuba_views_content_base_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaViewsContentBase, g_object_unref)
VALA_EXTERN GType tuba_entity_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaEntity, g_object_unref)
VALA_EXTERN GType tuba_api_account_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaAPIAccount, g_object_unref)
VALA_EXTERN GType tuba_instance_account_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaInstanceAccount, g_object_unref)
VALA_EXTERN GType tuba_account_holder_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaAccountHolder, g_object_unref)
VALA_EXTERN GType tuba_streamable_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaStreamable, g_object_unref)
VALA_EXTERN GType tuba_views_timeline_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaViewsTimeline, g_object_unref)
VALA_EXTERN GType tuba_request_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaRequest, g_object_unref)
VALA_EXTERN GType tuba_streamable_event_get_type (void) G_GNUC_CONST ;
VALA_EXTERN TubaStreamableEvent* tuba_streamable_event_dup (const TubaStreamableEvent* self);
VALA_EXTERN void tuba_streamable_event_free (TubaStreamableEvent* self);
VALA_EXTERN void tuba_streamable_event_copy (const TubaStreamableEvent* self,
                                 TubaStreamableEvent* dest);
VALA_EXTERN void tuba_streamable_event_destroy (TubaStreamableEvent* self);
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (TubaStreamableEvent, tuba_streamable_event_destroy)
VALA_EXTERN GType tuba_views_follow_requests_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaViewsFollowRequests, g_object_unref)
VALA_EXTERN GtkWidget* tuba_views_content_base_on_create_model_widget (TubaViewsContentBase* self,
                                                           GObject* obj);
static GtkWidget* tuba_views_follow_requests_real_on_create_model_widget (TubaViewsContentBase* base,
                                                                   GObject* obj);
static Block79Data* block79_data_ref (Block79Data* _data79_);
static void block79_data_unref (void * _userdata_);
VALA_EXTERN GType tuba_widgets_account_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaWidgetsAccount, g_object_unref)
VALA_EXTERN GType tuba_widgets_follow_request_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaWidgetsFollowRequestRow, g_object_unref)
VALA_EXTERN TubaWidgetsFollowRequestRow* tuba_widgets_account_add_fr_row (TubaWidgetsAccount* self);
static void ___lambda324_ (Block79Data* _data79_,
                    TubaWidgetsFollowRequestRow* fr_row,
                    TubaRequest* req);
VALA_EXTERN GType tuba_widgetizable_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaWidgetizable, g_object_unref)
VALA_EXTERN void tuba_views_follow_requests_on_decline (TubaViewsFollowRequests* self,
                                            TubaWidgetsFollowRequestRow* fr_row,
                                            TubaRequest* req,
                                            TubaWidgetizable* widget);
static void ____lambda324__tuba_widgets_follow_request_row_declined (TubaWidgetsFollowRequestRow* _sender,
                                                              TubaRequest* req,
                                                              gpointer self);
static void ___lambda326_ (Block79Data* _data79_,
                    TubaWidgetsFollowRequestRow* fr_row,
                    TubaRequest* req);
VALA_EXTERN void tuba_views_follow_requests_on_accept (TubaViewsFollowRequests* self,
                                           TubaWidgetsFollowRequestRow* fr_row,
                                           TubaRequest* req,
                                           TubaWidgetizable* widget);
static void ____lambda326__tuba_widgets_follow_request_row_accepted (TubaWidgetsFollowRequestRow* _sender,
                                                              TubaRequest* req,
                                                              gpointer self);
static Block80Data* block80_data_ref (Block80Data* _data80_);
static void block80_data_unref (void * _userdata_);
VALA_EXTERN TubaRequest* tuba_request_then (TubaRequest* self,
                                TubaNetworkSuccessCallback cb,
                                gpointer cb_target,
                                GDestroyNotify cb_target_destroy_notify);
static void __lambda327_ (Block80Data* _data80_,
                   GInputStream* in_stream,
                   GError** error);
VALA_EXTERN JsonParser* tuba_network_get_parser_from_inputstream (GInputStream* in_stream,
                                                      GError** error);
VALA_EXTERN GType tuba_network_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaNetwork, g_object_unref)
VALA_EXTERN JsonNode* tuba_network_parse_node (TubaNetwork* self,
                                   JsonParser* parser);
VALA_EXTERN TubaEntity* tuba_entity_from_json (GType type,
                                   JsonNode* node,
                                   GError** error);
VALA_EXTERN GType tuba_api_relationship_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TubaAPIRelationship, g_object_unref)
static void _vala_JsonNode_free (JsonNode* self);
VALA_EXTERN gboolean tuba_api_relationship_get_followed_by (TubaAPIRelationship* self);
static void ___lambda327__tuba_network_success_callback (GInputStream* in_stream,
                                                  SoupMessageHeaders* response_headers,
                                                  gpointer self,
                                                  GError** error);
VALA_EXTERN TubaRequest* tuba_request_exec (TubaRequest* self);
static Block81Data* block81_data_ref (Block81Data* _data81_);
static void block81_data_unref (void * _userdata_);
static void __lambda325_ (Block81Data* _data81_,
                   GError** error);
static void ___lambda325__tuba_network_success_callback (GInputStream* in_stream,
                                                  SoupMessageHeaders* response_headers,
                                                  gpointer self,
                                                  GError** error);
VALA_EXTERN TubaViewsFollowRequests* tuba_views_follow_requests_new (void);
VALA_EXTERN TubaViewsFollowRequests* tuba_views_follow_requests_construct (GType object_type);
VALA_EXTERN TubaViewsTimeline* tuba_views_timeline_new (void);
VALA_EXTERN TubaViewsTimeline* tuba_views_timeline_construct (GType object_type);
static GObject * tuba_views_follow_requests_constructor (GType type,
                                                  guint n_construct_properties,
                                                  GObjectConstructParam * construct_properties);
VALA_EXTERN void tuba_views_timeline_set_url (TubaViewsTimeline* self,
                                  const gchar* value);
VALA_EXTERN void tuba_views_base_set_label (TubaViewsBase* self,
                                const gchar* value);
VALA_EXTERN void tuba_views_base_set_icon (TubaViewsBase* self,
                               const gchar* value);
VALA_EXTERN void tuba_views_timeline_set_accepts (TubaViewsTimeline* self,
                                      GType value);
VALA_EXTERN void tuba_views_base_set_empty_state_title (TubaViewsBase* self,
                                            const gchar* value);
VALA_EXTERN void tuba_views_timeline_set_batch_size_min (TubaViewsTimeline* self,
                                             gint value);
static GType tuba_views_follow_requests_get_type_once (void);

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

static Block79Data*
block79_data_ref (Block79Data* _data79_)
{
	g_atomic_int_inc (&_data79_->_ref_count_);
	return _data79_;
}

static void
block79_data_unref (void * _userdata_)
{
	Block79Data* _data79_;
	_data79_ = (Block79Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data79_->_ref_count_)) {
		TubaViewsFollowRequests* self;
		self = _data79_->self;
		_g_object_unref0 (_data79_->obj);
		_g_object_unref0 (self);
		g_slice_free (Block79Data, _data79_);
	}
}

static void
___lambda324_ (Block79Data* _data79_,
               TubaWidgetsFollowRequestRow* fr_row,
               TubaRequest* req)
{
	TubaViewsFollowRequests* self;
	self = _data79_->self;
	g_return_if_fail (fr_row != NULL);
	g_return_if_fail (req != NULL);
	tuba_views_follow_requests_on_decline (self, fr_row, req, TUBA_IS_WIDGETIZABLE (_data79_->obj) ? ((TubaWidgetizable*) _data79_->obj) : NULL);
}

static void
____lambda324__tuba_widgets_follow_request_row_declined (TubaWidgetsFollowRequestRow* _sender,
                                                         TubaRequest* req,
                                                         gpointer self)
{
	___lambda324_ (self, _sender, req);
}

static void
___lambda326_ (Block79Data* _data79_,
               TubaWidgetsFollowRequestRow* fr_row,
               TubaRequest* req)
{
	TubaViewsFollowRequests* self;
	self = _data79_->self;
	g_return_if_fail (fr_row != NULL);
	g_return_if_fail (req != NULL);
	tuba_views_follow_requests_on_accept (self, fr_row, req, TUBA_IS_WIDGETIZABLE (_data79_->obj) ? ((TubaWidgetizable*) _data79_->obj) : NULL);
}

static void
____lambda326__tuba_widgets_follow_request_row_accepted (TubaWidgetsFollowRequestRow* _sender,
                                                         TubaRequest* req,
                                                         gpointer self)
{
	___lambda326_ (self, _sender, req);
}

static GtkWidget*
tuba_views_follow_requests_real_on_create_model_widget (TubaViewsContentBase* base,
                                                        GObject* obj)
{
	TubaViewsFollowRequests * self;
	Block79Data* _data79_;
	GObject* _tmp0_;
	GtkWidget* widget = NULL;
	GtkWidget* _tmp1_;
	TubaWidgetsAccount* widget_account = NULL;
	GtkWidget* _tmp2_;
	TubaWidgetsAccount* _tmp3_;
	TubaWidgetsAccount* _tmp4_;
	GtkWidget* result;
	self = (TubaViewsFollowRequests*) base;
	g_return_val_if_fail (obj != NULL, NULL);
	_data79_ = g_slice_new0 (Block79Data);
	_data79_->_ref_count_ = 1;
	_data79_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (obj);
	_g_object_unref0 (_data79_->obj);
	_data79_->obj = _tmp0_;
	_tmp1_ = TUBA_VIEWS_CONTENT_BASE_CLASS (tuba_views_follow_requests_parent_class)->on_create_model_widget ((TubaViewsContentBase*) G_TYPE_CHECK_INSTANCE_CAST (self, TUBA_VIEWS_TYPE_TIMELINE, TubaViewsTimeline), _data79_->obj);
	widget = _tmp1_;
	_tmp2_ = widget;
	_tmp3_ = _g_object_ref0 (TUBA_WIDGETS_IS_ACCOUNT (_tmp2_) ? ((TubaWidgetsAccount*) _tmp2_) : NULL);
	widget_account = _tmp3_;
	_tmp4_ = widget_account;
	if (_tmp4_ != NULL) {
		TubaWidgetsFollowRequestRow* fr_row = NULL;
		TubaWidgetsAccount* _tmp5_;
		TubaWidgetsFollowRequestRow* _tmp6_;
		TubaWidgetsFollowRequestRow* _tmp7_;
		TubaWidgetsFollowRequestRow* _tmp8_;
		_tmp5_ = widget_account;
		_tmp6_ = tuba_widgets_account_add_fr_row (_tmp5_);
		fr_row = _tmp6_;
		_tmp7_ = fr_row;
		g_signal_connect_data (_tmp7_, "declined", (GCallback) ____lambda324__tuba_widgets_follow_request_row_declined, block79_data_ref (_data79_), (GClosureNotify) block79_data_unref, 0);
		_tmp8_ = fr_row;
		g_signal_connect_data (_tmp8_, "accepted", (GCallback) ____lambda326__tuba_widgets_follow_request_row_accepted, block79_data_ref (_data79_), (GClosureNotify) block79_data_unref, 0);
		_g_object_unref0 (fr_row);
	}
	result = widget;
	_g_object_unref0 (widget_account);
	block79_data_unref (_data79_);
	_data79_ = NULL;
	return result;
}

static Block80Data*
block80_data_ref (Block80Data* _data80_)
{
	g_atomic_int_inc (&_data80_->_ref_count_);
	return _data80_;
}

static void
block80_data_unref (void * _userdata_)
{
	Block80Data* _data80_;
	_data80_ = (Block80Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data80_->_ref_count_)) {
		TubaViewsFollowRequests* self;
		self = _data80_->self;
		_g_object_unref0 (_data80_->fr_row);
		_g_object_unref0 (_data80_->widget);
		_g_object_unref0 (self);
		g_slice_free (Block80Data, _data80_);
	}
}

static void
_vala_JsonNode_free (JsonNode* self)
{
	g_boxed_free (json_node_get_type (), self);
}

static void
__lambda327_ (Block80Data* _data80_,
              GInputStream* in_stream,
              GError** error)
{
	TubaViewsFollowRequests* self;
	JsonParser* parser = NULL;
	JsonParser* _tmp0_;
	JsonNode* node = NULL;
	TubaNetwork* _tmp1_;
	JsonParser* _tmp2_;
	JsonNode* _tmp3_;
	TubaEntity* _tmp4_ = NULL;
	JsonNode* _tmp5_;
	TubaEntity* _tmp6_;
	TubaAPIRelationship* relationship = NULL;
	TubaAPIRelationship* _tmp7_;
	TubaAPIRelationship* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	GError* _inner_error0_ = NULL;
	self = _data80_->self;
	g_return_if_fail (in_stream != NULL);
	_tmp0_ = tuba_network_get_parser_from_inputstream (in_stream, &_inner_error0_);
	parser = _tmp0_;
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_propagate_error (error, _inner_error0_);
		return;
	}
	_tmp1_ = tuba_network;
	_tmp2_ = parser;
	_tmp3_ = tuba_network_parse_node (_tmp1_, _tmp2_);
	node = _tmp3_;
	_tmp5_ = node;
	_tmp6_ = tuba_entity_from_json (TUBA_API_TYPE_RELATIONSHIP, _tmp5_, &_inner_error0_);
	_tmp4_ = _tmp6_;
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_propagate_error (error, _inner_error0_);
		__vala_JsonNode_free0 (node);
		_g_object_unref0 (parser);
		return;
	}
	_tmp7_ = _g_object_ref0 (TUBA_API_IS_RELATIONSHIP (_tmp4_) ? ((TubaAPIRelationship*) _tmp4_) : NULL);
	relationship = _tmp7_;
	_tmp8_ = relationship;
	_tmp9_ = tuba_api_relationship_get_followed_by (_tmp8_);
	_tmp10_ = _tmp9_;
	if (_tmp10_ == TRUE) {
		guint indx = 0U;
		gboolean found = FALSE;
		GListStore* _tmp11_;
		guint _tmp12_ = 0U;
		gboolean _tmp13_;
		_tmp11_ = ((TubaViewsContentBase*) self)->model;
		_tmp13_ = g_list_store_find (_tmp11_, (GObject*) _data80_->widget, &_tmp12_);
		indx = _tmp12_;
		found = _tmp13_;
		if (found) {
			GListStore* _tmp14_;
			_tmp14_ = ((TubaViewsContentBase*) self)->model;
			g_list_store_remove (_tmp14_, indx);
		}
	} else {
		gtk_widget_set_sensitive ((GtkWidget*) _data80_->fr_row, TRUE);
	}
	_g_object_unref0 (relationship);
	_g_object_unref0 (_tmp4_);
	__vala_JsonNode_free0 (node);
	_g_object_unref0 (parser);
}

static void
___lambda327__tuba_network_success_callback (GInputStream* in_stream,
                                             SoupMessageHeaders* response_headers,
                                             gpointer self,
                                             GError** error)
{
	__lambda327_ (self, in_stream, error);
}

void
tuba_views_follow_requests_on_accept (TubaViewsFollowRequests* self,
                                      TubaWidgetsFollowRequestRow* fr_row,
                                      TubaRequest* req,
                                      TubaWidgetizable* widget)
{
	Block80Data* _data80_;
	TubaWidgetsFollowRequestRow* _tmp0_;
	TubaWidgetizable* _tmp1_;
	TubaRequest* _tmp2_;
	TubaRequest* _tmp3_;
	TubaRequest* _tmp4_;
	TubaRequest* _tmp5_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (fr_row != NULL);
	g_return_if_fail (req != NULL);
	g_return_if_fail (widget != NULL);
	_data80_ = g_slice_new0 (Block80Data);
	_data80_->_ref_count_ = 1;
	_data80_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (fr_row);
	_g_object_unref0 (_data80_->fr_row);
	_data80_->fr_row = _tmp0_;
	_tmp1_ = _g_object_ref0 (widget);
	_g_object_unref0 (_data80_->widget);
	_data80_->widget = _tmp1_;
	gtk_widget_set_sensitive ((GtkWidget*) _data80_->fr_row, FALSE);
	_tmp2_ = tuba_request_then (req, ___lambda327__tuba_network_success_callback, block80_data_ref (_data80_), block80_data_unref);
	_tmp3_ = _tmp2_;
	_tmp4_ = tuba_request_exec (_tmp3_);
	_tmp5_ = _tmp4_;
	_g_object_unref0 (_tmp5_);
	_g_object_unref0 (_tmp3_);
	block80_data_unref (_data80_);
	_data80_ = NULL;
}

static Block81Data*
block81_data_ref (Block81Data* _data81_)
{
	g_atomic_int_inc (&_data81_->_ref_count_);
	return _data81_;
}

static void
block81_data_unref (void * _userdata_)
{
	Block81Data* _data81_;
	_data81_ = (Block81Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data81_->_ref_count_)) {
		TubaViewsFollowRequests* self;
		self = _data81_->self;
		_g_object_unref0 (_data81_->widget);
		_g_object_unref0 (self);
		g_slice_free (Block81Data, _data81_);
	}
}

static void
__lambda325_ (Block81Data* _data81_,
              GError** error)
{
	TubaViewsFollowRequests* self;
	guint indx = 0U;
	gboolean found = FALSE;
	GListStore* _tmp0_;
	guint _tmp1_ = 0U;
	gboolean _tmp2_;
	self = _data81_->self;
	_tmp0_ = ((TubaViewsContentBase*) self)->model;
	_tmp2_ = g_list_store_find (_tmp0_, (GObject*) _data81_->widget, &_tmp1_);
	indx = _tmp1_;
	found = _tmp2_;
	if (found) {
		GListStore* _tmp3_;
		_tmp3_ = ((TubaViewsContentBase*) self)->model;
		g_list_store_remove (_tmp3_, indx);
	}
}

static void
___lambda325__tuba_network_success_callback (GInputStream* in_stream,
                                             SoupMessageHeaders* response_headers,
                                             gpointer self,
                                             GError** error)
{
	__lambda325_ (self, error);
}

void
tuba_views_follow_requests_on_decline (TubaViewsFollowRequests* self,
                                       TubaWidgetsFollowRequestRow* fr_row,
                                       TubaRequest* req,
                                       TubaWidgetizable* widget)
{
	Block81Data* _data81_;
	TubaWidgetizable* _tmp0_;
	TubaRequest* _tmp1_;
	TubaRequest* _tmp2_;
	TubaRequest* _tmp3_;
	TubaRequest* _tmp4_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (fr_row != NULL);
	g_return_if_fail (req != NULL);
	g_return_if_fail (widget != NULL);
	_data81_ = g_slice_new0 (Block81Data);
	_data81_->_ref_count_ = 1;
	_data81_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (widget);
	_g_object_unref0 (_data81_->widget);
	_data81_->widget = _tmp0_;
	gtk_widget_set_sensitive ((GtkWidget*) fr_row, FALSE);
	_tmp1_ = tuba_request_then (req, ___lambda325__tuba_network_success_callback, block81_data_ref (_data81_), block81_data_unref);
	_tmp2_ = _tmp1_;
	_tmp3_ = tuba_request_exec (_tmp2_);
	_tmp4_ = _tmp3_;
	_g_object_unref0 (_tmp4_);
	_g_object_unref0 (_tmp2_);
	block81_data_unref (_data81_);
	_data81_ = NULL;
}

TubaViewsFollowRequests*
tuba_views_follow_requests_construct (GType object_type)
{
	TubaViewsFollowRequests * self = NULL;
	self = (TubaViewsFollowRequests*) tuba_views_timeline_construct (object_type);
	return self;
}

TubaViewsFollowRequests*
tuba_views_follow_requests_new (void)
{
	return tuba_views_follow_requests_construct (TUBA_VIEWS_TYPE_FOLLOW_REQUESTS);
}

static GObject *
tuba_views_follow_requests_constructor (GType type,
                                        guint n_construct_properties,
                                        GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	TubaViewsFollowRequests * self;
	parent_class = G_OBJECT_CLASS (tuba_views_follow_requests_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TUBA_VIEWS_TYPE_FOLLOW_REQUESTS, TubaViewsFollowRequests);
	tuba_views_timeline_set_url ((TubaViewsTimeline*) self, "/api/v1/follow_requests");
	tuba_views_base_set_label ((TubaViewsBase*) self, _ ("Follow Requests"));
	tuba_views_base_set_icon ((TubaViewsBase*) self, "address-book-new-symbolic");
	tuba_views_timeline_set_accepts ((TubaViewsTimeline*) self, TUBA_API_TYPE_ACCOUNT);
	tuba_views_base_set_empty_state_title ((TubaViewsBase*) self, _ ("No Follow Requests"));
	tuba_views_timeline_set_batch_size_min ((TubaViewsTimeline*) self, 20);
	return obj;
}

static void
tuba_views_follow_requests_class_init (TubaViewsFollowRequestsClass * klass,
                                       gpointer klass_data)
{
	tuba_views_follow_requests_parent_class = g_type_class_peek_parent (klass);
	((TubaViewsContentBaseClass *) klass)->on_create_model_widget = (GtkWidget* (*) (TubaViewsContentBase*, GObject*)) tuba_views_follow_requests_real_on_create_model_widget;
	G_OBJECT_CLASS (klass)->constructor = tuba_views_follow_requests_constructor;
}

static void
tuba_views_follow_requests_instance_init (TubaViewsFollowRequests * self,
                                          gpointer klass)
{
}

 G_GNUC_NO_INLINE static GType
tuba_views_follow_requests_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (TubaViewsFollowRequestsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tuba_views_follow_requests_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TubaViewsFollowRequests), 0, (GInstanceInitFunc) tuba_views_follow_requests_instance_init, NULL };
	GType tuba_views_follow_requests_type_id;
	tuba_views_follow_requests_type_id = g_type_register_static (TUBA_VIEWS_TYPE_TIMELINE, "TubaViewsFollowRequests", &g_define_type_info, 0);
	return tuba_views_follow_requests_type_id;
}

GType
tuba_views_follow_requests_get_type (void)
{
	static gsize tuba_views_follow_requests_type_id__once = 0;
	if (g_once_init_enter (&tuba_views_follow_requests_type_id__once)) {
		GType tuba_views_follow_requests_type_id;
		tuba_views_follow_requests_type_id = tuba_views_follow_requests_get_type_once ();
		g_once_init_leave (&tuba_views_follow_requests_type_id__once, tuba_views_follow_requests_type_id);
	}
	return tuba_views_follow_requests_type_id__once;
}

