GNOME Bugzilla – Bug 694350
Add type names to gsignal warnings
Last modified: 2013-02-22 09:09:51 UTC
We have some warnings like this: g_warning ("%s: signal `%s' is invalid for instance `%p'", G_STRLOC, detailed_signal, instance); They'd be a lot more helpful if they added to the end: " of type `%s'".
Created attachment 237031 [details] [review] gsignal: improve warning output When looking up signals by name (to connect, for example) and the named signal cannot be found on the given instance, report the type of the instance. This is quite a lot more useful as a diagnostic message than only a memory address.
Review of attachment 237031 [details] [review]: Looks correct and useful to me.
Attachment 237031 [details] pushed as f5d40bd - gsignal: improve warning output