From f2e7cc95182da02b258af65e585556cd0dd59f6c Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 30 Aug 2011 07:33:24 +0000 Subject: [PATCH] Do as the comment says - move the variable to gtkglobals. svn path=/trunk/; revision=38791 --- globals.h | 2 -- gtk/gtkglobals.h | 3 +++ 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 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