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

#include <gtk/gtk.h>
#include <glib-object.h>
#include <adwaita.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib/gi18n-lib.h>

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

#define PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW (proton_plus_widgets_launch_options_view_get_type ())
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, ProtonPlusWidgetsLaunchOptionsView))
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, ProtonPlusWidgetsLaunchOptionsViewClass))
#define PROTON_PLUS_WIDGETS_IS_LAUNCH_OPTIONS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW))
#define PROTON_PLUS_WIDGETS_IS_LAUNCH_OPTIONS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW))
#define PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, ProtonPlusWidgetsLaunchOptionsViewClass))

typedef struct _ProtonPlusWidgetsLaunchOptionsView ProtonPlusWidgetsLaunchOptionsView;
typedef struct _ProtonPlusWidgetsLaunchOptionsViewClass ProtonPlusWidgetsLaunchOptionsViewClass;
typedef struct _ProtonPlusWidgetsLaunchOptionsViewPrivate ProtonPlusWidgetsLaunchOptionsViewPrivate;

#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_LAUNCH_OPTIONS_VIEW_0_PROPERTY,
	PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_launch_options_view_properties[PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_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_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_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_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_LAUNCH_OPTIONS_VIEW_BACK_REQUESTED_SIGNAL,
	PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_NUM_SIGNALS
};
static guint proton_plus_widgets_launch_options_view_signals[PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_NUM_SIGNALS] = {0};

struct _ProtonPlusWidgetsLaunchOptionsView {
	GtkBox parent_instance;
	ProtonPlusWidgetsLaunchOptionsViewPrivate * priv;
};

struct _ProtonPlusWidgetsLaunchOptionsViewClass {
	GtkBoxClass parent_class;
};

struct _ProtonPlusWidgetsLaunchOptionsViewPrivate {
	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;
	ProtonPlusWidgetsLaunchOptionsEditor* _launch_options_editor;
	AdwToolbarView* _toolbar_view;
	ProtonPlusWidgetsGameRow* _row;
	gchar* _applied_launch_options;
};

static gint ProtonPlusWidgetsLaunchOptionsView_private_offset;
static gpointer proton_plus_widgets_launch_options_view_parent_class = NULL;
VALA_EXTERN ProtonPlusWidgetsWindow* proton_plus_widgets_application_window;

VALA_EXTERN GType proton_plus_widgets_launch_options_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusWidgetsLaunchOptionsView, 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_launch_options_view_load (ProtonPlusWidgetsLaunchOptionsView* self,
                                                   ProtonPlusWidgetsGameRow* row);
static void proton_plus_widgets_launch_options_view_set_row (ProtonPlusWidgetsLaunchOptionsView* self,
                                                      ProtonPlusWidgetsGameRow* value);
