diff options
Diffstat (limited to 'src/gui/panels/panel.c')
-rw-r--r-- | src/gui/panels/panel.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c index 164fca7..e359962 100644 --- a/src/gui/panels/panel.c +++ b/src/gui/panels/panel.c @@ -57,9 +57,6 @@ static void g_panel_item_finalize(GPanelItem *); /* Détermine si un panneau peut être filtré. */ static bool gtk_panel_item_can_search(const GPanelItem *); -/* Détermine si un panneau peut être fermé. */ -static bool gtk_panel_item_can_be_closed(const GPanelItem *); - /* Fournit le nom court du composant encapsulable. */ static const char *gtk_panel_item_get_name(const GPanelItem *); @@ -133,7 +130,6 @@ static void g_panel_item_class_init(GPanelItemClass *klass) G_TYPE_NONE, 0); klass->can_search = false; - klass->can_be_closed = false; } @@ -178,7 +174,6 @@ static void g_panel_item_init(GPanelItem *item) static void g_panel_item_dockable_interface_init(GtkDockableInterface *iface) { iface->can_search = (can_dockable_search_fc)gtk_panel_item_can_search; - iface->can_be_closed = (can_dockable_search_fc)gtk_panel_item_can_be_closed; iface->get_name = (get_dockable_name_fc)gtk_panel_item_get_name; iface->get_desc = (get_dockable_desc_fc)gtk_panel_item_get_desc; iface->get_widget = (get_dockable_widget_fc)gtk_panel_item_get_widget; @@ -371,32 +366,6 @@ static bool gtk_panel_item_can_search(const GPanelItem *item) * * * Paramètres : item = instance GTK dont l'interface est à consulter. * * * -* Description : Détermine si un panneau peut être fermé. * -* * -* Retour : Bilan de la consultation. * -* * -* Remarques : - * -* * -******************************************************************************/ - -static bool gtk_panel_item_can_be_closed(const GPanelItem *item) -{ - bool result; /* Indication à retourner */ - GPanelItemClass *class; /* Classe de l'élément visé */ - - class = G_PANEL_ITEM_GET_CLASS(item); - - result = class->can_be_closed; - - return result; - -} - - -/****************************************************************************** -* * -* Paramètres : item = instance GTK dont l'interface est à consulter. * -* * * Description : Fournit le nom court du composant encapsulable. * * * * Retour : Désignation humaine pour titre d'onglet ou de fenêtre. * |