/* mass-edit-view.c generated by valac 0.56.19, the Vala compiler
 * generated from mass-edit-view.vala, do not modify */

#include <gtk/gtk.h>
#include <glib-object.h>
#include <adwaita.h>
#include <glib.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gee.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_MASS_EDIT_VIEW (proton_plus_widgets_mass_edit_view_get_type ())
#define PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditView))
#define PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditViewClass))
#define PROTON_PLUS_WIDGETS_IS_MASS_EDIT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW))
#define PROTON_PLUS_WIDGETS_IS_MASS_EDIT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW))
#define PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditViewClass))

typedef struct _ProtonPlusWidgetsMassEditView ProtonPlusWidgetsMassEditView;
typedef struct _ProtonPlusWidgetsMassEditViewClass ProtonPlusWidgetsMassEditViewClass;
typedef struct _ProtonPlusWidgetsMassEditViewPrivate ProtonPlusWidgetsMassEditViewPrivate;

#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;

#define PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR (proton_plus_widgets_launch_options_editor_get_type ())
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR, ProtonPlusWidgetsLaunchOptionsEditor))
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR, ProtonPlusWidgetsLaunchOptionsEditorClass))
#define PROTON_PLUS_WIDGETS_IS_LAUNCH_OPTIONS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR))
#define PROTON_PLUS_WIDGETS_IS_LAUNCH_OPTIONS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR))
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_EDITOR, ProtonPlusWidgetsLaunchOptionsEditorClass))

typedef struct _ProtonPlusWidgetsLaunchOptionsEditor ProtonPlusWidgetsLaunchOptionsEditor;
typedef struct _ProtonPlusWidgetsLaunchOptionsEditorClass ProtonPlusWidgetsLaunchOptionsEditorClass;

#define PROTON_PLUS_WIDGETS_TYPE_GAME_ROW (proton_plus_widgets_game_row_get_type ())
#define PROTON_PLUS_WIDGETS_GAME_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_GAME_ROW, ProtonPlusWidgetsGameRow))
#define PROTON_PLUS_WIDGETS_GAME_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_GAME_ROW, ProtonPlusWidgetsGameRowClass))
#define PROTON_PLUS_WIDGETS_IS_GAME_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_GAME_ROW))
#define PROTON_PLUS_WIDGETS_IS_GAME_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_GAME_ROW))
#define PROTON_PLUS_WIDGETS_GAME_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_GAME_ROW, ProtonPlusWidgetsGameRowClass))

typedef struct _ProtonPlusWidgetsGameRow ProtonPlusWidgetsGameRow;
typedef struct _ProtonPlusWidgetsGameRowClass ProtonPlusWidgetsGameRowClass;
enum  {
	PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_0_PROPERTY,
	PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_mass_edit_view_properties[PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define PROTON_PLUS_MODELS_TYPE_GAME (proton_plus_models_game_get_type ())
#define PROTON_PLUS_MODELS_GAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_TYPE_GAME, ProtonPlusModelsGame))
#define PROTON_PLUS_MODELS_GAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_TYPE_GAME, ProtonPlusModelsGameClass))
#define PROTON_PLUS_MODELS_IS_GAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_TYPE_GAME))
#define PROTON_PLUS_MODELS_IS_GAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_TYPE_GAME))
#define PROTON_PLUS_MODELS_GAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_TYPE_GAME, ProtonPlusModelsGameClass))

typedef struct _ProtonPlusModelsGame ProtonPlusModelsGame;
typedef struct _ProtonPlusModelsGameClass ProtonPlusModelsGameClass;

#define PROTON_PLUS_MODELS_TYPE_LAUNCHER (proton_plus_models_launcher_get_type ())
#define PROTON_PLUS_MODELS_LAUNCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_TYPE_LAUNCHER, ProtonPlusModelsLauncher))
#define PROTON_PLUS_MODELS_LAUNCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_TYPE_LAUNCHER, ProtonPlusModelsLauncherClass))
#define PROTON_PLUS_MODELS_IS_LAUNCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_TYPE_LAUNCHER))
#define PROTON_PLUS_MODELS_IS_LAUNCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_TYPE_LAUNCHER))
#define PROTON_PLUS_MODELS_LAUNCHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_TYPE_LAUNCHER, ProtonPlusModelsLauncherClass))

typedef struct _ProtonPlusModelsLauncher ProtonPlusModelsLauncher;
typedef struct _ProtonPlusModelsLauncherClass ProtonPlusModelsLauncherClass;

#define PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM (proton_plus_models_launchers_steam_get_type ())
#define PROTON_PLUS_MODELS_LAUNCHERS_STEAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM, ProtonPlusModelsLaunchersSteam))
#define PROTON_PLUS_MODELS_LAUNCHERS_STEAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM, ProtonPlusModelsLaunchersSteamClass))
#define PROTON_PLUS_MODELS_LAUNCHERS_IS_STEAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM))
#define PROTON_PLUS_MODELS_LAUNCHERS_IS_STEAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM))
#define PROTON_PLUS_MODELS_LAUNCHERS_STEAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM, ProtonPlusModelsLaunchersSteamClass))

typedef struct _ProtonPlusModelsLaunchersSteam ProtonPlusModelsLaunchersSteam;
typedef struct _ProtonPlusModelsLaunchersSteamClass ProtonPlusModelsLaunchersSteamClass;

#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;
typedef struct _ProtonPlusWidgetsGameRowPrivate ProtonPlusWidgetsGameRowPrivate;

#define PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN (proton_plus_widgets_compatibility_tool_drop_down_get_type ())
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_DROP_DOWN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN, ProtonPlusWidgetsCompatibilityToolDropDown))
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_DROP_DOWN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN, ProtonPlusWidgetsCompatibilityToolDropDownClass))
#define PROTON_PLUS_WIDGETS_IS_COMPATIBILITY_TOOL_DROP_DOWN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN))
#define PROTON_PLUS_WIDGETS_IS_COMPATIBILITY_TOOL_DROP_DOWN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN))
#define PROTON_PLUS_WIDGETS_COMPATIBILITY_TOOL_DROP_DOWN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_COMPATIBILITY_TOOL_DROP_DOWN, ProtonPlusWidgetsCompatibilityToolDropDownClass))

typedef struct _ProtonPlusWidgetsCompatibilityToolDropDown ProtonPlusWidgetsCompatibilityToolDropDown;
typedef struct _ProtonPlusWidgetsCompatibilityToolDropDownClass ProtonPlusWidgetsCompatibilityToolDropDownClass;
typedef struct _ProtonPlusWidgetsCompatibilityToolDropDownPrivate ProtonPlusWidgetsCompatibilityToolDropDownPrivate;
typedef struct _ProtonPlusModelsLauncherPrivate ProtonPlusModelsLauncherPrivate;

#define PROTON_PLUS_MODELS_TYPE_GROUP (proton_plus_models_group_get_type ())
#define PROTON_PLUS_MODELS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_TYPE_GROUP, ProtonPlusModelsGroup))
#define PROTON_PLUS_MODELS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_TYPE_GROUP, ProtonPlusModelsGroupClass))
#define PROTON_PLUS_MODELS_IS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_TYPE_GROUP))
#define PROTON_PLUS_MODELS_IS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_TYPE_GROUP))
#define PROTON_PLUS_MODELS_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_TYPE_GROUP, ProtonPlusModelsGroupClass))

typedef struct _ProtonPlusModelsGroup ProtonPlusModelsGroup;
typedef struct _ProtonPlusModelsGroupClass ProtonPlusModelsGroupClass;
typedef enum  {
	PROTON_PLUS_MODELS_LAUNCHER_INSTALLATION_TYPES_SYSTEM,
	PROTON_PLUS_MODELS_LAUNCHER_INSTALLATION_TYPES_FLATPAK,
	PROTON_PLUS_MODELS_LAUNCHER_INSTALLATION_TYPES_SNAP
} ProtonPlusModelsLauncherInstallationTypes;

#define PROTON_PLUS_MODELS_LAUNCHER_TYPE_INSTALLATION_TYPES (proton_plus_models_launcher_installation_types_get_type ())

#define PROTON_PLUS_MODELS_GAMES_TYPE_STEAM (proton_plus_models_games_steam_get_type ())
#define PROTON_PLUS_MODELS_GAMES_STEAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteam))
#define PROTON_PLUS_MODELS_GAMES_STEAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteamClass))
#define PROTON_PLUS_MODELS_GAMES_IS_STEAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_GAMES_TYPE_STEAM))
#define PROTON_PLUS_MODELS_GAMES_IS_STEAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_GAMES_TYPE_STEAM))
#define PROTON_PLUS_MODELS_GAMES_STEAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteamClass))

typedef struct _ProtonPlusModelsGamesSteam ProtonPlusModelsGamesSteam;
typedef struct _ProtonPlusModelsGamesSteamClass ProtonPlusModelsGamesSteamClass;

#define PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE (proton_plus_models_steam_profile_get_type ())
#define PROTON_PLUS_MODELS_STEAM_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE, ProtonPlusModelsSteamProfile))
#define PROTON_PLUS_MODELS_STEAM_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE, ProtonPlusModelsSteamProfileClass))
#define PROTON_PLUS_MODELS_IS_STEAM_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE))
#define PROTON_PLUS_MODELS_IS_STEAM_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE))
#define PROTON_PLUS_MODELS_STEAM_PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_MODELS_TYPE_STEAM_PROFILE, ProtonPlusModelsSteamProfileClass))

typedef struct _ProtonPlusModelsSteamProfile ProtonPlusModelsSteamProfile;
typedef struct _ProtonPlusModelsSteamProfileClass ProtonPlusModelsSteamProfileClass;

#define PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG (proton_plus_widgets_error_dialog_get_type ())
#define PROTON_PLUS_WIDGETS_ERROR_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG, ProtonPlusWidgetsErrorDialog))
#define PROTON_PLUS_WIDGETS_ERROR_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG, ProtonPlusWidgetsErrorDialogClass))
#define PROTON_PLUS_WIDGETS_IS_ERROR_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG))
#define PROTON_PLUS_WIDGETS_IS_ERROR_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG))
#define PROTON_PLUS_WIDGETS_ERROR_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_ERROR_DIALOG, ProtonPlusWidgetsErrorDialogClass))

typedef struct _ProtonPlusWidgetsErrorDialog ProtonPlusWidgetsErrorDialog;
typedef struct _ProtonPlusWidgetsErrorDialogClass ProtonPlusWidgetsErrorDialogClass;

#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;
enum  {
	PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_BACK_REQUESTED_SIGNAL,
	PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_NUM_SIGNALS
};
static guint proton_plus_widgets_mass_edit_view_signals[PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_NUM_SIGNALS] = {0};

