From c75ddb2ee5d517982b628597e11701985e3f2f26 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 24 Oct 2007 15:21:27 +0000 Subject: [PATCH] Use the constant name (TNY_HEADER_FLAG_NORMAL_PRIORITY) and not its value (0) to check the priority of a message. pmo-trunk-r3573 --- src/widgets/modest-mail-header-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/modest-mail-header-view.c b/src/widgets/modest-mail-header-view.c index 58bad84..a91d79d 100644 --- a/src/widgets/modest-mail-header-view.c +++ b/src/widgets/modest-mail-header-view.c @@ -585,7 +585,7 @@ modest_mail_header_view_set_priority (ModestMailHeaderView *headers_view, priv->priority_flags = flags & (TNY_HEADER_FLAG_PRIORITY); - if (priv->priority_flags == 0) { + if (priv->priority_flags == TNY_HEADER_FLAG_NORMAL_PRIORITY) { if (priv->priority_icon != NULL) { gtk_widget_destroy (priv->priority_icon); priv->priority_icon = NULL; -- 1.7.9.5