* fix for GLIB CRITICAL (copy paste bug, modest_msg_edit_window_show_toolbar checked...
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 8 May 2007 09:39:11 +0000 (09:39 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 8 May 2007 09:39:11 +0000 (09:39 +0000)
pmo-trunk-r1781

src/maemo/modest-msg-edit-window.c

index d142f35..fbc4f9e 100644 (file)
@@ -1636,7 +1636,7 @@ modest_msg_edit_window_show_toolbar (ModestWindow *self,
 {
        ModestWindowPrivate *parent_priv;
        
-       g_return_if_fail (MODEST_IS_MSG_VIEW_WINDOW (self));
+       g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (self));
        parent_priv = MODEST_WINDOW_GET_PRIVATE(self);
 
        /* FIXME: we can not just use the code of