struct _ProtonPlusWidgetsMassEditView {
	GtkBox parent_instance;
	ProtonPlusWidgetsMassEditViewPrivate * priv;
};

struct _ProtonPlusWidgetsMassEditViewClass {
	GtkBoxClass parent_class;
};

struct _ProtonPlusWidgetsMassEditViewPrivate {
	AdwWindowTitle* _window_title;
	GtkButton* _back_button;
	GtkButton* _clear_button;
	GtkLabel* _advanced_label;
	GtkSwitch* _advanced_switch;
	GtkBox* _advanced_box;
	GtkButton* _apply_button;
	AdwHeaderBar* _header_bar;
	AdwClamp* _content_clamp;
	GtkScrolledWindow* _scrolled_window;
	GtkSwitch* _modify_compatibility_tool_switch;
	ProtonPlusWidgetsCompatibilityToolRow* _compatibility_tool_row;
	AdwPreferencesGroup* _compatibility_tool_group;
	GtkSwitch* _modify_launch_options_switch;
	AdwPreferencesGroup* _launch_options_group;
	ProtonPlusWidgetsLaunchOptionsEditor* _launch_options_editor;
	GtkBox* _content_box;
	AdwToolbarView* _toolbar_view;
	ProtonPlusWidgetsGameRow** rows;
	gint rows_length1;
	gint _rows_size_;
};

struct _ProtonPlusWidgetsGameRow {
	GtkListBoxRow parent_instance;
	ProtonPlusWidgetsGameRowPrivate * priv;
	ProtonPlusWidgetsCompatibilityToolDropDown* compatibility_tool_dropdown;
};

struct _ProtonPlusWidgetsGameRowClass {
	GtkListBoxRowClass parent_class;
};

struct _ProtonPlusWidgetsCompatibilityToolDropDown {
	GtkWidget parent_instance;
	ProtonPlusWidgetsCompatibilityToolDropDownPrivate * priv;
	GtkDropDown* dropdown;
	gboolean skip;
};

struct _ProtonPlusWidgetsCompatibilityToolDropDownClass {
	GtkWidgetClass parent_class;
};

struct _ProtonPlusModelsLauncher {
	GObject parent_instance;
	ProtonPlusModelsLauncherPrivate * priv;
	gchar* title;
	gchar* icon_path;
	gchar* directory;
	gboolean installed;
	gboolean has_library_support;
	GList* games;
	GeeArrayList* compatibility_tools;
	ProtonPlusModelsGroup** groups;
	gint groups_length1;
	ProtonPlusModelsLauncherInstallationTypes installation_type;
};

struct _ProtonPlusModelsLauncherClass {
	GObjectClass parent_class;
	void (*load_game_library) (ProtonPlusModelsLauncher* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*load_game_library_finish) (ProtonPlusModelsLauncher* self, GAsyncResult* _res_);
	gint (*get_compatibility_tool_usage_count) (ProtonPlusModelsLauncher* self, const gchar* compatibility_tool_name);
};

static gint ProtonPlusWidgetsMassEditView_private_offset;
static gpointer proton_plus_widgets_mass_edit_view_parent_class = NULL;
VALA_EXTERN ProtonPlusWidgetsWindow* proton_plus_widgets_application_window;

VALA_EXTERN GType proton_plus_widgets_mass_edit_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsMassEditView, g_object_unref)
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_widgets_launch_options_editor_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsLaunchOptionsEditor, g_object_unref)
VALA_EXTERN GType proton_plus_widgets_game_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsGameRow, g_object_unref)
VALA_EXTERN void proton_plus_widgets_mass_edit_view_load (ProtonPlusWidgetsMassEditView* self,
                                              ProtonPlusWidgetsGameRow** rows,
                                              gint rows_length1,
                                              GListStore* model,
                                              GtkPropertyExpression* expression);
static ProtonPlusWidgetsGameRow** _vala_array_dup1 (ProtonPlusWidgetsGameRow** self,
                                             gssize length);
static AdwWindowTitle* proton_plus_widgets_mass_edit_view_get_window_title (ProtonPlusWidgetsMassEditView* self);
static ProtonPlusWidgetsCompatibilityToolRow* proton_plus_widgets_mass_edit_view_get_compatibility_tool_row (ProtonPlusWidgetsMassEditView* self);
static AdwPreferencesGroup* proton_plus_widgets_mass_edit_view_get_compatibility_tool_group (ProtonPlusWidgetsMassEditView* self);
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 void proton_plus_widgets_mass_edit_view_set_compatibility_tool_row (ProtonPlusWidgetsMassEditView* self,
                                                                    ProtonPlusWidgetsCompatibilityToolRow* value);
static GtkSwitch* proton_plus_widgets_mass_edit_view_get_modify_compatibility_tool_switch (ProtonPlusWidgetsMassEditView* self);
static GtkSwitch* proton_plus_widgets_mass_edit_view_get_modify_launch_options_switch (ProtonPlusWidgetsMassEditView* self);
static GtkSwitch* proton_plus_widgets_mass_edit_view_get_advanced_switch (ProtonPlusWidgetsMassEditView* self);
static ProtonPlusWidgetsLaunchOptionsEditor* proton_plus_widgets_mass_edit_view_get_launch_options_editor (ProtonPlusWidgetsMassEditView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_set_text (ProtonPlusWidgetsLaunchOptionsEditor* self,
                                                         const gchar* launch_options);
VALA_EXTERN GType proton_plus_models_game_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsGame, g_object_unref)
VALA_EXTERN ProtonPlusModelsGame* proton_plus_widgets_game_row_get_game (ProtonPlusWidgetsGameRow* self);
VALA_EXTERN GType proton_plus_models_launcher_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsLauncher, g_object_unref)
VALA_EXTERN ProtonPlusModelsLauncher* proton_plus_models_game_get_launcher (ProtonPlusModelsGame* self);
VALA_EXTERN GType proton_plus_models_launchers_steam_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsLaunchersSteam, g_object_unref)
static AdwPreferencesGroup* proton_plus_widgets_mass_edit_view_get_launch_options_group (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_refresh (ProtonPlusWidgetsMassEditView* self);
VALA_EXTERN gboolean proton_plus_widgets_launch_options_editor_has_clearable_state (ProtonPlusWidgetsLaunchOptionsEditor* self);
static GtkButton* proton_plus_widgets_mass_edit_view_get_clear_button (ProtonPlusWidgetsMassEditView* self);
static GtkButton* proton_plus_widgets_mass_edit_view_get_apply_button (ProtonPlusWidgetsMassEditView* self);
static GtkLabel* proton_plus_widgets_mass_edit_view_get_advanced_label (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_modify_row_active_changed (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_clear_button_clicked (ProtonPlusWidgetsMassEditView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_clear (ProtonPlusWidgetsLaunchOptionsEditor* self);
static void proton_plus_widgets_mass_edit_view_apply_button_clicked (ProtonPlusWidgetsMassEditView* self);
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 gboolean proton_plus_models_game_change_compatibility_tool (ProtonPlusModelsGame* self,
                                                            const gchar* compat_tool);
VALA_EXTERN const gchar* proton_plus_models_simple_runner_get_internal_title (ProtonPlusModelsSimpleRunner* self);
VALA_EXTERN const gchar* proton_plus_models_game_get_name (ProtonPlusModelsGame* self);
VALA_EXTERN GType proton_plus_widgets_compatibility_tool_drop_down_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsCompatibilityToolDropDown, g_object_unref)
VALA_EXTERN const gchar* proton_plus_models_game_get_compatibility_tool (ProtonPlusModelsGame* self);
VALA_EXTERN GType proton_plus_models_group_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsGroup, g_object_unref)
VALA_EXTERN GType proton_plus_models_launcher_installation_types_get_type (void) G_GNUC_CONST ;
static void _g_object_unref0_ (gpointer var);
static inline void _g_list_free__g_object_unref0_ (GList* self);
VALA_EXTERN GType proton_plus_models_games_steam_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsGamesSteam, g_object_unref)
VALA_EXTERN gboolean proton_plus_models_games_steam_change_launch_options (ProtonPlusModelsGamesSteam* self,
                                                               const gchar* launch_options,
                                                               const gchar* localconfig_path);
VALA_EXTERN gchar* proton_plus_widgets_launch_options_editor_get_text (ProtonPlusWidgetsLaunchOptionsEditor* self);
VALA_EXTERN GType proton_plus_models_steam_profile_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsSteamProfile, g_object_unref)
VALA_EXTERN ProtonPlusModelsSteamProfile* proton_plus_models_launchers_steam_get_profile (ProtonPlusModelsLaunchersSteam* self);
VALA_EXTERN const gchar* proton_plus_models_steam_profile_get_localconfig_path (ProtonPlusModelsSteamProfile* self);
VALA_EXTERN GType proton_plus_widgets_error_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsErrorDialog, g_object_unref)
VALA_EXTERN ProtonPlusWidgetsErrorDialog* proton_plus_widgets_error_dialog_new (const gchar* heading,
                                                                    const gchar* body);
VALA_EXTERN ProtonPlusWidgetsErrorDialog* proton_plus_widgets_error_dialog_construct (GType object_type,
                                                                          const gchar* heading,
                                                                          const gchar* body);
VALA_EXTERN GType proton_plus_widgets_window_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsWindow, g_object_unref)
static void _g_free0_ (gpointer var);
static inline void _g_list_free__g_free0_ (GList* self);
VALA_EXTERN ProtonPlusWidgetsMassEditView* proton_plus_widgets_mass_edit_view_new (void);
VALA_EXTERN ProtonPlusWidgetsMassEditView* proton_plus_widgets_mass_edit_view_construct (GType object_type);
static void proton_plus_widgets_mass_edit_view_set_window_title (ProtonPlusWidgetsMassEditView* self,
                                                          AdwWindowTitle* value);
