(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.
(From update of attachment 380384) data_get_ data_type( selection_ data) == gdk_atom_ intern( "TARGETS" , FALSE) 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 correct workaround for applications would be to check whether
gtk_selection_
before calling gtk_selection_
(But the GTK bug should still be fixed.)