/* release-row.c generated by valac 0.56.19, the Vala compiler
 * generated from release-row.vala, do not modify */

#include <adwaita.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <stdlib.h>
#include <string.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 PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW (proton_plus_widgets_release_row_get_type ())
#define PROTON_PLUS_WIDGETS_RELEASE_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW, ProtonPlusWidgetsReleaseRow))
#define PROTON_PLUS_WIDGETS_RELEASE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW, ProtonPlusWidgetsReleaseRowClass))
#define PROTON_PLUS_WIDGETS_IS_RELEASE_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW))
#define PROTON_PLUS_WIDGETS_IS_RELEASE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW))
#define PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW, ProtonPlusWidgetsReleaseRowClass))

typedef struct _ProtonPlusWidgetsReleaseRow ProtonPlusWidgetsReleaseRow;
typedef struct _ProtonPlusWidgetsReleaseRowClass ProtonPlusWidgetsReleaseRowClass;
typedef struct _ProtonPlusWidgetsReleaseRowPrivate ProtonPlusWidgetsReleaseRowPrivate;
enum  {
	PROTON_PLUS_WIDGETS_RELEASE_ROW_0_PROPERTY,
	PROTON_PLUS_WIDGETS_RELEASE_ROW_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_release_row_properties[PROTON_PLUS_WIDGETS_RELEASE_ROW_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define PROTON_PLUS_WIDGETS_TYPE_WINDOW (proton_plus_widgets_window_get_type ())
#define PROTON_PLUS_WIDGETS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_WINDOW, ProtonPlusWidgetsWindow))
#define PROTON_PLUS_WIDGETS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_WINDOW, ProtonPlusWidgetsWindowClass))
#define PROTON_PLUS_WIDGETS_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_WINDOW))
#define PROTON_PLUS_WIDGETS_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_WINDOW))
#define PROTON_PLUS_WIDGETS_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_WINDOW, ProtonPlusWidgetsWindowClass))

typedef struct _ProtonPlusWidgetsWindow ProtonPlusWidgetsWindow;
typedef struct _ProtonPlusWidgetsWindowClass ProtonPlusWidgetsWindowClass;
#define _g_free0(var) (var = (g_free (var), NULL))

struct _ProtonPlusWidgetsReleaseRow {
	AdwActionRow parent_instance;
	ProtonPlusWidgetsReleaseRowPrivate * priv;
	GtkButton* update_button;
	GtkButton* open_button;
	GtkButton* install_button;
	GtkButton* remove_button;
	GtkButton* info_button;
	GtkBox* input_box;
};

struct _ProtonPlusWidgetsReleaseRowClass {
	AdwActionRowClass parent_class;
	void (*update_button_clicked) (ProtonPlusWidgetsReleaseRow* self);
	void (*open_button_clicked) (ProtonPlusWidgetsReleaseRow* self);
	void (*install_button_clicked) (ProtonPlusWidgetsReleaseRow* self);
	void (*remove_button_clicked) (ProtonPlusWidgetsReleaseRow* self);
	void (*info_button_clicked) (ProtonPlusWidgetsReleaseRow* self);
};

static gpointer proton_plus_widgets_release_row_parent_class = NULL;
VALA_EXTERN ProtonPlusWidgetsWindow* proton_plus_widgets_application_window;

VALA_EXTERN GType proton_plus_widgets_release_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsReleaseRow, g_object_unref)
VALA_EXTERN void proton_plus_widgets_release_row_update_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN void proton_plus_widgets_release_row_open_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN void proton_plus_widgets_release_row_install_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN void proton_plus_widgets_release_row_remove_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN void proton_plus_widgets_release_row_info_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN void proton_plus_widgets_release_row_only_show (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN GType proton_plus_widgets_window_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsWindow, g_object_unref)
VALA_EXTERN gboolean proton_plus_widgets_window_get_only_show_used (ProtonPlusWidgetsWindow* self);
VALA_EXTERN gboolean proton_plus_widgets_window_get_only_show_unused (ProtonPlusWidgetsWindow* self);
static void proton_plus_widgets_release_row_real_update_button_clicked (ProtonPlusWidgetsReleaseRow* self);
static void proton_plus_widgets_release_row_real_open_button_clicked (ProtonPlusWidgetsReleaseRow* self);
static void proton_plus_widgets_release_row_real_install_button_clicked (ProtonPlusWidgetsReleaseRow* self);
static void proton_plus_widgets_release_row_real_remove_button_clicked (ProtonPlusWidgetsReleaseRow* self);
static void proton_plus_widgets_release_row_real_info_button_clicked (ProtonPlusWidgetsReleaseRow* self);
VALA_EXTERN ProtonPlusWidgetsReleaseRow* proton_plus_widgets_release_row_construct (GType object_type);
static GObject * proton_plus_widgets_release_row_constructor (GType type,
                                                       guint n_construct_properties,
                                                       GObjectConstructParam * construct_properties);
static void _proton_plus_widgets_release_row_update_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                gpointer self);
static void _proton_plus_widgets_release_row_open_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                              gpointer self);
static void _proton_plus_widgets_release_row_install_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                 gpointer self);
static void _proton_plus_widgets_release_row_remove_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                gpointer self);
static void _proton_plus_widgets_release_row_info_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                              gpointer self);
static void _proton_plus_widgets_release_row_only_show_g_object_notify (GObject* _sender,
                                                                 GParamSpec* pspec,
                                                                 gpointer self);
