Make gtk_propagate_event() non-static, we need it in gtkdnd.c so that the
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_propagate_event): Make gtk_propagate_event() non-static, we need it in gtkdnd.c so that the button-release we synthesize gets propagated correctly. * gtk/gtkdnd.c: Use gtk_propagate_event() so release gets to a GtkList. But we can't really get this right without access to the windows event masks and doing X-style propagation ourselves. Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c (gtk_target_list_unref): Free memory allocated for target lists. * gtk/gtkdnd.c (gtk_drag_drop_finished): Release selections before destroying info structure. * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add new value GDK_DRAG_PROTO_NONE, use it for non-drag targets, to quiet Purify. * gdk/gdkdnd.c (gdk_window_register_dnd): Set size of property properly.
This commit is contained in:
@ -2541,6 +2541,7 @@ gdk_drag_get_protocol (guint32 xid,
|
||||
}
|
||||
}
|
||||
|
||||
*protocol = GDK_DRAG_PROTO_NONE;
|
||||
return GDK_NONE;
|
||||
}
|
||||
|
||||
@ -2950,8 +2951,7 @@ gdk_window_register_dnd (GdkWindow *window)
|
||||
GDK_WINDOW_XWINDOW (window),
|
||||
xdnd_aware_atom, XA_ATOM,
|
||||
32, PropModeReplace,
|
||||
(guchar *)&xdnd_version,
|
||||
sizeof (xdnd_version));
|
||||
(guchar *)&xdnd_version, 1);
|
||||
}
|
||||
|
||||
/*************************************************************
|
||||
|
||||
Reference in New Issue
Block a user