summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-08-30 07:33:24 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-08-30 07:33:24 +0000
commitf2e7cc95182da02b258af65e585556cd0dd59f6c (patch)
treefe84730fdb9bc2857509d89ca56fa907e7d60d94
parent4486bb9d8557b56dcbf3b538bd795b2271c045ae (diff)
downloadwireshark-f2e7cc95182da02b258af65e585556cd0dd59f6c.tar.gz
Do as the comment says - move the variable to gtkglobals.
svn path=/trunk/; revision=38791
-rw-r--r--globals.h2
-rw-r--r--gtk/gtkglobals.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/globals.h b/globals.h
index 5bb8718b67..7e3e526ecd 100644
--- a/globals.h
+++ b/globals.h
@@ -33,8 +33,6 @@ extern "C" {
#include <epan/timestamp.h>
extern capture_file cfile;
-/** @todo move this to the gtk dir */
-extern gboolean auto_scroll_live;
#ifdef __cplusplus
}
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h
index 152e0f2144..f4d4ab7ac4 100644
--- a/gtk/gtkglobals.h
+++ b/gtk/gtkglobals.h
@@ -51,4 +51,7 @@ extern GtkWidget *byte_nb_ptr_gbl;
/** The filter text entry in the filter toolbar. */
extern GtkWidget *main_display_filter_widget;
+/** If autoscroll in live captures is active or not */
+extern gboolean auto_scroll_live;
+
#endif