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

#include <adwaita.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <pango/pango.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_COMPATIBILITY_TOOL_ROW (proton_plus_widgets_compatibility_tool_row_get_type ())
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW, ProtonPlusWidgetsCompatibilityToolRow))
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW, ProtonPlusWidgetsCompatibilityToolRowClass))
#define PROTON_PLUS_WIDGETS_IS_COMPATIBILITY_TOOL_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW))
#define PROTON_PLUS_WIDGETS_IS_COMPATIBILITY_TOOL_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW))
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW, ProtonPlusWidgetsCompatibilityToolRowClass))

typedef struct _ProtonPlusWidgetsCompatibilityToolRow ProtonPlusWidgetsCompatibilityToolRow;
typedef struct _ProtonPlusWidgetsCompatibilityToolRowClass ProtonPlusWidgetsCompatibilityToolRowClass;
typedef struct _ProtonPlusWidgetsCompatibilityToolRowPrivate ProtonPlusWidgetsCompatibilityToolRowPrivate;

#define PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER (proton_plus_models_simple_runner_get_type ())
#define PROTON_PLUS_MODELS_SIMPLE_RUNNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER, ProtonPlusModelsSimpleRunner))
#define PROTON_PLUS_MODELS_SIMPLE_RUNNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER, ProtonPlusModelsSimpleRunnerClass))
#define PROTON_PLUS_MODELS_IS_SIMPLE_RUNNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER))
#define PROTON_PLUS_MODELS_IS_SIMPLE_RUNNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER))
#define PROTON_PLUS_MODELS_SIMPLE_RUNNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER, ProtonPlusModelsSimpleRunnerClass))

typedef struct _ProtonPlusModelsSimpleRunner ProtonPlusModelsSimpleRunner;
typedef struct _ProtonPlusModelsSimpleRunnerClass ProtonPlusModelsSimpleRunnerClass;
enum  {
	PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW_0_PROPERTY,
	PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_compatibility_tool_row_properties[PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_ROW_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

struct _ProtonPlusWidgetsCompatibilityToolRow {
	AdwComboRow parent_instance;
	ProtonPlusWidgetsCompatibilityToolRowPrivate * priv;
};

struct _ProtonPlusWidgetsCompatibilityToolRowClass {
	AdwComboRowClass parent_class;
};

struct _ProtonPlusWidgetsCompatibilityToolRowPrivate {
	GtkSignalListItemFactory* compatibility_tool_factory;
	GtkListItem* last_compatibility_tool_list_item;
	GHashTable* hast_table;
};

static gint ProtonPlusWidgetsCompatibilityToolRow_private_offset;
static gpointer proton_plus_widgets_compatibility_tool_row_parent_class = NULL;

VALA_EXTERN GType proton_plus_widgets_compatibility_tool_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsCompatibilityToolRow, g_object_unref)
VALA_EXTERN GType proton_plus_models_simple_runner_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsSimpleRunner, g_object_unref)
VALA_EXTERN ProtonPlusWidgetsCompatibilityToolRow* proton_plus_widgets_compatibility_tool_row_new (GListStore* model,
                                                                                       GtkPropertyExpression* expression);
VALA_EXTERN ProtonPlusWidgetsCompatibilityToolRow* proton_plus_widgets_compatibility_tool_row_construct (GType object_type,
                                                                                             GListStore* model,
                                                                                             GtkPropertyExpression* expression);
static gboolean __lambda45_ (ProtonPlusModelsSimpleRunner* a,
                      ProtonPlusModelsSimpleRunner* b);
VALA_EXTERN const gchar* proton_plus_models_simple_runner_get_internal_title (ProtonPlusModelsSimpleRunner* self);
static gboolean ___lambda45__gequal_func (gconstpointer a,
                                   gconstpointer b);
static void _g_object_unref0_ (gpointer var);
static void proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup (ProtonPlusWidgetsCompatibilityToolRow* self,
                                                                                  GObject* object);
static void _proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup_gtk_signal_list_item_factory_setup (GtkSignalListItemFactory* _sender,
                                                                                                                      GObject* object,
                                                                                                                      gpointer self);
