diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-07-16 20:49:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-07-17 03:49:33 +0000 |
commit | 4dd48721ee633fd2db3534ad2e43c00847dce42f (patch) | |
tree | 3f6866affdf2e1b12c59ff36746b86a47f640c7c /ui/gtk | |
parent | cdc01b89bf07a5df072d6d0410c4920f857feab7 (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.c | 6 |
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); |