Use folderview_freeze/thaw() functions outside of folderview.c.
[claws.git] / src / plugins / rssyl / rssyl_feed.c
index 302ddc0..dc3fbd4 100644 (file)
@@ -63,7 +63,7 @@ FolderItem *rssyl_feed_subscribe_new(FolderItem *parent, const gchar *url,
 
        myurl = g_strchomp(myurl);
 
-       gtk_cmclist_freeze(GTK_CMCLIST(mainwindow_get_mainwindow()->folderview->ctree));
+       folderview_freeze(mainwindow_get_mainwindow()->folderview);
        folder_item_update_freeze();
 
        /* Create a feed folder with generic name. */
@@ -92,7 +92,7 @@ FolderItem *rssyl_feed_subscribe_new(FolderItem *parent, const gchar *url,
        }
 
        folder_item_update_thaw();
-       gtk_cmclist_thaw(GTK_CMCLIST(mainwindow_get_mainwindow()->folderview->ctree));
+       folderview_thaw(mainwindow_get_mainwindow()->folderview);
 
        if( success )
                log_print(LOG_PROTOCOL, RSSYL_LOG_SUBSCRIBED, ritem->official_title,