aboutsummaryrefslogtreecommitdiffstats
path: root/ui_util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-24 21:02:55 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-24 21:02:55 +0000
commita39c3fab30321ab0cc888069cdb9aea70a45ebce (patch)
tree1276b9678568af7129259d74bd3df0d7278e4710 /ui_util.h
parentb99f04d32cfe34e5ff1d7f52518f36ae336e39a5 (diff)
new_packet_list_find_row_from_data() is always used to select a packet,
so get rid of the select_flag argument, and rename it new_packet_list_select_row_from_data(). It's also always passed a frame_data *, so make its argument a frame_data *. Its return value is used only to detect whether the packet was found in the display or not, so make it a gboolean. Check it in *all* cases where it's called, and change the dialog message a bit (the most likely cause is that the user cancelled a redissection of the packets, so not all packets in the capture file are in the display. Also, in the find case, pass it the new packet we found. svn path=/trunk/; revision=36839
Diffstat (limited to 'ui_util.h')
-rw-r--r--ui_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui_util.h b/ui_util.h
index 2e0e5ae1d6..cd023a32a7 100644
--- a/ui_util.h
+++ b/ui_util.h
@@ -71,7 +71,7 @@ void new_packet_list_select_first_row(void);
void new_packet_list_select_last_row(void);
void new_packet_list_moveto_end(void);
gboolean new_packet_list_check_end(void);
-gint new_packet_list_find_row_from_data(gpointer data, gboolean select);
+gboolean new_packet_list_select_row_from_data(frame_data *fdata_needle);
void new_packet_list_resize_column(gint col);
#ifdef __cplusplus