This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: implementing guile-gtk drag & drop...


> Using gtk_selection_data_copy/free seems to be the right thing to do.
> Can you figure out why they made drag and drop fail?  Maybe there are
> bugs in those functions that we can work around.

  Unfortunately Gtk creates GtkSelectionData, invokes a handler and expects that
you gtk_selection_data_set on data that Gtk passed to handler, not to its copy :-( 
See gtkselection.c.

0.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]