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

/*
 * Copyright (c) 2011-2017 elementary LLC (https://elementary.io)
 *
 * This program 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 2 of the License, or (at your option) any later version.
 *
 * This program 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, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301 USA.
 */

#include "wingpanel.h"
#include <gtk/gtk.h>
#include <glib-object.h>

enum  {
	WINGPANEL_WIDGETS_SEPARATOR_0_PROPERTY,
	WINGPANEL_WIDGETS_SEPARATOR_NUM_PROPERTIES
};
static GParamSpec* wingpanel_widgets_separator_properties[WINGPANEL_WIDGETS_SEPARATOR_NUM_PROPERTIES];

static gpointer wingpanel_widgets_separator_parent_class = NULL;

static GType wingpanel_widgets_separator_get_type_once (void);

WingpanelWidgetsSeparator*
wingpanel_widgets_separator_construct (GType object_type)
{
	WingpanelWidgetsSeparator * self = NULL;
	self = (WingpanelWidgetsSeparator*) g_object_new (object_type, "margin-bottom", 3, "margin-top", 3, "orientation", GTK_ORIENTATION_HORIZONTAL, NULL);
	return self;
}

WingpanelWidgetsSeparator*
wingpanel_widgets_separator_new (void)
{
	return wingpanel_widgets_separator_construct (WINGPANEL_WIDGETS_TYPE_SEPARATOR);
}

static void
wingpanel_widgets_separator_class_init (WingpanelWidgetsSeparatorClass * klass,
                                        gpointer klass_data)
{
	wingpanel_widgets_separator_parent_class = g_type_class_peek_parent (klass);
}

static void
wingpanel_widgets_separator_instance_init (WingpanelWidgetsSeparator * self,
                                           gpointer klass)
{
}

static GType
wingpanel_widgets_separator_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (WingpanelWidgetsSeparatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) wingpanel_widgets_separator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (WingpanelWidgetsSeparator), 0, (GInstanceInitFunc) wingpanel_widgets_separator_instance_init, NULL };
	GType wingpanel_widgets_separator_type_id;
	wingpanel_widgets_separator_type_id = g_type_register_static (gtk_separator_get_type (), "WingpanelWidgetsSeparator", &g_define_type_info, 0);
	return wingpanel_widgets_separator_type_id;
}

GType
wingpanel_widgets_separator_get_type (void)
{
	static volatile gsize wingpanel_widgets_separator_type_id__once = 0;
	if (g_once_init_enter (&wingpanel_widgets_separator_type_id__once)) {
		GType wingpanel_widgets_separator_type_id;
		wingpanel_widgets_separator_type_id = wingpanel_widgets_separator_get_type_once ();
		g_once_init_leave (&wingpanel_widgets_separator_type_id__once, wingpanel_widgets_separator_type_id);
	}
	return wingpanel_widgets_separator_type_id__once;
}

