Comment 82 for bug 372103

Revision history for this message
In , Mozbugz (mozbugz) wrote :

(In reply to comment #35)
> The correct workaround for applications would be to check whether
> gtk_selection_data_get_data_type(selection_data) == gdk_atom_intern("TARGETS",
> FALSE)
> before calling gtk_selection_data_get_targets(), and, if so and
> gtk_selection_data_get_format(selection_data) == 32, assume XA_ATOM type and
> use gdk_x11_xatom_to_atom() to do the conversion to GdkAtom.

The java bug has been fixed, so not much point in doing this.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6607163