libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Remove the skel files as they're not necessary
release-2.x.y
2021-07-10, Gary Kramlich
9ca51271d56e
Parents
b98bfe7c5397
Children
31662f6b9346
Remove the skel files as they're not necessary
Testing Done:
None
Reviewed at https://reviews.imfreedom.org/r/798/
2 files changed, 0 insertions(+), 207 deletions(-)
+0
-128
gnt-skel.c
+0
-79
gnt-skel.h
--- a/gnt-skel.c Sat Jul 10 00:29:46 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-/*
- * GNT - The GLib Ncurses Toolkit
- *
- * GNT is the legal property of its developers, whose names are too numerous
- * to list here. Please refer to the COPYRIGHT file distributed with this
- * source distribution.
- *
- * This library 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 02111-1301 USA
- */
-
-#include "gnt-skel.h"
-
-enum
-{
- SIGS = 1,
-};
-
-static GntWidgetClass *parent_class = NULL;
-static guint signals[SIGS] = { 0 };
-
-static void
-gnt_skel_draw(GntWidget *widget)
-{
- GNTDEBUG;
-}
-
-static void
-gnt_skel_size_request(GntWidget *widget)
-{
-}
-
-static void
-gnt_skel_map(GntWidget *widget)
-{
- if (widget->priv.width == 0 || widget->priv.height == 0)
- gnt_widget_size_request(widget);
- GNTDEBUG;
-}
-
-static gboolean
-gnt_skel_key_pressed(GntWidget *widget, const char *text)
-{
- return FALSE;
-}
-
-static void
-gnt_skel_destroy(GntWidget *widget)
-{
-}
-
-static void
-gnt_skel_class_init(GntSkelClass *klass)
-{
- GObjectClass *obj_class = G_OBJECT_CLASS(klass);
-
- parent_class = GNT_WIDGET_CLASS(klass);
- parent_class->destroy = gnt_skel_destroy;
- parent_class->draw = gnt_skel_draw;
- parent_class->map = gnt_skel_map;
- parent_class->size_request = gnt_skel_size_request;
- parent_class->key_pressed = gnt_skel_key_pressed;
-
- parent_class->actions = g_hash_table_duplicate(parent_class->actions, g_str_hash,
- g_str_equal, NULL, (GDestroyNotify)gnt_widget_action_free);
- parent_class->bindings = g_hash_table_duplicate(parent_class->bindings, g_str_hash,
- g_str_equal, NULL, (GDestroyNotify)gnt_widget_action_param_free);
-
- gnt_widget_actions_read(G_OBJECT_CLASS_TYPE(klass), klass);
-
- GNTDEBUG;
-}
-
-static void
-gnt_skel_init(GTypeInstance *instance, gpointer class)
-{
- GNTDEBUG;
-}
-
-/******************************************************************************
- * GntSkel API
- *****************************************************************************/
-GType
-gnt_skel_get_gtype(void)
-{
- static GType type = 0;
-
- if(type == 0)
- {
- static const GTypeInfo info = {
- sizeof(GntSkelClass),
- NULL, /* base_init */
- NULL, /* base_finalize */
- (GClassInitFunc)gnt_skel_class_init,
- NULL, /* class_finalize */
- NULL, /* class_data */
- sizeof(GntSkel),
- 0, /* n_preallocs */
- gnt_skel_init, /* instance_init */
- };
-
- type = g_type_register_static(GNT_TYPE_WIDGET,
- "GntSkel",
- &info, 0);
- }
-
- return type;
-}
-
-GntWidget *gnt_skel_new()
-{
- GntWidget *widget = g_object_new(GNT_TYPE_SKEL, NULL);
- GntSkel *skel = GNT_SKEL(widget);
-
- return widget;
-}
-
--- a/gnt-skel.h Sat Jul 10 00:29:46 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
- * GNT - The GLib Ncurses Toolkit
- *
- * GNT is the legal property of its developers, whose names are too numerous
- * to list here. Please refer to the COPYRIGHT file distributed with this
- * source distribution.
- *
- * This library 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 02111-1301 USA
- */
-
-#ifndef GNT_SKEL_H
-#define GNT_SKEL_H
-/*
- * SECTION:gnt-skel
- * @section_id: libgnt-gnt-skel
- * @title: GntSkel
- * @short_description: A skeleton of an example widget
- */
-
-#include "gntwidget.h"
-#include "gnt.h"
-#include "gntcolors.h"
-#include "gntkeys.h"
-
-#define GNT_TYPE_SKEL (gnt_skel_get_gtype())
-#define GNT_SKEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_SKEL, GntSkel))
-#define GNT_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_SKEL, GntSkelClass))
-#define GNT_IS_SKEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_SKEL))
-#define GNT_IS_SKEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_SKEL))
-#define GNT_SKEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_SKEL, GntSkelClass))
-
-typedef struct _GntSkel GntSkel;
-typedef struct _GntSkelClass GntSkelClass;
-#ifndef GNT_DISABLE_DEPRECATED
-/**
- * GntSkelPriv:
- *
- * Deprecated: 2.14.0: This is an internal implementation detail.
- */
-typedef struct _GntSkelPriv GntSkelPriv;
-#endif
-
-struct _GntSkel
-{
- GntWidget parent;
-};
-
-struct _GntSkelClass
-{
- GntWidgetClass parent;
-
- /*< private >*/
- void (*gnt_reserved1)(void);
- void (*gnt_reserved2)(void);
- void (*gnt_reserved3)(void);
- void (*gnt_reserved4)(void);
-};
-
-G_BEGIN_DECLS
-
-GType gnt_skel_get_gtype(void);
-
-GntWidget * gnt_skel_new();
-
-G_END_DECLS
-
-#endif /* GNT_SKEL_H */