mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Only remove handlers for motion/button_release at drop, remove
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c: Only remove handlers for motion/button_release at drop, remove "selection_get" handler later.
This commit is contained in:
parent
983335243b
commit
0b84fc2742
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: Only remove handlers for motion/button_release
|
||||
at drop, remove "selection_get" handler later.
|
||||
|
||||
Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
|
||||
|
10
gtk/gtkdnd.c
10
gtk/gtkdnd.c
@ -2334,7 +2334,8 @@ gtk_drag_source_info_destroy (gpointer data)
|
||||
|
||||
if (info->widget)
|
||||
gtk_widget_unref (info->widget);
|
||||
|
||||
|
||||
gtk_signal_disconnect_by_data (GTK_OBJECT (info->ipc_widget), info);
|
||||
gtk_selection_remove_all (info->ipc_widget);
|
||||
gtk_object_set_data (GTK_OBJECT (info->ipc_widget), "gtk-info", NULL);
|
||||
source_widgets = g_slist_remove (source_widgets, info->ipc_widget);
|
||||
@ -2459,7 +2460,12 @@ gtk_drag_button_release_cb (GtkWidget *widget,
|
||||
}
|
||||
|
||||
gtk_grab_remove (widget);
|
||||
gtk_signal_disconnect_by_data (GTK_OBJECT (widget), info);
|
||||
gtk_signal_disconnect_by_func (GTK_OBJECT (widget),
|
||||
GTK_SIGNAL_FUNC (gtk_drag_button_release_cb),
|
||||
info);
|
||||
gtk_signal_disconnect_by_func (GTK_OBJECT (widget),
|
||||
GTK_SIGNAL_FUNC (gtk_drag_motion_cb),
|
||||
info);
|
||||
|
||||
/* Send on a release pair to the the original
|
||||
* widget to convince it to release its grab. We need to
|
||||
|
Loading…
Reference in New Issue
Block a user