Re: Handler disconnect vs. block

2008-11-17 Thread Paul Pogonyshev
Jeffrey Barish wrote: > Is there a reason to block/unblock a handler rather than disconnect/connect > it? Is the overhead for block/unblock significantly lower? Off the top of my head I can think of one: block/unblock will certainly not change handler order, while disconnect/connect may. Overhead

Handler disconnect vs. block

2008-11-17 Thread Jeffrey Barish
Is there a reason to block/unblock a handler rather than disconnect/connect it? Is the overhead for block/unblock significantly lower? One thing I don't like about block/unblock is that GTK issues a warning when you try to unblock a handler that is not blocked, but there is no way to ask first whe