aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-24 22:10:02 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-24 22:10:02 +0800
commita1fb36c15210deac4ca989703587060c549c6e51 (patch)
treeaad1cc8f64bd5763c4f84dd71ac8e9f82a9286ea /calendar/gui/e-week-view-event-item.c
parent6aac3505d7e99b866fc8d884c8c4615330f9d131 (diff)
downloadgsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.tar.gz
gsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.tar.zst
gsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.zip
Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -
2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 16fa41102d..8ac563191a 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -1111,6 +1111,7 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item,
cairo_save (cr);
gdk_cairo_set_source_color (cr, &week_view->colors[E_WEEK_VIEW_COLOR_EVENT_BORDER]);
cairo_set_line_width (cr, 0.7);
+ /* rect_x2 is used uninitialized here */
cairo_move_to (cr, rect_x2, y2);
cairo_line_to (cr, rect_x2, y2);
cairo_stroke (cr);