GNOME Bugzilla – Bug 654917
Make g_cclosure_marshal_generic the default signal handler
Last modified: 2011-07-19 17:39:47 UTC
Use g_cclosure_marshal_generic as the default signal handler isn't especified to g_signal_new and its variants. Also attaches a patch to gobject/gio which takes advantage of that patch internally.
Created attachment 192253 [details] [review] Use a generic marshaller if one is not specified Since g_cclosure_marshal_generic is always enabled, it makes sense to always use that instead of using generated ones.
Created attachment 192254 [details] [review] Pass in NULL instead of g_cclosure_marshal_generic NULL is now a shortcut for g_cclosure_marshal_generic, so avoid referencing it directly.
Created attachment 192255 [details] [review] Pass in NULL instead of g_cclosure_marshal_generic NULL is now a shortcut for g_cclosure_marshal_generic, so avoid referencing it directly.
Review of attachment 192253 [details] [review]: ::: gobject/gsignal.c @@ +1631,3 @@ node->accumulator = NULL; + if (c_marshaller == NULL) + c_marshaller = g_cclosure_marshal_generic; The documentation should be updated for this.
Review of attachment 192255 [details] [review]: Looks obviously fine.
Created attachment 192256 [details] [review] Use a generic marshaller if one is not specified Since g_cclosure_marshal_generic is always enabled, it makes sense to always use that instead of using generated ones.
Attachment 192255 [details] pushed as ec98953 - Pass in NULL instead of g_cclosure_marshal_generic Attachment 192256 [details] pushed as fa2861e - Use a generic marshaller if one is not specified