diff --git a/src/libsysprof-analyze/sysprof-callgraph-frame-private.h b/src/libsysprof-analyze/sysprof-callgraph-frame-private.h index a33c68db..0d2814e5 100644 --- a/src/libsysprof-analyze/sysprof-callgraph-frame-private.h +++ b/src/libsysprof-analyze/sysprof-callgraph-frame-private.h @@ -25,7 +25,7 @@ G_BEGIN_DECLS -SysprofCallgraphFrame *_sysprof_callgraph_frame_new (SysprofCallgraph *callgraph, - SysprofCallgraphNode *node); +SysprofCallgraphFrame *_sysprof_callgraph_frame_new_for_node (SysprofCallgraph *callgraph, + SysprofCallgraphNode *node); G_END_DECLS diff --git a/src/libsysprof-analyze/sysprof-callgraph-frame.c b/src/libsysprof-analyze/sysprof-callgraph-frame.c index 8ba1ba13..33992402 100644 --- a/src/libsysprof-analyze/sysprof-callgraph-frame.c +++ b/src/libsysprof-analyze/sysprof-callgraph-frame.c @@ -73,7 +73,7 @@ sysprof_callgraph_frame_get_item (GListModel *model, if (iter == NULL) return NULL; - return _sysprof_callgraph_frame_new (self->callgraph, iter); + return _sysprof_callgraph_frame_new_for_node (self->callgraph, iter); } static void @@ -150,8 +150,8 @@ sysprof_callgraph_frame_init (SysprofCallgraphFrame *self) } SysprofCallgraphFrame * -_sysprof_callgraph_frame_new (SysprofCallgraph *callgraph, - SysprofCallgraphNode *node) +_sysprof_callgraph_frame_new_for_node (SysprofCallgraph *callgraph, + SysprofCallgraphNode *node) { SysprofCallgraphFrame *self; diff --git a/src/libsysprof-analyze/sysprof-callgraph.c b/src/libsysprof-analyze/sysprof-callgraph.c index 0e5be21a..593bfc20 100644 --- a/src/libsysprof-analyze/sysprof-callgraph.c +++ b/src/libsysprof-analyze/sysprof-callgraph.c @@ -53,7 +53,7 @@ sysprof_callgraph_get_item (GListModel *model, if (position > 0) return NULL; - return _sysprof_callgraph_frame_new (self, &self->root); + return _sysprof_callgraph_frame_new_for_node (self, &self->root); } static void