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

#include <adwaita.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <gio/gio.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_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW (proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type ())
#define PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow))
#define PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass))
#define PROTON_PLUS_WIDGETS_PREFERENCES_IS_REFRESH_LAUNCHERS_RUNNERS_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW))
#define PROTON_PLUS_WIDGETS_PREFERENCES_IS_REFRESH_LAUNCHERS_RUNNERS_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW))
#define PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass))

typedef struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow;
typedef struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass;
typedef struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowPrivate ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowPrivate;

#define PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG (proton_plus_widgets_preferences_preferences_dialog_get_type ())
#define PROTON_PLUS_WIDGETS_PREFERENCES_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG, ProtonPlusWidgetsPreferencesPreferencesDialog))
#define PROTON_PLUS_WIDGETS_PREFERENCES_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG, ProtonPlusWidgetsPreferencesPreferencesDialogClass))
#define PROTON_PLUS_WIDGETS_PREFERENCES_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG))
#define PROTON_PLUS_WIDGETS_PREFERENCES_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG))
#define PROTON_PLUS_WIDGETS_PREFERENCES_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_PREFERENCES_DIALOG, ProtonPlusWidgetsPreferencesPreferencesDialogClass))

typedef struct _ProtonPlusWidgetsPreferencesPreferencesDialog ProtonPlusWidgetsPreferencesPreferencesDialog;
typedef struct _ProtonPlusWidgetsPreferencesPreferencesDialogClass ProtonPlusWidgetsPreferencesPreferencesDialogClass;
enum  {
	PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_ROW_0_PROPERTY,
	PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_ROW_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_preferences_refresh_launchers_runners_row_properties[PROTON_PLUS_WIDGETS_PREFERENCES_REFRESH_LAUNCHERS_RUNNERS_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;
typedef struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData;

struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow {
	AdwActionRow parent_instance;
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowPrivate * priv;
};

struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass {
	AdwActionRowClass parent_class;
};

struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowPrivate {
	ProtonPlusWidgetsPreferencesPreferencesDialog* dialog;
	GtkButton* refresh_launchers_runners_button;
	AdwSpinner* spinner;
};

struct _ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self;
	ProtonPlusWidgetsPreferencesPreferencesDialog* _tmp0_;
	GtkButton* _tmp1_;
	AdwSpinner* _tmp2_;
	ProtonPlusWidgetsWindow* _tmp3_;
	AdwSpinner* _tmp4_;
	GtkButton* _tmp5_;
	ProtonPlusWidgetsPreferencesPreferencesDialog* _tmp6_;
};

static gint ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow_private_offset;
static gpointer proton_plus_widgets_preferences_refresh_launchers_runners_row_parent_class = NULL;
VALA_EXTERN ProtonPlusWidgetsWindow* proton_plus_widgets_application_window;

VALA_EXTERN GType proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow, g_object_unref)
VALA_EXTERN GType proton_plus_widgets_preferences_preferences_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsPreferencesPreferencesDialog, g_object_unref)
VALA_EXTERN ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* proton_plus_widgets_preferences_refresh_launchers_runners_row_new (ProtonPlusWidgetsPreferencesPreferencesDialog* dialog);
VALA_EXTERN ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* proton_plus_widgets_preferences_refresh_launchers_runners_row_construct (GType object_type,
                                                                                                                                 ProtonPlusWidgetsPreferencesPreferencesDialog* dialog);
static void proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_data_free (gpointer _data);
static void proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self,
                                                                                              GAsyncReadyCallback _callback_,
                                                                                              gpointer _user_data_);
static void proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_finish (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self,
                                                                                                     GAsyncResult* _res_);
static gboolean proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_co (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_);
VALA_EXTERN GType proton_plus_widgets_window_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsWindow, g_object_unref)
VALA_EXTERN void proton_plus_widgets_window_initialize (ProtonPlusWidgetsWindow* self,
                                            gboolean disable_update_check,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_);
VALA_EXTERN void proton_plus_widgets_window_initialize_finish (ProtonPlusWidgetsWindow* self,
                                                   GAsyncResult* _res_);
