diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-24 06:49:48 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-24 06:49:48 +0800 |
commit | 252454c7ab52055618878ec439c4f28e34305bb1 (patch) | |
tree | a7b6c3a198635524cca695b77859a7c6fd9be5a0 /calendar/gui/e-day-view.c | |
parent | 72daa2c6442573fcd0df1072f95cc411c9314511 (diff) | |
download | gsoc2013-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.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index d8e52e683b..70463188b5 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1365,7 +1365,7 @@ e_day_view_update_event_label (EDayView *day_view, gint event_num) { EDayViewEvent *event; - gchar *text; + char *text; gboolean free_text = FALSE, editing_event = FALSE; gint offset, start_minute, end_minute; CalComponentText summary; @@ -1378,7 +1378,7 @@ e_day_view_update_event_label (EDayView *day_view, return; cal_component_get_summary (event->comp, &summary); - text = summary.value ? summary.value : ""; + text = summary.value ? (char *) summary.value : ""; if (day_view->editing_event_day == day && day_view->editing_event_num == event_num) @@ -1397,6 +1397,7 @@ e_day_view_update_event_label (EDayView *day_view, end_minute / 60, end_minute % 60, text); + free_text = TRUE; } @@ -5288,6 +5289,7 @@ e_day_view_update_main_canvas_drag (EDayView *day_view, /* Calculate the event's position. If the event is in the same position we started in, we use the same columns. */ cols_in_row = 1; + start_row = 0; start_col = 0; num_columns = 1; num_rows = 1; |