Comment 76 for bug 372103

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

(From update of attachment 380384)
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.

(But the GTK bug should still be fixed.)