[REGRESSION] Setting GtkSelectionData in the do_drag_data_get vmethod of a liststore does not work
Submitted by Thibault Saunier
Link to original bug (#737587)
Description
Created attachment 287350 Test application demostrating the issue
Subclassing Gtk.ListStore and setting the data in the do_drag_data_get vmethod used to work in 3.12 but it now does not work with 3.14. The selection data in the 'drag-data-received' callback is now different and the get_data method always return nothing anymore.
Attaching a test application showing the issue. To reproduce, you should just try to reorder the entries. With PyGobject 3.12 no assert will happen with 3.14 you will get:
Traceback (most recent call last): File "./virtual_method.py", line 35, in _dragDataReceivedCb assert(the_data == WANTED_DATA) AssertionError
Attachment 287350, "Test application demostrating the issue":
virtual_method.py