static void proton_plus_widgets_release_row_finalize (GObject * obj);
static GType proton_plus_widgets_release_row_get_type_once (void);

static gboolean
string_contains (const gchar* self,
                 const gchar* needle)
{
	gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (needle != NULL, FALSE);
	_tmp0_ = strstr ((gchar*) self, (gchar*) needle);
	result = _tmp0_ != NULL;
	return result;
}

void
proton_plus_widgets_release_row_only_show (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsWindow* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	g_return_if_fail (self != NULL);
	_tmp0_ = proton_plus_widgets_application_window;
	_tmp1_ = proton_plus_widgets_window_get_only_show_used (_tmp0_);
	_tmp2_ = _tmp1_;
	if (_tmp2_) {
		const gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		_tmp3_ = adw_preferences_row_get_title ((AdwPreferencesRow*) self);
		_tmp4_ = g_strdup_printf ("(%s)", _ ("Used"));
		_tmp5_ = _tmp4_;
		gtk_widget_set_visible ((GtkWidget*) self, string_contains (_tmp3_, _tmp5_));
		_g_free0 (_tmp5_);
	} else {
		ProtonPlusWidgetsWindow* _tmp6_;
		gboolean _tmp7_;
		gboolean _tmp8_;
		_tmp6_ = proton_plus_widgets_application_window;
		_tmp7_ = proton_plus_widgets_window_get_only_show_unused (_tmp6_);
		_tmp8_ = _tmp7_;
		if (_tmp8_) {
			const gchar* _tmp9_;
			gchar* _tmp10_;
			gchar* _tmp11_;
			_tmp9_ = adw_preferences_row_get_title ((AdwPreferencesRow*) self);
			_tmp10_ = g_strdup_printf ("(%s)", _ ("Used"));
			_tmp11_ = _tmp10_;
			gtk_widget_set_visible ((GtkWidget*) self, !string_contains (_tmp9_, _tmp11_));
			_g_free0 (_tmp11_);
		} else {
			gtk_widget_set_visible ((GtkWidget*) self, TRUE);
		}
	}
}

static void
proton_plus_widgets_release_row_real_update_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	g_critical ("Type `%s' does not implement abstract method `proton_plus_widgets_release_row_update_button_clicked'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
	return;
}

void
proton_plus_widgets_release_row_update_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsReleaseRowClass* _klass_;
	g_return_if_fail (self != NULL);
	_klass_ = PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS (self);
	if (_klass_->update_button_clicked) {
		_klass_->update_button_clicked (self);
	}
}

static void
proton_plus_widgets_release_row_real_open_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	g_critical ("Type `%s' does not implement abstract method `proton_plus_widgets_release_row_open_button_clicked'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
	return;
}

void
proton_plus_widgets_release_row_open_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsReleaseRowClass* _klass_;
	g_return_if_fail (self != NULL);
	_klass_ = PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS (self);
	if (_klass_->open_button_clicked) {
		_klass_->open_button_clicked (self);
	}
}

static void
proton_plus_widgets_release_row_real_install_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	g_critical ("Type `%s' does not implement abstract method `proton_plus_widgets_release_row_install_button_clicked'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
	return;
}

void
proton_plus_widgets_release_row_install_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsReleaseRowClass* _klass_;
	g_return_if_fail (self != NULL);
	_klass_ = PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS (self);
	if (_klass_->install_button_clicked) {
		_klass_->install_button_clicked (self);
	}
}

