aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-time-item.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-24 06:49:48 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-24 06:49:48 +0800
commit252454c7ab52055618878ec439c4f28e34305bb1 (patch)
treea7b6c3a198635524cca695b77859a7c6fd9be5a0 /calendar/gui/e-day-view-time-item.c
parent72daa2c6442573fcd0df1072f95cc411c9314511 (diff)
downloadgsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.gz
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.bz2
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.lz
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.xz
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.zst
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.zip
#include <e-util/e-cursors.h>
2000-08-23 Federico Mena Quintero <federico@helixcode.com> * gui/main.c: #include <e-util/e-cursors.h> * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Initialize time_min_x1 and hour_r to keep gcc happy. * gui/e-day-view.c (e_day_view_update_event_label): Warning fix. (e_day_view_update_main_canvas_drag): Initialize start_row. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): Initialize time_y_small_min, icon_x. * Makefile.am (SUBDIRS): Re-enable the gui directory. * gui/prop.c (prop_store_alarm_default_values): Temporarily #if 0 out. svn path=/trunk/; revision=4993
Diffstat (limited to 'calendar/gui/e-day-view-time-item.c')
-rw-r--r--calendar/gui/e-day-view-time-item.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c
index 105c85d31e..49720456f3 100644
--- a/calendar/gui/e-day-view-time-item.c
+++ b/calendar/gui/e-day-view-time-item.c
@@ -29,8 +29,6 @@
#include <config.h>
#include <gnome.h>
-#include <gtk/gtkmenu.h>
-#include <gtk/gtkradiomenuitem.h>
#include "e-day-view-time-item.h"
#include "../../e-util/e-gui-utils.h"
@@ -246,6 +244,9 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item,
fg_gc = style->fg_gc[GTK_STATE_NORMAL];
dark_gc = style->dark_gc[GTK_STATE_NORMAL];
+ time_min_x1 = 0;
+ hour_r = 0;
+
/* Step through each row, drawing the horizontal grid lines for each
day column and the times. */
time_hour_x1 = E_DVTMI_TIME_GRID_X_PAD - x;