diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-10-22 22:41:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-10-22 22:41:50 (GMT) |
commit | 30bc43ca00140bc215d6a1beb81ab5542e68d13b (patch) | |
tree | 205eb23f57545d195e1fcb8141ac80da28409f80 /src/graph/node.c | |
parent | b649c2c01ab407958f3b7057153fb02c9c7d0be1 (diff) |
Supported scrolling internally and thus fixed bugs with big binaries.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@132 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/graph/node.c')
-rw-r--r-- | src/graph/node.c | 12 |
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); } |