diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-06-30 19:38:26 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-06-30 19:38:26 +0000 |
commit | 5356785ede40eaeeccad219d6f2dd4e7aa840f5f (patch) | |
tree | 450cf7f4019bd90bbc0a6d4c51b5f73155f3e35c /file.c | |
parent | 852d60ca7e49dc13f637cbc2f3ebd141a76b8bcb (diff) | |
download | wireshark-5356785ede40eaeeccad219d6f2dd4e7aa840f5f.tar.gz |
Reverting
http://anonsvn.wireshark.org/viewvc?view=rev&revision=29861
seems to fix the scrolling in live captures issue.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4891
svn path=/trunk/; revision=33384
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -772,7 +772,6 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err) dfilter_t *dfcode; gboolean filtering_tap_listeners; guint tap_flags; - volatile gboolean visible = FALSE; gboolean compiled; /* Compile the current display filter. @@ -812,10 +811,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err) TRY{ if (read_packet(cf, dfcode, filtering_tap_listeners, tap_flags, data_offset) != -1) { - visible = TRUE; newly_displayed_packets++; - }else{ - visible = FALSE; } } CATCH(OutOfMemoryError) { @@ -876,7 +872,6 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err) we have some new packets. */ if (newly_displayed_packets && auto_scroll_live && cf->plist_end != NULL) #ifdef NEW_PACKET_LIST - if(visible) new_packet_list_moveto_end(); #else /* this doesn't seem to work well with a frozen GTK_Clist, so do this after |