Re: [anjuta-devel] Deactivate plugin handlers not getting called when Anjuta exits?



On Mon, 2011-06-27 at 10:10 +0300, Naba Kumar wrote:

That's true about the error. However, the real thing is, it shouldn't
be called at that point because the widget tree is being destroyed
(that's why you receive the unmap event) and depending on where your
second widget is in the tree, it is either dead or about to be. I
suggested weak ref would help there. If not, obviously go with the
"exiting" signal. Ideally, anjuta should exit without destroying the

The "exited" signal worked just as advertised. I've pushed the patch out
to git, finally. :)

Thanks,
James






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]