From 0e8fd45559fd7af1728907afead34d0699f16f9e Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 5 Apr 2012 17:53:18 -0400 Subject: [PATCH] gnome-shell-calender-server: fix debug prints Several debug prints not normally compiled were referencing enumeration values that have since been renamed. https://bugzilla.gnome.org/show_bug.cgi?id=673610 --- src/calendar-server/calendar-sources.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calendar-server/calendar-sources.c b/src/calendar-server/calendar-sources.c index f89bdf99f..629a85842 100644 --- a/src/calendar-server/calendar-sources.c +++ b/src/calendar-server/calendar-sources.c @@ -463,7 +463,7 @@ calendar_sources_load_esource_list (CalendarSourceData *source_data) ECalClient *client; dprintf (" type = '%s' uid = '%s', name = '%s', relative uri = '%s': \n", - source_data->source_type == E_CAL_SOURCE_TYPE_EVENT ? "appointment" : "task", + source_data->source_type == E_CAL_CLIENT_SOURCE_TYPE_EVENTS ? "appointment" : "task", e_source_peek_uid (esource), e_source_peek_name (esource), e_source_peek_relative_uri (esource)); @@ -504,7 +504,7 @@ calendar_sources_load_esource_list (CalendarSourceData *source_data) if (emit_signal) { dprintf ("Emitting %s-sources-changed signal\n", - source_data->source_type == E_CAL_SOURCE_TYPE_EVENT ? "appointment" : "task"); + source_data->source_type == E_CAL_CLIENT_SOURCE_TYPE_EVENTS ? "appointment" : "task"); g_signal_emit (source_data->sources, source_data->changed_signal, 0); }