/* Separator.c generated by valac 0.56.19, 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 "networkapplet.h"
#include <glib-object.h>
#include <gtk/gtk.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  {
	NETWORK_WIDGETS_SEPARATOR_0_PROPERTY,
	NETWORK_WIDGETS_SEPARATOR_NUM_PROPERTIES
};
static GParamSpec* network_widgets_separator_properties[NETWORK_WIDGETS_SEPARATOR_NUM_PROPERTIES];

static gpointer network_widgets_separator_parent_class = NULL;
static GType network_widgets_separator_type_id = 0;

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

NetworkWidgetsSeparator*
network_widgets_separator_new (void)
{
	return network_widgets_separator_construct (NETWORK_WIDGETS_TYPE_SEPARATOR);
}

static void
network_widgets_separator_class_init (NetworkWidgetsSeparatorClass * klass,
                                      gpointer klass_data)
{
	network_widgets_separator_parent_class = g_type_class_peek_parent (klass);
}

static void
network_widgets_separator_instance_init (NetworkWidgetsSeparator * self,
                                         gpointer klass)
{
}

GType
network_widgets_separator_get_type (void)
{
	return network_widgets_separator_type_id;
}

GType
network_widgets_separator_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (NetworkWidgetsSeparatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) network_widgets_separator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (NetworkWidgetsSeparator), 0, (GInstanceInitFunc) network_widgets_separator_instance_init, NULL };
	network_widgets_separator_type_id = g_type_module_register_type (module, gtk_separator_get_type (), "NetworkWidgetsSeparator", &g_define_type_info, 0);
	return network_widgets_separator_type_id;
}

