* Remove a g_return_if_fail in _selected_msg_sent_in_progress because
authorJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 13 Jun 2007 09:02:33 +0000 (09:02 +0000)
committerJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 13 Jun 2007 09:02:33 +0000 (09:02 +0000)
this function is allowed now for both, main and msg view window.

pmo-trunk-r2195

src/modest-ui-dimming-rules.c

index 36f3413..4eb4acd 100644 (file)
@@ -1175,8 +1175,6 @@ _selected_msg_sent_in_progress (ModestWindow *win)
        gboolean result = FALSE;
        gchar *id = NULL;
        
-       g_return_val_if_fail (MODEST_IS_MSG_VIEW_WINDOW (win), FALSE);
-       
        /* Get transport account */
        acc_store = modest_runtime_get_account_store();
        account_name = modest_window_get_active_account (win);