summaryrefslogtreecommitdiff
path: root/src/gui/panels/log.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-08-19 22:40:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-08-19 22:40:33 (GMT)
commit09d07908465d462101d27ecb1b60df52d63bbe5d (patch)
treee9c8dc53425017efd68feee73ecf9587bd0ba196 /src/gui/panels/log.c
parentb226ca8a19e746521f6f0c1e3b71deed7ea9ab2e (diff)
Rewritten a cleaner way to dock panels.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@261 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/log.c')
-rw-r--r--src/gui/panels/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/panels/log.c b/src/gui/panels/log.c
index 6bda922..0baa3a4 100644
--- a/src/gui/panels/log.c
+++ b/src/gui/panels/log.c
@@ -50,7 +50,7 @@ static GtkWidget *build_log_panel(void);
/******************************************************************************
* *
-* Paramètres : - *
+* Paramètres : ref = espace de référencement global. *
* *
* Description : Construit le panneau d'affichage des messages système. *
* *
@@ -60,14 +60,14 @@ static GtkWidget *build_log_panel(void);
* *
******************************************************************************/
-GPanelItem *create_log_panel(void)
+GPanelItem *create_log_panel(GObject *ref)
{
GEditorItem *result; /* Elément réactif à renvoyer */
GtkWidget *panel; /* Composant GTK visuel */
panel = build_log_panel();
- result = g_panel_item_new(PANEL_LOG_ID, _("Misc information"), panel, "S");
+ result = g_panel_item_new(ref, PANEL_LOG_ID, _("Misc information"), panel, "S");
return G_PANEL_ITEM(result);