static void
proton_plus_widgets_release_row_real_remove_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	g_critical ("Type `%s' does not implement abstract method `proton_plus_widgets_release_row_remove_button_clicked'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
	return;
}

void
proton_plus_widgets_release_row_remove_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsReleaseRowClass* _klass_;
	g_return_if_fail (self != NULL);
	_klass_ = PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS (self);
	if (_klass_->remove_button_clicked) {
		_klass_->remove_button_clicked (self);
	}
}

static void
proton_plus_widgets_release_row_real_info_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	g_critical ("Type `%s' does not implement abstract method `proton_plus_widgets_release_row_info_button_clicked'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
	return;
}

void
proton_plus_widgets_release_row_info_button_clicked (ProtonPlusWidgetsReleaseRow* self)
{
	ProtonPlusWidgetsReleaseRowClass* _klass_;
	g_return_if_fail (self != NULL);
	_klass_ = PROTON_PLUS_WIDGETS_RELEASE_ROW_GET_CLASS (self);
	if (_klass_->info_button_clicked) {
		_klass_->info_button_clicked (self);
	}
}

ProtonPlusWidgetsReleaseRow*
proton_plus_widgets_release_row_construct (GType object_type)
{
	ProtonPlusWidgetsReleaseRow * self = NULL;
	self = (ProtonPlusWidgetsReleaseRow*) g_object_new (object_type, NULL);
	return self;
}

static void
_proton_plus_widgets_release_row_update_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                           gpointer self)
{
	proton_plus_widgets_release_row_update_button_clicked ((ProtonPlusWidgetsReleaseRow*) self);
}

static void
_proton_plus_widgets_release_row_open_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                         gpointer self)
{
	proton_plus_widgets_release_row_open_button_clicked ((ProtonPlusWidgetsReleaseRow*) self);
}

static void
_proton_plus_widgets_release_row_install_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                            gpointer self)
{
	proton_plus_widgets_release_row_install_button_clicked ((ProtonPlusWidgetsReleaseRow*) self);
}

static void
_proton_plus_widgets_release_row_remove_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                           gpointer self)
{
	proton_plus_widgets_release_row_remove_button_clicked ((ProtonPlusWidgetsReleaseRow*) self);
}

static void
_proton_plus_widgets_release_row_info_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                         gpointer self)
{
	proton_plus_widgets_release_row_info_button_clicked ((ProtonPlusWidgetsReleaseRow*) self);
}

static void
_proton_plus_widgets_release_row_only_show_g_object_notify (GObject* _sender,
                                                            GParamSpec* pspec,
                                                            gpointer self)
{
	proton_plus_widgets_release_row_only_show ((ProtonPlusWidgetsReleaseRow*) self);
}

