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

#include "protonplus_core.h"
#include <adwaita.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <glib.h>
#include <glib-object.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

enum  {
	PROTON_PLUS_WIDGETS_HEADER_BOX_0_PROPERTY,
	PROTON_PLUS_WIDGETS_HEADER_BOX_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_header_box_properties[PROTON_PLUS_WIDGETS_HEADER_BOX_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
enum  {
	PROTON_PLUS_WIDGETS_HEADER_BOX_LAUNCHER_SELECTED_SIGNAL,
	PROTON_PLUS_WIDGETS_HEADER_BOX_DOWNLOAD_SELECTED_SIGNAL,
	PROTON_PLUS_WIDGETS_HEADER_BOX_NUM_SIGNALS
};
static guint proton_plus_widgets_header_box_signals[PROTON_PLUS_WIDGETS_HEADER_BOX_NUM_SIGNALS] = {0};

struct _ProtonPlusWidgetsHeaderBoxPrivate {
	AdwHeaderBar* _header_bar;
	ProtonPlusWidgetsHeaderLaunchersButton* _launchers_button;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _downloads_indicator;
	GtkMenuButton* _menu_button;
	GMenu* _menu;
	gboolean controller_mode_active;
};

static gint ProtonPlusWidgetsHeaderBox_private_offset;
static gpointer proton_plus_widgets_header_box_parent_class = NULL;

static void proton_plus_widgets_header_box_set_launchers_button (ProtonPlusWidgetsHeaderBox* self,
                                                          ProtonPlusWidgetsHeaderLaunchersButton* value);
static ProtonPlusWidgetsHeaderLaunchersButton* proton_plus_widgets_header_box_get_launchers_button (ProtonPlusWidgetsHeaderBox* self);
static void __lambda323_ (ProtonPlusWidgetsHeaderBox* self,
                   ProtonPlusModelsLauncher* launcher);
static void ___lambda323__proton_plus_widgets_header_launchers_button_launcher_selected (ProtonPlusWidgetsHeaderLaunchersButton* _sender,
                                                                                  ProtonPlusModelsLauncher* launcher,
                                                                                  gpointer self);
static void proton_plus_widgets_header_box_set_downloads_indicator (ProtonPlusWidgetsHeaderBox* self,
                                                             ProtonPlusWidgetsHeaderDownloadsIndicator* value);
static ProtonPlusWidgetsHeaderDownloadsIndicator* proton_plus_widgets_header_box_get_downloads_indicator (ProtonPlusWidgetsHeaderBox* self);
static void __lambda324_ (ProtonPlusWidgetsHeaderBox* self,
                   ProtonPlusServicesInstallJob* job);
static void ___lambda324__proton_plus_widgets_header_downloads_indicator_download_selected (ProtonPlusWidgetsHeaderDownloadsIndicator* _sender,
                                                                                     ProtonPlusServicesInstallJob* job,
                                                                                     gpointer self);
static void proton_plus_widgets_header_box_set_menu (ProtonPlusWidgetsHeaderBox* self,
                                              GMenu* value);
static void proton_plus_widgets_header_box_rebuild_menu (ProtonPlusWidgetsHeaderBox* self);
static void proton_plus_widgets_header_box_set_menu_button (ProtonPlusWidgetsHeaderBox* self,
                                                     GtkMenuButton* value);
static GtkMenuButton* proton_plus_widgets_header_box_get_menu_button (ProtonPlusWidgetsHeaderBox* self);
static GMenu* proton_plus_widgets_header_box_get_menu (ProtonPlusWidgetsHeaderBox* self);
static void proton_plus_widgets_header_box_set_header_bar (ProtonPlusWidgetsHeaderBox* self,
                                                    AdwHeaderBar* value);
static AdwHeaderBar* proton_plus_widgets_header_box_get_header_bar (ProtonPlusWidgetsHeaderBox* self);
static void proton_plus_widgets_header_box_finalize (GObject * obj);
static GType proton_plus_widgets_header_box_get_type_once (void);
static void _vala_proton_plus_widgets_header_box_get_property (GObject * object,
                                                        guint property_id,
                                                        GValue * value,
                                                        GParamSpec * pspec);
static void _vala_proton_plus_widgets_header_box_set_property (GObject * object,
                                                        guint property_id,
                                                        const GValue * value,
                                                        GParamSpec * pspec);

static inline gpointer
proton_plus_widgets_header_box_get_instance_private (ProtonPlusWidgetsHeaderBox* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsHeaderBox_private_offset);
}

static void
__lambda323_ (ProtonPlusWidgetsHeaderBox* self,
              ProtonPlusModelsLauncher* launcher)
{
	g_return_if_fail (launcher != NULL);
	g_signal_emit (self, proton_plus_widgets_header_box_signals[PROTON_PLUS_WIDGETS_HEADER_BOX_LAUNCHER_SELECTED_SIGNAL], 0, launcher);
}

static void
___lambda323__proton_plus_widgets_header_launchers_button_launcher_selected (ProtonPlusWidgetsHeaderLaunchersButton* _sender,
                                                                             ProtonPlusModelsLauncher* launcher,
                                                                             gpointer self)
{
	__lambda323_ ((ProtonPlusWidgetsHeaderBox*) self, launcher);
}

static void
__lambda324_ (ProtonPlusWidgetsHeaderBox* self,
              ProtonPlusServicesInstallJob* job)
{
	g_return_if_fail (job != NULL);
	g_signal_emit (self, proton_plus_widgets_header_box_signals[PROTON_PLUS_WIDGETS_HEADER_BOX_DOWNLOAD_SELECTED_SIGNAL], 0, job);
}

static void
___lambda324__proton_plus_widgets_header_downloads_indicator_download_selected (ProtonPlusWidgetsHeaderDownloadsIndicator* _sender,
                                                                                ProtonPlusServicesInstallJob* job,
                                                                                gpointer self)
{
	__lambda324_ ((ProtonPlusWidgetsHeaderBox*) self, job);
}

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

ProtonPlusWidgetsHeaderBox*
proton_plus_widgets_header_box_construct (GType object_type)
{
	ProtonPlusWidgetsHeaderBox * self = NULL;
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp0_;
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp1_;
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp2_;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp3_;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp4_;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp5_;
	GMenu* _tmp6_;
	GMenu* _tmp7_;
	GtkMenuButton* _tmp8_;
	GtkMenuButton* _tmp9_;
	GtkMenuButton* _tmp10_;
	GtkMenuButton* _tmp11_;
	GtkMenuButton* _tmp12_;
	GMenu* _tmp13_;
	GtkPopover* menu_popover = NULL;
	GtkMenuButton* _tmp14_;
	GtkPopover* _tmp15_;
	GtkPopover* _tmp16_;
	GtkPopover* _tmp17_;
	AdwHeaderBar* _tmp20_;
	AdwHeaderBar* _tmp21_;
	AdwHeaderBar* _tmp22_;
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp23_;
	AdwHeaderBar* _tmp24_;
	GtkMenuButton* _tmp25_;
	AdwHeaderBar* _tmp26_;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp27_;
	AdwHeaderBar* _tmp28_;
	AdwHeaderBar* _tmp29_;
	self = (ProtonPlusWidgetsHeaderBox*) g_object_new (object_type, NULL);
	_tmp0_ = proton_plus_widgets_header_launchers_button_new ();
	g_object_ref_sink (_tmp0_);
	_tmp1_ = _tmp0_;
	proton_plus_widgets_header_box_set_launchers_button (self, _tmp1_);
	_g_object_unref0 (_tmp1_);
	_tmp2_ = self->priv->_launchers_button;
	g_signal_connect_object (_tmp2_, "launcher-selected", (GCallback) ___lambda323__proton_plus_widgets_header_launchers_button_launcher_selected, self, 0);
	_tmp3_ = proton_plus_widgets_header_downloads_indicator_new ();
	g_object_ref_sink (_tmp3_);
	_tmp4_ = _tmp3_;
	proton_plus_widgets_header_box_set_downloads_indicator (self, _tmp4_);
	_g_object_unref0 (_tmp4_);
	_tmp5_ = self->priv->_downloads_indicator;
	g_signal_connect_object (_tmp5_, "download-selected", (GCallback) ___lambda324__proton_plus_widgets_header_downloads_indicator_download_selected, self, 0);
	_tmp6_ = g_menu_new ();
	_tmp7_ = _tmp6_;
	proton_plus_widgets_header_box_set_menu (self, _tmp7_);
	_g_object_unref0 (_tmp7_);
	proton_plus_widgets_header_box_rebuild_menu (self);
	_tmp8_ = (GtkMenuButton*) gtk_menu_button_new ();
	g_object_ref_sink (_tmp8_);
	_tmp9_ = _tmp8_;
	proton_plus_widgets_header_box_set_menu_button (self, _tmp9_);
	_g_object_unref0 (_tmp9_);
	_tmp10_ = self->priv->_menu_button;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp10_, _ ("Main Menu"));
	_tmp11_ = self->priv->_menu_button;
	gtk_menu_button_set_icon_name (_tmp11_, "bars-symbolic");
	_tmp12_ = self->priv->_menu_button;
	_tmp13_ = self->priv->_menu;
	gtk_menu_button_set_menu_model (_tmp12_, (GMenuModel*) _tmp13_);
	_tmp14_ = self->priv->_menu_button;
	_tmp15_ = gtk_menu_button_get_popover (_tmp14_);
	_tmp16_ = _g_object_ref0 (_tmp15_);
	menu_popover = _tmp16_;
	_tmp17_ = menu_popover;
	if (_tmp17_ != NULL) {
		GtkPopover* _tmp18_;
		GtkMenuButton* _tmp19_;
		_tmp18_ = menu_popover;
		_tmp19_ = self->priv->_menu_button;
		proton_plus_widgets_window_register_popover_for_controller (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_popover_get_type (), GtkPopover), (GtkWidget*) _tmp19_, NULL);
	}
	_tmp20_ = (AdwHeaderBar*) adw_header_bar_new ();
	g_object_ref_sink (_tmp20_);
	_tmp21_ = _tmp20_;
	proton_plus_widgets_header_box_set_header_bar (self, _tmp21_);
	_g_object_unref0 (_tmp21_);
	_tmp22_ = self->priv->_header_bar;
	_tmp23_ = self->priv->_launchers_button;
	adw_header_bar_pack_start (_tmp22_, (GtkWidget*) _tmp23_);
	_tmp24_ = self->priv->_header_bar;
	_tmp25_ = self->priv->_menu_button;
	adw_header_bar_pack_end (_tmp24_, (GtkWidget*) _tmp25_);
	_tmp26_ = self->priv->_header_bar;
	_tmp27_ = self->priv->_downloads_indicator;
	adw_header_bar_pack_end (_tmp26_, (GtkWidget*) _tmp27_);
	_tmp28_ = self->priv->_header_bar;
	gtk_widget_set_hexpand ((GtkWidget*) _tmp28_, TRUE);
	_tmp29_ = self->priv->_header_bar;
	gtk_box_append ((GtkBox*) self, (GtkWidget*) _tmp29_);
	_g_object_unref0 (menu_popover);
	return self;
}