static void proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind (ProtonPlusWidgetsCompatibilityToolRow* self,
                                                                                 GObject* object);
static void _proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind_gtk_signal_list_item_factory_bind (GtkSignalListItemFactory* _sender,
                                                                                                                    GObject* object,
                                                                                                                    gpointer self);
static void proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed (ProtonPlusWidgetsCompatibilityToolRow* self);
static void _proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed_g_object_notify (GObject* _sender,
                                                                                                               GParamSpec* pspec,
                                                                                                               gpointer self);
VALA_EXTERN const gchar* proton_plus_models_simple_runner_get_display_title (ProtonPlusModelsSimpleRunner* self);
static void proton_plus_widgets_compatibility_tool_row_finalize (GObject * obj);
static GType proton_plus_widgets_compatibility_tool_row_get_type_once (void);

static inline gpointer
proton_plus_widgets_compatibility_tool_row_get_instance_private (ProtonPlusWidgetsCompatibilityToolRow* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsCompatibilityToolRow_private_offset);
}

static gboolean
__lambda45_ (ProtonPlusModelsSimpleRunner* a,
             ProtonPlusModelsSimpleRunner* b)
{
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gboolean result;
	g_return_val_if_fail (a != NULL, FALSE);
	g_return_val_if_fail (b != NULL, FALSE);
	_tmp0_ = proton_plus_models_simple_runner_get_internal_title (a);
	_tmp1_ = _tmp0_;
	_tmp2_ = proton_plus_models_simple_runner_get_internal_title (b);
	_tmp3_ = _tmp2_;
	result = g_strcmp0 (_tmp1_, _tmp3_) == 0;
	return result;
}

static gboolean
___lambda45__gequal_func (gconstpointer a,
                          gconstpointer b)
{
	gboolean result;
	result = __lambda45_ ((ProtonPlusModelsSimpleRunner*) a, (ProtonPlusModelsSimpleRunner*) b);
	return result;
}

static void
_g_object_unref0_ (gpointer var)
{
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
}

static void
_proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup_gtk_signal_list_item_factory_setup (GtkSignalListItemFactory* _sender,
                                                                                                                 GObject* object,
                                                                                                                 gpointer self)
{
	proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup ((ProtonPlusWidgetsCompatibilityToolRow*) self, object);
}

static void
_proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind_gtk_signal_list_item_factory_bind (GtkSignalListItemFactory* _sender,
                                                                                                               GObject* object,
                                                                                                               gpointer self)
{
	proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind ((ProtonPlusWidgetsCompatibilityToolRow*) self, object);
}

static void
_proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed_g_object_notify (GObject* _sender,
                                                                                                          GParamSpec* pspec,
                                                                                                          gpointer self)
{
	proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed ((ProtonPlusWidgetsCompatibilityToolRow*) self);
}

ProtonPlusWidgetsCompatibilityToolRow*
proton_plus_widgets_compatibility_tool_row_construct (GType object_type,
                                                      GListStore* model,
                                                      GtkPropertyExpression* expression)
{
	ProtonPlusWidgetsCompatibilityToolRow * self = NULL;
	GHashTable* _tmp0_;
	GtkSignalListItemFactory* _tmp1_;
	GtkSignalListItemFactory* _tmp2_;
	GtkSignalListItemFactory* _tmp3_;
	GtkSignalListItemFactory* _tmp4_;
	g_return_val_if_fail (model != NULL, NULL);
	g_return_val_if_fail (expression != NULL, NULL);
	self = (ProtonPlusWidgetsCompatibilityToolRow*) g_object_new (object_type, NULL);
	_tmp0_ = g_hash_table_new_full (NULL, ___lambda45__gequal_func, _g_object_unref0_, _g_object_unref0_);
	_g_hash_table_unref0 (self->priv->hast_table);
	self->priv->hast_table = _tmp0_;
	_tmp1_ = (GtkSignalListItemFactory*) gtk_signal_list_item_factory_new ();
	_g_object_unref0 (self->priv->compatibility_tool_factory);
	self->priv->compatibility_tool_factory = _tmp1_;
	_tmp2_ = self->priv->compatibility_tool_factory;
	g_signal_connect_object (_tmp2_, "setup", (GCallback) _proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup_gtk_signal_list_item_factory_setup, self, 0);
	_tmp3_ = self->priv->compatibility_tool_factory;
	g_signal_connect_object (_tmp3_, "bind", (GCallback) _proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind_gtk_signal_list_item_factory_bind, self, 0);
	g_signal_connect_object ((GObject*) self, "notify::selected-item", (GCallback) _proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed_g_object_notify, self, 0);
	adw_preferences_row_set_title ((AdwPreferencesRow*) self, _ ("Select your desired compatibility tool"));
	adw_combo_row_set_model ((AdwComboRow*) self, (GListModel*) model);
	adw_combo_row_set_expression ((AdwComboRow*) self, (GtkExpression*) expression);
	_tmp4_ = self->priv->compatibility_tool_factory;
	adw_combo_row_set_list_factory ((AdwComboRow*) self, (GtkListItemFactory*) _tmp4_);
	return self;
}

