aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view-main-item.c2
-rw-r--r--calendar/gui/e-day-view-top-item.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index d65193b08b..79ee0b0826 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -668,7 +668,7 @@ e_day_view_main_item_draw_day_event (EDayViewMainItem *dvmitem,
category = (char *) elem->data;
e_categories_config_get_icon_for (category, &pixmap, &mask);
- if (pixmap == NULL || mask == NULL)
+ if (pixmap == NULL)
continue;
max_icon_w = item_x + item_w - icon_x
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c
index 237e7589ba..10b1cd0b13 100644
--- a/calendar/gui/e-day-view-top-item.c
+++ b/calendar/gui/e-day-view-top-item.c
@@ -589,7 +589,7 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
category = (char *) elem->data;
e_categories_config_get_icon_for (category, &pixmap, &mask);
- if (pixmap == NULL || mask == NULL)
+ if (pixmap == NULL)
continue;
if (icon_x <= max_icon_x) {