static GtkButton* proton_plus_widgets_mass_edit_view_get_back_button (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_back_button (ProtonPlusWidgetsMassEditView* self,
                                                         GtkButton* value);
static void proton_plus_widgets_mass_edit_view_set_clear_button (ProtonPlusWidgetsMassEditView* self,
                                                          GtkButton* value);
static void proton_plus_widgets_mass_edit_view_set_advanced_label (ProtonPlusWidgetsMassEditView* self,
                                                            GtkLabel* value);
static void proton_plus_widgets_mass_edit_view_set_advanced_switch (ProtonPlusWidgetsMassEditView* self,
                                                             GtkSwitch* value);
static GtkBox* proton_plus_widgets_mass_edit_view_get_advanced_box (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_advanced_box (ProtonPlusWidgetsMassEditView* self,
                                                          GtkBox* value);
static void proton_plus_widgets_mass_edit_view_set_apply_button (ProtonPlusWidgetsMassEditView* self,
                                                          GtkButton* value);
static AdwHeaderBar* proton_plus_widgets_mass_edit_view_get_header_bar (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_header_bar (ProtonPlusWidgetsMassEditView* self,
                                                        AdwHeaderBar* value);
static AdwClamp* proton_plus_widgets_mass_edit_view_get_content_clamp (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_content_clamp (ProtonPlusWidgetsMassEditView* self,
                                                           AdwClamp* value);
static GtkScrolledWindow* proton_plus_widgets_mass_edit_view_get_scrolled_window (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_scrolled_window (ProtonPlusWidgetsMassEditView* self,
                                                             GtkScrolledWindow* value);
static void proton_plus_widgets_mass_edit_view_set_modify_compatibility_tool_switch (ProtonPlusWidgetsMassEditView* self,
                                                                              GtkSwitch* value);
static void proton_plus_widgets_mass_edit_view_set_compatibility_tool_group (ProtonPlusWidgetsMassEditView* self,
                                                                      AdwPreferencesGroup* value);
static void proton_plus_widgets_mass_edit_view_set_modify_launch_options_switch (ProtonPlusWidgetsMassEditView* self,
                                                                          GtkSwitch* value);
static void proton_plus_widgets_mass_edit_view_set_launch_options_group (ProtonPlusWidgetsMassEditView* self,
                                                                  AdwPreferencesGroup* value);
static void proton_plus_widgets_mass_edit_view_set_launch_options_editor (ProtonPlusWidgetsMassEditView* self,
                                                                   ProtonPlusWidgetsLaunchOptionsEditor* value);
static GtkBox* proton_plus_widgets_mass_edit_view_get_content_box (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_content_box (ProtonPlusWidgetsMassEditView* self,
                                                         GtkBox* value);
static AdwToolbarView* proton_plus_widgets_mass_edit_view_get_toolbar_view (ProtonPlusWidgetsMassEditView* self);
static void proton_plus_widgets_mass_edit_view_set_toolbar_view (ProtonPlusWidgetsMassEditView* self,
                                                          AdwToolbarView* value);
static GObject * proton_plus_widgets_mass_edit_view_constructor (GType type,
                                                          guint n_construct_properties,
                                                          GObjectConstructParam * construct_properties);
static void _proton_plus_widgets_mass_edit_view___lambda46_ (ProtonPlusWidgetsMassEditView* self);
static void __proton_plus_widgets_mass_edit_view___lambda46__gtk_button_clicked (GtkButton* _sender,
                                                                          gpointer self);
static void _proton_plus_widgets_mass_edit_view_clear_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                  gpointer self);
static void _proton_plus_widgets_mass_edit_view_apply_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                  gpointer self);
static void _proton_plus_widgets_mass_edit_view_modify_row_active_changed_g_object_notify (GObject* _sender,
                                                                                    GParamSpec* pspec,
                                                                                    gpointer self);
VALA_EXTERN ProtonPlusWidgetsLaunchOptionsEditor* proton_plus_widgets_launch_options_editor_new (void);
VALA_EXTERN ProtonPlusWidgetsLaunchOptionsEditor* proton_plus_widgets_launch_options_editor_construct (GType object_type);
static void _proton_plus_widgets_mass_edit_view___lambda47_ (ProtonPlusWidgetsMassEditView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_set_advanced_visible (ProtonPlusWidgetsLaunchOptionsEditor* self,
                                                                     gboolean visible);
static void __proton_plus_widgets_mass_edit_view___lambda47__g_object_notify (GObject* _sender,
                                                                       GParamSpec* pspec,
                                                                       gpointer self);
static void proton_plus_widgets_mass_edit_view_finalize (GObject * obj);
static GType proton_plus_widgets_mass_edit_view_get_type_once (void);
static void _vala_proton_plus_widgets_mass_edit_view_get_property (GObject * object,
                                                            guint property_id,
                                                            GValue * value,
                                                            GParamSpec * pspec);
static void _vala_proton_plus_widgets_mass_edit_view_set_property (GObject * object,
                                                            guint property_id,
                                                            const GValue * value,
                                                            GParamSpec * pspec);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);

static inline gpointer
proton_plus_widgets_mass_edit_view_get_instance_private (ProtonPlusWidgetsMassEditView* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsMassEditView_private_offset);
}

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

static ProtonPlusWidgetsGameRow**
_vala_array_dup1 (ProtonPlusWidgetsGameRow** self,
                  gssize length)
{
	if (length >= 0) {
		ProtonPlusWidgetsGameRow** result;
		gssize i;
		result = g_new0 (ProtonPlusWidgetsGameRow*, length + 1);
		for (i = 0; i < length; i++) {
			ProtonPlusWidgetsGameRow* _tmp0_;
			_tmp0_ = _g_object_ref0 (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

void
proton_plus_widgets_mass_edit_view_load (ProtonPlusWidgetsMassEditView* self,
                                         ProtonPlusWidgetsGameRow** rows,
                                         gint rows_length1,
                                         GListStore* model,
                                         GtkPropertyExpression* expression)
{
	ProtonPlusWidgetsGameRow** _tmp0_;
	gint _tmp0__length1;
	gchar* _tmp1_ = NULL;
	AdwWindowTitle* _tmp4_;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp5_;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp8_;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp9_;
	AdwPreferencesGroup* _tmp10_;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp11_;
	GtkSwitch* _tmp12_;
	GtkSwitch* _tmp13_;
	GtkSwitch* _tmp14_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp15_;
	gboolean has_steam_launch_options = FALSE;
	ProtonPlusWidgetsGameRow* _tmp16_;
	ProtonPlusModelsGame* _tmp17_;
	ProtonPlusModelsGame* _tmp18_;
	ProtonPlusModelsLauncher* _tmp19_;
	ProtonPlusModelsLauncher* _tmp20_;
	AdwPreferencesGroup* _tmp21_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp22_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (model != NULL);
	g_return_if_fail (expression != NULL);
	_tmp0_ = (rows != NULL) ? _vala_array_dup1 (rows, rows_length1) : rows;
	_tmp0__length1 = rows_length1;
	self->priv->rows = (_vala_array_free (self->priv->rows, self->priv->rows_length1, (GDestroyNotify) g_object_unref), NULL);
	self->priv->rows = _tmp0_;
	self->priv->rows_length1 = _tmp0__length1;
	self->priv->_rows_size_ = self->priv->rows_length1;
	if (rows_length1 == 1) {
		gchar* _tmp2_;
		_tmp2_ = g_strdup (_ ("1 game selected"));
		_g_free0 (_tmp1_);
		_tmp1_ = _tmp2_;
	} else {
		gchar* _tmp3_;
		_tmp3_ = g_strdup_printf (_ ("%u games selected"), (guint) rows_length1);
		_g_free0 (_tmp1_);
		_tmp1_ = _tmp3_;
	}
	_tmp4_ = self->priv->_window_title;
	adw_window_title_set_subtitle (_tmp4_, _tmp1_);
	_tmp5_ = self->priv->_compatibility_tool_row;
	if (_tmp5_ != NULL) {
		AdwPreferencesGroup* _tmp6_;
		ProtonPlusWidgetsCompatibilityToolRow* _tmp7_;
		_tmp6_ = self->priv->_compatibility_tool_group;
		_tmp7_ = self->priv->_compatibility_tool_row;
		adw_preferences_group_remove (_tmp6_, (GtkWidget*) _tmp7_);
	}
	_tmp8_ = proton_plus_widgets_compatibility_tool_row_new (model, expression);
	g_object_ref_sink (_tmp8_);
	_tmp9_ = _tmp8_;
	proton_plus_widgets_mass_edit_view_set_compatibility_tool_row (self, _tmp9_);
	_g_object_unref0 (_tmp9_);
	_tmp10_ = self->priv->_compatibility_tool_group;
	_tmp11_ = self->priv->_compatibility_tool_row;
	adw_preferences_group_add (_tmp10_, (GtkWidget*) _tmp11_);
	_tmp12_ = self->priv->_modify_compatibility_tool_switch;
	gtk_switch_set_active (_tmp12_, FALSE);
	_tmp13_ = self->priv->_modify_launch_options_switch;
	gtk_switch_set_active (_tmp13_, FALSE);
	_tmp14_ = self->priv->_advanced_switch;
	gtk_switch_set_active (_tmp14_, FALSE);
	_tmp15_ = self->priv->_launch_options_editor;
	proton_plus_widgets_launch_options_editor_set_text (_tmp15_, "");
	_tmp16_ = rows[0];
	_tmp17_ = proton_plus_widgets_game_row_get_game (_tmp16_);
	_tmp18_ = _tmp17_;
	_tmp19_ = proton_plus_models_game_get_launcher (_tmp18_);
	_tmp20_ = _tmp19_;
	has_steam_launch_options = PROTON_PLUS_MODELS_LAUNCHERS_IS_STEAM (_tmp20_);
	_tmp21_ = self->priv->_launch_options_group;
	gtk_widget_set_visible ((GtkWidget*) _tmp21_, has_steam_launch_options);
	_tmp22_ = self->priv->_launch_options_editor;
	gtk_widget_set_visible ((GtkWidget*) _tmp22_, has_steam_launch_options);
	proton_plus_widgets_mass_edit_view_refresh (self);
	_g_free0 (_tmp1_);
}

static void
proton_plus_widgets_mass_edit_view_refresh (ProtonPlusWidgetsMassEditView* self)
{
	gboolean compatibility_tool_check = FALSE;
	GtkSwitch* _tmp0_;
	gboolean launch_options_check = FALSE;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GtkButton* _tmp5_;
	gboolean _tmp6_ = FALSE;
	GtkButton* _tmp7_;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp8_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp9_;
	GtkSwitch* _tmp10_;
	GtkLabel* _tmp11_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_modify_compatibility_tool_switch;
	compatibility_tool_check = gtk_switch_get_active (_tmp0_);
	_tmp1_ = self->priv->_modify_launch_options_switch;
	launch_options_check = gtk_switch_get_active (_tmp1_);
	if (compatibility_tool_check) {
		_tmp3_ = TRUE;
	} else {
		_tmp3_ = launch_options_check;
	}
	if (_tmp3_) {
		_tmp2_ = TRUE;
	} else {
		ProtonPlusWidgetsLaunchOptionsEditor* _tmp4_;
		_tmp4_ = self->priv->_launch_options_editor;
		_tmp2_ = proton_plus_widgets_launch_options_editor_has_clearable_state (_tmp4_);
	}
	_tmp5_ = self->priv->_clear_button;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp5_, _tmp2_);
	if (compatibility_tool_check) {
		_tmp6_ = TRUE;
	} else {
		_tmp6_ = launch_options_check;
	}
	_tmp7_ = self->priv->_apply_button;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp7_, _tmp6_);
	_tmp8_ = self->priv->_compatibility_tool_row;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp8_, compatibility_tool_check);
	_tmp9_ = self->priv->_launch_options_editor;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp9_, launch_options_check);
	_tmp10_ = self->priv->_advanced_switch;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp10_, launch_options_check);
	_tmp11_ = self->priv->_advanced_label;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp11_, launch_options_check);
}

static void
proton_plus_widgets_mass_edit_view_modify_row_active_changed (ProtonPlusWidgetsMassEditView* self)
{
	g_return_if_fail (self != NULL);
	proton_plus_widgets_mass_edit_view_refresh (self);
}

static void
proton_plus_widgets_mass_edit_view_clear_button_clicked (ProtonPlusWidgetsMassEditView* self)
{
	GtkSwitch* _tmp0_;
	GtkSwitch* _tmp1_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp2_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_modify_compatibility_tool_switch;
	gtk_switch_set_active (_tmp0_, FALSE);
	_tmp1_ = self->priv->_modify_launch_options_switch;
	gtk_switch_set_active (_tmp1_, FALSE);
	_tmp2_ = self->priv->_launch_options_editor;
	proton_plus_widgets_launch_options_editor_clear (_tmp2_);
	proton_plus_widgets_mass_edit_view_refresh (self);
}

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

static inline void
_g_list_free__g_object_unref0_ (GList* self)
{
	g_list_free_full (self, (GDestroyNotify) _g_object_unref0_);
}

static void
_g_free0_ (gpointer var)
{
	var = (g_free (var), NULL);
}

static inline void
_g_list_free__g_free0_ (GList* self)
{
	g_list_free_full (self, (GDestroyNotify) _g_free0_);
}

static void
proton_plus_widgets_mass_edit_view_apply_button_clicked (ProtonPlusWidgetsMassEditView* self)
{
	ProtonPlusModelsSimpleRunner* item = NULL;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp0_;
	GObject* _tmp1_;
	ProtonPlusModelsSimpleRunner* _tmp2_;
	GList* invalids = NULL;
	ProtonPlusWidgetsGameRow** _tmp3_;
	gint _tmp3__length1;
	GList* _tmp111_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_compatibility_tool_row;
	_tmp1_ = adw_combo_row_get_selected_item ((AdwComboRow*) _tmp0_);
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PROTON_PLUS_MODELS_TYPE_SIMPLE_RUNNER, ProtonPlusModelsSimpleRunner));
	item = _tmp2_;
	invalids = NULL;
	_tmp3_ = self->priv->rows;
	_tmp3__length1 = self->priv->rows_length1;
	{
		ProtonPlusWidgetsGameRow** row_collection = NULL;
		gint row_collection_length1 = 0;
		gint _row_collection_size_ = 0;
		gint row_it = 0;
		row_collection = _tmp3_;
		row_collection_length1 = _tmp3__length1;
		for (row_it = 0; row_it < row_collection_length1; row_it = row_it + 1) {
			ProtonPlusWidgetsGameRow* _tmp4_;
			ProtonPlusWidgetsGameRow* row = NULL;
			_tmp4_ = _g_object_ref0 (row_collection[row_it]);
			row = _tmp4_;
			{
				GtkSwitch* _tmp5_;
				gboolean _tmp70_ = FALSE;
				ProtonPlusWidgetsGameRow* _tmp71_;
				ProtonPlusModelsGame* _tmp72_;
				ProtonPlusModelsGame* _tmp73_;
				ProtonPlusModelsLauncher* _tmp74_;
				ProtonPlusModelsLauncher* _tmp75_;
				_tmp5_ = self->priv->_modify_compatibility_tool_switch;
				if (gtk_switch_get_active (_tmp5_)) {
					GList* valids = NULL;
					gboolean success = FALSE;
					ProtonPlusWidgetsGameRow* _tmp6_;
					ProtonPlusModelsGame* _tmp7_;
					ProtonPlusModelsGame* _tmp8_;
					ProtonPlusModelsSimpleRunner* _tmp9_;
					const gchar* _tmp10_;
					const gchar* _tmp11_;
					gboolean _tmp12_ = FALSE;
					GList* _tmp28_;
					valids = NULL;
					_tmp6_ = row;
					_tmp7_ = proton_plus_widgets_game_row_get_game (_tmp6_);
					_tmp8_ = _tmp7_;
					_tmp9_ = item;
					_tmp10_ = proton_plus_models_simple_runner_get_internal_title (_tmp9_);
					_tmp11_ = _tmp10_;
					success = proton_plus_models_game_change_compatibility_tool (_tmp8_, _tmp11_);
					if (!success) {
						GList* _tmp13_;
						ProtonPlusWidgetsGameRow* _tmp14_;
						ProtonPlusModelsGame* _tmp15_;
						ProtonPlusModelsGame* _tmp16_;
						const gchar* _tmp17_;
						const gchar* _tmp18_;
						GList* _tmp19_;
						_tmp13_ = invalids;
						_tmp14_ = row;
						_tmp15_ = proton_plus_widgets_game_row_get_game (_tmp14_);
						_tmp16_ = _tmp15_;
						_tmp17_ = proton_plus_models_game_get_name (_tmp16_);
						_tmp18_ = _tmp17_;
						_tmp19_ = g_list_find (_tmp13_, _tmp18_);
						_tmp12_ = _tmp19_ == NULL;
					} else {
						_tmp12_ = FALSE;
					}
					if (_tmp12_) {
						ProtonPlusWidgetsGameRow* _tmp20_;
						ProtonPlusModelsGame* _tmp21_;
						ProtonPlusModelsGame* _tmp22_;
						const gchar* _tmp23_;
						const gchar* _tmp24_;
						gchar* _tmp25_;
						_tmp20_ = row;
						_tmp21_ = proton_plus_widgets_game_row_get_game (_tmp20_);
						_tmp22_ = _tmp21_;
						_tmp23_ = proton_plus_models_game_get_name (_tmp22_);
						_tmp24_ = _tmp23_;
						_tmp25_ = g_strdup (_tmp24_);
						invalids = g_list_append (invalids, _tmp25_);
					} else {
						ProtonPlusWidgetsGameRow* _tmp26_;
						ProtonPlusWidgetsGameRow* _tmp27_;
						_tmp26_ = row;
						_tmp27_ = _g_object_ref0 (_tmp26_);
						valids = g_list_append (valids, _tmp27_);
					}
					_tmp28_ = valids;
					if (g_list_length (_tmp28_) > ((guint) 0)) {
						GList* _tmp29_;
						_tmp29_ = valids;
						{
							GList* valid_row_collection = NULL;
							GList* valid_row_it = NULL;
							valid_row_collection = _tmp29_;
							for (valid_row_it = valid_row_collection; valid_row_it != NULL; valid_row_it = valid_row_it->next) {
								ProtonPlusWidgetsGameRow* _tmp30_;
								ProtonPlusWidgetsGameRow* valid_row = NULL;
								_tmp30_ = _g_object_ref0 ((ProtonPlusWidgetsGameRow*) valid_row_it->data);
								valid_row = _tmp30_;
								{
									ProtonPlusWidgetsGameRow* _tmp31_;
									ProtonPlusWidgetsCompatibilityToolDropDown* _tmp32_;
									ProtonPlusWidgetsGameRow* _tmp33_;
									ProtonPlusModelsGame* _tmp34_;
									ProtonPlusModelsGame* _tmp35_;
									const gchar* _tmp36_;
									const gchar* _tmp37_;
									_tmp31_ = valid_row;
									_tmp32_ = _tmp31_->compatibility_tool_dropdown;
									_tmp32_->skip = TRUE;
									_tmp33_ = valid_row;
									_tmp34_ = proton_plus_widgets_game_row_get_game (_tmp33_);
									_tmp35_ = _tmp34_;
									_tmp36_ = proton_plus_models_game_get_compatibility_tool (_tmp35_);
									_tmp37_ = _tmp36_;
									if (g_strcmp0 (_tmp37_, _ ("Undefined")) == 0) {
										ProtonPlusWidgetsGameRow* _tmp38_;
										ProtonPlusWidgetsCompatibilityToolDropDown* _tmp39_;
										GtkDropDown* _tmp40_;
										_tmp38_ = valid_row;
										_tmp39_ = _tmp38_->compatibility_tool_dropdown;
										_tmp40_ = _tmp39_->dropdown;
										gtk_drop_down_set_selected (_tmp40_, (guint) 0);
									} else {
										{
											gint i = 0;
											i = 0;
											{
												gboolean _tmp41_ = FALSE;
												_tmp41_ = TRUE;
												while (TRUE) {
													ProtonPlusWidgetsGameRow* _tmp43_;
													ProtonPlusModelsGame* _tmp44_;
													ProtonPlusModelsGame* _tmp45_;
													ProtonPlusModelsLauncher* _tmp46_;
													ProtonPlusModelsLauncher* _tmp47_;
													GeeArrayList* _tmp48_;
													gint _tmp49_;
													gint _tmp50_;
													ProtonPlusWidgetsGameRow* _tmp51_;
													ProtonPlusModelsGame* _tmp52_;
													ProtonPlusModelsGame* _tmp53_;
													const gchar* _tmp54_;
													const gchar* _tmp55_;
													ProtonPlusWidgetsGameRow* _tmp56_;
													ProtonPlusModelsGame* _tmp57_;
													ProtonPlusModelsGame* _tmp58_;
													ProtonPlusModelsLauncher* _tmp59_;
													ProtonPlusModelsLauncher* _tmp60_;
													GeeArrayList* _tmp61_;
													gpointer _tmp62_;
													ProtonPlusModelsSimpleRunner* _tmp63_;
													const gchar* _tmp64_;
													const gchar* _tmp65_;
													gboolean _tmp66_;
													if (!_tmp41_) {
														gint _tmp42_;
														_tmp42_ = i;
														i = _tmp42_ + 1;
													}
													_tmp41_ = FALSE;
													_tmp43_ = valid_row;
													_tmp44_ = proton_plus_widgets_game_row_get_game (_tmp43_);
													_tmp45_ = _tmp44_;
													_tmp46_ = proton_plus_models_game_get_launcher (_tmp45_);
													_tmp47_ = _tmp46_;
													_tmp48_ = _tmp47_->compatibility_tools;
													_tmp49_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp48_);
													_tmp50_ = _tmp49_;
													if (!(i < _tmp50_)) {
														break;
													}
													_tmp51_ = valid_row;
													_tmp52_ = proton_plus_widgets_game_row_get_game (_tmp51_);
													_tmp53_ = _tmp52_;
													_tmp54_ = proton_plus_models_game_get_compatibility_tool (_tmp53_);
													_tmp55_ = _tmp54_;
													_tmp56_ = valid_row;
													_tmp57_ = proton_plus_widgets_game_row_get_game (_tmp56_);
													_tmp58_ = _tmp57_;
													_tmp59_ = proton_plus_models_game_get_launcher (_tmp58_);
													_tmp60_ = _tmp59_;
													_tmp61_ = _tmp60_->compatibility_tools;
													_tmp62_ = gee_abstract_list_get ((GeeAbstractList*) _tmp61_, i);
													_tmp63_ = (ProtonPlusModelsSimpleRunner*) _tmp62_;
													_tmp64_ = proton_plus_models_simple_runner_get_internal_title (_tmp63_);
													_tmp65_ = _tmp64_;
													_tmp66_ = g_strcmp0 (_tmp55_, _tmp65_) == 0;
													_g_object_unref0 (_tmp63_);
													if (_tmp66_) {
														ProtonPlusWidgetsGameRow* _tmp67_;
														ProtonPlusWidgetsCompatibilityToolDropDown* _tmp68_;
														GtkDropDown* _tmp69_;
														_tmp67_ = valid_row;
														_tmp68_ = _tmp67_->compatibility_tool_dropdown;
														_tmp69_ = _tmp68_->dropdown;
														gtk_drop_down_set_selected (_tmp69_, (guint) (i + 1));
														break;
													}
												}
											}
										}
									}
									_g_object_unref0 (valid_row);
								}
							}
						}
					}
					(valids == NULL) ? NULL : (valids = (_g_list_free__g_object_unref0_ (valids), NULL));
				}
				_tmp71_ = row;
				_tmp72_ = proton_plus_widgets_game_row_get_game (_tmp71_);
				_tmp73_ = _tmp72_;
				_tmp74_ = proton_plus_models_game_get_launcher (_tmp73_);
				_tmp75_ = _tmp74_;
				if (PROTON_PLUS_MODELS_LAUNCHERS_IS_STEAM (_tmp75_)) {
					GtkSwitch* _tmp76_;
					_tmp76_ = self->priv->_modify_launch_options_switch;
					_tmp70_ = gtk_switch_get_active (_tmp76_);
				} else {
					_tmp70_ = FALSE;
				}
				if (_tmp70_) {
					GList* valids = NULL;
					ProtonPlusModelsGamesSteam* steam_game = NULL;
					ProtonPlusWidgetsGameRow* _tmp77_;
					ProtonPlusModelsGame* _tmp78_;
					ProtonPlusModelsGame* _tmp79_;
					ProtonPlusModelsGamesSteam* _tmp80_;
					ProtonPlusModelsLaunchersSteam* steam_launcher = NULL;
					ProtonPlusModelsGamesSteam* _tmp81_;
					ProtonPlusModelsLauncher* _tmp82_;
					ProtonPlusModelsLauncher* _tmp83_;
					ProtonPlusModelsLaunchersSteam* _tmp84_;
					gboolean success = FALSE;
					ProtonPlusModelsGamesSteam* _tmp85_;
					ProtonPlusWidgetsLaunchOptionsEditor* _tmp86_;
					gchar* _tmp87_;
					gchar* _tmp88_;
					ProtonPlusModelsLaunchersSteam* _tmp89_;
					ProtonPlusModelsSteamProfile* _tmp90_;
					ProtonPlusModelsSteamProfile* _tmp91_;
					const gchar* _tmp92_;
					const gchar* _tmp93_;
					gboolean _tmp94_;
					gboolean _tmp95_ = FALSE;
					valids = NULL;
					_tmp77_ = row;
					_tmp78_ = proton_plus_widgets_game_row_get_game (_tmp77_);
					_tmp79_ = _tmp78_;
					_tmp80_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteam));
					steam_game = _tmp80_;
					_tmp81_ = steam_game;
					_tmp82_ = proton_plus_models_game_get_launcher ((ProtonPlusModelsGame*) _tmp81_);
					_tmp83_ = _tmp82_;
					_tmp84_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM, ProtonPlusModelsLaunchersSteam));
					steam_launcher = _tmp84_;
					_tmp85_ = steam_game;
					_tmp86_ = self->priv->_launch_options_editor;
					_tmp87_ = proton_plus_widgets_launch_options_editor_get_text (_tmp86_);
					_tmp88_ = _tmp87_;
					_tmp89_ = steam_launcher;
					_tmp90_ = proton_plus_models_launchers_steam_get_profile (_tmp89_);
					_tmp91_ = _tmp90_;
					_tmp92_ = proton_plus_models_steam_profile_get_localconfig_path (_tmp91_);
					_tmp93_ = _tmp92_;
					_tmp94_ = proton_plus_models_games_steam_change_launch_options (_tmp85_, _tmp88_, _tmp93_);
					_g_free0 (_tmp88_);
					success = _tmp94_;
					if (!success) {
						GList* _tmp96_;
						ProtonPlusWidgetsGameRow* _tmp97_;
						ProtonPlusModelsGame* _tmp98_;
						ProtonPlusModelsGame* _tmp99_;
						const gchar* _tmp100_;
						const gchar* _tmp101_;
						GList* _tmp102_;
						_tmp96_ = invalids;
						_tmp97_ = row;
						_tmp98_ = proton_plus_widgets_game_row_get_game (_tmp97_);
						_tmp99_ = _tmp98_;
						_tmp100_ = proton_plus_models_game_get_name (_tmp99_);
						_tmp101_ = _tmp100_;
						_tmp102_ = g_list_find (_tmp96_, _tmp101_);
						_tmp95_ = _tmp102_ == NULL;
					} else {
						_tmp95_ = FALSE;
					}
					if (_tmp95_) {
						ProtonPlusWidgetsGameRow* _tmp103_;
						ProtonPlusModelsGame* _tmp104_;
						ProtonPlusModelsGame* _tmp105_;
						const gchar* _tmp106_;
						const gchar* _tmp107_;
						gchar* _tmp108_;
						_tmp103_ = row;
						_tmp104_ = proton_plus_widgets_game_row_get_game (_tmp103_);
						_tmp105_ = _tmp104_;
						_tmp106_ = proton_plus_models_game_get_name (_tmp105_);
						_tmp107_ = _tmp106_;
						_tmp108_ = g_strdup (_tmp107_);
						invalids = g_list_append (invalids, _tmp108_);
					} else {
						ProtonPlusWidgetsGameRow* _tmp109_;
						ProtonPlusWidgetsGameRow* _tmp110_;
						_tmp109_ = row;
						_tmp110_ = _g_object_ref0 (_tmp109_);
						valids = g_list_append (valids, _tmp110_);
					}
					_g_object_unref0 (steam_launcher);
					_g_object_unref0 (steam_game);
					(valids == NULL) ? NULL : (valids = (_g_list_free__g_object_unref0_ (valids), NULL));
				}
				_g_object_unref0 (row);
			}
		}
	}
	_tmp111_ = invalids;
	if (g_list_length (_tmp111_) > ((guint) 0)) {
		gchar* names = NULL;
		gchar* _tmp112_;
		ProtonPlusWidgetsErrorDialog* dialog = NULL;
		const gchar* _tmp125_;
		gchar* _tmp126_;
		gchar* _tmp127_;
		ProtonPlusWidgetsErrorDialog* _tmp128_;
		ProtonPlusWidgetsErrorDialog* _tmp129_;
		ProtonPlusWidgetsErrorDialog* _tmp130_;
		ProtonPlusWidgetsWindow* _tmp131_;
		_tmp112_ = g_strdup ("");
		names = _tmp112_;
		{
			gint i = 0;
			i = 0;
			{
				gboolean _tmp113_ = FALSE;
				_tmp113_ = TRUE;
				while (TRUE) {
					GList* _tmp115_;
					const gchar* _tmp116_;
					GList* _tmp117_;
					gconstpointer _tmp118_;
					gchar* _tmp119_;
					gchar* _tmp120_;
					gchar* _tmp121_;
					GList* _tmp122_;
					if (!_tmp113_) {
						gint _tmp114_;
						_tmp114_ = i;
						i = _tmp114_ + 1;
					}
					_tmp113_ = FALSE;
					_tmp115_ = invalids;
					if (!(((guint) i) < g_list_length (_tmp115_))) {
						break;
					}
					_tmp116_ = names;
					_tmp117_ = invalids;
					_tmp118_ = g_list_nth_data (_tmp117_, (guint) i);
					_tmp119_ = g_strdup_printf ("- %s", (const gchar*) _tmp118_);
					_tmp120_ = _tmp119_;
					_tmp121_ = g_strconcat (_tmp116_, _tmp120_, NULL);
					_g_free0 (names);
					names = _tmp121_;
					_g_free0 (_tmp120_);
					_tmp122_ = invalids;
					if (((guint) i) != (g_list_length (_tmp122_) - 1)) {
						const gchar* _tmp123_;
						gchar* _tmp124_;
						_tmp123_ = names;
						_tmp124_ = g_strconcat (_tmp123_, "\n", NULL);
						_g_free0 (names);
						names = _tmp124_;
					}
				}
			}
		}
		_tmp125_ = names;
		_tmp126_ = g_strdup_printf ("%s\n\n%s\n\n%s", _ ("The following games had an issue:"), _tmp125_, _ ("Please report this issue on GitHub."));
		_tmp127_ = _tmp126_;
		_tmp128_ = proton_plus_widgets_error_dialog_new (_ ("Couldn't change the compatibility tool/launch options of the selected " \
"games"), _tmp127_);
		g_object_ref_sink (_tmp128_);
		_tmp129_ = _tmp128_;
		_g_free0 (_tmp127_);
		dialog = _tmp129_;
		_tmp130_ = dialog;
		_tmp131_ = proton_plus_widgets_application_window;
		adw_dialog_present ((AdwDialog*) _tmp130_, (GtkWidget*) _tmp131_);
		_g_object_unref0 (dialog);
		_g_free0 (names);
	}
	g_signal_emit (self, proton_plus_widgets_mass_edit_view_signals[PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_BACK_REQUESTED_SIGNAL], 0);
	(invalids == NULL) ? NULL : (invalids = (_g_list_free__g_free0_ (invalids), NULL));
	_g_object_unref0 (item);
}

