summaryrefslogtreecommitdiff
path: root/ui/gtk/graph_analysis.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-19 12:06:34 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-19 19:07:06 +0000
commitc8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6 (patch)
treeb9f7a5e0451550684ebbf089fefe1b685bbe68e4 /ui/gtk/graph_analysis.c
parentc03f13bda8be7db381eb52a090af5871706dfb20 (diff)
downloadwireshark-c8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6.tar.gz
Some routine name changes.
"get_addr_name()" -> "ep_address_to_display()", to 1) indicate that it returns a string with ephemeral scope and 2) indicate that it maps an address to a "displayable" form - a name if possible, an address string if not. "se_get_addr_name()" -> "get_addr_name()", to indicate that its strings have the same scope as "get_ether_name()", "get_hostname()", and "get_hostname6()". Change-Id: If2ab776395c7a4a163fef031d92b7757b5d23838 Reviewed-on: https://code.wireshark.org/review/1216 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/graph_analysis.c')
-rw-r--r--ui/gtk/graph_analysis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/graph_analysis.c b/ui/gtk/graph_analysis.c
index 0a0184936a..609cd3c537 100644
--- a/ui/gtk/graph_analysis.c
+++ b/ui/gtk/graph_analysis.c
@@ -617,7 +617,7 @@ static void dialog_graph_draw(graph_analysis_data_t *user_data)
for (i=0; i<user_data->graph_info->num_nodes; i++) {
/* print the node identifiers */
/* XXX we assign 5 pixels per character in the node identity */
- g_strlcpy(label_string, get_addr_name(&(user_data->graph_info->nodes[i])), NODE_WIDTH/5);
+ g_strlcpy(label_string, ep_address_to_display(&(user_data->graph_info->nodes[i])), NODE_WIDTH/5);
pango_layout_set_text(layout, label_string, -1);
pango_layout_get_pixel_size(layout, &label_width, &label_height);
#if GTK_CHECK_VERSION(2,22,0)