ProtonPlusWidgetsCompatibilityToolRow*
proton_plus_widgets_compatibility_tool_row_new (GListStore* model,
                                                GtkPropertyExpression* expression)
{
	return proton_plus_widgets_compatibility_tool_row_construct (PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW, model, expression);
}

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

static void
proton_plus_widgets_compatibility_tool_row_compatibility_tool_row_selected_item_changed (ProtonPlusWidgetsCompatibilityToolRow* self)
{
	ProtonPlusModelsSimpleRunner* simple_runner = NULL;
	GObject* _tmp0_;
	ProtonPlusModelsSimpleRunner* _tmp1_;
	GtkListItem* list_item = NULL;
	GHashTable* _tmp2_;
	ProtonPlusModelsSimpleRunner* _tmp3_;
	gconstpointer _tmp4_;
	GtkListItem* _tmp5_;
	GtkListItem* _tmp6_;
	ProtonPlusModelsSimpleRunner* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	GtkListItem* _tmp10_;
	gconstpointer _tmp11_;
	GtkListItem* _tmp12_;
	gconstpointer _tmp13_;
	GtkListItem* _tmp14_;
	GtkListItem* _tmp15_;
	g_return_if_fail (self != NULL);
	_tmp0_ = adw_combo_row_get_selected_item ((AdwComboRow*) self);
	_tmp1_ = _g_object_ref0 (PROTON_PLUS_MODELS_IS_SIMPLE_RUNNER (_tmp0_) ? ((ProtonPlusModelsSimpleRunner*) _tmp0_) : NULL);
	simple_runner = _tmp1_;
	_tmp2_ = self->priv->hast_table;
	_tmp3_ = simple_runner;
	_tmp4_ = g_hash_table_lookup (_tmp2_, _tmp3_);
	_tmp5_ = _g_object_ref0 ((GtkListItem*) _tmp4_);
	list_item = _tmp5_;
	_tmp6_ = list_item;
	if (_tmp6_ == NULL) {
		_g_object_unref0 (list_item);
		_g_object_unref0 (simple_runner);
		return;
	}
	_tmp7_ = simple_runner;
	_tmp8_ = proton_plus_models_simple_runner_get_display_title (_tmp7_);
	_tmp9_ = _tmp8_;
	gtk_widget_set_tooltip_text ((GtkWidget*) self, _tmp9_);
	_tmp10_ = list_item;
	_tmp11_ = g_object_get_data ((GObject*) _tmp10_, "check");
	gtk_widget_set_visible ((GtkWidget*) ((GtkImage*) _tmp11_), TRUE);
	_tmp12_ = self->priv->last_compatibility_tool_list_item;
	_tmp13_ = g_object_get_data ((GObject*) _tmp12_, "check");
	gtk_widget_set_visible ((GtkWidget*) ((GtkImage*) _tmp13_), FALSE);
	_tmp14_ = list_item;
	_tmp15_ = _g_object_ref0 (_tmp14_);
	_g_object_unref0 (self->priv->last_compatibility_tool_list_item);
	self->priv->last_compatibility_tool_list_item = _tmp15_;
	_g_object_unref0 (list_item);
	_g_object_unref0 (simple_runner);
}

