Index: ChangeLog
===================================================================
--- ChangeLog	(revision 4397)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-11-21  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
+
+	* plugins/search/search_preferences.c:
+	Removed deprecated funcs.
+
 2008-11-18  Sébastien Granjoux  <seb.sfo@free.fr>
 
 	* plugins/debug-manager/anjuta-debug-manager.glade:
Index: plugins/search/search_preferences.c
===================================================================
--- plugins/search/search_preferences.c	(revision 4397)
+++ plugins/search/search_preferences.c	(working copy)
@@ -318,7 +318,7 @@
 		gtk_tree_model_get (model, &iter, PREF_NAME_COLUMN, &name, -1);
 		search_preferences_update_entry(name);
 		
-		if (g_strcasecmp(name, BASIC))
+		if (g_ascii_strncasecmp (name, BASIC, strlen (BASIC)))
 			search_preferences_read_setting(gconf_concat_dir_and_key(
 				                            SEARCH_PREF_PATH, name));
 		else
@@ -422,7 +422,7 @@
 	if (search_preferences_find_setting(name))
 		return;
 		
-	if (g_strcasecmp(name, BASIC))
+	if (g_ascii_strncasecmp (name, BASIC, strlen (BASIC)))
 	{
 		list_pref = g_slist_append(list_pref, g_strdup(name));
 		
@@ -453,9 +453,9 @@
 	if (valid)
 	{
 		gtk_tree_model_get (model, &iter, PREF_NAME_COLUMN, &name, -1);
-		if (g_strcasecmp(name, BASIC))
+		if (g_ascii_strncasecmp (name, BASIC, strlen (BASIC)))
 		{
-            gchar *path;
+			gchar *path;
 
 			client = gconf_client_get_default();
 			path = gconf_client_get_string(client, gconf_concat_dir_and_key(SEARCH_PREF_PATH,
@@ -466,7 +466,7 @@
 
 			search_preferences_remove_setting(name);
 
-			if (!g_strcasecmp(name, path))
+			if (!g_ascii_strncasecmp (name, BASIC, strlen (BASIC)))
 			{
 				gconf_client_set_string(client, gconf_concat_dir_and_key(
 					SEARCH_PREF_PATH, "search_pref_default"), "", NULL);
@@ -496,7 +496,7 @@
 	if (valid)
 	{
 		gtk_tree_model_get (model, &iter, PREF_NAME_COLUMN, &name, -1);
-		if (g_strcasecmp(name, BASIC))
+		if (g_ascii_strncasecmp (name, BASIC, strlen (BASIC)))
 		{
 			search_preferences_save_setting(name);
 			search_preferences_update_entry("");
@@ -571,7 +571,7 @@
 	model = search_preferences_get_model();
 	gtk_tree_model_foreach (model, on_search_preferences_setting_inactive, NULL);
 	
-	if (default_pref && g_strcasecmp(default_pref, "")  && g_strcasecmp(default_pref, BASIC))	
+	if (default_pref && g_ascii_strncasecmp (default_pref, BASIC, strlen (BASIC)))	
 		search_preferences_read_setting(gconf_concat_dir_and_key(SEARCH_PREF_PATH, 
 		                                default_pref));
 	else
