On Wed, 2007-06-27 at 10:43 +0100, Dave Howorth wrote: > I wrote: > > In particular, I believe you will also need to call > > gtk_tree_view_enable_model_drag_dest and/or > > gtk_tree_view_enable_model_drag_dest on the tree_view. > > Oops. Second one should be gtk_tree_view_enable_model_drag_source of course. > I tried using gtk_tree_view_enable_model_drag_dest() on my tree view and it caused some really strange stuff to happen:
I got a segmentation fault when ever I tried to access the GList of targets in drag_context->targets in my drag_drop handler. If I returned FALSE from my drag_drop handler (i.e. to indicate the drop was not over a valid area of the widget) the drag-data-received signal was emitted but then I got a GTK critical assertion failed error. I think I might give up on the GtkTreeView and use a GtkIconView widget instead. Regards, Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list