ProtonPlusWidgetsHeaderBox*
proton_plus_widgets_header_box_new (void)
{
	return proton_plus_widgets_header_box_construct (PROTON_PLUS_WIDGETS_HEADER_TYPE_BOX);
}

void
proton_plus_widgets_header_box_set_controller_mode_active (ProtonPlusWidgetsHeaderBox* self,
                                                           gboolean active)
{
	g_return_if_fail (self != NULL);
	if (self->priv->controller_mode_active == active) {
		return;
	}
	self->priv->controller_mode_active = active;
	proton_plus_widgets_header_box_rebuild_menu (self);
}

static void
proton_plus_widgets_header_box_rebuild_menu (ProtonPlusWidgetsHeaderBox* self)
{
	GMenu* _tmp0_;
	GMenu* _tmp1_;
	GMenu* _tmp3_;
	GMenu* _tmp4_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_menu;
	g_menu_remove_all (_tmp0_);
	_tmp1_ = self->priv->_menu;
	g_menu_append (_tmp1_, _ ("_Preferences"), "app.preferences");
	if (!self->priv->controller_mode_active) {
		GMenu* _tmp2_;
		_tmp2_ = self->priv->_menu;
		g_menu_append (_tmp2_, _ ("_Keyboard Shortcuts"), "win.show-help-overlay");
	}
	_tmp3_ = self->priv->_menu;
	g_menu_append (_tmp3_, _ ("_Donate"), "app.donate");
	_tmp4_ = self->priv->_menu;
	g_menu_append (_tmp4_, _ ("_About ProtonPlus"), "app.about");
	if (self->priv->controller_mode_active) {
		GMenu* _tmp5_;
		_tmp5_ = self->priv->_menu;
		g_menu_append (_tmp5_, _ ("_Exit"), "app.quit");
	}
}