ProtonPlusWidgetsMassEditView*
proton_plus_widgets_mass_edit_view_construct (GType object_type)
{
	ProtonPlusWidgetsMassEditView * self = NULL;
	self = (ProtonPlusWidgetsMassEditView*) g_object_new (object_type, NULL);
	return self;
}

ProtonPlusWidgetsMassEditView*
proton_plus_widgets_mass_edit_view_new (void)
{
	return proton_plus_widgets_mass_edit_view_construct (PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW);
}

static AdwWindowTitle*
proton_plus_widgets_mass_edit_view_get_window_title (ProtonPlusWidgetsMassEditView* self)
{
	AdwWindowTitle* result;
	AdwWindowTitle* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_window_title;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_window_title (ProtonPlusWidgetsMassEditView* self,
                                                     AdwWindowTitle* value)
{
	AdwWindowTitle* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_window_title);
	self->priv->_window_title = _tmp0_;
}

static GtkButton*
proton_plus_widgets_mass_edit_view_get_back_button (ProtonPlusWidgetsMassEditView* self)
{
	GtkButton* result;
	GtkButton* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_back_button;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_back_button (ProtonPlusWidgetsMassEditView* self,
                                                    GtkButton* value)
{
	GtkButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_back_button);
	self->priv->_back_button = _tmp0_;
}

