aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-03-21 00:55:04 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-03-21 00:55:04 +0000
commit04dcf4e154084a393fba10367d1d64a0a8987508 (patch)
treeb84fa42127938d963cafed4ba97f1b7009eb6016 /gtk
parent49045443e96945dbb818160b38f58f174830199b (diff)
Rename all stats_tree extern functions to start with stats_tree_
svn path=/trunk/; revision=13840
Diffstat (limited to 'gtk')
-rw-r--r--gtk/stats_tree_stat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/stats_tree_stat.c b/gtk/stats_tree_stat.c
index 2a5c659890..2573b229e3 100644
--- a/gtk/stats_tree_stat.c
+++ b/gtk/stats_tree_stat.c
@@ -131,7 +131,7 @@ static void draw_gtk_node(stat_node* node) {
static gchar percent[NUM_BUF_SIZE];
stat_node* child;
- get_strings_from_node(node, value, rate, percent);
+ stats_tree_get_strs_from_node(node, value, rate, percent);
#if GTK_MAJOR_VERSION >= 2
if (node->st->pr->store) {
@@ -190,14 +190,14 @@ static void free_gtk_tree(GtkWindow *win _U_, stats_tree *st)
st->root.pr->iter = NULL;
#endif
- free_stats_tree(st);
+ stats_tree_free(st);
}
/* initializes the stats_tree window */
static void init_gtk_tree(char* optarg) {
- guint8* abbr = get_st_abbr(optarg);
+ guint8* abbr = stats_tree_get_abbr(optarg);
stats_tree* st = NULL;
stats_tree_cfg* cfg = NULL;
tree_pres* pr = g_malloc(sizeof(tree_pres));
@@ -221,20 +221,20 @@ static void init_gtk_tree(char* optarg) {
#endif
if (abbr) {
- cfg = get_stats_tree_by_abbr(abbr);
+ cfg = stats_tree_get_cfg_by_abbr(abbr);
if (cfg != NULL) {
init_strlen = strlen(cfg->pr->stat_dlg->init_string);
if (strncmp (optarg, cfg->pr->stat_dlg->init_string, init_strlen) == 0){
if (init_strlen == strlen(optarg)) {
- st = new_stats_tree(cfg,pr,NULL);
+ st = stats_tree_new(cfg,pr,NULL);
} else {
- st = new_stats_tree(cfg,pr,((guint8*)optarg)+init_strlen+1);
+ st = stats_tree_new(cfg,pr,((guint8*)optarg)+init_strlen+1);
}
} else {
- st = new_stats_tree(cfg,pr,NULL);
+ st = stats_tree_new(cfg,pr,NULL);
}
} else {
g_error("no such stats_tree (%s) found in stats_tree registry",abbr);