[gnome-calendar] manager: add debug statements
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: add debug statements
- Date: Wed, 24 Dec 2014 16:13:31 +0000 (UTC)
commit 8877e89e65b80e1fb3dc766d88c56bf394ac9fad
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Wed Dec 24 11:09:08 2014 -0500
manager: add debug statements
src/gcal-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 3074b6c..f26656f 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -358,8 +358,9 @@ on_client_refreshed (GObject *source_object,
error = NULL;
if (e_client_refresh_finish (E_CLIENT (source_object), result, &error))
{
+ ESource *source = e_client_get_source (E_CLIENT (source_object));
/* FIXME: add notification to UI */
- ;
+ g_debug ("Client of source: %s refreshed succesfully", e_source_get_uid (source));
}
else
{
@@ -388,6 +389,7 @@ on_event_created (GObject *source_object,
g_warning ("Error creating object: %s", error->message);
g_error_free (error);
}
+ g_debug ("Event: %s created successfully", new_uid);
g_free (new_uid);
free_async_ops_data (data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]