Will signals automatically disconnect, when target object is destroyed? Without recording the signal id from g_signal_connect(), can I remove that signal?
Will signals automatically disconnect, when target object is destroyed? Without recording the signal id
Share
If you didn’t save the signal handler ID, you can search for it using
g_signal_handler_find()and disconnect it the usual way, or disconnect any signals that match certain criteria withg_signal_handlers_disconnect_matched()org_signal_handlers_disconnect_by_func().