[evolution] itip-formatter: Adapt to CamelDB API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] itip-formatter: Adapt to CamelDB API changes.
- Date: Mon, 26 Sep 2011 13:46:21 +0000 (UTC)
commit 8c426446929d94c390c550177695a9f055f779ae
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Sep 26 08:39:29 2011 -0400
itip-formatter: Adapt to CamelDB API changes.
I didn't realize CamelDB was used outside of Camel, yikes!
plugins/itip-formatter/itip-formatter.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 189362c..9ab5895 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -2326,7 +2326,7 @@ view_response_cb (GtkWidget *widget,
camel_message_info_free (mi);
if (tag) {
CamelStore *parent_store;
- GSList *list = NULL;
+ GList *list = NULL;
const gchar *full_name;
gint i = 0, count;
@@ -2339,7 +2339,7 @@ view_response_cb (GtkWidget *widget,
if ( camel_message_info_user_tag (mi, "recurrence-key") && g_str_equal (camel_message_info_user_tag (mi, "recurrence-key"), tag)) {
camel_folder_summary_remove_uid_fast (pitip->folder->summary, (gchar *)(mi->uid));
camel_folder_change_info_remove_uid (changes, (gchar *) mi->uid);
- list = g_slist_prepend (list, (gpointer) mi->uid);
+ list = g_list_prepend (list, (gpointer) mi->uid);
/* step back once to have the right index */
count--;
@@ -2351,7 +2351,7 @@ view_response_cb (GtkWidget *widget,
full_name = camel_folder_get_full_name (pitip->folder);
parent_store = camel_folder_get_parent_store (pitip->folder);
camel_db_delete_uids (parent_store->cdb_w, full_name, list, NULL);
- g_slist_free (list);
+ g_list_free (list);
}
} else {
/* Either not a recurring appointment or "apply-to-all" is not selected. So just delete this instance alone */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]