From: Sergio Villar SenĂ­n Date: Mon, 25 Jan 2010 11:47:01 +0000 (+0100) Subject: Fixes a wrong condition X-Git-Tag: 3.90.5~49 X-Git-Url: http://vcs.maemo.org/git/?p=modest;a=commitdiff_plain;h=157de72c847f927e4864602e2f90742d392400f8 Fixes a wrong condition --- diff --git a/src/hildon2/modest-hildon2-window-mgr.c b/src/hildon2/modest-hildon2-window-mgr.c index d6ef4f5..4395890 100644 --- a/src/hildon2/modest-hildon2-window-mgr.c +++ b/src/hildon2/modest-hildon2-window-mgr.c @@ -588,7 +588,7 @@ modest_hildon2_window_mgr_register_window (ModestWindowMgr *self, } /* Show toolbar always */ - if (MODEST_MSG_EDIT_WINDOW (window)) { + if (MODEST_IS_MSG_EDIT_WINDOW (window)) { gboolean show_toolbar; show_toolbar = modest_conf_get_bool (modest_runtime_get_conf (), MODEST_CONF_EDIT_WINDOW_SHOW_TOOLBAR, NULL); modest_window_show_toolbar (window, show_toolbar);