No handler id when exiting app

I get about 8-9 of these warnings if I switch between two source views a
couple of times and then quit my app.

**:/build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2390: instance
0x2c00060' has no handler with id227’

I can’t seem to tally up the handler ids with the few I’m creating so
I’m not quite sure where they are coming from.

Can anyone give me any pointers as to how I can find this problem?

I will try to localise it as best I can but as I only get the warnings
once I quit it’s a bit tricky.

I’m not doing anything funny when exiting just calling the usual
Gtk.main_quit in the destroy handler.

Any pointers appreciated.


Okay I’ve narrowed it down to my subclass of SourceBuffer. Although I
think it’s more to do with SourceBuffer. Weirdly if I create two
SourceBuffers then it’s fine. If I instantiate 3 then I get the

BTW: I’m using gtksourceview2

Oh dear. It appears to be a bit random too :frowning: