diff options
Diffstat (limited to 'libmdock/mdock-item-window-list.c')
-rw-r--r-- | libmdock/mdock-item-window-list.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libmdock/mdock-item-window-list.c b/libmdock/mdock-item-window-list.c new file mode 100644 index 0000000..ebaedd3 --- /dev/null +++ b/libmdock/mdock-item-window-list.c @@ -0,0 +1,56 @@ +/* + * Copyright 2015 Javier S. Pedro <dev.git@javispedro.com> + * + * 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 <http://www.gnu.org/licenses/>. + */ + +#include "mdock-item-window-list.h" + +#define MDOCK_ITEM_WINDOW_LIST_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), MDOCK_TYPE_ITEM_WINDOW_LIST, MDockItemWindowListPrivate)) + +struct _MDockItemWindowListPrivate +{ +}; + +G_DEFINE_TYPE (MDockItemWindowList, mdock_item_window_list, GTK_TYPE_WINDOW) + +static void +mdock_item_window_list_finalize (GObject *object) +{ + G_OBJECT_CLASS (mdock_item_window_list_parent_class)->finalize (object); +} + +static void +mdock_item_window_list_class_init (MDockItemWindowListClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + object_class->finalize = mdock_item_window_list_finalize; + + g_type_class_add_private (object_class, sizeof (MDockItemWindowListPrivate)); +} + +static void +mdock_item_window_list_init (MDockItemWindowList *self) +{ + self->priv = MDOCK_ITEM_WINDOW_LIST_GET_PRIVATE (self); +} + +MDockItemWindowList * +mdock_item_window_list_new () +{ + return g_object_new (MDOCK_TYPE_ITEM_WINDOW_LIST, NULL); +} |