diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-23 22:28:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-24 23:05:27 +0800 |
commit | bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch) | |
tree | f5d0cc91fc1568431e0b457406a9b3ea21157e0e /mail/em-folder-tree-model.c | |
parent | f862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff) | |
download | gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip |
Camel is now GObject-based.
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index e34f9110e1..0f6ba84b0f 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -104,7 +104,7 @@ store_info_free (EMFolderTreeModelStoreInfo *si) camel_object_remove_event (si->store, si->unsubscribed_id); g_free (si->display_name); - camel_object_unref (si->store); + g_object_unref (si->store); gtk_tree_row_reference_free (si->row); g_hash_table_destroy (si->full_hash); g_free (si); @@ -234,7 +234,7 @@ account_changed_cb (EAccountList *accounts, } em_folder_tree_model_add_store (model, store, account->name); - camel_object_unref (store); + g_object_unref (store); } static void @@ -656,7 +656,7 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, unread = total > 0 ? total : 0; } - camel_object_unref(folder); + g_object_unref (folder); } /* TODO Maybe this should be handled by mail_get_folderinfo @@ -838,7 +838,7 @@ folder_subscribed (CamelStore *store, g_signal_emit (model, signals[FOLDER_ADDED], 0, fi->full_name, fi->uri); done: - camel_object_unref (store); + g_object_unref (store); camel_folder_info_free (fi); } @@ -849,7 +849,7 @@ folder_subscribed_cb (CamelStore *store, { CamelFolderInfo *fi; - camel_object_ref (store); + g_object_ref (store); fi = camel_folder_info_clone (event_data); mail_async_event_emit ( @@ -882,7 +882,7 @@ folder_unsubscribed (CamelStore *store, em_folder_tree_model_remove_folders (model, si, &iter); done: - camel_object_unref (store); + g_object_unref (store); camel_folder_info_free (fi); } @@ -893,7 +893,7 @@ folder_unsubscribed_cb (CamelStore *store, { CamelFolderInfo *fi; - camel_object_ref (store); + g_object_ref (store); fi = camel_folder_info_clone (event_data); mail_async_event_emit ( @@ -913,7 +913,7 @@ folder_created_cb (CamelStore *store, if (camel_store_supports_subscriptions (store)) return; - camel_object_ref (store); + g_object_ref (store); fi = camel_folder_info_clone (event_data); mail_async_event_emit ( @@ -933,7 +933,7 @@ folder_deleted_cb (CamelStore *store, if (camel_store_supports_subscriptions (store)) return; - camel_object_ref (store); + g_object_ref (store); fi = camel_folder_info_clone (event_data); mail_async_event_emit ( @@ -989,7 +989,7 @@ folder_renamed (CamelStore *store, em_folder_tree_model_set_folder_info (model, &iter, si, info->new, TRUE); done: - camel_object_unref (store); + g_object_unref (store); g_free (info->old_base); camel_folder_info_free (info->new); @@ -1003,7 +1003,7 @@ folder_renamed_cb (CamelStore *store, { CamelRenameInfo *rinfo, *info = event_data; - camel_object_ref (store); + g_object_ref (store); rinfo = g_new0 (CamelRenameInfo, 1); rinfo->old_base = g_strdup (info->old_base); @@ -1058,7 +1058,7 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model, si = g_new (EMFolderTreeModelStoreInfo, 1); si->display_name = g_strdup (display_name); - camel_object_ref (store); + g_object_ref (store); si->store = store; si->account = account; si->row = gtk_tree_row_reference_copy (reference); |