Re: TreeDragSource data_get location



Kevin Ryde wrote:
Torsten Schoenfeld <kaffeetisch gmx de> writes:
It's not obvious to me what the default for the target should be.  You chose
the atom for GTK_TREE_MODEL_ROW -- why?

With an eye on gtk_tree_set_row_drag_data() which looks like it refuses
to act on a selection data of any other target value.  Makes you wonder
if it ought to allow NULL or NONE or whatever at least ... (a matter for
gtk of course).

OK, when you add

        new_selection_data.length = -1;

to the "else" branch, the patch looks good to me.

muppet?

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]