static void proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_ready (GObject* source_object,
                                                                                                    GAsyncResult* _res_,
                                                                                                    gpointer _user_data_);
static GObject * proton_plus_widgets_preferences_refresh_launchers_runners_row_constructor (GType type,
                                                                                     guint n_construct_properties,
                                                                                     GObjectConstructParam * construct_properties);
static void _proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66_ (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self);
static void __proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66__gtk_button_clicked (GtkButton* _sender,
                                                                                                     gpointer self);
static void proton_plus_widgets_preferences_refresh_launchers_runners_row_finalize (GObject * obj);
static GType proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type_once (void);

static inline gpointer
proton_plus_widgets_preferences_refresh_launchers_runners_row_get_instance_private (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow_private_offset);
}

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

ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow*
proton_plus_widgets_preferences_refresh_launchers_runners_row_construct (GType object_type,
                                                                         ProtonPlusWidgetsPreferencesPreferencesDialog* dialog)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow * self = NULL;
	ProtonPlusWidgetsPreferencesPreferencesDialog* _tmp0_;
	g_return_val_if_fail (dialog != NULL, NULL);
	self = (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow*) g_object_new (object_type, NULL);
	_tmp0_ = _g_object_ref0 (dialog);
	_g_object_unref0 (self->priv->dialog);
	self->priv->dialog = _tmp0_;
	return self;
}

ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow*
proton_plus_widgets_preferences_refresh_launchers_runners_row_new (ProtonPlusWidgetsPreferencesPreferencesDialog* dialog)
{
	return proton_plus_widgets_preferences_refresh_launchers_runners_row_construct (PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, dialog);
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_data_free (gpointer _data)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_;
	_data_ = _data;
	_g_object_unref0 (_data_->self);
	g_slice_free (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData, _data_);
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self,
                                                                                         GAsyncReadyCallback _callback_,
                                                                                         gpointer _user_data_)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_;
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* _tmp0_;
	g_return_if_fail (self != NULL);
	_data_ = g_slice_new0 (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData);
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
	g_task_set_task_data (_data_->_async_result, _data_, proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_data_free);
	_tmp0_ = _g_object_ref0 (self);
	_data_->self = _tmp0_;
	proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_co (_data_);
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_finish (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self,
                                                                                                GAsyncResult* _res_)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_;
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_ready (GObject* source_object,
                                                                                               GAsyncResult* _res_,
                                                                                               gpointer _user_data_)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_;
	_data_ = _user_data_;
	_data_->_source_object_ = source_object;
	_data_->_res_ = _res_;
	proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_co (_data_);
}

static gboolean
proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_co (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowRefreshLaunchersRunnersData* _data_)
{
	switch (_data_->_state_) {
		case 0:
		goto _state_0;
		case 1:
		goto _state_1;
		default:
		g_assert_not_reached ();
	}
	_state_0:
	_data_->_tmp0_ = _data_->self->priv->dialog;
	adw_dialog_set_can_close ((AdwDialog*) _data_->_tmp0_, FALSE);
	_data_->_tmp1_ = _data_->self->priv->refresh_launchers_runners_button;
	_data_->_tmp2_ = _data_->self->priv->spinner;
	gtk_button_set_child (_data_->_tmp1_, (GtkWidget*) _data_->_tmp2_);
	_data_->_tmp3_ = proton_plus_widgets_application_window;
	_data_->_state_ = 1;
	proton_plus_widgets_window_initialize (_data_->_tmp3_, TRUE, proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners_ready, _data_);
	return FALSE;
	_state_1:
	proton_plus_widgets_window_initialize_finish (_data_->_tmp3_, _data_->_res_);
	_data_->_tmp4_ = _data_->self->priv->spinner;
	gtk_widget_unparent ((GtkWidget*) _data_->_tmp4_);
	_data_->_tmp5_ = _data_->self->priv->refresh_launchers_runners_button;
	gtk_button_set_icon_name (_data_->_tmp5_, "arrow-rotate-symbolic");
	_data_->_tmp6_ = _data_->self->priv->dialog;
	adw_dialog_set_can_close ((AdwDialog*) _data_->_tmp6_, TRUE);
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
	if (_data_->_state_ != 0) {
		while (!g_task_get_completed (_data_->_async_result)) {
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
		}
	}
	g_object_unref (_data_->_async_result);
	return FALSE;
}

