Changeset 1418

Show
Ignore:
Timestamp:
01/16/07 11:35:34
Author:
pvanhoof
Message:

Temporary fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/tny-camel-store-account.c

    r1383 r1418  
    178178 
    179179        /* Get store */ 
    180         g_static_rec_mutex_lock (apriv->service_lock); 
     180 
     181/*      g_static_rec_mutex_lock (apriv->service_lock); 
    181182        store = camel_session_get_store ((CamelSession*) apriv->session,  
    182183                        apriv->url_string, &ex); 
    183         g_static_rec_mutex_unlock (apriv->service_lock); 
     184        g_static_rec_mutex_unlock (apriv->service_lock); */ 
     185 
     186        store = CAMEL_STORE (apriv->service); 
    184187 
    185188        if (!camel_store_supports_subscriptions (store))  
     
    295298        } 
    296299 
     300        /* Disco store ? */ 
     301 
    297302        (*parent_class->finalize) (object); 
    298303 
     
    317322        g_assert (TNY_IS_CAMEL_FOLDER (folder)); 
    318323 
     324/*      store = camel_session_get_store ((CamelSession*) apriv->session,  
     325                        apriv->url_string, &ex); */ 
     326 
     327/*      g_static_rec_mutex_lock (apriv->service_lock); 
    319328        store = camel_session_get_store ((CamelSession*) apriv->session,  
    320329                        apriv->url_string, &ex); 
     330        g_static_rec_mutex_unlock (apriv->service_lock); */ 
     331 
     332        store = CAMEL_STORE (apriv->service); 
    321333 
    322334        if (camel_exception_is_set (&ex))  
     
    384396        g_assert (CAMEL_IS_SESSION (apriv->session)); 
    385397 
     398/*      store = camel_session_get_store ((CamelSession*) apriv->session,  
     399                        apriv->url_string, &ex); */ 
     400 
     401/*      g_static_rec_mutex_lock (apriv->service_lock); 
    386402        store = camel_session_get_store ((CamelSession*) apriv->session,  
    387403                        apriv->url_string, &ex); 
     404        g_static_rec_mutex_unlock (apriv->service_lock); */ 
     405 
     406        store = CAMEL_STORE (apriv->service); 
    388407 
    389408        if (camel_exception_is_set (&ex))  
     
    452471                g_assert (TNY_IS_FOLDER_STORE_QUERY (query)); 
    453472 
     473/*      store = camel_session_get_store ((CamelSession*) apriv->session,  
     474                        apriv->url_string, &ex); */ 
     475 
     476/*      g_static_rec_mutex_lock (apriv->service_lock); 
    454477        store = camel_session_get_store ((CamelSession*) apriv->session,  
    455478                        apriv->url_string, &ex); 
     479        g_static_rec_mutex_unlock (apriv->service_lock); */ 
     480 
     481        store = CAMEL_STORE (apriv->service); 
    456482 
    457483        if (camel_exception_is_set (&ex)) 
  • trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c

    r1285 r1418  
    212212{ 
    213213        TnyGtkFolderStoreTreeModel *self = g_object_new (TNY_TYPE_GTK_FOLDER_STORE_TREE_MODEL, NULL); 
    214         self->is_async = async
     214        self->is_async = FALSE
    215215        if (query) self->query = g_object_ref (G_OBJECT (query)); 
    216216        return GTK_TREE_MODEL (self);