diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-12-12 12:57:12 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-12-12 20:58:09 +0000 |
commit | 334485f65b1f35b193b18780cb7c166f62e1ffc9 (patch) | |
tree | 40344345af037ef225f5ed02bb96a6e2490ea5a2 /ui/gtk | |
parent | eb1307a099ad1ed77cc70d501ab33284fcdb444d (diff) |
Get rid of some GTK+-only routines in file.c.
Just directly call the packet_list_select_ routine from the GTK+ code.
Change-Id: I9146fb968c407d6186b146a86aa34678765f7352
Reviewed-on: https://code.wireshark.org/review/19225
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk')
-rw-r--r-- | ui/gtk/goto_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/goto_dlg.c b/ui/gtk/goto_dlg.c index 4f246d9b77..dbfee24b8c 100644 --- a/ui/gtk/goto_dlg.c +++ b/ui/gtk/goto_dlg.c @@ -146,13 +146,13 @@ goto_framenum_cb(GtkWidget *w _U_, gpointer data _U_) void goto_top_frame_cb(GtkWidget *w _U_, gpointer d _U_) { - cf_goto_top_frame(); + packet_list_select_first_row(); } void goto_bottom_frame_cb(GtkWidget *w _U_, gpointer d _U_) { - cf_goto_bottom_frame(); + packet_list_select_last_row(); } void |