aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-12-12 12:34:26 -0800
committerGerald Combs <gerald@wireshark.org>2016-12-12 20:37:10 +0000
commiteb1307a099ad1ed77cc70d501ab33284fcdb444d (patch)
treefd5c27aa3cc6c9f532593ffebad9c898104f2118
parent128246bffbdfc2f30183689c2f9d9e4f676ca520 (diff)
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 <gerald@wireshark.org>
-rw-r--r--file.c1
-rw-r--r--file.h1
-rw-r--r--ui/qt/packet_list.cpp1
-rw-r--r--ui/ui_util.h2
4 files changed, 4 insertions, 1 deletions
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);