aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-07-28 04:50:11 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-07-28 04:50:11 +0800
commitdc3aaa74eddd6cacf27716fb1c1f478fa4b59dab (patch)
tree0fe0fdb51c7cf3ceaaa4cc1f212b75544652b13d /calendar/gui/e-day-view-top-item.c
parent478eaf85395a4cfe2402cac8125ab49da1f3ceb4 (diff)
downloadgsoc2013-evolution-dc3aaa74eddd6cacf27716fb1c1f478fa4b59dab.tar.gz
gsoc2013-evolution-dc3aaa74eddd6cacf27716fb1c1f478fa4b59dab.tar.zst
gsoc2013-evolution-dc3aaa74eddd6cacf27716fb1c1f478fa4b59dab.zip
initialize to NULL some pointers
2001-07-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): initialize to NULL some pointers * e-calendar-table.c (selection_received): deal correctly with VCALENDAR objects (e_calendar_table_copy_clipboard): g_strdup the value returned by icalcomponent_get_as_ical_string svn path=/trunk/; revision=11459
Diffstat (limited to 'calendar/gui/e-day-view-top-item.c')
-rw-r--r--calendar/gui/e-day-view-top-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c
index 10b1cd0b13..e7a3aad90b 100644
--- a/calendar/gui/e-day-view-top-item.c
+++ b/calendar/gui/e-day-view-top-item.c
@@ -584,8 +584,8 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
cal_component_get_categories_list (comp, &categories_list);
for (elem = categories_list; elem; elem = elem->next) {
char *category;
- GdkPixmap *pixmap;
- GdkBitmap *mask;
+ GdkPixmap *pixmap = NULL;
+ GdkBitmap *mask = NULL;
category = (char *) elem->data;
e_categories_config_get_icon_for (category, &pixmap, &mask);