static GtkButton*
proton_plus_widgets_mass_edit_view_get_clear_button (ProtonPlusWidgetsMassEditView* self)
{
	GtkButton* result;
	GtkButton* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_clear_button;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_clear_button (ProtonPlusWidgetsMassEditView* self,
                                                     GtkButton* value)
{
	GtkButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_clear_button);
	self->priv->_clear_button = _tmp0_;
}

static GtkLabel*
proton_plus_widgets_mass_edit_view_get_advanced_label (ProtonPlusWidgetsMassEditView* self)
{
	GtkLabel* result;
	GtkLabel* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_advanced_label;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_advanced_label (ProtonPlusWidgetsMassEditView* self,
                                                       GtkLabel* value)
{
	GtkLabel* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_advanced_label);
	self->priv->_advanced_label = _tmp0_;
}

static GtkSwitch*
proton_plus_widgets_mass_edit_view_get_advanced_switch (ProtonPlusWidgetsMassEditView* self)
{
	GtkSwitch* result;
	GtkSwitch* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_advanced_switch;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_advanced_switch (ProtonPlusWidgetsMassEditView* self,
                                                        GtkSwitch* value)
{
	GtkSwitch* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_advanced_switch);
	self->priv->_advanced_switch = _tmp0_;
}

static GtkBox*
proton_plus_widgets_mass_edit_view_get_advanced_box (ProtonPlusWidgetsMassEditView* self)
{
	GtkBox* result;
	GtkBox* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_advanced_box;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_advanced_box (ProtonPlusWidgetsMassEditView* self,
                                                     GtkBox* value)
{
	GtkBox* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_advanced_box);
	self->priv->_advanced_box = _tmp0_;
}

