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 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