Changeset 3170

Show
Ignore:
Timestamp:
12/21/07 13:13:45
Author:
pvanhoof
Message:
        • Code robustness
        • Changed the account item of a folder to be hard referenced in stead

of weakly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3167 r3170  
     12007-12-21  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Experimental support for NAMESPACE in IMAP accounts 
     4        * Better handling of LIST and LSUB requests 
     5        * Code robustness 
     6        * Changed the account item of a folder to be hard referenced in stead 
     7        of weakly 
     8 
    192007-12-20  Alberto Garcia Gonzalez  <agarcia@igalia.com> 
    210 
     11        * libtinymail-camel/camel-lite/camel/providers/imap/camel- 
     12        imap-command.c: (camel_imap_command_response): Set an initial  
     13        value to variable len 
    314        * libtinymail/tny-store-acount.c: 
    415        (tny_store_account_find_folder): Fixed assertion to allow 
  • trunk/libtinymail-camel/tny-camel-folder.c

    r3154 r3170  
    13141314} 
    13151315 
    1316 static void  
    1317 notify_account_del (gpointer user_data, GObject *account) 
    1318 { 
    1319         TnyCamelFolderPriv *priv = TNY_CAMEL_FOLDER_GET_PRIVATE (user_data); 
    1320         priv->account = NULL; 
    1321 } 
    13221316 
    13231317void 
     
    13291323 
    13301324        if (priv->account) 
    1331                 g_object_weak_unref (G_OBJECT (priv->account), notify_account_del, self); 
    1332         priv->account = account; 
    1333         g_object_weak_ref (G_OBJECT (priv->account), notify_account_del, self); 
     1325                g_object_unref (priv->account); 
     1326        priv->account = TNY_ACCOUNT (g_object_ref (account)); 
    13341327 
    13351328        if (priv->store) 
     
    54315424 
    54325425        if (priv->account) 
    5433                 g_object_weak_unref (G_OBJECT (priv->account), notify_account_del, self); 
     5426                g_object_unref (priv->account); 
    54345427 
    54355428        if (priv->parent)