X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-account-view-window.c;h=6698fc367eeb9c24773a0673d6dbffb5f9d25b6b;hp=48b2554b839ab1f3c11208a2cd13903b750049ce;hb=f541209a85cb6c71c79da1df81afbe10c448690a;hpb=97e73afb9a2ed65af4802ff47739694224b95cec diff --git a/src/maemo/modest-account-view-window.c b/src/maemo/modest-account-view-window.c index 48b2554..6698fc3 100644 --- a/src/maemo/modest-account-view-window.c +++ b/src/maemo/modest-account-view-window.c @@ -188,7 +188,7 @@ check_for_active_account (ModestAccountViewWindow *self, const gchar* account_na /* If the transport account was not used yet, then the send queue could not exist (it's created on demand) */ send_queue = modest_runtime_get_send_queue (TNY_TRANSPORT_ACCOUNT (transport_account), FALSE); - if (send_queue) + if (TNY_IS_SEND_QUEUE (send_queue)) sending = modest_tny_send_queue_sending_in_progress (send_queue); store_conn_status = tny_account_get_connection_status (store_account);