static GtkButton*
proton_plus_widgets_mass_edit_view_get_apply_button (ProtonPlusWidgetsMassEditView* self)
{
	GtkButton* result;
	GtkButton* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_apply_button;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_apply_button (ProtonPlusWidgetsMassEditView* self,
                                                     GtkButton* value)
{
	GtkButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_apply_button);
	self->priv->_apply_button = _tmp0_;
}

static AdwHeaderBar*
proton_plus_widgets_mass_edit_view_get_header_bar (ProtonPlusWidgetsMassEditView* self)
{
	AdwHeaderBar* result;
	AdwHeaderBar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_header_bar;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_header_bar (ProtonPlusWidgetsMassEditView* self,
                                                   AdwHeaderBar* value)
{
	AdwHeaderBar* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_header_bar);
	self->priv->_header_bar = _tmp0_;
}

static AdwClamp*
proton_plus_widgets_mass_edit_view_get_content_clamp (ProtonPlusWidgetsMassEditView* self)
{
	AdwClamp* result;
	AdwClamp* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_content_clamp;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_content_clamp (ProtonPlusWidgetsMassEditView* self,
                                                      AdwClamp* value)
{
	AdwClamp* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_content_clamp);
	self->priv->_content_clamp = _tmp0_;
}

static GtkScrolledWindow*
proton_plus_widgets_mass_edit_view_get_scrolled_window (ProtonPlusWidgetsMassEditView* self)
{
	GtkScrolledWindow* result;
	GtkScrolledWindow* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_scrolled_window;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_scrolled_window (ProtonPlusWidgetsMassEditView* self,
                                                        GtkScrolledWindow* value)
{
	GtkScrolledWindow* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_scrolled_window);
	self->priv->_scrolled_window = _tmp0_;
}

static GtkSwitch*
proton_plus_widgets_mass_edit_view_get_modify_compatibility_tool_switch (ProtonPlusWidgetsMassEditView* self)
{
	GtkSwitch* result;
	GtkSwitch* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_modify_compatibility_tool_switch;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_modify_compatibility_tool_switch (ProtonPlusWidgetsMassEditView* self,
                                                                         GtkSwitch* value)
{
	GtkSwitch* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_modify_compatibility_tool_switch);
	self->priv->_modify_compatibility_tool_switch = _tmp0_;
}

static ProtonPlusWidgetsCompatibilityToolRow*
proton_plus_widgets_mass_edit_view_get_compatibility_tool_row (ProtonPlusWidgetsMassEditView* self)
{
	ProtonPlusWidgetsCompatibilityToolRow* result;
	ProtonPlusWidgetsCompatibilityToolRow* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_compatibility_tool_row;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_compatibility_tool_row (ProtonPlusWidgetsMassEditView* self,
                                                               ProtonPlusWidgetsCompatibilityToolRow* value)
{
	ProtonPlusWidgetsCompatibilityToolRow* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_compatibility_tool_row);
	self->priv->_compatibility_tool_row = _tmp0_;
}

static AdwPreferencesGroup*
proton_plus_widgets_mass_edit_view_get_compatibility_tool_group (ProtonPlusWidgetsMassEditView* self)
{
	AdwPreferencesGroup* result;
	AdwPreferencesGroup* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_compatibility_tool_group;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_compatibility_tool_group (ProtonPlusWidgetsMassEditView* self,
                                                                 AdwPreferencesGroup* value)
{
	AdwPreferencesGroup* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_compatibility_tool_group);
	self->priv->_compatibility_tool_group = _tmp0_;
}

static GtkSwitch*
proton_plus_widgets_mass_edit_view_get_modify_launch_options_switch (ProtonPlusWidgetsMassEditView* self)
{
	GtkSwitch* result;
	GtkSwitch* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_modify_launch_options_switch;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_modify_launch_options_switch (ProtonPlusWidgetsMassEditView* self,
                                                                     GtkSwitch* value)
{
	GtkSwitch* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_modify_launch_options_switch);
	self->priv->_modify_launch_options_switch = _tmp0_;
}

static AdwPreferencesGroup*
proton_plus_widgets_mass_edit_view_get_launch_options_group (ProtonPlusWidgetsMassEditView* self)
{
	AdwPreferencesGroup* result;
	AdwPreferencesGroup* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_launch_options_group;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_launch_options_group (ProtonPlusWidgetsMassEditView* self,
                                                             AdwPreferencesGroup* value)
{
	AdwPreferencesGroup* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_launch_options_group);
	self->priv->_launch_options_group = _tmp0_;
}

static ProtonPlusWidgetsLaunchOptionsEditor*
proton_plus_widgets_mass_edit_view_get_launch_options_editor (ProtonPlusWidgetsMassEditView* self)
{
	ProtonPlusWidgetsLaunchOptionsEditor* result;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_launch_options_editor;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_launch_options_editor (ProtonPlusWidgetsMassEditView* self,
                                                              ProtonPlusWidgetsLaunchOptionsEditor* value)
{
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_launch_options_editor);
	self->priv->_launch_options_editor = _tmp0_;
}

static GtkBox*
proton_plus_widgets_mass_edit_view_get_content_box (ProtonPlusWidgetsMassEditView* self)
{
	GtkBox* result;
	GtkBox* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_content_box;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_content_box (ProtonPlusWidgetsMassEditView* self,
                                                    GtkBox* value)
{
	GtkBox* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_content_box);
	self->priv->_content_box = _tmp0_;
}

static AdwToolbarView*
proton_plus_widgets_mass_edit_view_get_toolbar_view (ProtonPlusWidgetsMassEditView* self)
{
	AdwToolbarView* result;
	AdwToolbarView* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_toolbar_view;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_mass_edit_view_set_toolbar_view (ProtonPlusWidgetsMassEditView* self,
                                                     AdwToolbarView* value)
{
	AdwToolbarView* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_toolbar_view);
	self->priv->_toolbar_view = _tmp0_;
}

static void
_proton_plus_widgets_mass_edit_view___lambda46_ (ProtonPlusWidgetsMassEditView* self)
{
	g_signal_emit (self, proton_plus_widgets_mass_edit_view_signals[PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_BACK_REQUESTED_SIGNAL], 0);
}

static void
__proton_plus_widgets_mass_edit_view___lambda46__gtk_button_clicked (GtkButton* _sender,
                                                                     gpointer self)
{
	_proton_plus_widgets_mass_edit_view___lambda46_ ((ProtonPlusWidgetsMassEditView*) self);
}

static void
_proton_plus_widgets_mass_edit_view_clear_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                             gpointer self)
{
	proton_plus_widgets_mass_edit_view_clear_button_clicked ((ProtonPlusWidgetsMassEditView*) self);
}

static void
_proton_plus_widgets_mass_edit_view_apply_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                             gpointer self)
{
	proton_plus_widgets_mass_edit_view_apply_button_clicked ((ProtonPlusWidgetsMassEditView*) self);
}

static void
_proton_plus_widgets_mass_edit_view_modify_row_active_changed_g_object_notify (GObject* _sender,
                                                                               GParamSpec* pspec,
                                                                               gpointer self)
{
	proton_plus_widgets_mass_edit_view_modify_row_active_changed ((ProtonPlusWidgetsMassEditView*) self);
}

static void
_proton_plus_widgets_mass_edit_view___lambda47_ (ProtonPlusWidgetsMassEditView* self)
{
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp0_;
	GtkSwitch* _tmp1_;
	_tmp0_ = self->priv->_launch_options_editor;
	_tmp1_ = self->priv->_advanced_switch;
	proton_plus_widgets_launch_options_editor_set_advanced_visible (_tmp0_, gtk_switch_get_active (_tmp1_));
}

static void
__proton_plus_widgets_mass_edit_view___lambda47__g_object_notify (GObject* _sender,
                                                                  GParamSpec* pspec,
                                                                  gpointer self)
{
	_proton_plus_widgets_mass_edit_view___lambda47_ ((ProtonPlusWidgetsMassEditView*) self);
}