void
proton_plus_widgets_header_box_initialize (ProtonPlusWidgetsHeaderBox* self,
                                           GeeLinkedList* launchers,
                                           AdwViewSwitcher* view_switcher)
{
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp0_;
	GtkWidget* _tmp1_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (launchers != NULL);
	g_return_if_fail (view_switcher != NULL);
	_tmp0_ = self->priv->_launchers_button;
	proton_plus_widgets_header_launchers_button_initialize (_tmp0_, launchers);
	_tmp1_ = gtk_widget_get_parent ((GtkWidget*) view_switcher);
	if (_tmp1_ == NULL) {
		AdwHeaderBar* _tmp2_;
		_tmp2_ = self->priv->_header_bar;
		adw_header_bar_set_title_widget (_tmp2_, (GtkWidget*) view_switcher);
	}
}

void
proton_plus_widgets_header_box_open_menu (ProtonPlusWidgetsHeaderBox* self)
{
	GtkMenuButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_menu_button;
	g_signal_emit_by_name (_tmp0_, "activate");
}

void
proton_plus_widgets_header_box_open_launchers (ProtonPlusWidgetsHeaderBox* self)
{
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_launchers_button;
	proton_plus_widgets_header_launchers_button_button_clicked (_tmp0_);
}

static AdwHeaderBar*
proton_plus_widgets_header_box_get_header_bar (ProtonPlusWidgetsHeaderBox* 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_header_box_set_header_bar (ProtonPlusWidgetsHeaderBox* 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 ProtonPlusWidgetsHeaderLaunchersButton*
proton_plus_widgets_header_box_get_launchers_button (ProtonPlusWidgetsHeaderBox* self)
{
	ProtonPlusWidgetsHeaderLaunchersButton* result;
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_launchers_button;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_header_box_set_launchers_button (ProtonPlusWidgetsHeaderBox* self,
                                                     ProtonPlusWidgetsHeaderLaunchersButton* value)
{
	ProtonPlusWidgetsHeaderLaunchersButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_launchers_button);
	self->priv->_launchers_button = _tmp0_;
}

static ProtonPlusWidgetsHeaderDownloadsIndicator*
proton_plus_widgets_header_box_get_downloads_indicator (ProtonPlusWidgetsHeaderBox* self)
{
	ProtonPlusWidgetsHeaderDownloadsIndicator* result;
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_downloads_indicator;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_header_box_set_downloads_indicator (ProtonPlusWidgetsHeaderBox* self,
                                                        ProtonPlusWidgetsHeaderDownloadsIndicator* value)
{
	ProtonPlusWidgetsHeaderDownloadsIndicator* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_downloads_indicator);
	self->priv->_downloads_indicator = _tmp0_;
}

static GtkMenuButton*
proton_plus_widgets_header_box_get_menu_button (ProtonPlusWidgetsHeaderBox* self)
{
	GtkMenuButton* result;
	GtkMenuButton* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_menu_button;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_header_box_set_menu_button (ProtonPlusWidgetsHeaderBox* self,
                                                GtkMenuButton* value)
{
	GtkMenuButton* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_menu_button);
	self->priv->_menu_button = _tmp0_;
}

static GMenu*
proton_plus_widgets_header_box_get_menu (ProtonPlusWidgetsHeaderBox* self)
{
	GMenu* result;
	GMenu* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_menu;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_header_box_set_menu (ProtonPlusWidgetsHeaderBox* self,
                                         GMenu* value)
{
	GMenu* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_menu);
	self->priv->_menu = _tmp0_;
}

static void
proton_plus_widgets_header_box_class_init (ProtonPlusWidgetsHeaderBoxClass * klass,
                                           gpointer klass_data)
{
	proton_plus_widgets_header_box_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsHeaderBox_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_header_box_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_header_box_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_header_box_finalize;
	proton_plus_widgets_header_box_signals[PROTON_PLUS_WIDGETS_HEADER_BOX_LAUNCHER_SELECTED_SIGNAL] = g_signal_new ("launcher-selected", PROTON_PLUS_WIDGETS_HEADER_TYPE_BOX, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, PROTON_PLUS_MODELS_TYPE_LAUNCHER);
	proton_plus_widgets_header_box_signals[PROTON_PLUS_WIDGETS_HEADER_BOX_DOWNLOAD_SELECTED_SIGNAL] = g_signal_new ("download-selected", PROTON_PLUS_WIDGETS_HEADER_TYPE_BOX, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, PROTON_PLUS_SERVICES_TYPE_INSTALL_JOB);
}

static void
proton_plus_widgets_header_box_instance_init (ProtonPlusWidgetsHeaderBox * self,
                                              gpointer klass)
{
	self->priv = proton_plus_widgets_header_box_get_instance_private (self);
	self->priv->controller_mode_active = FALSE;
}

static void
proton_plus_widgets_header_box_finalize (GObject * obj)
{
	ProtonPlusWidgetsHeaderBox * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_HEADER_TYPE_BOX, ProtonPlusWidgetsHeaderBox);
	_g_object_unref0 (self->priv->_header_bar);
	_g_object_unref0 (self->priv->_launchers_button);
	_g_object_unref0 (self->priv->_downloads_indicator);
	_g_object_unref0 (self->priv->_menu_button);
	_g_object_unref0 (self->priv->_menu);
	G_OBJECT_CLASS (proton_plus_widgets_header_box_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_header_box_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsHeaderBoxClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_header_box_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsHeaderBox), 0, (GInstanceInitFunc) proton_plus_widgets_header_box_instance_init, NULL };
	GType proton_plus_widgets_header_box_type_id;
	proton_plus_widgets_header_box_type_id = g_type_register_static (gtk_box_get_type (), "ProtonPlusWidgetsHeaderBox", &g_define_type_info, 0);
	ProtonPlusWidgetsHeaderBox_private_offset = g_type_add_instance_private (proton_plus_widgets_header_box_type_id, sizeof (ProtonPlusWidgetsHeaderBoxPrivate));
	return proton_plus_widgets_header_box_type_id;
}

GType
proton_plus_widgets_header_box_get_type (void)
{
	static volatile gsize proton_plus_widgets_header_box_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_header_box_type_id__once)) {
		GType proton_plus_widgets_header_box_type_id;
		proton_plus_widgets_header_box_type_id = proton_plus_widgets_header_box_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_header_box_type_id__once, proton_plus_widgets_header_box_type_id);
	}
	return proton_plus_widgets_header_box_type_id__once;
}

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

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

