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

/**/
/*  Copyright (C) 2011 Robert Dyer*/
/**/
/*  This file is part of Plank.*/
/**/
/*  Plank is free software: you can redistribute it and/or modify*/
/*  it under the terms of the GNU General Public License as published by*/
/*  the Free Software Foundation, either version 3 of the License, or*/
/*  (at your option) any later version.*/
/**/
/*  Plank is distributed in the hope that it will be useful,*/
/*  but WITHOUT ANY WARRANTY; without even the implied warranty of*/
/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the*/
/*  GNU General Public License for more details.*/
/**/
/*  You should have received a copy of the GNU General Public License*/
/*  along with this program.  If not, see <http://www.gnu.org/licenses/>.*/
/**/

#include "plank.h"
#include <glib.h>
#include <glib-object.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  {
	PLANK_DOCKLET_ITEM_0_PROPERTY,
	PLANK_DOCKLET_ITEM_NUM_PROPERTIES
};
static GParamSpec* plank_docklet_item_properties[PLANK_DOCKLET_ITEM_NUM_PROPERTIES];

static gpointer plank_docklet_item_parent_class = NULL;

static gboolean plank_docklet_item_real_is_valid (PlankDockItem* base);
static GType plank_docklet_item_get_type_once (void);

static gboolean
plank_docklet_item_real_is_valid (PlankDockItem* base)
{
	PlankDockletItem * self;
	gboolean result;
	self = (PlankDockletItem*) base;
	result = TRUE;
	return result;
}

PlankDockletItem*
plank_docklet_item_construct (GType object_type)
{
	PlankDockletItem * self = NULL;
	self = (PlankDockletItem*) plank_dock_item_construct (object_type);
	return self;
}

static void
plank_docklet_item_class_init (PlankDockletItemClass * klass,
                               gpointer klass_data)
{
	plank_docklet_item_parent_class = g_type_class_peek_parent (klass);
	((PlankDockItemClass *) klass)->is_valid = (gboolean (*) (PlankDockItem*)) plank_docklet_item_real_is_valid;
}

static void
plank_docklet_item_instance_init (PlankDockletItem * self,
                                  gpointer klass)
{
}

static GType
plank_docklet_item_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (PlankDockletItemClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plank_docklet_item_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PlankDockletItem), 0, (GInstanceInitFunc) plank_docklet_item_instance_init, NULL };
	GType plank_docklet_item_type_id;
	plank_docklet_item_type_id = g_type_register_static (PLANK_TYPE_DOCK_ITEM, "PlankDockletItem", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
	return plank_docklet_item_type_id;
}

GType
plank_docklet_item_get_type (void)
{
	static volatile gsize plank_docklet_item_type_id__once = 0;
	if (g_once_init_enter (&plank_docklet_item_type_id__once)) {
		GType plank_docklet_item_type_id;
		plank_docklet_item_type_id = plank_docklet_item_get_type_once ();
		g_once_init_leave (&plank_docklet_item_type_id__once, plank_docklet_item_type_id);
	}
	return plank_docklet_item_type_id__once;
}

