aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-02-16 16:40:02 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-02-16 16:40:02 +0000
commit4feb65c931038f4d6030bffaf44dadf7b10b1e20 (patch)
tree384a12308dd07816c4ba525559643402a503a03b /src
parent1676d621586bf6280cb2d37ac023c5588935c47c (diff)
downloadayatana-indicator-datetime-4feb65c931038f4d6030bffaf44dadf7b10b1e20.tar.gz
ayatana-indicator-datetime-4feb65c931038f4d6030bffaf44dadf7b10b1e20.tar.bz2
ayatana-indicator-datetime-4feb65c931038f4d6030bffaf44dadf7b10b1e20.zip
Added debugging to figure out a segfault on kenvandine's machine
Diffstat (limited to 'src')
-rw-r--r--src/datetime-service.c3
1 files changed, 2 insertions, 1 deletions
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);