diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 20:39:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 21:45:55 +0800 |
commit | 8c426446929d94c390c550177695a9f055f779ae (patch) | |
tree | 09320cce6c80702e6fce456bac740ad1d59b3540 | |
parent | 53bc6ffc531d7a7188e15be245a31f301090ee15 (diff) | |
download | gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar.gz gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar.bz2 gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar.lz gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar.xz gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.tar.zst gsoc2013-evolution-8c426446929d94c390c550177695a9f055f779ae.zip |
itip-formatter: Adapt to CamelDB API changes.
I didn't realize CamelDB was used outside of Camel, yikes!
-rw-r--r-- | 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 189362c102..9ab5895c3d 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 */ |