static void
proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_bind (ProtonPlusWidgetsCompatibilityToolRow* self,
                                                                            GObject* object)
{
	GtkListItem* list_item = NULL;
	GtkListItem* _tmp0_;
	ProtonPlusModelsSimpleRunner* simple_runner = NULL;
	GtkListItem* _tmp1_;
	GObject* _tmp2_;
	ProtonPlusModelsSimpleRunner* _tmp3_;
	GHashTable* _tmp4_;
	ProtonPlusModelsSimpleRunner* _tmp5_;
	ProtonPlusModelsSimpleRunner* _tmp6_;
	GtkListItem* _tmp7_;
	GtkListItem* _tmp8_;
	gconstpointer _tmp9_;
	ProtonPlusModelsSimpleRunner* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	gconstpointer _tmp13_;
	GtkListItem* _tmp14_;
	gconstpointer _tmp15_;
	ProtonPlusModelsSimpleRunner* _tmp16_;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	GtkListItem* _tmp19_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (object != NULL);
	_tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (object, gtk_list_item_get_type ()) ? ((GtkListItem*) object) : NULL);
	list_item = _tmp0_;
	_tmp1_ = list_item;
	_tmp2_ = gtk_list_item_get_item (_tmp1_);
	_tmp3_ = _g_object_ref0 (PROTON_PLUS_MODELS_IS_SIMPLE_RUNNER (_tmp2_) ? ((ProtonPlusModelsSimpleRunner*) _tmp2_) : NULL);
	simple_runner = _tmp3_;
	_tmp4_ = self->priv->hast_table;
	_tmp5_ = simple_runner;
	_tmp6_ = _g_object_ref0 (_tmp5_);
	_tmp7_ = list_item;
	_tmp8_ = _g_object_ref0 (_tmp7_);
	g_hash_table_insert (_tmp4_, _tmp6_, _tmp8_);
	_tmp9_ = g_object_get_data (object, "title");
	_tmp10_ = simple_runner;
	_tmp11_ = proton_plus_models_simple_runner_get_display_title (_tmp10_);
	_tmp12_ = _tmp11_;
	gtk_label_set_label ((GtkLabel*) _tmp9_, _tmp12_);
	_tmp13_ = g_object_get_data (object, "check");
	_tmp14_ = list_item;
	gtk_widget_set_visible ((GtkWidget*) ((GtkImage*) _tmp13_), gtk_list_item_get_selected (_tmp14_));
	_tmp15_ = g_object_get_data (object, "box");
	_tmp16_ = simple_runner;
	_tmp17_ = proton_plus_models_simple_runner_get_display_title (_tmp16_);
	_tmp18_ = _tmp17_;
	gtk_widget_set_tooltip_text ((GtkWidget*) ((GtkBox*) _tmp15_), _tmp18_);
	_tmp19_ = list_item;
	if (gtk_list_item_get_selected (_tmp19_)) {
		GtkListItem* _tmp20_;
		GtkListItem* _tmp21_;
		_tmp20_ = list_item;
		_tmp21_ = _g_object_ref0 (_tmp20_);
		_g_object_unref0 (self->priv->last_compatibility_tool_list_item);
		self->priv->last_compatibility_tool_list_item = _tmp21_;
	}
	_g_object_unref0 (simple_runner);
	_g_object_unref0 (list_item);
}

