diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-24 21:02:55 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-24 21:02:55 +0000 |
commit | c3642644dcc4bfee5f350e26152998efd30ed9e9 (patch) | |
tree | 1276b9678568af7129259d74bd3df0d7278e4710 /ui_util.h | |
parent | 1718b0ca661249ce3839ee1b1e55db5e180f8697 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36839 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ui_util.h')
-rw-r--r-- | ui_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |