Remove left-over debug-printf.

Tue Feb 27 04:14:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_propagate_event): Remove
	left-over debug-printf.

	* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
	new_allocation.x/new_allocation.y for coordinate,
	translation since they are clip, use the
	x_offset/y_offset variables we keep for the purpose instead.
This commit is contained in:
Owen Taylor
2001-02-27 09:19:21 +00:00
committed by Owen Taylor
parent ce06d6d635
commit f9c3cfe49f
9 changed files with 73 additions and 6 deletions

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1,3 +1,13 @@
Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Remove
left-over debug-printf.
* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
new_allocation.x/new_allocation.y for coordinate,
translation since they are clip, use the
x_offset/y_offset variables we keep for the purpose instead.
Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,

View File

@@ -1306,8 +1306,8 @@ gtk_drag_find_widget (GtkWidget *widget,
{
data->found = data->callback (widget,
data->context,
data->x - new_allocation.x,
data->y - new_allocation.y,
data->x - x_offset,
data->y - y_offset,
data->time);
/* If so, send a "drag_leave" to the last widget */
if (data->found)

View File

@@ -1349,10 +1349,7 @@ gtk_propagate_event (GtkWidget *widget,
* a first crack at the key event
*/
if (widget != window && GTK_WIDGET_HAS_GRAB (widget))
{
handled_event = gtk_widget_event (widget, event);
g_print ("Sent event to grab widget, %d\n", handled_event);
}
handled_event = gtk_widget_event (widget, event);
if (!handled_event)
{