/* * Copyright 2015 Javier S. Pedro * * This file is part of MDock. * * MDock 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. * * MDock 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 Lesser General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MDock. If not, see . */ #include "mdock-item.h" #define MDOCK_ITEM_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), MDOCK_TYPE_ITEM, MDockItemPrivate)) struct _MDockItemPrivate { }; G_DEFINE_TYPE (MDockItem, mdock_item, GTK_TYPE_BOX) static void mdock_item_finalize (GObject *object) { G_OBJECT_CLASS (mdock_item_parent_class)->finalize (object); } static void mdock_item_class_init (MDockItemClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->finalize = mdock_item_finalize; g_type_class_add_private (object_class, sizeof (MDockItemPrivate)); } static void mdock_item_init (MDockItem *self) { self->priv = MDOCK_ITEM_GET_PRIVATE (self); } MDockItem * mdock_item_new () { return g_object_new (MDOCK_TYPE_ITEM, NULL); }