From 431fe9cf106ed205dd26dc9a6e1ec542c8fed7f8 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 25 Nov 2018 23:04:14 +0100 Subject: Removed unused code. --- src/gtkext/gtkdockstation.c | 20 -------------------- src/gtkext/gtkdockstation.h | 3 --- 2 files changed, 23 deletions(-) diff --git a/src/gtkext/gtkdockstation.c b/src/gtkext/gtkdockstation.c index 688fe4b..b08c8db 100644 --- a/src/gtkext/gtkdockstation.c +++ b/src/gtkext/gtkdockstation.c @@ -403,26 +403,6 @@ void gtk_dock_station_remove_dockable(GtkDockStation *station, GtkDockable *dock /****************************************************************************** * * -* Paramètres : station = plateforme GTK à consulter. * -* index = indice de l'onglet visé. * -* * -* Description : Renvoie un composant intégré dans l'affichage centralisé. * -* * -* Retour : Composant associé à l'indice donné. * -* * -* Remarques : - * -* * -******************************************************************************/ - -GtkWidget *gtk_dock_panel_get_widget(GtkDockStation *station, gint index) -{ - return gtk_notebook_get_nth_page(GTK_NOTEBOOK(station), index); - -} - - -/****************************************************************************** -* * * Paramètres : button = bouton à l'origine de la procédure. * * station = station d'accueil pour différents composants. * * * diff --git a/src/gtkext/gtkdockstation.h b/src/gtkext/gtkdockstation.h index 5825164..91329b5 100644 --- a/src/gtkext/gtkdockstation.h +++ b/src/gtkext/gtkdockstation.h @@ -88,9 +88,6 @@ void gtk_dock_panel_change_active_widget(GtkDockStation *, GtkWidget *); /* Retire un paquet d'informations de l'affichage centralisé. */ void gtk_dock_station_remove_dockable(GtkDockStation *, GtkDockable *); -/* Renvoie un composant intégré dans l'affichage centralisé. */ -GtkWidget *gtk_dock_panel_get_widget(GtkDockStation *, gint); - //G_END_DECLS -- cgit v0.11.2-87-g4458