DnD bug?




I'm getting these warnings in a Bonobo component which is set up for DnD:

Gtk-WARNING **: gtk_signal_disconnect_by_data(): could not find handler containing data (0x80F8EE0)

Note that this happens simply when the component is shown, not when
actually doing any DnD.

With --g-fatal-warnings I get:

#5  0x4055baa3 in gtk_signal_disconnect_by_data (object=0x80f9000, 
    data=0x80fa660) at gtksignal.c:1003
#6  0x404c3679 in gtk_drag_dest_set_proxy (widget=0x80f9000, 
    proxy_window=0x80f7b28, protocol=GDK_DRAG_PROTO_XDND, use_coordinates=1)
    at gtkdnd.c:911
#7  0x40560344 in gtk_socket_filter_func (gdk_xevent=0xbffffa24, 
    event=0x80f4128, data=0x80f9000) at gtksocket.c:736
#8  0x40604bf7 in gdk_event_apply_filters (xevent=0xbffffa24, event=0x80f4128, 
    filters=0x80f63ec) at gdkevents.c:950
#9  0x40604db6 in gdk_event_translate (event=0x80f4128, xevent=0xbffffa24)
    at gdkevents.c:1029
#10 0x4060658d in gdk_events_queue () at gdkevents.c:2045
#11 0x40606885 in gdk_event_dispatch (source_data=0x0, 
    current_time=0xbffffb08, user_data=0x0) at gdkevents.c:2123
#12 0x40757851 in g_main_dispatch (dispatch_time=0xbffffb08) at gmain.c:656
#13 0x4075814f in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#14 0x407583a9 in g_main_run (loop=0x80f16c0) at gmain.c:935
#15 0x4050d289 in gtk_main () at gtkmain.c:476
#16 0x8052246 in main (argc=2, argv=0xbffffb7c) at main.c:134


Looking at the code I can't see anywhere that signals are connected with a
GtkDragDestSite* as the data. Maybe the disconnection isn't needed.


Damon




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