static GObject *
proton_plus_widgets_mass_edit_view_constructor (GType type,
                                                guint n_construct_properties,
                                                GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	ProtonPlusWidgetsMassEditView * self;
	AdwWindowTitle* _tmp0_;
	AdwWindowTitle* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	GtkButton* _tmp4_;
	GtkButton* _tmp5_;
	GtkButton* _tmp6_;
	GtkButton* _tmp7_;
	GtkButton* _tmp8_;
	GtkButton* _tmp9_;
	GtkButton* _tmp10_;
	GtkButton* _tmp11_;
	GtkButton* _tmp12_;
	GtkLabel* _tmp13_;
	GtkLabel* _tmp14_;
	GtkSwitch* _tmp15_;
	GtkSwitch* _tmp16_;
	GtkSwitch* _tmp17_;
	GtkBox* _tmp18_;
	GtkBox* _tmp19_;
	GtkBox* _tmp20_;
	GtkBox* _tmp21_;
	GtkLabel* _tmp22_;
	GtkBox* _tmp23_;
	GtkSwitch* _tmp24_;
	GtkButton* _tmp25_;
	GtkButton* _tmp26_;
	GtkButton* _tmp27_;
	GtkButton* _tmp28_;
	GtkButton* _tmp29_;
	AdwHeaderBar* _tmp30_;
	AdwHeaderBar* _tmp31_;
	AdwHeaderBar* _tmp32_;
	AdwWindowTitle* _tmp33_;
	AdwHeaderBar* _tmp34_;
	GtkButton* _tmp35_;
	AdwHeaderBar* _tmp36_;
	GtkButton* _tmp37_;
	AdwHeaderBar* _tmp38_;
	GtkButton* _tmp39_;
	AdwHeaderBar* _tmp40_;
	GtkBox* _tmp41_;
	GtkSwitch* _tmp42_;
	GtkSwitch* _tmp43_;
	GtkSwitch* _tmp44_;
	GtkSwitch* _tmp45_;
	GtkSwitch* _tmp46_;
	AdwPreferencesGroup* _tmp47_;
	AdwPreferencesGroup* _tmp48_;
	AdwPreferencesGroup* _tmp49_;
	AdwPreferencesGroup* _tmp50_;
	GtkSwitch* _tmp51_;
	AdwPreferencesGroup* _tmp52_;
	GtkSwitch* _tmp53_;
	GtkSwitch* _tmp54_;
	GtkSwitch* _tmp55_;
	GtkSwitch* _tmp56_;
	GtkSwitch* _tmp57_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp58_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp59_;
	GtkSwitch* _tmp60_;
	AdwPreferencesGroup* _tmp61_;
	AdwPreferencesGroup* _tmp62_;
	AdwPreferencesGroup* _tmp63_;
	AdwPreferencesGroup* _tmp64_;
	GtkSwitch* _tmp65_;
	GtkBox* _tmp66_;
	GtkBox* _tmp67_;
	GtkBox* _tmp68_;
	AdwPreferencesGroup* _tmp69_;
	GtkBox* _tmp70_;
	AdwPreferencesGroup* _tmp71_;
	GtkBox* _tmp72_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp73_;
	AdwClamp* _tmp74_;
	AdwClamp* _tmp75_;
	AdwClamp* _tmp76_;
	AdwClamp* _tmp77_;
	GtkBox* _tmp78_;
	GtkScrolledWindow* _tmp79_;
	GtkScrolledWindow* _tmp80_;
	GtkScrolledWindow* _tmp81_;
	GtkScrolledWindow* _tmp82_;
	GtkScrolledWindow* _tmp83_;
	GtkScrolledWindow* _tmp84_;
	AdwClamp* _tmp85_;
	AdwToolbarView* _tmp86_;
	AdwToolbarView* _tmp87_;
	AdwToolbarView* _tmp88_;
	AdwHeaderBar* _tmp89_;
	AdwToolbarView* _tmp90_;
	GtkScrolledWindow* _tmp91_;
	AdwToolbarView* _tmp92_;
	parent_class = G_OBJECT_CLASS (proton_plus_widgets_mass_edit_view_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditView);
	gtk_orientable_set_orientation ((GtkOrientable*) self, GTK_ORIENTATION_VERTICAL);
	_tmp0_ = (AdwWindowTitle*) adw_window_title_new (_ ("Mass edit"), "");
	g_object_ref_sink (_tmp0_);
	_tmp1_ = _tmp0_;
	proton_plus_widgets_mass_edit_view_set_window_title (self, _tmp1_);
	_g_object_unref0 (_tmp1_);
	_tmp2_ = (GtkButton*) gtk_button_new_from_icon_name ("go-previous-symbolic");
	g_object_ref_sink (_tmp2_);
	_tmp3_ = _tmp2_;
	proton_plus_widgets_mass_edit_view_set_back_button (self, _tmp3_);
	_g_object_unref0 (_tmp3_);
	_tmp4_ = self->priv->_back_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp4_, "flat");
	_tmp5_ = self->priv->_back_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp5_, _ ("Back"));
	_tmp6_ = self->priv->_back_button;
	g_signal_connect_object (_tmp6_, "clicked", (GCallback) __proton_plus_widgets_mass_edit_view___lambda46__gtk_button_clicked, self, 0);
	_tmp7_ = (GtkButton*) gtk_button_new_from_icon_name ("eraser-symbolic");
	g_object_ref_sink (_tmp7_);
	_tmp8_ = _tmp7_;
	proton_plus_widgets_mass_edit_view_set_clear_button (self, _tmp8_);
	_g_object_unref0 (_tmp8_);
	_tmp9_ = self->priv->_clear_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp9_, "flat");
	_tmp10_ = self->priv->_clear_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp10_, "clear-button");
	_tmp11_ = self->priv->_clear_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp11_, _ ("Clear the current launch options"));
	_tmp12_ = self->priv->_clear_button;
	g_signal_connect_object (_tmp12_, "clicked", (GCallback) _proton_plus_widgets_mass_edit_view_clear_button_clicked_gtk_button_clicked, self, 0);
	_tmp13_ = (GtkLabel*) gtk_label_new (_ ("Advanced"));
	g_object_ref_sink (_tmp13_);
	_tmp14_ = _tmp13_;
	proton_plus_widgets_mass_edit_view_set_advanced_label (self, _tmp14_);
	_g_object_unref0 (_tmp14_);
	_tmp15_ = (GtkSwitch*) gtk_switch_new ();
	g_object_ref_sink (_tmp15_);
	_tmp16_ = _tmp15_;
	proton_plus_widgets_mass_edit_view_set_advanced_switch (self, _tmp16_);
	_g_object_unref0 (_tmp16_);
	_tmp17_ = self->priv->_advanced_switch;
	gtk_widget_set_valign ((GtkWidget*) _tmp17_, GTK_ALIGN_CENTER);
	_tmp18_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
	g_object_ref_sink (_tmp18_);
	_tmp19_ = _tmp18_;
	proton_plus_widgets_mass_edit_view_set_advanced_box (self, _tmp19_);
	_g_object_unref0 (_tmp19_);
	_tmp20_ = self->priv->_advanced_box;
	gtk_widget_set_valign ((GtkWidget*) _tmp20_, GTK_ALIGN_CENTER);
	_tmp21_ = self->priv->_advanced_box;
	_tmp22_ = self->priv->_advanced_label;
	gtk_box_append (_tmp21_, (GtkWidget*) _tmp22_);
	_tmp23_ = self->priv->_advanced_box;
	_tmp24_ = self->priv->_advanced_switch;
	gtk_box_append (_tmp23_, (GtkWidget*) _tmp24_);
	_tmp25_ = (GtkButton*) gtk_button_new_from_icon_name ("floppy-disk-symbolic");
	g_object_ref_sink (_tmp25_);
	_tmp26_ = _tmp25_;
	proton_plus_widgets_mass_edit_view_set_apply_button (self, _tmp26_);
	_g_object_unref0 (_tmp26_);
	_tmp27_ = self->priv->_apply_button;
	gtk_widget_add_css_class ((GtkWidget*) _tmp27_, "suggested-action");
	_tmp28_ = self->priv->_apply_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp28_, _ ("Apply the current modifications"));
	_tmp29_ = self->priv->_apply_button;
	g_signal_connect_object (_tmp29_, "clicked", (GCallback) _proton_plus_widgets_mass_edit_view_apply_button_clicked_gtk_button_clicked, self, 0);
	_tmp30_ = (AdwHeaderBar*) adw_header_bar_new ();
	g_object_ref_sink (_tmp30_);
	_tmp31_ = _tmp30_;
	proton_plus_widgets_mass_edit_view_set_header_bar (self, _tmp31_);
	_g_object_unref0 (_tmp31_);
	_tmp32_ = self->priv->_header_bar;
	_tmp33_ = self->priv->_window_title;
	adw_header_bar_set_title_widget (_tmp32_, (GtkWidget*) _tmp33_);
	_tmp34_ = self->priv->_header_bar;
	_tmp35_ = self->priv->_back_button;
	adw_header_bar_pack_start (_tmp34_, (GtkWidget*) _tmp35_);
	_tmp36_ = self->priv->_header_bar;
	_tmp37_ = self->priv->_clear_button;
	adw_header_bar_pack_start (_tmp36_, (GtkWidget*) _tmp37_);
	_tmp38_ = self->priv->_header_bar;
	_tmp39_ = self->priv->_apply_button;
	adw_header_bar_pack_end (_tmp38_, (GtkWidget*) _tmp39_);
	_tmp40_ = self->priv->_header_bar;
	_tmp41_ = self->priv->_advanced_box;
	adw_header_bar_pack_end (_tmp40_, (GtkWidget*) _tmp41_);
	_tmp42_ = (GtkSwitch*) gtk_switch_new ();
	g_object_ref_sink (_tmp42_);
	_tmp43_ = _tmp42_;
	proton_plus_widgets_mass_edit_view_set_modify_compatibility_tool_switch (self, _tmp43_);
	_g_object_unref0 (_tmp43_);
	_tmp44_ = self->priv->_modify_compatibility_tool_switch;
	gtk_widget_set_valign ((GtkWidget*) _tmp44_, GTK_ALIGN_CENTER);
	_tmp45_ = self->priv->_modify_compatibility_tool_switch;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp45_, _ ("Enable this if you want the mass edit to take the compatibility tool i" \
"nto account."));
	_tmp46_ = self->priv->_modify_compatibility_tool_switch;
	g_signal_connect_object ((GObject*) _tmp46_, "notify::active", (GCallback) _proton_plus_widgets_mass_edit_view_modify_row_active_changed_g_object_notify, self, 0);
	_tmp47_ = (AdwPreferencesGroup*) adw_preferences_group_new ();
	g_object_ref_sink (_tmp47_);
	_tmp48_ = _tmp47_;
	proton_plus_widgets_mass_edit_view_set_compatibility_tool_group (self, _tmp48_);
	_g_object_unref0 (_tmp48_);
	_tmp49_ = self->priv->_compatibility_tool_group;
	adw_preferences_group_set_title (_tmp49_, _ ("Compatibility tool"));
	_tmp50_ = self->priv->_compatibility_tool_group;
	_tmp51_ = self->priv->_modify_compatibility_tool_switch;
	adw_preferences_group_set_header_suffix (_tmp50_, (GtkWidget*) _tmp51_);
	_tmp52_ = self->priv->_compatibility_tool_group;
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp52_, 15);
	_tmp53_ = (GtkSwitch*) gtk_switch_new ();
	g_object_ref_sink (_tmp53_);
	_tmp54_ = _tmp53_;
	proton_plus_widgets_mass_edit_view_set_modify_launch_options_switch (self, _tmp54_);
	_g_object_unref0 (_tmp54_);
	_tmp55_ = self->priv->_modify_launch_options_switch;
	gtk_widget_set_valign ((GtkWidget*) _tmp55_, GTK_ALIGN_CENTER);
	_tmp56_ = self->priv->_modify_launch_options_switch;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp56_, _ ("Enable this if you want the mass edit to take the launch options into " \
"account."));
	_tmp57_ = self->priv->_modify_launch_options_switch;
	g_signal_connect_object ((GObject*) _tmp57_, "notify::active", (GCallback) _proton_plus_widgets_mass_edit_view_modify_row_active_changed_g_object_notify, self, 0);
	_tmp58_ = proton_plus_widgets_launch_options_editor_new ();
	g_object_ref_sink (_tmp58_);
	_tmp59_ = _tmp58_;
	proton_plus_widgets_mass_edit_view_set_launch_options_editor (self, _tmp59_);
	_g_object_unref0 (_tmp59_);
	_tmp60_ = self->priv->_advanced_switch;
	g_signal_connect_object ((GObject*) _tmp60_, "notify::active", (GCallback) __proton_plus_widgets_mass_edit_view___lambda47__g_object_notify, self, 0);
	_tmp61_ = (AdwPreferencesGroup*) adw_preferences_group_new ();
	g_object_ref_sink (_tmp61_);
	_tmp62_ = _tmp61_;
	proton_plus_widgets_mass_edit_view_set_launch_options_group (self, _tmp62_);
	_g_object_unref0 (_tmp62_);
	_tmp63_ = self->priv->_launch_options_group;
	adw_preferences_group_set_title (_tmp63_, _ ("Launch options"));
	_tmp64_ = self->priv->_launch_options_group;
	_tmp65_ = self->priv->_modify_launch_options_switch;
	adw_preferences_group_set_header_suffix (_tmp64_, (GtkWidget*) _tmp65_);
	_tmp66_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
	g_object_ref_sink (_tmp66_);
	_tmp67_ = _tmp66_;
	proton_plus_widgets_mass_edit_view_set_content_box (self, _tmp67_);
	_g_object_unref0 (_tmp67_);
	_tmp68_ = self->priv->_content_box;
	_tmp69_ = self->priv->_compatibility_tool_group;
	gtk_box_append (_tmp68_, (GtkWidget*) _tmp69_);
	_tmp70_ = self->priv->_content_box;
	_tmp71_ = self->priv->_launch_options_group;
	gtk_box_append (_tmp70_, (GtkWidget*) _tmp71_);
	_tmp72_ = self->priv->_content_box;
	_tmp73_ = self->priv->_launch_options_editor;
	gtk_box_append (_tmp72_, (GtkWidget*) _tmp73_);
	_tmp74_ = (AdwClamp*) adw_clamp_new ();
	g_object_ref_sink (_tmp74_);
	_tmp75_ = _tmp74_;
	proton_plus_widgets_mass_edit_view_set_content_clamp (self, _tmp75_);
	_g_object_unref0 (_tmp75_);
	_tmp76_ = self->priv->_content_clamp;
	adw_clamp_set_maximum_size (_tmp76_, 975);
	_tmp77_ = self->priv->_content_clamp;
	_tmp78_ = self->priv->_content_box;
	adw_clamp_set_child (_tmp77_, (GtkWidget*) _tmp78_);
	_tmp79_ = (GtkScrolledWindow*) gtk_scrolled_window_new ();
	g_object_ref_sink (_tmp79_);
	_tmp80_ = _tmp79_;
	proton_plus_widgets_mass_edit_view_set_scrolled_window (self, _tmp80_);
	_g_object_unref0 (_tmp80_);
	_tmp81_ = self->priv->_scrolled_window;
	gtk_scrolled_window_set_policy (_tmp81_, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
	_tmp82_ = self->priv->_scrolled_window;
	gtk_widget_set_hexpand ((GtkWidget*) _tmp82_, TRUE);
	_tmp83_ = self->priv->_scrolled_window;
	gtk_widget_set_vexpand ((GtkWidget*) _tmp83_, TRUE);
	_tmp84_ = self->priv->_scrolled_window;
	_tmp85_ = self->priv->_content_clamp;
	gtk_scrolled_window_set_child (_tmp84_, (GtkWidget*) _tmp85_);
	_tmp86_ = (AdwToolbarView*) adw_toolbar_view_new ();
	g_object_ref_sink (_tmp86_);
	_tmp87_ = _tmp86_;
	proton_plus_widgets_mass_edit_view_set_toolbar_view (self, _tmp87_);
	_g_object_unref0 (_tmp87_);
	_tmp88_ = self->priv->_toolbar_view;
	_tmp89_ = self->priv->_header_bar;
	adw_toolbar_view_add_top_bar (_tmp88_, (GtkWidget*) _tmp89_);
	_tmp90_ = self->priv->_toolbar_view;
	_tmp91_ = self->priv->_scrolled_window;
	adw_toolbar_view_set_content (_tmp90_, (GtkWidget*) _tmp91_);
	_tmp92_ = self->priv->_toolbar_view;
	gtk_box_append ((GtkBox*) self, (GtkWidget*) _tmp92_);
	return obj;
}