static AdwWindowTitle* proton_plus_widgets_launch_options_view_get_window_title (ProtonPlusWidgetsLaunchOptionsView* self);
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 const gchar* proton_plus_models_game_get_name (ProtonPlusModelsGame* 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 const gchar* proton_plus_models_games_steam_get_launch_options (ProtonPlusModelsGamesSteam* self);
static void proton_plus_widgets_launch_options_view_set_applied_launch_options (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                         const gchar* value);
static ProtonPlusWidgetsLaunchOptionsEditor* proton_plus_widgets_launch_options_view_get_launch_options_editor (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_set_text (ProtonPlusWidgetsLaunchOptionsEditor* self,
                                                         const gchar* launch_options);
static GtkSwitch* proton_plus_widgets_launch_options_view_get_advanced_switch (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN gboolean proton_plus_widgets_launch_options_editor_get_advanced_visible (ProtonPlusWidgetsLaunchOptionsEditor* self);
static void proton_plus_widgets_launch_options_view_refresh_apply_button (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_apply_button_clicked (ProtonPlusWidgetsLaunchOptionsView* self);
static ProtonPlusWidgetsGameRow* proton_plus_widgets_launch_options_view_get_row (ProtonPlusWidgetsLaunchOptionsView* 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 GType proton_plus_models_launchers_steam_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ProtonPlusModelsLaunchersSteam, g_object_unref)
VALA_EXTERN ProtonPlusModelsLauncher* proton_plus_models_game_get_launcher (ProtonPlusModelsGame* self);
VALA_EXTERN gchar* proton_plus_widgets_launch_options_editor_get_text (ProtonPlusWidgetsLaunchOptionsEditor* self);
VALA_EXTERN gboolean proton_plus_models_games_steam_change_launch_options (ProtonPlusModelsGamesSteam* self,
                                                               const gchar* launch_options,
                                                               const gchar* localconfig_path);
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 proton_plus_widgets_launch_options_view_launch_options_editor_content_changed (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_clear_button_clicked (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_clear (ProtonPlusWidgetsLaunchOptionsEditor* self);
static const gchar* proton_plus_widgets_launch_options_view_get_applied_launch_options (ProtonPlusWidgetsLaunchOptionsView* self);
static GtkButton* proton_plus_widgets_launch_options_view_get_clear_button (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN gboolean proton_plus_widgets_launch_options_editor_has_clearable_state (ProtonPlusWidgetsLaunchOptionsEditor* self);
static GtkButton* proton_plus_widgets_launch_options_view_get_apply_button (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN ProtonPlusWidgetsLaunchOptionsView* proton_plus_widgets_launch_options_view_new (void);
VALA_EXTERN ProtonPlusWidgetsLaunchOptionsView* proton_plus_widgets_launch_options_view_construct (GType object_type);
static void proton_plus_widgets_launch_options_view_set_window_title (ProtonPlusWidgetsLaunchOptionsView* self,
                                                               AdwWindowTitle* value);
static GtkButton* proton_plus_widgets_launch_options_view_get_back_button (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_back_button (ProtonPlusWidgetsLaunchOptionsView* self,
                                                              GtkButton* value);
static void proton_plus_widgets_launch_options_view_set_clear_button (ProtonPlusWidgetsLaunchOptionsView* self,
                                                               GtkButton* value);
static GtkLabel* proton_plus_widgets_launch_options_view_get_advanced_label (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_advanced_label (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                 GtkLabel* value);
static void proton_plus_widgets_launch_options_view_set_advanced_switch (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                  GtkSwitch* value);
static GtkBox* proton_plus_widgets_launch_options_view_get_advanced_box (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_advanced_box (ProtonPlusWidgetsLaunchOptionsView* self,
                                                               GtkBox* value);
static void proton_plus_widgets_launch_options_view_set_apply_button (ProtonPlusWidgetsLaunchOptionsView* self,
                                                               GtkButton* value);
static AdwHeaderBar* proton_plus_widgets_launch_options_view_get_header_bar (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_header_bar (ProtonPlusWidgetsLaunchOptionsView* self,
                                                             AdwHeaderBar* value);
static AdwClamp* proton_plus_widgets_launch_options_view_get_content_clamp (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_content_clamp (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                AdwClamp* value);
static GtkScrolledWindow* proton_plus_widgets_launch_options_view_get_scrolled_window (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_scrolled_window (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                  GtkScrolledWindow* value);
static void proton_plus_widgets_launch_options_view_set_launch_options_editor (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                        ProtonPlusWidgetsLaunchOptionsEditor* value);
static AdwToolbarView* proton_plus_widgets_launch_options_view_get_toolbar_view (ProtonPlusWidgetsLaunchOptionsView* self);
static void proton_plus_widgets_launch_options_view_set_toolbar_view (ProtonPlusWidgetsLaunchOptionsView* self,
                                                               AdwToolbarView* value);
static GObject * proton_plus_widgets_launch_options_view_constructor (GType type,
                                                               guint n_construct_properties,
                                                               GObjectConstructParam * construct_properties);
static void _proton_plus_widgets_launch_options_view___lambda41_ (ProtonPlusWidgetsLaunchOptionsView* self);
static void __proton_plus_widgets_launch_options_view___lambda41__gtk_button_clicked (GtkButton* _sender,
                                                                               gpointer self);
static void _proton_plus_widgets_launch_options_view_clear_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                       gpointer self);
static void _proton_plus_widgets_launch_options_view_apply_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                       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_launch_options_view_launch_options_editor_content_changed_proton_plus_widgets_launch_options_editor_content_changed (ProtonPlusWidgetsLaunchOptionsEditor* _sender,
                                                                                                                                               gpointer self);
static void _proton_plus_widgets_launch_options_view___lambda42_ (ProtonPlusWidgetsLaunchOptionsView* self);
VALA_EXTERN void proton_plus_widgets_launch_options_editor_set_advanced_visible (ProtonPlusWidgetsLaunchOptionsEditor* self,
                                                                     gboolean visible);
static void __proton_plus_widgets_launch_options_view___lambda42__g_object_notify (GObject* _sender,
                                                                            GParamSpec* pspec,
                                                                            gpointer self);
static void proton_plus_widgets_launch_options_view_finalize (GObject * obj);
static GType proton_plus_widgets_launch_options_view_get_type_once (void);
static void _vala_proton_plus_widgets_launch_options_view_get_property (GObject * object,
                                                                 guint property_id,
                                                                 GValue * value,
                                                                 GParamSpec * pspec);
static void _vala_proton_plus_widgets_launch_options_view_set_property (GObject * object,
                                                                 guint property_id,
                                                                 const GValue * value,
                                                                 GParamSpec * pspec);

static inline gpointer
proton_plus_widgets_launch_options_view_get_instance_private (ProtonPlusWidgetsLaunchOptionsView* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsLaunchOptionsView_private_offset);
}

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

void
proton_plus_widgets_launch_options_view_load (ProtonPlusWidgetsLaunchOptionsView* self,
                                              ProtonPlusWidgetsGameRow* row)
{
	AdwWindowTitle* _tmp0_;
	ProtonPlusModelsGame* _tmp1_;
	ProtonPlusModelsGame* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	ProtonPlusModelsGamesSteam* steam_game = NULL;
	ProtonPlusModelsGame* _tmp5_;
	ProtonPlusModelsGame* _tmp6_;
	ProtonPlusModelsGamesSteam* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	GtkSwitch* _tmp13_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp14_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (row != NULL);
	proton_plus_widgets_launch_options_view_set_row (self, row);
	_tmp0_ = self->priv->_window_title;
	_tmp1_ = proton_plus_widgets_game_row_get_game (row);
	_tmp2_ = _tmp1_;
	_tmp3_ = proton_plus_models_game_get_name (_tmp2_);
	_tmp4_ = _tmp3_;
	adw_window_title_set_subtitle (_tmp0_, _tmp4_);
	_tmp5_ = proton_plus_widgets_game_row_get_game (row);
	_tmp6_ = _tmp5_;
	_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteam));
	steam_game = _tmp7_;
	_tmp8_ = proton_plus_models_games_steam_get_launch_options (steam_game);
	_tmp9_ = _tmp8_;
	proton_plus_widgets_launch_options_view_set_applied_launch_options (self, _tmp9_);
	_tmp10_ = self->priv->_launch_options_editor;
	_tmp11_ = proton_plus_models_games_steam_get_launch_options (steam_game);
	_tmp12_ = _tmp11_;
	proton_plus_widgets_launch_options_editor_set_text (_tmp10_, _tmp12_);
	_tmp13_ = self->priv->_advanced_switch;
	_tmp14_ = self->priv->_launch_options_editor;
	gtk_switch_set_active (_tmp13_, proton_plus_widgets_launch_options_editor_get_advanced_visible (_tmp14_));
	proton_plus_widgets_launch_options_view_refresh_apply_button (self);
	_g_object_unref0 (steam_game);
}

static void
proton_plus_widgets_launch_options_view_apply_button_clicked (ProtonPlusWidgetsLaunchOptionsView* self)
{
	ProtonPlusModelsGamesSteam* steam_game = NULL;
	ProtonPlusWidgetsGameRow* _tmp0_;
	ProtonPlusModelsGame* _tmp1_;
	ProtonPlusModelsGame* _tmp2_;
	ProtonPlusModelsGamesSteam* _tmp3_;
	ProtonPlusModelsLaunchersSteam* steam_launcher = NULL;
	ProtonPlusModelsGamesSteam* _tmp4_;
	ProtonPlusModelsLauncher* _tmp5_;
	ProtonPlusModelsLauncher* _tmp6_;
	ProtonPlusModelsLaunchersSteam* _tmp7_;
	gchar* current_launch_options = NULL;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp8_;
	gchar* _tmp9_;
	gboolean success = FALSE;
	ProtonPlusModelsGamesSteam* _tmp10_;
	const gchar* _tmp11_;
	ProtonPlusModelsLaunchersSteam* _tmp12_;
	ProtonPlusModelsSteamProfile* _tmp13_;
	ProtonPlusModelsSteamProfile* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp28_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_row;
	_tmp1_ = proton_plus_widgets_game_row_get_game (_tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PROTON_PLUS_MODELS_GAMES_TYPE_STEAM, ProtonPlusModelsGamesSteam));
	steam_game = _tmp3_;
	_tmp4_ = steam_game;
	_tmp5_ = proton_plus_models_game_get_launcher ((ProtonPlusModelsGame*) _tmp4_);
	_tmp6_ = _tmp5_;
	_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, PROTON_PLUS_MODELS_LAUNCHERS_TYPE_STEAM, ProtonPlusModelsLaunchersSteam));
	steam_launcher = _tmp7_;
	_tmp8_ = self->priv->_launch_options_editor;
	_tmp9_ = proton_plus_widgets_launch_options_editor_get_text (_tmp8_);
	current_launch_options = _tmp9_;
	_tmp10_ = steam_game;
	_tmp11_ = current_launch_options;
	_tmp12_ = steam_launcher;
	_tmp13_ = proton_plus_models_launchers_steam_get_profile (_tmp12_);
	_tmp14_ = _tmp13_;
	_tmp15_ = proton_plus_models_steam_profile_get_localconfig_path (_tmp14_);
	_tmp16_ = _tmp15_;
	success = proton_plus_models_games_steam_change_launch_options (_tmp10_, _tmp11_, _tmp16_);
	if (!success) {
		ProtonPlusWidgetsErrorDialog* dialog = NULL;
		ProtonPlusWidgetsGameRow* _tmp17_;
		ProtonPlusModelsGame* _tmp18_;
		ProtonPlusModelsGame* _tmp19_;
		const gchar* _tmp20_;
		const gchar* _tmp21_;
		gchar* _tmp22_;
		gchar* _tmp23_;
		ProtonPlusWidgetsErrorDialog* _tmp24_;
		ProtonPlusWidgetsErrorDialog* _tmp25_;
		ProtonPlusWidgetsErrorDialog* _tmp26_;
		ProtonPlusWidgetsWindow* _tmp27_;
		_tmp17_ = self->priv->_row;
		_tmp18_ = proton_plus_widgets_game_row_get_game (_tmp17_);
		_tmp19_ = _tmp18_;
		_tmp20_ = proton_plus_models_game_get_name (_tmp19_);
		_tmp21_ = _tmp20_;
		_tmp22_ = g_strdup_printf (_ ("Couldn't change the launch options of %s"), _tmp21_);
		_tmp23_ = _tmp22_;
		_tmp24_ = proton_plus_widgets_error_dialog_new (_tmp23_, _ ("Please report this issue on GitHub."));
		g_object_ref_sink (_tmp24_);
		_tmp25_ = _tmp24_;
		_g_free0 (_tmp23_);
		dialog = _tmp25_;
		_tmp26_ = dialog;
		_tmp27_ = proton_plus_widgets_application_window;
		adw_dialog_present ((AdwDialog*) _tmp26_, (GtkWidget*) _tmp27_);
		_g_object_unref0 (dialog);
		_g_free0 (current_launch_options);
		_g_object_unref0 (steam_launcher);
		_g_object_unref0 (steam_game);
		return;
	}
	_tmp28_ = current_launch_options;
	proton_plus_widgets_launch_options_view_set_applied_launch_options (self, _tmp28_);
	proton_plus_widgets_launch_options_view_refresh_apply_button (self);
	_g_free0 (current_launch_options);
	_g_object_unref0 (steam_launcher);
	_g_object_unref0 (steam_game);
}

static void
proton_plus_widgets_launch_options_view_launch_options_editor_content_changed (ProtonPlusWidgetsLaunchOptionsView* self)
{
	g_return_if_fail (self != NULL);
	proton_plus_widgets_launch_options_view_refresh_apply_button (self);
}

static void
proton_plus_widgets_launch_options_view_clear_button_clicked (ProtonPlusWidgetsLaunchOptionsView* self)
{
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp0_;
	GtkSwitch* _tmp1_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp2_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_launch_options_editor;
	proton_plus_widgets_launch_options_editor_clear (_tmp0_);
	_tmp1_ = self->priv->_advanced_switch;
	_tmp2_ = self->priv->_launch_options_editor;
	gtk_switch_set_active (_tmp1_, proton_plus_widgets_launch_options_editor_get_advanced_visible (_tmp2_));
	proton_plus_widgets_launch_options_view_refresh_apply_button (self);
}

static void
proton_plus_widgets_launch_options_view_refresh_apply_button (ProtonPlusWidgetsLaunchOptionsView* self)
{
	gboolean has_changes = FALSE;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	gboolean _tmp4_;
	GtkButton* _tmp5_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp6_;
	GtkButton* _tmp7_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_launch_options_editor;
	_tmp1_ = proton_plus_widgets_launch_options_editor_get_text (_tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = self->priv->_applied_launch_options;
	_tmp4_ = g_strcmp0 (_tmp2_, _tmp3_) != 0;
	_g_free0 (_tmp2_);
	has_changes = _tmp4_;
	_tmp5_ = self->priv->_clear_button;
	_tmp6_ = self->priv->_launch_options_editor;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp5_, proton_plus_widgets_launch_options_editor_has_clearable_state (_tmp6_));
	_tmp7_ = self->priv->_apply_button;
	gtk_widget_set_sensitive ((GtkWidget*) _tmp7_, has_changes);
}

ProtonPlusWidgetsLaunchOptionsView*
proton_plus_widgets_launch_options_view_construct (GType object_type)
{
	ProtonPlusWidgetsLaunchOptionsView * self = NULL;
	self = (ProtonPlusWidgetsLaunchOptionsView*) g_object_new (object_type, NULL);
	return self;
}

ProtonPlusWidgetsLaunchOptionsView*
proton_plus_widgets_launch_options_view_new (void)
{
	return proton_plus_widgets_launch_options_view_construct (PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW);
}

static AdwWindowTitle*
proton_plus_widgets_launch_options_view_get_window_title (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_window_title (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_back_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_back_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_clear_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_clear_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_advanced_label (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_advanced_label (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_advanced_switch (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_advanced_switch (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_advanced_box (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_advanced_box (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_apply_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_apply_button (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_header_bar (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_header_bar (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_content_clamp (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_content_clamp (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_get_scrolled_window (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_scrolled_window (ProtonPlusWidgetsLaunchOptionsView* 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 ProtonPlusWidgetsLaunchOptionsEditor*
proton_plus_widgets_launch_options_view_get_launch_options_editor (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_launch_options_editor (ProtonPlusWidgetsLaunchOptionsView* 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 AdwToolbarView*
proton_plus_widgets_launch_options_view_get_toolbar_view (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view_set_toolbar_view (ProtonPlusWidgetsLaunchOptionsView* 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 ProtonPlusWidgetsGameRow*
proton_plus_widgets_launch_options_view_get_row (ProtonPlusWidgetsLaunchOptionsView* self)
{
	ProtonPlusWidgetsGameRow* result;
	ProtonPlusWidgetsGameRow* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_row;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_launch_options_view_set_row (ProtonPlusWidgetsLaunchOptionsView* self,
                                                 ProtonPlusWidgetsGameRow* value)
{
	ProtonPlusWidgetsGameRow* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_row);
	self->priv->_row = _tmp0_;
}

static const gchar*
proton_plus_widgets_launch_options_view_get_applied_launch_options (ProtonPlusWidgetsLaunchOptionsView* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_applied_launch_options;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_launch_options_view_set_applied_launch_options (ProtonPlusWidgetsLaunchOptionsView* self,
                                                                    const gchar* value)
{
	gchar* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = g_strdup (value);
	_g_free0 (self->priv->_applied_launch_options);
	self->priv->_applied_launch_options = _tmp0_;
}

static void
_proton_plus_widgets_launch_options_view___lambda41_ (ProtonPlusWidgetsLaunchOptionsView* self)
{
	g_signal_emit (self, proton_plus_widgets_launch_options_view_signals[PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_BACK_REQUESTED_SIGNAL], 0);
}

static void
__proton_plus_widgets_launch_options_view___lambda41__gtk_button_clicked (GtkButton* _sender,
                                                                          gpointer self)
{
	_proton_plus_widgets_launch_options_view___lambda41_ ((ProtonPlusWidgetsLaunchOptionsView*) self);
}

static void
_proton_plus_widgets_launch_options_view_clear_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                  gpointer self)
{
	proton_plus_widgets_launch_options_view_clear_button_clicked ((ProtonPlusWidgetsLaunchOptionsView*) self);
}

static void
_proton_plus_widgets_launch_options_view_apply_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                                  gpointer self)
{
	proton_plus_widgets_launch_options_view_apply_button_clicked ((ProtonPlusWidgetsLaunchOptionsView*) self);
}

static void
_proton_plus_widgets_launch_options_view_launch_options_editor_content_changed_proton_plus_widgets_launch_options_editor_content_changed (ProtonPlusWidgetsLaunchOptionsEditor* _sender,
                                                                                                                                          gpointer self)
{
	proton_plus_widgets_launch_options_view_launch_options_editor_content_changed ((ProtonPlusWidgetsLaunchOptionsView*) self);
}

static void
_proton_plus_widgets_launch_options_view___lambda42_ (ProtonPlusWidgetsLaunchOptionsView* 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_launch_options_view___lambda42__g_object_notify (GObject* _sender,
                                                                       GParamSpec* pspec,
                                                                       gpointer self)
{
	_proton_plus_widgets_launch_options_view___lambda42_ ((ProtonPlusWidgetsLaunchOptionsView*) self);
}

static GObject *
proton_plus_widgets_launch_options_view_constructor (GType type,
                                                     guint n_construct_properties,
                                                     GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	ProtonPlusWidgetsLaunchOptionsView * 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_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp42_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp43_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp44_;
	GtkSwitch* _tmp45_;
	AdwClamp* _tmp46_;
	AdwClamp* _tmp47_;
	AdwClamp* _tmp48_;
	AdwClamp* _tmp49_;
	ProtonPlusWidgetsLaunchOptionsEditor* _tmp50_;
	GtkScrolledWindow* _tmp51_;
	GtkScrolledWindow* _tmp52_;
	GtkScrolledWindow* _tmp53_;
	GtkScrolledWindow* _tmp54_;
	GtkScrolledWindow* _tmp55_;
	GtkScrolledWindow* _tmp56_;
	AdwClamp* _tmp57_;
	AdwToolbarView* _tmp58_;
	AdwToolbarView* _tmp59_;
	AdwToolbarView* _tmp60_;
	AdwHeaderBar* _tmp61_;
	AdwToolbarView* _tmp62_;
	GtkScrolledWindow* _tmp63_;
	AdwToolbarView* _tmp64_;
	parent_class = G_OBJECT_CLASS (proton_plus_widgets_launch_options_view_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, ProtonPlusWidgetsLaunchOptionsView);
	gtk_orientable_set_orientation ((GtkOrientable*) self, GTK_ORIENTATION_VERTICAL);
	_tmp0_ = (AdwWindowTitle*) adw_window_title_new (_ ("Modify launch options"), "");
	g_object_ref_sink (_tmp0_);
	_tmp1_ = _tmp0_;
	proton_plus_widgets_launch_options_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_launch_options_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_launch_options_view___lambda41__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_launch_options_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_launch_options_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_launch_options_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_launch_options_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_launch_options_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_launch_options_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 modification"));
	_tmp29_ = self->priv->_apply_button;
	g_signal_connect_object (_tmp29_, "clicked", (GCallback) _proton_plus_widgets_launch_options_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_launch_options_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_ = proton_plus_widgets_launch_options_editor_new ();
	g_object_ref_sink (_tmp42_);
	_tmp43_ = _tmp42_;
	proton_plus_widgets_launch_options_view_set_launch_options_editor (self, _tmp43_);
	_g_object_unref0 (_tmp43_);
	_tmp44_ = self->priv->_launch_options_editor;
	g_signal_connect_object (_tmp44_, "content-changed", (GCallback) _proton_plus_widgets_launch_options_view_launch_options_editor_content_changed_proton_plus_widgets_launch_options_editor_content_changed, self, 0);
	_tmp45_ = self->priv->_advanced_switch;
	g_signal_connect_object ((GObject*) _tmp45_, "notify::active", (GCallback) __proton_plus_widgets_launch_options_view___lambda42__g_object_notify, self, 0);
	_tmp46_ = (AdwClamp*) adw_clamp_new ();
	g_object_ref_sink (_tmp46_);
	_tmp47_ = _tmp46_;
	proton_plus_widgets_launch_options_view_set_content_clamp (self, _tmp47_);
	_g_object_unref0 (_tmp47_);
	_tmp48_ = self->priv->_content_clamp;
	adw_clamp_set_maximum_size (_tmp48_, 975);
	_tmp49_ = self->priv->_content_clamp;
	_tmp50_ = self->priv->_launch_options_editor;
	adw_clamp_set_child (_tmp49_, (GtkWidget*) _tmp50_);
	_tmp51_ = (GtkScrolledWindow*) gtk_scrolled_window_new ();
	g_object_ref_sink (_tmp51_);
	_tmp52_ = _tmp51_;
	proton_plus_widgets_launch_options_view_set_scrolled_window (self, _tmp52_);
	_g_object_unref0 (_tmp52_);
	_tmp53_ = self->priv->_scrolled_window;
	gtk_scrolled_window_set_policy (_tmp53_, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
	_tmp54_ = self->priv->_scrolled_window;
	gtk_widget_set_hexpand ((GtkWidget*) _tmp54_, TRUE);
	_tmp55_ = self->priv->_scrolled_window;
	gtk_widget_set_vexpand ((GtkWidget*) _tmp55_, TRUE);
	_tmp56_ = self->priv->_scrolled_window;
	_tmp57_ = self->priv->_content_clamp;
	gtk_scrolled_window_set_child (_tmp56_, (GtkWidget*) _tmp57_);
	_tmp58_ = (AdwToolbarView*) adw_toolbar_view_new ();
	g_object_ref_sink (_tmp58_);
	_tmp59_ = _tmp58_;
	proton_plus_widgets_launch_options_view_set_toolbar_view (self, _tmp59_);
	_g_object_unref0 (_tmp59_);
	_tmp60_ = self->priv->_toolbar_view;
	_tmp61_ = self->priv->_header_bar;
	adw_toolbar_view_add_top_bar (_tmp60_, (GtkWidget*) _tmp61_);
	_tmp62_ = self->priv->_toolbar_view;
	_tmp63_ = self->priv->_scrolled_window;
	adw_toolbar_view_set_content (_tmp62_, (GtkWidget*) _tmp63_);
	_tmp64_ = self->priv->_toolbar_view;
	gtk_box_append ((GtkBox*) self, (GtkWidget*) _tmp64_);
	return obj;
}

static void
proton_plus_widgets_launch_options_view_class_init (ProtonPlusWidgetsLaunchOptionsViewClass * klass,
                                                    gpointer klass_data)
{
	proton_plus_widgets_launch_options_view_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsLaunchOptionsView_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_launch_options_view_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_launch_options_view_set_property;
	G_OBJECT_CLASS (klass)->constructor = proton_plus_widgets_launch_options_view_constructor;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_launch_options_view_finalize;
	proton_plus_widgets_launch_options_view_signals[PROTON_PLUS_WIDGETS_LAUNCH_OPTIONS_VIEW_BACK_REQUESTED_SIGNAL] = g_signal_new ("back-requested", PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}

static void
proton_plus_widgets_launch_options_view_instance_init (ProtonPlusWidgetsLaunchOptionsView * self,
                                                       gpointer klass)
{
	self->priv = proton_plus_widgets_launch_options_view_get_instance_private (self);
}

static void
proton_plus_widgets_launch_options_view_finalize (GObject * obj)
{
	ProtonPlusWidgetsLaunchOptionsView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_TYPE_LAUNCH_OPTIONS_VIEW, ProtonPlusWidgetsLaunchOptionsView);
	_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->_launch_options_editor);
	_g_object_unref0 (self->priv->_toolbar_view);
	_g_object_unref0 (self->priv->_row);
	_g_free0 (self->priv->_applied_launch_options);
	G_OBJECT_CLASS (proton_plus_widgets_launch_options_view_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_launch_options_view_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsLaunchOptionsViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_launch_options_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsLaunchOptionsView), 0, (GInstanceInitFunc) proton_plus_widgets_launch_options_view_instance_init, NULL };
	GType proton_plus_widgets_launch_options_view_type_id;
	proton_plus_widgets_launch_options_view_type_id = g_type_register_static (gtk_box_get_type (), "ProtonPlusWidgetsLaunchOptionsView", &g_define_type_info, 0);
	ProtonPlusWidgetsLaunchOptionsView_private_offset = g_type_add_instance_private (proton_plus_widgets_launch_options_view_type_id, sizeof (ProtonPlusWidgetsLaunchOptionsViewPrivate));
	return proton_plus_widgets_launch_options_view_type_id;
}

GType
proton_plus_widgets_launch_options_view_get_type (void)
{
	static volatile gsize proton_plus_widgets_launch_options_view_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_launch_options_view_type_id__once)) {
		GType proton_plus_widgets_launch_options_view_type_id;
		proton_plus_widgets_launch_options_view_type_id = proton_plus_widgets_launch_options_view_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_launch_options_view_type_id__once, proton_plus_widgets_launch_options_view_type_id);
	}
	return proton_plus_widgets_launch_options_view_type_id__once;
}

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

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

