aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d5ffa48..ef593b4 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 025e5d1..fe397ad 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 b20444d..50985d8 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 e973549..1e9176a 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);