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:
10
ChangeLog
10
ChangeLog
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user