diff options
author | Owen Taylor <otaylor@redhat.com> | 1998-12-17 23:35:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-12-17 23:35:22 +0000 |
commit | 1bde7a559951e24b737e3c7c2b9692f77d758286 (patch) | |
tree | 4690d16038748b0681ceeb726e68123df638d482 /gtk/gtkdnd.c | |
parent | 55ce42dad100465d08012e987bc5cd7d74629019 (diff) | |
download | gtk+-1bde7a559951e24b737e3c7c2b9692f77d758286.tar.gz |
Remove the info tag from the context so if the source unexpectedly
Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
info tag from the context so if the source unexpectedly
responds in the future, we do nothing properly.
Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
the case where one side of the the pane is empty.
* gtk/gtkfilesel.c (gtk_file_selection_init): Set
dir_title before using it. (Pointed out by
Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r-- | gtk/gtkdnd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 877322c668..8c9a55c1dc 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -2028,6 +2028,10 @@ gtk_drag_drop_finished (GtkDragSourceInfo *info, gdk_window_raise (info->icon_window->window); } + /* Mark the context as dead, so if the destination decides + * to respond really late, we still are OK. + */ + g_dataset_set_data (info->context, "gtk-info", NULL); gtk_timeout_add (ANIM_STEP_TIME, gtk_drag_anim_timeout, anim); } } |