aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_file_dlg.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-09-28 17:44:06 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-09-28 17:44:06 +0000
commitad6a8fbe51507630ed7a9b6eabd0fa7ae1fbadd4 (patch)
treebc9ce4137b3b472b9c1c2c5528663364a36f9726 /gtk/capture_file_dlg.c
parent671bb28270c560903f8c5cde16e80ae4de7afca3 (diff)
Move cfselect_cb to avoid variable shadowing.
svn path=/trunk/; revision=30181
Diffstat (limited to 'gtk/capture_file_dlg.c')
-rw-r--r--gtk/capture_file_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/capture_file_dlg.c b/gtk/capture_file_dlg.c
index e51cdeab6b..c2cb656f12 100644
--- a/gtk/capture_file_dlg.c
+++ b/gtk/capture_file_dlg.c
@@ -121,7 +121,6 @@ static GtkWidget *file_save_as_w;
static packet_range_t range;
static gboolean color_selected;
static int filetype;
-static GtkWidget *cfselect_cb;
static GtkWidget *ft_om;
static GtkWidget *range_tb;
@@ -1654,6 +1653,7 @@ file_color_export_cmd_cb(GtkWidget *w _U_, gpointer filter_list)
win32_export_color_file(GDK_WINDOW_HWND(top_level->window), filter_list);
#else /* _WIN32 */
GtkWidget *main_vb, *cfglobal_but;
+ GtkWidget *cfselect_cb;
if (file_color_export_w != NULL) {
/* There's already an "Color Filter Export" dialog box; reactivate it. */