aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-25 01:37:29 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-25 01:37:29 +0800
commit152d68ee68e875f9290742380dc1433ca18e8d91 (patch)
treec34b25bb46cae19882e5cac4cf44887a34e5ca89 /calendar/gui/e-day-view.c
parent0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa (diff)
downloadgsoc2013-evolution-152d68ee68e875f9290742380dc1433ca18e8d91.tar.gz
gsoc2013-evolution-152d68ee68e875f9290742380dc1433ca18e8d91.tar.zst
gsoc2013-evolution-152d68ee68e875f9290742380dc1433ca18e8d91.zip
Make signal names saner (released_event_object_cb): ditto
2000-08-24 JP Rosevear <jpr@helixcode.com> * gui/gnome-cal.c (save_event_object_cb): Make signal names saner (released_event_object_cb): ditto (gnome_calendar_edit_object): ditto * gui/event-editor.h: Make signal names saner * gui/event-editor.c (event_editor_class_init): Make signal names saner now that we don't use ical object (save_event_object): ditto with callback names (file_save_cb): ditto (tb_save_and_close_cb): ditto (event_editor_set_ical_object): ditto * gui/e-day-view.c (e_day_view_update_event): Umm, != CAL_COMPONENT_EVENT (I hope that wasn't me!) svn path=/trunk/; revision=5006
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 91c7d77ff9..cc50032734 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1123,14 +1123,8 @@ e_day_view_update_event (EDayView *day_view,
g_return_if_fail (E_IS_DAY_VIEW (day_view));
-#if 0
- /* FIXME: Just for testing. */
- chdir ("/home/damon/tmp");
- g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
-
g_print ("In e_day_view_update_event day_view:%p uid:%s\n",
day_view, uid);
-#endif
/* If our calendar or time hasn't been set yet, just return. */
if (!day_view->calendar
@@ -1153,7 +1147,7 @@ e_day_view_update_event (EDayView *day_view,
}
/* We only care about events. */
- if (comp && cal_component_get_vtype (comp) == CAL_COMPONENT_EVENT) {
+ if (comp && cal_component_get_vtype (comp) != CAL_COMPONENT_EVENT) {
gtk_object_unref (GTK_OBJECT (comp));
return;
}