[gnome-shell] gnome-shell-calender-server: fix debug prints
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gnome-shell-calender-server: fix debug prints
- Date: Mon, 16 Apr 2012 16:42:25 +0000 (UTC)
commit 0e8fd45559fd7af1728907afead34d0699f16f9e
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Apr 5 17:53:18 2012 -0400
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar-server/calendar-sources.c b/src/calendar-server/calendar-sources.c
index f89bdf9..629a858 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]