diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
commit | 1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (patch) | |
tree | c3581ceb7f8586f2f6822de563927a1246dd33a5 /src/gui/tb | |
parent | 6122bb7f34b178d4c07285adae16afcc55294b1f (diff) |
Rewritten the whole API dealing with panels.
Diffstat (limited to 'src/gui/tb')
-rw-r--r-- | src/gui/tb/portions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c index f8b2b92..64b44db 100644 --- a/src/gui/tb/portions.c +++ b/src/gui/tb/portions.c @@ -70,7 +70,7 @@ static void g_portions_tbitem_dispose(GPortionsTbItem *); static void g_portions_tbitem_finalize(GPortionsTbItem *); /* Fournit le nom interne attribué à l'élément réactif. */ -static char *g_portions_tbitem_get_key(const GPortionsTbItem *); +static char *g_portions_tbitem_class_get_key(const GPortionsTbItemClass *); /* Fournit le composant GTK associé à l'élément réactif. */ static GtkWidget *g_portions_tbitem_get_widget(const GPortionsTbItem *); @@ -111,7 +111,7 @@ static void g_portions_tbitem_class_init(GPortionsTbItemClass *klass) item = G_EDITOR_ITEM_CLASS(klass); - item->get_key = (get_item_key_fc)g_portions_tbitem_get_key; + item->get_key = (get_item_key_fc)g_portions_tbitem_class_get_key; item->get_widget = (get_item_widget_fc)g_portions_tbitem_get_widget; item->change_content = (change_item_content_fc)change_portions_tbitem_current_content; @@ -220,7 +220,7 @@ GEditorItem *g_portions_tbitem_new(GObject *ref) /****************************************************************************** * * -* Paramètres : item = instance à consulter. * +* Paramètres : class = classe à consulter. * * * * Description : Fournit le nom interne attribué à l'élément réactif. * * * @@ -230,7 +230,7 @@ GEditorItem *g_portions_tbitem_new(GObject *ref) * * ******************************************************************************/ -static char *g_portions_tbitem_get_key(const GPortionsTbItem *item) +static char *g_portions_tbitem_class_get_key(const GPortionsTbItemClass *item) { char *result; /* Description à renvoyer */ |