aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-07-16 20:49:01 -0700
committerGuy Harris <guy@alum.mit.edu>2017-07-17 03:49:33 +0000
commit4dd48721ee633fd2db3534ad2e43c00847dce42f (patch)
tree3f6866affdf2e1b12c59ff36746b86a47f640c7c /ui/gtk
parentcdc01b89bf07a5df072d6d0410c4920f857feab7 (diff)
Rename cf_get_comment() to reflect what comment it gets.
Change-Id: Id3b0430a1d462b29833259462536ed4cb0424f77 Reviewed-on: https://code.wireshark.org/review/22662 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/packet_list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c
index 5adfbb7702..fca31ca2fe 100644
--- a/ui/gtk/packet_list.c
+++ b/ui/gtk/packet_list.c
@@ -1557,7 +1557,7 @@ packet_list_get_packet_comment(void)
fdata = packet_list_get_record(model, &iter);
- return cf_get_comment(&cfile, fdata);
+ return cf_get_packet_comment(&cfile, fdata);
}
void
@@ -1571,7 +1571,7 @@ packet_list_return_all_comments(GtkTextBuffer *buffer)
char *pkt_comment;
fdata = frame_data_sequence_find(cfile.frames, framenum);
- pkt_comment = cf_get_comment(&cfile, fdata);
+ pkt_comment = cf_get_packet_comment(&cfile, fdata);
if (pkt_comment) {
buf_str = g_strdup_printf("Frame %u: %s \n\n",framenum, pkt_comment);
gtk_text_buffer_insert_at_cursor (buffer, buf_str, -1);
@@ -1697,7 +1697,7 @@ query_packet_list_tooltip_cb(GtkWidget *widget, gint x, gint y, gboolean keyboar
}
fdata = packet_list_get_record(model, &iter);
- pkt_comment = cf_get_comment(&cfile, fdata);
+ pkt_comment = cf_get_packet_comment(&cfile, fdata);
if (pkt_comment != NULL) {
gtk_tooltip_set_markup(tooltip, pkt_comment);