diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-25 22:53:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-03-25 23:11:44 +0800 |
commit | c8be2c5fe1a1dc943bc293bb269da116a7f237ad (patch) | |
tree | bff0a04b478998f65308826b4b7d81c8896166d5 /shell/e-shell-taskbar.c | |
parent | e438bd526df3ee719c8f7080edfd8f242965ba3d (diff) | |
download | gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar.gz gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar.bz2 gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar.lz gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar.xz gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.tar.zst gsoc2013-evolution-c8be2c5fe1a1dc943bc293bb269da116a7f237ad.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 'shell/e-shell-taskbar.c')
0 files changed, 0 insertions, 0 deletions