From 4feb65c931038f4d6030bffaf44dadf7b10b1e20 Mon Sep 17 00:00:00 2001 From: karl-qdh Date: Wed, 16 Feb 2011 16:40:02 +0000 Subject: Added debugging to figure out a segfault on kenvandine's machine --- src/datetime-service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/datetime-service.c b/src/datetime-service.c index cb383c1..ecebcce 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -575,6 +575,7 @@ update_appointment_menu_items (gpointer user_data) { } // Sort the list see above FIXME regarding queries + g_debug("Sorting objects list"); allobjects = g_list_sort(allobjects, (GCompareFunc) compare_appointment_items); i = 0; for (l = allobjects; l; l = l->next) { @@ -590,6 +591,7 @@ update_appointment_menu_items (gpointer user_data) { struct tm tmp_tm; DbusmenuMenuitem * item; + g_debug("Start Object"); ECalComponentVType vtype = e_cal_component_get_vtype (ecalcomp); // See above FIXME regarding query result @@ -608,7 +610,6 @@ update_appointment_menu_items (gpointer user_data) { dbusmenu_menuitem_property_set_bool (item, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); dbusmenu_menuitem_property_set_bool (item, DBUSMENU_MENUITEM_PROP_VISIBLE, TRUE); - g_debug("Start Object"); // Label text e_cal_component_get_summary (ecalcomp, &valuetext); summary = g_strdup (valuetext.value); -- cgit v1.2.3