aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-30 10:57:02 -0500
committerTed Gould <ted@gould.cx>2011-03-30 10:57:02 -0500
commit073715557f637c7cd87c906718d99a3c682f7e5f (patch)
tree2d3014fdc8c28dd0f485b4c0d1ba717b5c3f0f20
parent8e1ab0d64a937669c7e9361e7e0942c4c8099358 (diff)
downloadayatana-indicator-datetime-073715557f637c7cd87c906718d99a3c682f7e5f.tar.gz
ayatana-indicator-datetime-073715557f637c7cd87c906718d99a3c682f7e5f.tar.bz2
ayatana-indicator-datetime-073715557f637c7cd87c906718d99a3c682f7e5f.zip
Cleaning up debug output
-rw-r--r--src/indicator-datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 7b6695c..5d35c59 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1200,14 +1200,14 @@ calendar_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant *value, I
g_debug("Changing calendar property: %s", prop);
if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_MARKS)) {
ido_calendar_menu_item_clear_marks (IDO_CALENDAR_MENU_ITEM (mi_data));
- g_debug("Marks: Cleared");
GVariantIter *iter;
gint day;
+ g_debug("\tMarks: %s", g_variant_print(value, FALSE));
+
g_variant_get (value, "ai", &iter);
while (g_variant_iter_loop (iter, "i", &day)) {
ido_calendar_menu_item_mark_day (IDO_CALENDAR_MENU_ITEM (mi_data), day);
- g_debug("Marks: Marked day: %d", day);
}
g_variant_iter_free (iter);
} else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_SET_DATE)) {