aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/drag_and_drop.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 07:44:28 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 07:44:28 +0000
commit8596d17d7f424f6a68154a537d67f1150758e5f7 (patch)
treec001df238a88757313991c76047808fe4c451727 /ui/gtk/drag_and_drop.c
parent54ca6dae29aabe8ad5acb602f5727317dea50340 (diff)
Pull the capture-session state information out of capture_opts and put
it into a separate capture_session structure. capture_opts should contain only user-specified option information (and stuff directly derived from it, such as the "capturing from a pipe" flag). svn path=/trunk/; revision=49493
Diffstat (limited to 'ui/gtk/drag_and_drop.c')
-rw-r--r--ui/gtk/drag_and_drop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/drag_and_drop.c b/ui/gtk/drag_and_drop.c
index a49ed17659..cb12955316 100644
--- a/ui/gtk/drag_and_drop.c
+++ b/ui/gtk/drag_and_drop.c
@@ -254,7 +254,7 @@ dnd_data_received(GtkWidget *widget _U_, GdkDragContext *dc _U_, gint x _U_, gin
#ifdef HAVE_LIBPCAP
/* if a capture is running, do nothing but warn the user */
- if((global_capture_opts.state != CAPTURE_STOPPED)) {
+ if((global_capture_session.state != CAPTURE_STOPPED)) {
simple_dialog(ESD_TYPE_CONFIRMATION,
ESD_BTN_OK,
"%sDrag and Drop currently not possible!%s\n\n"