static void
proton_plus_widgets_compatibility_tool_row_compatibility_tool_factory_setup (ProtonPlusWidgetsCompatibilityToolRow* self,
                                                                             GObject* object)
{
	GtkListItem* list_item = NULL;
	GtkListItem* _tmp0_;
	GtkLabel* title_label = NULL;
	GtkLabel* _tmp1_;
	GtkImage* check_image = NULL;
	GtkImage* _tmp2_;
	GtkBox* box = NULL;
	GtkBox* _tmp3_;
	GtkLabel* _tmp4_;
	GtkImage* _tmp5_;
	GtkBox* _tmp6_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (object != NULL);
	_tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (object, gtk_list_item_get_type ()) ? ((GtkListItem*) object) : NULL);
	list_item = _tmp0_;
	_tmp1_ = (GtkLabel*) gtk_label_new (NULL);
	g_object_ref_sink (_tmp1_);
	title_label = _tmp1_;
	gtk_label_set_xalign (title_label, 0.0f);
	gtk_label_set_max_width_chars (title_label, 30);
	gtk_label_set_ellipsize (title_label, PANGO_ELLIPSIZE_END);
	gtk_widget_set_hexpand ((GtkWidget*) title_label, TRUE);
	_tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("object-select-symbolic");
	g_object_ref_sink (_tmp2_);
	check_image = _tmp2_;
	gtk_widget_set_visible ((GtkWidget*) check_image, FALSE);
	_tmp3_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp3_);
	box = _tmp3_;
	gtk_box_append (box, (GtkWidget*) title_label);
	gtk_box_append (box, (GtkWidget*) check_image);
	_tmp4_ = _g_object_ref0 (title_label);
	g_object_set_data_full (object, "title", _tmp4_, g_object_unref);
	_tmp5_ = _g_object_ref0 (check_image);
	g_object_set_data_full (object, "check", _tmp5_, g_object_unref);
	_tmp6_ = _g_object_ref0 (box);
	g_object_set_data_full (object, "box", _tmp6_, g_object_unref);
	gtk_list_item_set_child (list_item, (GtkWidget*) box);
	_g_object_unref0 (box);
	_g_object_unref0 (check_image);
	_g_object_unref0 (title_label);
	_g_object_unref0 (list_item);
}

static void
proton_plus_widgets_compatibility_tool_row_class_init (ProtonPlusWidgetsCompatibilityToolRowClass * klass,
                                                       gpointer klass_data)
{
	proton_plus_widgets_compatibility_tool_row_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsCompatibilityToolRow_private_offset);
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_compatibility_tool_row_finalize;
}

static void
proton_plus_widgets_compatibility_tool_row_instance_init (ProtonPlusWidgetsCompatibilityToolRow * self,
                                                          gpointer klass)
{
	self->priv = proton_plus_widgets_compatibility_tool_row_get_instance_private (self);
}

static void
proton_plus_widgets_compatibility_tool_row_finalize (GObject * obj)
{
	ProtonPlusWidgetsCompatibilityToolRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_ROW, ProtonPlusWidgetsCompatibilityToolRow);
	_g_object_unref0 (self->priv->compatibility_tool_factory);
	_g_object_unref0 (self->priv->last_compatibility_tool_list_item);
	_g_hash_table_unref0 (self->priv->hast_table);
	G_OBJECT_CLASS (proton_plus_widgets_compatibility_tool_row_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_compatibility_tool_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsCompatibilityToolRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_compatibility_tool_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsCompatibilityToolRow), 0, (GInstanceInitFunc) proton_plus_widgets_compatibility_tool_row_instance_init, NULL };
	GType proton_plus_widgets_compatibility_tool_row_type_id;
	proton_plus_widgets_compatibility_tool_row_type_id = g_type_register_static (adw_combo_row_get_type (), "ProtonPlusWidgetsCompatibilityToolRow", &g_define_type_info, 0);
	ProtonPlusWidgetsCompatibilityToolRow_private_offset = g_type_add_instance_private (proton_plus_widgets_compatibility_tool_row_type_id, sizeof (ProtonPlusWidgetsCompatibilityToolRowPrivate));
	return proton_plus_widgets_compatibility_tool_row_type_id;
}

GType
proton_plus_widgets_compatibility_tool_row_get_type (void)
{
	static volatile gsize proton_plus_widgets_compatibility_tool_row_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_compatibility_tool_row_type_id__once)) {
		GType proton_plus_widgets_compatibility_tool_row_type_id;
		proton_plus_widgets_compatibility_tool_row_type_id = proton_plus_widgets_compatibility_tool_row_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_compatibility_tool_row_type_id__once, proton_plus_widgets_compatibility_tool_row_type_id);
	}
	return proton_plus_widgets_compatibility_tool_row_type_id__once;
}

