item = E_GW_ITEM(item_list->data);
modified_comp = e_gw_item_to_cal_component (item, cbgw);
if (!modified_comp) {
- g_message ("Invalid component returned in update");
continue;
}
if ((r_key = e_gw_item_get_recurrence_key (item)) != 0)
PRIV_LOCK (priv);
- g_message (G_STRLOC ": Getting object list (%s)", sexp);
-
if (!strcmp (sexp, "#t"))
search_needed = FALSE;
}
}
- g_message (G_STRLOC ": object list length %d from %d objects",
- g_list_length (*objects), g_slist_length (components));
-
g_object_unref (cbsexp);
g_slist_foreach (components, (GFunc) g_object_unref, NULL);
g_slist_free (components);
cbgw = E_CAL_BACKEND_GROUPWISE (backend);
priv = cbgw->priv;
- g_message (G_STRLOC ": Starting query (%s)", e_data_cal_view_get_text (query));
-
e_cal_backend_groupwise_get_object_list (E_CAL_BACKEND_SYNC (backend), NULL,
e_data_cal_view_get_text (query), &objects, &err);
if (err) {
/* when online, send the item to the server */
cache_comp = e_cal_backend_store_get_component (priv->store, uid, rid);
if (!cache_comp) {
- g_message ("CRITICAL : Could not find the object in cache");
+ g_critical ("Could not find the object in cache");
g_free (rid);
g_propagate_error (error, EDC_ERROR (ObjectNotFound));
return;
mapped_file = g_mapped_file_new (sfname, FALSE, &error);
if (!mapped_file) {
- g_message ("DEBUG: could not map %s: %s\n",
- sfname, error->message);
g_error_free (error);
continue;
}
fd = g_open (dest_file, O_RDWR|O_CREAT|O_TRUNC|O_BINARY, 0600);
if (fd == -1) {
/* TODO handle error conditions */
- g_message ("DEBUG: could not open %s for writing\n",
- dest_file);
} else if (write (fd, g_mapped_file_get_contents (mapped_file),
g_mapped_file_get_length (mapped_file)) == -1) {
/* TODO handle error condition */
- g_message ("DEBUG: attachment write failed.\n");
}
#if GLIB_CHECK_VERSION(2,21,3)