Default handling for drops should be keyed on GTK_DRAG_DEFAULT_DROP not

Thu Jan 21 00:44:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
	for drops should be keyed on GTK_DRAG_DEFAULT_DROP
	not GTK_DRAG_DEFAULT_MOTION.
This commit is contained in:
Owen Taylor 1999-01-21 05:59:04 +00:00 committed by Owen Taylor
parent a646da3f1e
commit e7b04a53ac
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1,3 +1,9 @@
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtkclist.c (real_remove_row):

View File

@ -1428,7 +1428,7 @@ gtk_drag_dest_drop (GtkWidget *widget,
{
gboolean retval;
if (site->flags & GTK_DEST_DEFAULT_MOTION)
if (site->flags & GTK_DEST_DEFAULT_DROP)
{
GdkAtom target = gtk_drag_dest_find_target (widget, site, context);
@ -1441,7 +1441,7 @@ gtk_drag_dest_drop (GtkWidget *widget,
gtk_signal_emit_by_name (GTK_OBJECT (widget), "drag_drop",
context, x, y, time, &retval);
return (site->flags & GTK_DEST_DEFAULT_MOTION) ? TRUE : retval;
return (site->flags & GTK_DEST_DEFAULT_DROP) ? TRUE : retval;
}
}