X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-local-folders-account.c;fp=src%2Fmodest-tny-local-folders-account.c;h=6b2b6a8ebff9063db845ddd73af659d91588d779;hp=12ee27e294af1550c47f27b270cbb22df8af37d8;hb=2b001be510aeb979f44dd256664a61edb57ece6f;hpb=3e789b396a9e6d5386c4d2ae244dace05dc742a6 diff --git a/src/modest-tny-local-folders-account.c b/src/modest-tny-local-folders-account.c index 12ee27e..6b2b6a8 100644 --- a/src/modest-tny-local-folders-account.c +++ b/src/modest-tny-local-folders-account.c @@ -175,8 +175,8 @@ create_folder (TnyFolderStore *self, /* If the folder name is been used by our extra folders */ if (modest_tny_local_folders_account_folder_name_in_use (MODEST_TNY_LOCAL_FOLDERS_ACCOUNT (self), name)) { - g_set_error (err, TNY_FOLDER_STORE_ERROR, - TNY_FOLDER_STORE_ERROR_CREATE_FOLDER, + g_set_error (err, TNY_SERVICE_ERROR, + TNY_SERVICE_ERROR_FOLDER_CREATE, "Folder name already in use"); return NULL; }