GNOME Bugzilla – Bug 766049
wayland: use g_signal_handler_disconnect()
Last modified: 2016-05-06 08:52:58 UTC
Use of g_signal_handlers_disconnect_by_func() needs to do more work than necessary to find all the matching handlers. Instead, just hold on to the signal identifier and remove it directly so we hit the fast path. Not terribly ground breaking in terms of performance gains, but its done enough to be worthwhile.
Created attachment 327368 [details] [review] wayland: use g_signal_handler_disconnect()
Review of attachment 327368 [details] [review]: Cheers, LGTM.