diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:38:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:38:38 (GMT) |
commit | af29afcc9a37113e4187b1c0a20e3bf5e2dcd4d9 (patch) | |
tree | 46da4b3886b43d4bb549aa01012bda13ce36c375 /src/gtkext/gtkdockitem.h | |
parent | ed846003946a44588c7c131b9c9001f97bf10711 (diff) |
Removed a lot of gcc warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@272 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkdockitem.h')
-rw-r--r-- | src/gtkext/gtkdockitem.h | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/src/gtkext/gtkdockitem.h b/src/gtkext/gtkdockitem.h deleted file mode 100644 index 7525b9a..0000000 --- a/src/gtkext/gtkdockitem.h +++ /dev/null @@ -1,106 +0,0 @@ - -/* OpenIDA - Outil d'analyse de fichiers binaires - * gtkdockitem.h - prototypes pour la mémorisation des propriétés d'un panneau dockable - * - * Copyright (C) 2009-2012 Cyrille Bagard - * - * This file is part of OpenIDA. - * - * OpenIDA 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. - * - * OpenIDA 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 Foobar. If not, see <http://www.gnu.org/licenses/>. - */ - - -#ifndef _GTKEXT_GTKDOCKITEM_H -#define _GTKEXT_GTKDOCKITEM_H - - -#include <gtk/gtk.h> - - -G_BEGIN_DECLS - - -#define G_TYPE_DOCK_ITEM g_dock_item_get_type() -#define G_DOCK_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_dock_item_get_type(), GDockItem)) -#define G_IS_DOCK_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_dock_item_get_type())) -#define G_DOCK_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_DOCK_ITEM, GDockItemClass)) -#define G_IS_DOCK_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_DOCK_ITEM)) -#define G_DOCK_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_DOCK_ITEM, GDockItemClass)) - - - - - - - - -typedef struct _GDockItem GDockItem; -typedef struct _GDockItemClass GDockItemClass; - - - - -struct _GDockItem -{ - GObject parent; /* A laisser en premier */ - - gchar *name; /* Nom court pour titre */ - gchar *desc; /* Nom long pour onglet */ - - GtkWidget *panel; /* Pnneau construit associé */ - -}; - -struct _GDockItemClass -{ - GObjectClass parent; /* A laisser en premier */ - - /* Signaux */ - - void (* content_changed) (GDockItem *, GtkWidget *, GtkWidget *); - -}; - - -/* Détermine le type d'un panneau dockable. */ -GType g_dock_item_get_type(void); - -/* Crée une nouvelle mémorisation de panneau dockable. */ -GDockItem *g_dock_item_new(const gchar *, GtkWidget *); - -/* Change le nom du panneau dockable pour son onglet. */ -void g_dock_item_set_name(GDockItem *, const gchar *); - -/* Fournit le nom du panneau dockable pour son onglet. */ -const gchar *g_dock_item_get_name(GDockItem *); - -/* Change la description du panneau dockable pour son titre. */ -void g_dock_item_set_desc(GDockItem *, const gchar *); - -/* Fournit la description du panneau dockable pour son titre. */ -const gchar *g_dock_item_get_desc(GDockItem *); - -/* Change le panneau dockable associé à l'élément. */ -void g_dock_item_set_panel(GDockItem *, GtkWidget *); - -/* Fournit le panneau dockable associé à l'élément. */ -GtkWidget *g_dock_item_get_panel(GDockItem *); - - - -G_END_DECLS - - - -#endif /* _GTKEXT_GTKDOCKITEM_H */ |