* src/widgets/modest-window-mgr.c:
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 24 Jun 2008 17:39:17 +0000 (17:39 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 24 Jun 2008 17:39:17 +0000 (17:39 +0000)
commit119a9504f03dc6f35c5343331e64ba1750227766
treef1defeac22cfe2438446ecc6b6b55cb4152829a4
parent293935db5773b0ce78e3f2a244130ca777408933
* src/widgets/modest-window-mgr.c:
        * As ..._unregister_window frees the g_list node, changed the
          order to fetch first the next element in list before we
          destroy the reference to the list.
        * Now on_window_destroy never propagates, as we take care of
          destroy.
        * The window mgr window list contains now a explicit GObject
          reference, and we free this one on removing elements from it.
* src/modest-ui-actions.c:
        * On creating view and edit windows, we don't unref them as
          these references are the floating ones (handled by gtk).
* src/modest-main-window.c:
        * Keep an explicit reference to empty view and header view
          to be able to free them properly on finishing the main
          window.
        * Fix a reference leak to folder store on calling to sync folder
          mail operation.

pmo-trunk-r4766
src/maemo/modest-main-window.c
src/modest-runtime.c
src/modest-ui-actions.c
src/widgets/modest-window-mgr.c