GNOME Bugzilla – Bug 624232
treat GFreeFunc the same as GDestroyNotify for callbacks
Last modified: 2010-07-26 23:28:28 UTC
A few things use GFreeFunc rather than GDestroyNotify for freeing callback data. gconf_client_notify_add is one example. As far as I can see, GFreeFunc should be ignored just as GDestroyNotify is when ensuring that a function being called has only one callback.
Created attachment 165787 [details] [review] patch With this patch, I can at least add gconf notifications. I realise this is not very interesting considering gconf's future.
Comment on attachment 165787 [details] [review] patch Looks good, is there any place else that we need to handle FreeFunc?
I can't see any other place where we'd need to do anything special. Patch pushed as commit 6d7ed6c.