static void
proton_plus_widgets_mass_edit_view_class_init (ProtonPlusWidgetsMassEditViewClass * klass,
                                               gpointer klass_data)
{
	proton_plus_widgets_mass_edit_view_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsMassEditView_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_mass_edit_view_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_mass_edit_view_set_property;
	G_OBJECT_CLASS (klass)->constructor = proton_plus_widgets_mass_edit_view_constructor;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_mass_edit_view_finalize;
	proton_plus_widgets_mass_edit_view_signals[PROTON_PLUS_WIDGETS_MASS_EDIT_VIEW_BACK_REQUESTED_SIGNAL] = g_signal_new ("back-requested", PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}

static void
proton_plus_widgets_mass_edit_view_instance_init (ProtonPlusWidgetsMassEditView * self,
                                                  gpointer klass)
{
	self->priv = proton_plus_widgets_mass_edit_view_get_instance_private (self);
}

static void
proton_plus_widgets_mass_edit_view_finalize (GObject * obj)
{
	ProtonPlusWidgetsMassEditView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditView);
	_g_object_unref0 (self->priv->_window_title);
	_g_object_unref0 (self->priv->_back_button);
	_g_object_unref0 (self->priv->_clear_button);
	_g_object_unref0 (self->priv->_advanced_label);
	_g_object_unref0 (self->priv->_advanced_switch);
	_g_object_unref0 (self->priv->_advanced_box);
	_g_object_unref0 (self->priv->_apply_button);
	_g_object_unref0 (self->priv->_header_bar);
	_g_object_unref0 (self->priv->_content_clamp);
	_g_object_unref0 (self->priv->_scrolled_window);
	_g_object_unref0 (self->priv->_modify_compatibility_tool_switch);
	_g_object_unref0 (self->priv->_compatibility_tool_row);
	_g_object_unref0 (self->priv->_compatibility_tool_group);
	_g_object_unref0 (self->priv->_modify_launch_options_switch);
	_g_object_unref0 (self->priv->_launch_options_group);
	_g_object_unref0 (self->priv->_launch_options_editor);
	_g_object_unref0 (self->priv->_content_box);
	_g_object_unref0 (self->priv->_toolbar_view);
	self->priv->rows = (_vala_array_free (self->priv->rows, self->priv->rows_length1, (GDestroyNotify) g_object_unref), NULL);
	G_OBJECT_CLASS (proton_plus_widgets_mass_edit_view_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_mass_edit_view_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsMassEditViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_mass_edit_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsMassEditView), 0, (GInstanceInitFunc) proton_plus_widgets_mass_edit_view_instance_init, NULL };
	GType proton_plus_widgets_mass_edit_view_type_id;
	proton_plus_widgets_mass_edit_view_type_id = g_type_register_static (gtk_box_get_type (), "ProtonPlusWidgetsMassEditView", &g_define_type_info, 0);
	ProtonPlusWidgetsMassEditView_private_offset = g_type_add_instance_private (proton_plus_widgets_mass_edit_view_type_id, sizeof (ProtonPlusWidgetsMassEditViewPrivate));
	return proton_plus_widgets_mass_edit_view_type_id;
}

GType
proton_plus_widgets_mass_edit_view_get_type (void)
{
	static volatile gsize proton_plus_widgets_mass_edit_view_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_mass_edit_view_type_id__once)) {
		GType proton_plus_widgets_mass_edit_view_type_id;
		proton_plus_widgets_mass_edit_view_type_id = proton_plus_widgets_mass_edit_view_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_mass_edit_view_type_id__once, proton_plus_widgets_mass_edit_view_type_id);
	}
	return proton_plus_widgets_mass_edit_view_type_id__once;
}

static void
_vala_proton_plus_widgets_mass_edit_view_get_property (GObject * object,
                                                       guint property_id,
                                                       GValue * value,
                                                       GParamSpec * pspec)
{
	ProtonPlusWidgetsMassEditView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditView);
	switch (property_id) {
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_mass_edit_view_set_property (GObject * object,
                                                       guint property_id,
                                                       const GValue * value,
                                                       GParamSpec * pspec)
{
	ProtonPlusWidgetsMassEditView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_TYPE_MASS_EDIT_VIEW, ProtonPlusWidgetsMassEditView);
	switch (property_id) {
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_array_destroy (gpointer array,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}

static void
_vala_array_free (gpointer array,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

