diff pidgin/plugins/gevolution/eds-utils.c @ 15823:32c366eeeb99

sed -ie 's/gaim/purple/g'
author Sean Egan <seanegan@gmail.com>
date Mon, 19 Mar 2007 07:01:17 +0000
parents 535f002e7b0f
children 44b4e8bd759b
line wrap: on
line diff
--- a/pidgin/plugins/gevolution/eds-utils.c	Mon Mar 19 06:11:46 2007 +0000
+++ b/pidgin/plugins/gevolution/eds-utils.c	Mon Mar 19 07:01:17 2007 +0000
@@ -1,5 +1,5 @@
 /*
- * Evolution integration plugin for Gaim
+ * Evolution integration plugin for Purple
  *
  * Copyright (C) 2004 Henry Jen.
  *
@@ -65,7 +65,7 @@
 
 	if (!e_book_get_addressbooks(&addressbooks, &err))
 	{
-		gaim_debug_error("evolution",
+		purple_debug_error("evolution",
 						 "Unable to fetch list of address books.\n");
 
 		gtk_list_store_append(list, &iter);
@@ -122,7 +122,7 @@
 
 	if (!gevo_load_addressbook(uri, &book, NULL))
 	{
-		gaim_debug_error("evolution",
+		purple_debug_error("evolution",
 						 "Error retrieving addressbook\n");
 		return NULL;
 	}
@@ -130,7 +130,7 @@
 	status = e_book_get_contacts(book, query, &cards, NULL);
 	if (!status)
 	{
-		gaim_debug_error("evolution", "Error %d in getting card list\n",
+		purple_debug_error("evolution", "Error %d in getting card list\n",
 						 status);
 		g_object_unref(book);
 		return NULL;
@@ -168,7 +168,7 @@
  *              second reference) if they want to reuse @a query.
  */
 EContact * 
-gevo_search_buddy_in_contacts(GaimBuddy *buddy, EBookQuery *query)
+gevo_search_buddy_in_contacts(PurpleBuddy *buddy, EBookQuery *query)
 {
 	ESourceList *addressbooks;
 	GError *err;
@@ -188,7 +188,7 @@
 		queries[1] = e_book_query_field_test(protocol_field, E_BOOK_QUERY_IS, buddy->name);
 		if (queries[1] == NULL)
 		{
-			gaim_debug_error("evolution", "Error in creating protocol query\n");
+			purple_debug_error("evolution", "Error in creating protocol query\n");
 			e_book_query_unref(query);
 			return NULL;
 		}
@@ -200,14 +200,14 @@
 		full_query = e_book_query_field_test(protocol_field, E_BOOK_QUERY_IS, buddy->name);
 		if (full_query == NULL)
 		{
-			gaim_debug_error("evolution", "Error in creating protocol query\n");
+			purple_debug_error("evolution", "Error in creating protocol query\n");
 			return NULL;
 		}
 	}
 
 	if (!e_book_get_addressbooks(&addressbooks, &err))
 	{
-		gaim_debug_error("evolution",
+		purple_debug_error("evolution",
 						 "Unable to fetch list of address books.\n");
 		e_book_query_unref(full_query);
 		if (err != NULL)