diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-25 22:53:54 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:49 +0800 |
commit | 4ce8eca63545c23900e516b2c09a340161c364e0 (patch) | |
tree | 3b52d153b238bcf14795d82294ad369492623841 /e-util/e-xml-utils.h | |
parent | ffdac2b7597368365a878f35c57eb7e5963b64d8 (diff) | |
download | gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar.gz gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar.bz2 gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar.lz gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar.xz gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.tar.zst gsoc2013-evolution-4ce8eca63545c23900e516b2c09a340161c364e0.zip |
Fix an EShell reference leak.
GApplication calls g_main_loop_quit() immediately when the last window
is destroyed, whereas we do it from an idle callback with an extra ref
on EShell to keep it alive until the idle callback runs. But because
GApplication beats us to the punch, our idle callback never runs and
the EShell reference leaks.
For now, we'll just disable the quit_mainloop() method of GApplication.
If GtkApplication grows a signal equivalent to EShell::window-destroyed,
EShell could drop its window_destroyed() method and let G[tk]Application
handle things normally.
Diffstat (limited to 'e-util/e-xml-utils.h')
0 files changed, 0 insertions, 0 deletions