Reorderable CLists and gtk_signal_disconnect_by_data



Greetings,

I've 'discovered' that a Gtk-Warning is issued during a gtk_drag_dest_set
call on a CList that's configured to be reorderable.  The warning is:

gtk_signal_disconnnect_by_data(): could not find handler containing data

An address in parens follows, which turns out to be a pointer to the string
"_MOTIF_DRAG_RECEIVER_INFO" according to gdb.  Everything appears to function
correctly despite the warning, or the types of targets specified in the
call to gtk_drag_dest_set.

Tested on FreeBSD 4.2, Gtk 1.2 from ports-current.  (Plan on testing
under Linux 2.2.x/Gtk 1.2 soon)

So, *if* the the above is not a problem with my code (which it could very
well be):
1) Is this a known issue?
2) If so, is there a better work-around than
   a) catching select row/begin drag/end drag type signals and
      effectively using signals to "simulate" having a reorderable clist?
   b) violating the API and mucking around with the underlying structure
      to implement some form of reordering?

My apologies if anything's unclear, I'm currently working on my 1st gtk
program, and haven't really dug through too much gtk source yet.

Thanks,
Barclay Osborn
barclay mp3 com







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