From 66f858b2accc8645c199dc680164c5fa57be87dd Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 3 Mar 2008 14:15:06 +0200 Subject: [PATCH] Rename function as it's not track specific --- src/cb.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cb.c b/src/cb.c index 41cd62e..345114e 100644 --- a/src/cb.c +++ b/src/cb.c @@ -65,11 +65,11 @@ #include "map-repo.h" static void -track_tree_view_update_store(GtkWidget *tree_view, Path *track) +path_tree_view_update_store(GtkWidget *tree_view, Path *path) { GtkListStore *store; -store=path_generate_store(track); +store=path_generate_store(path); if (store!=NULL) { gtk_tree_view_set_model(tree_view, store); g_object_unref(G_OBJECT(store)); @@ -80,7 +80,7 @@ gboolean menu_cb_route_download(GtkAction * action) { route_download(NULL); -track_tree_view_update_store(route_tree_view, &_route); +path_tree_view_update_store(route_tree_view, &_route); return TRUE; } @@ -90,7 +90,7 @@ menu_cb_route_open(GtkAction * action) GtkListStore *store; route_open_file(); -track_tree_view_update_store(route_tree_view, &_route); +path_tree_view_update_store(route_tree_view, &_route); return TRUE; } @@ -129,7 +129,7 @@ gboolean menu_cb_track_open(GtkAction * action) { track_open(); -track_tree_view_update_store(track_tree_view, &_track); +path_tree_view_update_store(track_tree_view, &_track); return TRUE; } @@ -137,7 +137,7 @@ gboolean menu_cb_track_save(GtkAction * action) { track_save(); -track_tree_view_update_store(track_tree_view, &_track); +path_tree_view_update_store(track_tree_view, &_track); return TRUE; } @@ -145,7 +145,7 @@ gboolean menu_cb_track_insert_break(GtkAction * action) { track_insert_break(); -track_tree_view_update_store(track_tree_view, &_track); +path_tree_view_update_store(track_tree_view, &_track); return TRUE; } @@ -153,7 +153,7 @@ gboolean menu_cb_track_insert_mark(GtkAction * action) { track_insert_mark(); -track_tree_view_update_store(track_tree_view, &_track); +path_tree_view_update_store(track_tree_view, &_track); return TRUE; } @@ -182,7 +182,7 @@ gboolean menu_cb_track_clear(GtkAction * action) { track_clear(); -track_tree_view_update_store(track_tree_view, &_track); +path_tree_view_update_store(track_tree_view, &_track); return TRUE; } -- 2.39.5