• Christoph Reiter's avatar
    Fix transfer annotation for tree_model parameter of... · f4dee9b6
    Christoph Reiter authored
    Fix transfer annotation for tree_model parameter of gtk_tree_get_row_drag_data() and add nullable, optional
    
    The GtkSelectionData does not own the model set with
    gtk_tree_set_row_drag_data so change the out param to "transfer none".
    This fixes a crash after multiple DnD actions due to the bindings
    stealing a reference each time this function is called.
    
    This also adds nullable and optional annotations for tree_model and path while at it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743193
    f4dee9b6
gtktreednd.c 10.9 KB