static GObject *
proton_plus_widgets_release_row_constructor (GType type,
                                             guint n_construct_properties,
                                             GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	ProtonPlusWidgetsReleaseRow * self;
	GtkButton* _tmp0_;
	GtkButton* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	GtkButton* _tmp4_;
	GtkButton* _tmp5_;
	GtkButton* _tmp6_;
	GtkButton* _tmp7_;
	GtkButton* _tmp8_;
	GtkButton* _tmp9_;
	GtkButton* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GtkButton* _tmp15_;
	GtkButton* _tmp16_;
	GtkButton* _tmp17_;
	const gchar* _tmp18_;
	const gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	GtkButton* _tmp22_;
	GtkBox* _tmp23_;
	GtkBox* _tmp24_;
	GtkBox* _tmp25_;
	GtkBox* _tmp26_;
	GtkBox* _tmp27_;
	GtkButton* _tmp28_;
	GtkBox* _tmp29_;
	GtkButton* _tmp30_;
	GtkBox* _tmp31_;
	GtkButton* _tmp32_;
	GtkBox* _tmp33_;
	GtkButton* _tmp34_;
	GtkBox* _tmp35_;
	GtkButton* _tmp36_;
	GtkBox* _tmp37_;
	GtkButton* _tmp38_;
	GtkButton* _tmp39_;
	GtkButton* _tmp40_;
	GtkButton* _tmp41_;
	GtkButton* _tmp42_;
	ProtonPlusWidgetsWindow* _tmp43_;
	ProtonPlusWidgetsWindow* _tmp44_;
	parent_class = G_OBJECT_CLASS (proton_plus_widgets_release_row_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW, ProtonPlusWidgetsReleaseRow);
	_tmp0_ = (GtkButton*) gtk_button_new_from_icon_name ("info-circle-symbolic");
	g_object_ref_sink (_tmp0_);
	_g_object_unref0 (self->info_button);
	self->info_button = _tmp0_;
	_tmp1_ = self->info_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp1_, _ ("Show more information"));
	_tmp2_ = self->info_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp2_, "flat");
	_tmp3_ = (GtkButton*) gtk_button_new_from_icon_name ("arrow-rotate-symbolic");
	g_object_ref_sink (_tmp3_);
	_g_object_unref0 (self->update_button);
	self->update_button = _tmp3_;
	_tmp4_ = self->update_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp4_, "flat");
	_tmp5_ = self->update_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp5_, _ ("Update the runner if a newer version is available"));
	_tmp6_ = (GtkButton*) gtk_button_new_from_icon_name ("folder-symbolic");
	g_object_ref_sink (_tmp6_);
	_g_object_unref0 (self->open_button);
	self->open_button = _tmp6_;
	_tmp7_ = self->open_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp7_, _ ("Open runner directory"));
	_tmp8_ = self->open_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp8_, "flat");
	_tmp9_ = (GtkButton*) gtk_button_new_from_icon_name ("trash-symbolic");
	g_object_ref_sink (_tmp9_);
	_g_object_unref0 (self->remove_button);
	self->remove_button = _tmp9_;
	_tmp10_ = self->remove_button;
	_tmp11_ = adw_preferences_row_get_title ((AdwPreferencesRow*) self);
	_tmp12_ = _tmp11_;
	_tmp13_ = g_strdup_printf (_ ("Delete %s"), _tmp12_);
	_tmp14_ = _tmp13_;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp10_, _tmp14_);
	_g_free0 (_tmp14_);
	_tmp15_ = self->remove_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp15_, "flat");
	_tmp16_ = (GtkButton*) gtk_button_new_from_icon_name ("download-symbolic");
	g_object_ref_sink (_tmp16_);
	_g_object_unref0 (self->install_button);
	self->install_button = _tmp16_;
	_tmp17_ = self->install_button;
	_tmp18_ = adw_preferences_row_get_title ((AdwPreferencesRow*) self);
	_tmp19_ = _tmp18_;
	_tmp20_ = g_strdup_printf (_ ("Install %s"), _tmp19_);
	_tmp21_ = _tmp20_;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp17_, _tmp21_);
	_g_free0 (_tmp21_);
	_tmp22_ = self->install_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp22_, "flat");
	_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp23_);
	_g_object_unref0 (self->input_box);
	self->input_box = _tmp23_;
	_tmp24_ = self->input_box;
	gtk_widget_set_margin_end ((GtkWidget*) _tmp24_, 10);
	_tmp25_ = self->input_box;
	gtk_widget_set_valign ((GtkWidget*) _tmp25_, GTK_ALIGN_CENTER);
	_tmp26_ = self->input_box;
	gtk_widget_add_css_class ((GtkWidget*) _tmp26_, "linked");
	_tmp27_ = self->input_box;
	_tmp28_ = self->info_button;
	gtk_box_append (_tmp27_, (GtkWidget*) _tmp28_);
	_tmp29_ = self->input_box;
	_tmp30_ = self->update_button;
	gtk_box_append (_tmp29_, (GtkWidget*) _tmp30_);
	_tmp31_ = self->input_box;
	_tmp32_ = self->open_button;
	gtk_box_append (_tmp31_, (GtkWidget*) _tmp32_);
	_tmp33_ = self->input_box;
	_tmp34_ = self->remove_button;
	gtk_box_append (_tmp33_, (GtkWidget*) _tmp34_);
	_tmp35_ = self->input_box;
	_tmp36_ = self->install_button;
	gtk_box_append (_tmp35_, (GtkWidget*) _tmp36_);
	_tmp37_ = self->input_box;
	adw_action_row_add_suffix ((AdwActionRow*) self, (GtkWidget*) _tmp37_);
	_tmp38_ = self->update_button;
	g_signal_connect_object (_tmp38_, "clicked", (GCallback) _proton_plus_widgets_release_row_update_button_clicked_gtk_button_clicked, self, 0);
	_tmp39_ = self->open_button;
	g_signal_connect_object (_tmp39_, "clicked", (GCallback) _proton_plus_widgets_release_row_open_button_clicked_gtk_button_clicked, self, 0);
	_tmp40_ = self->install_button;
	g_signal_connect_object (_tmp40_, "clicked", (GCallback) _proton_plus_widgets_release_row_install_button_clicked_gtk_button_clicked, self, 0);
	_tmp41_ = self->remove_button;
	g_signal_connect_object (_tmp41_, "clicked", (GCallback) _proton_plus_widgets_release_row_remove_button_clicked_gtk_button_clicked, self, 0);
	_tmp42_ = self->info_button;
	g_signal_connect_object (_tmp42_, "clicked", (GCallback) _proton_plus_widgets_release_row_info_button_clicked_gtk_button_clicked, self, 0);
	_tmp43_ = proton_plus_widgets_application_window;
	g_signal_connect_object ((GObject*) _tmp43_, "notify::only-show-used", (GCallback) _proton_plus_widgets_release_row_only_show_g_object_notify, self, 0);
	_tmp44_ = proton_plus_widgets_application_window;
	g_signal_connect_object ((GObject*) _tmp44_, "notify::only-show-unused", (GCallback) _proton_plus_widgets_release_row_only_show_g_object_notify, self, 0);
	return obj;
}