static void
_proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66_ (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow* self)
{
	proton_plus_widgets_preferences_refresh_launchers_runners_row_refresh_launchers_runners (self, NULL, NULL);
}

static void
__proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66__gtk_button_clicked (GtkButton* _sender,
                                                                                                gpointer self)
{
	_proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66_ ((ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow*) self);
}

static GObject *
proton_plus_widgets_preferences_refresh_launchers_runners_row_constructor (GType type,
                                                                           guint n_construct_properties,
                                                                           GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow * self;
	GtkButton* _tmp0_;
	GtkButton* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	AdwSpinner* _tmp4_;
	GtkButton* _tmp5_;
	parent_class = G_OBJECT_CLASS (proton_plus_widgets_preferences_refresh_launchers_runners_row_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow);
	_tmp0_ = (GtkButton*) gtk_button_new_from_icon_name ("arrow-rotate-symbolic");
	g_object_ref_sink (_tmp0_);
	_g_object_unref0 (self->priv->refresh_launchers_runners_button);
	self->priv->refresh_launchers_runners_button = _tmp0_;
	_tmp1_ = self->priv->refresh_launchers_runners_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp1_, "flat");
	_tmp2_ = self->priv->refresh_launchers_runners_button;
	gtk_widget_set_valign ((GtkWidget*) _tmp2_, GTK_ALIGN_CENTER);
	_tmp3_ = self->priv->refresh_launchers_runners_button;
	g_signal_connect_object (_tmp3_, "clicked", (GCallback) __proton_plus_widgets_preferences_refresh_launchers_runners_row___lambda66__gtk_button_clicked, self, 0);
	_tmp4_ = (AdwSpinner*) adw_spinner_new ();
	g_object_ref_sink (_tmp4_);
	_g_object_unref0 (self->priv->spinner);
	self->priv->spinner = _tmp4_;
	adw_preferences_row_set_title ((AdwPreferencesRow*) self, _ ("Refresh launchers/runners"));
	_tmp5_ = self->priv->refresh_launchers_runners_button;
	adw_action_row_add_suffix ((AdwActionRow*) self, (GtkWidget*) _tmp5_);
	return obj;
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_class_init (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass * klass,
                                                                          gpointer klass_data)
{
	proton_plus_widgets_preferences_refresh_launchers_runners_row_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow_private_offset);
	G_OBJECT_CLASS (klass)->constructor = proton_plus_widgets_preferences_refresh_launchers_runners_row_constructor;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_preferences_refresh_launchers_runners_row_finalize;
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_instance_init (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow * self,
                                                                             gpointer klass)
{
	self->priv = proton_plus_widgets_preferences_refresh_launchers_runners_row_get_instance_private (self);
}

static void
proton_plus_widgets_preferences_refresh_launchers_runners_row_finalize (GObject * obj)
{
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_PREFERENCES_TYPE_REFRESH_LAUNCHERS_RUNNERS_ROW, ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow);
	_g_object_unref0 (self->priv->dialog);
	_g_object_unref0 (self->priv->refresh_launchers_runners_button);
	_g_object_unref0 (self->priv->spinner);
	G_OBJECT_CLASS (proton_plus_widgets_preferences_refresh_launchers_runners_row_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_preferences_refresh_launchers_runners_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow), 0, (GInstanceInitFunc) proton_plus_widgets_preferences_refresh_launchers_runners_row_instance_init, NULL };
	GType proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id;
	proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id = g_type_register_static (adw_action_row_get_type (), "ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow", &g_define_type_info, 0);
	ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRow_private_offset = g_type_add_instance_private (proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id, sizeof (ProtonPlusWidgetsPreferencesRefreshLaunchersRunnersRowPrivate));
	return proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id;
}

GType
proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type (void)
{
	static volatile gsize proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id__once)) {
		GType proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id;
		proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id = proton_plus_widgets_preferences_refresh_launchers_runners_row_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id__once, proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id);
	}
	return proton_plus_widgets_preferences_refresh_launchers_runners_row_type_id__once;
}

