summaryrefslogtreecommitdiff
path: root/src/graph/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/node.c')
-rw-r--r--src/graph/node.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/graph/node.c b/src/graph/node.c
index e6427d8..09cfe30 100644
--- a/src/graph/node.c
+++ b/src/graph/node.c
@@ -223,10 +223,10 @@ char *g_graph_node_register_for_dot(const GGraphNode *node, char *cmds)
/******************************************************************************
* *
-* Paramètres : node = intermédiaire à consulter. *
-* fixed = support de destination. *
-* x = abscisse du point d'intégration. *
-* y = ordonnée du point d'intégration. *
+* Paramètres : node = intermédiaire à consulter. *
+* view = support de destination. *
+* x = abscisse du point d'intégration. *
+* y = ordonnée du point d'intégration. *
* *
* Description : Place le morceau de code de l'intermédiaire à l'écran. *
* *
@@ -236,7 +236,7 @@ char *g_graph_node_register_for_dot(const GGraphNode *node, char *cmds)
* *
******************************************************************************/
-void g_graph_node_place(const GGraphNode *node, GtkFixed *fixed, gint x, gint y)
+void g_graph_node_place(const GGraphNode *node, GtkGraphView *view, gint x, gint y)
{
GtkRequisition requisition; /* Taille à l'écran actuelle */
@@ -245,7 +245,7 @@ void g_graph_node_place(const GGraphNode *node, GtkFixed *fixed, gint x, gint y)
x -= requisition.width / 2;
y -= requisition.height / 2;
- gtk_fixed_put(fixed, GTK_WIDGET(node->view), x, y);
+ gtk_graph_view_put(view, GTK_WIDGET(node->view), x, y);
}