static void
proton_plus_widgets_release_row_class_init (ProtonPlusWidgetsReleaseRowClass * klass,
                                            gpointer klass_data)
{
	proton_plus_widgets_release_row_parent_class = g_type_class_peek_parent (klass);
	((ProtonPlusWidgetsReleaseRowClass *) klass)->update_button_clicked = (void (*) (ProtonPlusWidgetsReleaseRow*)) proton_plus_widgets_release_row_real_update_button_clicked;
	((ProtonPlusWidgetsReleaseRowClass *) klass)->open_button_clicked = (void (*) (ProtonPlusWidgetsReleaseRow*)) proton_plus_widgets_release_row_real_open_button_clicked;
	((ProtonPlusWidgetsReleaseRowClass *) klass)->install_button_clicked = (void (*) (ProtonPlusWidgetsReleaseRow*)) proton_plus_widgets_release_row_real_install_button_clicked;
	((ProtonPlusWidgetsReleaseRowClass *) klass)->remove_button_clicked = (void (*) (ProtonPlusWidgetsReleaseRow*)) proton_plus_widgets_release_row_real_remove_button_clicked;
	((ProtonPlusWidgetsReleaseRowClass *) klass)->info_button_clicked = (void (*) (ProtonPlusWidgetsReleaseRow*)) proton_plus_widgets_release_row_real_info_button_clicked;
	G_OBJECT_CLASS (klass)->constructor = proton_plus_widgets_release_row_constructor;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_release_row_finalize;
}

static void
proton_plus_widgets_release_row_instance_init (ProtonPlusWidgetsReleaseRow * self,
                                               gpointer klass)
{
}

static void
proton_plus_widgets_release_row_finalize (GObject * obj)
{
	ProtonPlusWidgetsReleaseRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_RELEASE_ROW, ProtonPlusWidgetsReleaseRow);
	_g_object_unref0 (self->update_button);
	_g_object_unref0 (self->open_button);
	_g_object_unref0 (self->install_button);
	_g_object_unref0 (self->remove_button);
	_g_object_unref0 (self->info_button);
	_g_object_unref0 (self->input_box);
	G_OBJECT_CLASS (proton_plus_widgets_release_row_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_release_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsReleaseRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_release_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsReleaseRow), 0, (GInstanceInitFunc) proton_plus_widgets_release_row_instance_init, NULL };
	GType proton_plus_widgets_release_row_type_id;
	proton_plus_widgets_release_row_type_id = g_type_register_static (adw_action_row_get_type (), "ProtonPlusWidgetsReleaseRow", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
	return proton_plus_widgets_release_row_type_id;
}

GType
proton_plus_widgets_release_row_get_type (void)
{
	static volatile gsize proton_plus_widgets_release_row_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_release_row_type_id__once)) {
		GType proton_plus_widgets_release_row_type_id;
		proton_plus_widgets_release_row_type_id = proton_plus_widgets_release_row_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_release_row_type_id__once, proton_plus_widgets_release_row_type_id);
	}
	return proton_plus_widgets_release_row_type_id__once;
}

