GNOME Bugzilla – Bug 746104
Fix the lifetime of the signal handlers
Last modified: 2015-05-19 08:23:31 UTC
We are using g_signal_connect in a bunch of places where we should be using g_signal_connect_object instead. eg., widgets listening signals coming from singletons. These are potential crashers and we should fix them.
Created attachment 299222 [details] [review] embed: Fix the lifetime of the signal handlers
Created attachment 299223 [details] [review] selection-controller: Fix the lifetime of the signal handler
Created attachment 299225 [details] [review] view-container: Fix the lifetime of the signal handlers
Created attachment 299227 [details] [review] base-model: Fix the lifetime of the signal handlers
Created attachment 299228 [details] [review] view-model: Fix the lifetime of the signal handlers
Checked all of them, looks good to me. Neat !
Looks good.
Attachment 299222 [details] pushed as 3a82d18 - embed: Fix the lifetime of the signal handlers Attachment 299223 [details] pushed as d70cb7a - selection-controller: Fix the lifetime of the signal handler Attachment 299225 [details] pushed as 54a28f5 - view-container: Fix the lifetime of the signal handlers Attachment 299227 [details] pushed as 9da59e2 - base-model: Fix the lifetime of the signal handlers Attachment 299228 [details] pushed as 11cee45 - view-model: Fix the lifetime of the signal handlers
Created attachment 303574 [details] [review] preview-view: Fix the lifetime of the signal handlers