Changeset 1994

Show
Ignore:
Timestamp:
05/17/07 02:28:22
Author:
pvanhoof
Message:

Fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c

    r1993 r1994  
    860860                { 
    861861                        TnyFolder *folder = TNY_FOLDER (tny_iterator_get_current (miter)); 
    862                         /* Already added! */ 
     862 
     863                        /* Already added!  
     864                         * We can't add these in the idle because the thread might 
     865                         * be added subfolders right now! (the idle would register 
     866                         * self as an observer too late!)  
     867                         * Question. though: is there any reason why not to do the 
     868                         * doubly-linked lists here too? (except for locking, which 
     869                         * would then be necessary of course) */ 
     870 
    863871                        tny_folder_add_observer (TNY_FOLDER (folder), TNY_FOLDER_OBSERVER (self)); 
    864872                        tny_folder_store_add_observer (TNY_FOLDER_STORE (folder), TNY_FOLDER_STORE_OBSERVER (self)); 
     873 
    865874                        g_object_unref (G_OBJECT (folder)); 
    866875                        tny_iterator_next (miter);