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



Hi!

Fundamentally, it's not a hack, since you don't own the widgets you're
holding, so there is no technical guarantee when they are dead --
unless you take steps to monitor them or avoid being in the middle of
the ambiguity. Plugin deactivations still don't solve it because the
issue remains for widgets used across plugins. Hopefully, the above
gtk_main_quit() changes fixes it, if not, the "exiting" signal, if
not, the weak ref :).

Just to add: IMHO you should definitly use weak references even if it
works without them as the definitly ensure that you operate on valid
objects.

Regards,
Johannes




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