From eb1307a099ad1ed77cc70d501ab33284fcdb444d Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 12 Dec 2016 12:34:26 -0800 Subject: Mark routines GTK+ only. Mark packet_list_select_last_row and cf_goto_bottom_frame GTK+ only. Change-Id: I158814c2fa8c5fa8021b7156dded0945535c978a Reviewed-on: https://code.wireshark.org/review/19223 Reviewed-by: Gerald Combs --- file.c | 1 + file.h | 1 + ui/qt/packet_list.cpp | 1 + ui/ui_util.h | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index d5ffa48a76..ef593b4a3e 100644 --- a/file.c +++ b/file.c @@ -3620,6 +3620,7 @@ cf_goto_top_frame(void) return TRUE; /* we got to that packet */ } +/* GTK+ only */ gboolean cf_goto_bottom_frame(void) { diff --git a/file.h b/file.h index 025e5d1971..fe397adb8e 100644 --- a/file.h +++ b/file.h @@ -569,6 +569,7 @@ gboolean cf_goto_top_frame(void); * * @return TRUE if last row exists, FALSE otherwise */ +/* GTK+ only */ gboolean cf_goto_bottom_frame(void); /** diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index b20444da89..50985d8070 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -123,6 +123,7 @@ packet_list_select_first_row(void) gbl_cur_packet_list->goFirstPacket(); } +// GTK+ only void packet_list_select_last_row(void) { diff --git a/ui/ui_util.h b/ui/ui_util.h index e973549849..1e9176a49b 100644 --- a/ui/ui_util.h +++ b/ui/ui_util.h @@ -77,7 +77,7 @@ void packet_list_set_selected_row(gint row); void packet_list_enable_color(gboolean enable); void packet_list_queue_draw(void); void packet_list_select_first_row(void); -void packet_list_select_last_row(void); +void packet_list_select_last_row(void); /* GTK+ only */ void packet_list_moveto_end(void); gboolean packet_list_check_end(void); /* GTK+ only */ gboolean packet_list_select_row_from_data(frame_data *fdata_needle); -- cgit v1.2.3