summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-05-17 19:27:53 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-05-17 19:27:53 +0000
commit3fe86a489daac550a65035d60677b839390310ea (patch)
treef3332227326a20de9286b3287bb6a03cf0cc5abc /gtk/gtkdnd.c
parent0274195e19cd5da38728374e4d7d6f93ebf568bc (diff)
downloadgtk+-3fe86a489daac550a65035d60677b839390310ea.tar.gz
Protect against reentrancy problems by emitting ::preedit_changed at the
Fri May 17 14:40:24 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): Protect against reentrancy problems by emitting ::preedit_changed at the end, fixing input context leak. (Yao Zhang) * modules/input/gtkimcontextxim.c (status_window_free): Patch from Federico Mena Quintero to fix problem where references to IMContextXIM were kept around after module was unloaded. * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize proxy window.
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index aef0ca6061..4f86e7f6ce 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -867,9 +867,9 @@ gtk_drag_dest_set (GtkWidget *widget,
site->target_list = gtk_target_list_new (targets, n_targets);
else
site->target_list = NULL;
-
site->actions = actions;
site->do_proxy = FALSE;
+ site->proxy_window = NULL;
gtk_drag_dest_set_internal (widget, site);
}