G.Object signal_block(int signal_id)
Temporarily block a signal handler. No signals will be received while the handler is blocked. See signal_connect() for more info.