Commit e7b04a53 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent a646da3f
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):
......
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):
......
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):
......
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):
......
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):
......
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):
......
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):
......
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment