Index: gui/contact-editor/e-contact-editor.c
===================================================================
--- gui/contact-editor/e-contact-editor.c	(révision 33561)
+++ gui/contact-editor/e-contact-editor.c	(copie de travail)
@@ -2191,7 +2191,7 @@
 		EContactPhoto *photo = e_contact_get (contact, field_id);
 		if (photo && photo->type == E_CONTACT_PHOTO_TYPE_INLINED) {
 			e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget),
-							photo->data.inlined.data,
+							(char *)photo->data.inlined.data,
 							photo->data.inlined.length);
 			editor->image_set = TRUE;
 		}
@@ -2247,9 +2247,9 @@
 	else if (E_IS_DATE_EDIT (widget)) {
 		EContactDate date;
 		if (e_date_edit_get_date (E_DATE_EDIT (widget),
-					  &date.year,
-					  &date.month,
-					  &date.day))
+					  (int *)&date.year,
+					  (int *)&date.month,
+					  (int *)&date.day))
 			e_contact_set (contact, field_id, &date);
 		else
 			e_contact_set (contact, field_id, NULL);
Index: gui/contact-editor/e-contact-quick-add.c
===================================================================
--- gui/contact-editor/e-contact-quick-add.c	(révision 33561)
+++ gui/contact-editor/e-contact-quick-add.c	(copie de travail)
@@ -72,6 +72,7 @@
 	return qa;
 }
 
+#if 0
 static void
 quick_add_ref (QuickAdd *qa)
 {
@@ -79,6 +80,7 @@
 		++qa->refs;
 	}
 }
+#endif
 
 static void
 quick_add_unref (QuickAdd *qa)
Index: gui/component/addressbook-config.c
===================================================================
--- gui/component/addressbook-config.c	(révision 33561)
+++ gui/component/addressbook-config.c	(copie de travail)
@@ -425,8 +425,8 @@
 	supported_bases_table = glade_xml_get_widget (gui, "supported-bases-table");
 	gtk_widget_show_all (supported_bases_table);
 
-	table = g_object_get_data((GObject *)supported_bases_table, "table");
-	model = (GtkListStore *)gtk_tree_view_get_model(table);
+	table = g_object_get_data (G_OBJECT (supported_bases_table), "table");
+	model = GTK_LIST_STORE (gtk_tree_view_get_model(table));
 	selection = gtk_tree_view_get_selection (table);
 	g_signal_connect (selection, "changed", G_CALLBACK (search_base_selection_model_changed), dialog);
 	search_base_selection_model_changed (selection, dialog);
@@ -1018,7 +1018,7 @@
 		d(printf("committing addressbook changes\n"));
 
 		/* these api's kinda suck */
-		xml = xmlNewNode(NULL, "dummy");
+		xml = xmlNewNode(NULL, (const unsigned char *)"dummy");
 		e_source_dump_to_xml_node(sdialog->source, xml);
 		e_source_update_from_xml_node(sdialog->original_source, xml->children, NULL);
 		xmlFreeNode(xml);
Index: gui/component/addressbook-view.c
===================================================================
--- gui/component/addressbook-view.c	(révision 33561)
+++ gui/component/addressbook-view.c	(copie de travail)
@@ -1171,7 +1171,7 @@
 	GtkTreeIter iter;
 	gboolean success = FALSE;
 	EBook *source_book, *target_book;
-	MergeContext *merge_context;
+	MergeContext *merge_context = NULL;
 	GList *contactlist;
 	AddressbookView *view;
 	EABView *v;
@@ -1197,7 +1197,7 @@
 	}
 	e_book_open (target_book, FALSE, NULL);
 
-	eab_book_and_contact_list_from_string (data->data, &source_book, &contactlist);
+	eab_book_and_contact_list_from_string ((char *)data->data, &source_book, &contactlist);
 
 	view = (AddressbookView *) user_data;
 	v = get_current_view (view);
Index: gui/component/addressbook-migrate.c
===================================================================
--- gui/component/addressbook-migrate.c	(révision 33561)
+++ gui/component/addressbook-migrate.c	(copie de travail)
@@ -587,7 +587,7 @@
 		return defval;
 
 	xml_string = xmlNodeListGetString (node->doc, p, 1);
-	retval = atoi (xml_string);
+	retval = atoi ((char *)xml_string);
 	xmlFree (xml_string);
 
 	return retval;
@@ -612,7 +612,7 @@
 			return FALSE;
 
 		root = xmlDocGetRootElement (doc);
-		if (root == NULL || strcmp (root->name, "addressbooks") != 0) {
+		if (root == NULL || strcmp ((const char *)root->name, "addressbooks") != 0) {
 			xmlFreeDoc (doc);
 			return FALSE;
 		}
@@ -620,7 +620,7 @@
 		/* count the number of servers, so we can give progress */
 		num_contactservers = 0;
 		for (child = root->children; child; child = child->next) {
-			if (!strcmp (child->name, "contactserver")) {
+			if (!strcmp ((const char *)child->name, "contactserver")) {
 				num_contactservers++;
 			}
 		}
@@ -630,7 +630,7 @@
 
 		servernum = 0;
 		for (child = root->children; child; child = child->next) {
-			if (!strcmp (child->name, "contactserver")) {
+			if (!strcmp ((const char *)child->name, "contactserver")) {
 				char *port, *host, *rootdn, *scope, *authmethod, *ssl;
 				char *emailaddr, *binddn, *limitstr;
 				int limit;
@@ -744,14 +744,14 @@
 		dialog_set_folder_name (context, _("Autocompletion Settings"));
 
 		root = xmlDocGetRootElement (doc);
-		if (root == NULL || strcmp (root->name, "EvolutionFolderList") != 0) {
+		if (root == NULL || strcmp ((const char *)root->name, "EvolutionFolderList") != 0) {
 			xmlFreeDoc (doc);
 			return FALSE;
 		}
 
 		for (child = root->children; child; child = child->next) {
-			if (!strcmp (child->name, "folder")) {
-				char *physical_uri = e_xml_get_string_prop_by_name (child, "physical-uri");
+			if (!strcmp ((const char *)child->name, "folder")) {
+				char *physical_uri = e_xml_get_string_prop_by_name (child, (const unsigned char *)"physical-uri");
 				ESource *source = NULL;
 
 				/* if the physical uri is file://...
@@ -777,7 +777,7 @@
 						source = e_source_list_peek_source_by_uid (context->source_list, uid);
 				}
 				else {
-					char *name = e_xml_get_string_prop_by_name (child, "display-name");
+					char *name = e_xml_get_string_prop_by_name (child, (const unsigned char *)"display-name");
 
 					source = get_source_by_name (context->source_list, name);
 
Index: gui/widgets/e-minicard.c
===================================================================
--- gui/widgets/e-minicard.c	(révision 33561)
+++ gui/widgets/e-minicard.c	(copie de travail)
@@ -838,7 +838,7 @@
 	GnomeCanvasItem *new_item;
 	GnomeCanvasGroup *group;
 	EMinicardField *minicard_field;
-	const char *name;
+	char *name;
 	char *string;
 	GList *l, *le;
 	int count =0;
Index: gui/widgets/eab-contact-display.c
===================================================================
--- gui/widgets/eab-contact-display.c	(révision 33561)
+++ gui/widgets/eab-contact-display.c	(copie de travail)
@@ -154,7 +154,7 @@
 	if (p->selection_uri == NULL)
 		return;
 
-	gtk_selection_data_set(data, data->target, 8, p->selection_uri, strlen(p->selection_uri));
+	gtk_selection_data_set(data, data->target, 8, (guchar *)p->selection_uri, strlen(p->selection_uri));
 }
 
 static void
@@ -233,7 +233,7 @@
 		if (!photo)
 			photo = e_contact_get (display->priv->contact, E_CONTACT_LOGO);
 
-		gtk_html_stream_write (handle, photo->data.inlined.data, photo->data.inlined.length);
+		gtk_html_stream_write (handle, (char *)photo->data.inlined.data, photo->data.inlined.length);
 
 		gtk_html_end (html, handle, GTK_HTML_STREAM_OK);
 
@@ -512,7 +512,7 @@
 	for (l = email_list, al=email_attr_list; l && al; l = l->next, al = al->next) {
 #ifdef HANDLE_MAILTO_INTERNALLY
 		char *html = e_text_to_html (l->data, 0);
-		char *attr_str = get_email_location ((EVCardAttribute *) al->data);
+		char *attr_str = (char *)get_email_location ((EVCardAttribute *) al->data);
 		g_string_append_printf (accum, "%s<a href=\"internal-mailto:%d\">%s</a> <font color=" HEADER_COLOR ">(%s)</font>", nl, email_num, html, attr_str?attr_str:"");
 		email_num ++;
 		g_free (html);
Index: gui/widgets/gal-view-minicard.c
===================================================================
--- gui/widgets/gal-view-minicard.c	(révision 33561)
+++ gui/widgets/gal-view-minicard.c	(copie de travail)
@@ -31,7 +31,7 @@
 	doc = e_xml_parse_file (filename);
 	if (doc) {
 		xmlNode *root = xmlDocGetRootElement(doc);
-		GAL_VIEW_MINICARD (view)->column_width = e_xml_get_double_prop_by_name_with_default (root, "column_width", 150);
+		GAL_VIEW_MINICARD (view)->column_width = e_xml_get_double_prop_by_name_with_default (root, (const unsigned char *)"column_width", 150);
 		xmlFreeDoc(doc);
 	}
 }
@@ -43,9 +43,9 @@
 	xmlDoc *doc;
 	xmlNode *root;
 
-	doc = xmlNewDoc("1.0");
-	root = xmlNewNode (NULL, "EMinicardViewState");
-	e_xml_set_double_prop_by_name (root, "column_width", GAL_VIEW_MINICARD (view)->column_width);
+	doc = xmlNewDoc((const unsigned char *)"1.0");
+	root = xmlNewNode (NULL, (const unsigned char *)"EMinicardViewState");
+	e_xml_set_double_prop_by_name (root, (const unsigned char *)"column_width", GAL_VIEW_MINICARD (view)->column_width);
 	xmlDocSetRootElement(doc, root);
 	e_xml_save_file (filename, doc);
 	xmlFreeDoc(doc);
@@ -198,10 +198,12 @@
 		gal_view_changed(GAL_VIEW(view));
 	}
 
-	scrolled_window = GTK_SCROLLED_WINDOW(address_view->widget);
+	scrolled_window = GTK_SCROLLED_WINDOW (address_view->widget);
 	adj = gtk_scrolled_window_get_hadjustment (scrolled_window);
-	adj_new = gtk_adjustment_new(adj->value, adj->lower, adj->upper, adj->page_size, adj->page_increment,adj->page_size);
-	gtk_scrolled_window_set_hadjustment(scrolled_window, adj_new);
+	adj_new = GTK_ADJUSTMENT (gtk_adjustment_new (adj->value, adj->lower, adj->upper,
+						     adj->page_size, adj->page_increment,
+						     adj->page_size));
+	gtk_scrolled_window_set_hadjustment (scrolled_window, adj_new);
 }
 
 void
Index: gui/widgets/e-minicard-view.c
===================================================================
--- gui/widgets/e-minicard-view.c	(révision 33561)
+++ gui/widgets/e-minicard-view.c	(copie de travail)
@@ -94,7 +94,7 @@
 		gtk_selection_data_set (selection_data,
 					selection_data->target,
 					8,
-					value, strlen (value));
+					(unsigned char *)value, strlen (value));
 		g_free (value);
 		break;
 	}
@@ -108,7 +108,7 @@
 		gtk_selection_data_set (selection_data,
 					selection_data->target,
 					8,
-					value, strlen (value));
+					(unsigned char *)value, strlen (value));
 		g_free (value);
 		break;
 	}
Index: gui/widgets/e-addressbook-view.c
===================================================================
--- gui/widgets/e-addressbook-view.c	(révision 33561)
+++ gui/widgets/e-addressbook-view.c	(copie de travail)
@@ -1148,7 +1148,7 @@
 		gtk_selection_data_set (selection_data,
 					selection_data->target,
 					8,
-					value, strlen (value));
+					(guchar *)value, strlen (value));
 		g_free (value);
 		break;
 	}
@@ -1160,7 +1160,7 @@
 		gtk_selection_data_set (selection_data,
 					selection_data->target,
 					8,
-					value, strlen (value));
+					(guchar *)value, strlen (value));
 		g_free (value);
 		break;
 	}
@@ -1663,7 +1663,7 @@
 		const char *category = g_list_nth_data (master_list, i);
 		subitems[i+1].search.id = i+1;
 		subitems[i+1].search.text = g_strdup (category);
-		subitems[i+1].image = e_categories_get_icon_file_for (category);
+		subitems[i+1].image = (char *)e_categories_get_icon_file_for (category);
 	}
 
 	subitems[N+1].search.id = -1;
@@ -1861,11 +1861,11 @@
 	GList *list, *l;
 	gboolean plural = FALSE, is_list = FALSE;
 	EContact *contact;
-	ETable *etable;
+	ETable *etable = NULL;
 	EMinicardView *card_view;
-	ESelectionModel *selection_model; 
+	ESelectionModel *selection_model = NULL; 
 	char *name = NULL;
-	gint row, select;
+	gint row = 0, select;
 	
 	list = get_selected_contacts (view);
 	contact = list->data;
@@ -1977,7 +1977,7 @@
 	value = eab_contact_list_to_string (view->clipboard_contacts);
 
 	gtk_selection_data_set (selection_data, GDK_SELECTION_TYPE_STRING,
-				8, value, strlen (value));
+				8, (guchar *)value, strlen (value));
 	g_free (value);
 }
 
@@ -2011,7 +2011,7 @@
 			memcpy (str, selection_data->data, selection_data->length);
 			contact_list = eab_contact_list_from_string (str);
 		} else
-			contact_list = eab_contact_list_from_string (selection_data->data);
+			contact_list = eab_contact_list_from_string ((char *)selection_data->data);
 		
 		for (l = contact_list; l; l = l->next) {
 			EContact *contact = l->data;
Index: gui/contact-list-editor/e-contact-list-editor.c
===================================================================
--- gui/contact-list-editor/e-contact-list-editor.c	(révision 33561)
+++ gui/contact-list-editor/e-contact-list-editor.c	(copie de travail)
@@ -1072,7 +1072,7 @@
 
 	if (!strcmp (target_type, VCARD_TYPE)) {
 
-		GList *contact_list = eab_contact_list_from_string (selection_data->data);
+		GList *contact_list = eab_contact_list_from_string ((char *)selection_data->data);
 		GList *c;
 
 		if (contact_list)
@@ -1166,7 +1166,7 @@
 
 			photo.type = E_CONTACT_PHOTO_TYPE_INLINED;
 			photo.data.inlined.mime_type = NULL;
-			photo.data.inlined.data = image_data;
+			photo.data.inlined.data = (unsigned char *)image_data;
 			photo.data.inlined.length = image_data_len;
 
 			e_contact_set (contact, E_CONTACT_LOGO, &photo);
@@ -1256,7 +1256,7 @@
 
 		photo = e_contact_get (editor->contact, E_CONTACT_LOGO);
 		if (photo && photo->type == E_CONTACT_PHOTO_TYPE_INLINED) {
-			e_image_chooser_set_image_data (E_IMAGE_CHOOSER (editor->list_image), photo->data.inlined.data, photo->data.inlined.length);
+			e_image_chooser_set_image_data (E_IMAGE_CHOOSER (editor->list_image), (char *)photo->data.inlined.data, photo->data.inlined.length);
 			e_contact_photo_free (photo);
 		}
 	}
Index: gui/merging/eab-contact-merging.c
===================================================================
--- gui/merging/eab-contact-merging.c	(révision 33561)
+++ gui/merging/eab-contact-merging.c	(copie de travail)
@@ -144,7 +144,7 @@
 	}
 }
 
-gboolean
+static void
 dialog_map (GtkWidget *window, GdkEvent *event, GtkWidget *table)
 {
 	int h, w;
@@ -157,14 +157,15 @@
 		w = 400;
 	if (h > 450)
 		h = 450;
-	gtk_widget_set_usize (window, w, h);
+
+	gtk_widget_set_size_request (window, w, h);
 }
 
 static void
 dropdown_changed (GtkWidget *dropdown, dropdown_data *data)
 {
 	char *str;
-	str = gtk_combo_box_get_active_text (dropdown);
+	str = gtk_combo_box_get_active_text (GTK_COMBO_BOX (dropdown));
 
 	if (g_ascii_strcasecmp(str, ""))
 		e_contact_set (data->match, data->field, str);
@@ -210,8 +211,8 @@
 	/*we match all the string fields of the already existing contact and the new contact.*/
 	for(field = E_CONTACT_FULL_NAME; field != (E_CONTACT_LAST_SIMPLE_STRING -1) ; field++) {
 		dropdown_data *data = NULL;
-		string = e_contact_get_const (lookup->contact, field);
-		string1 = e_contact_get_const (lookup->match, field);
+		string = (char *)e_contact_get_const (lookup->contact, field);
+		string1 = (char *)e_contact_get_const (lookup->match, field);
 
 		/*the field must exist in the new as well as the duplicate contact*/
 		if (string && *string) {
@@ -220,7 +221,7 @@
 			if ((field == E_CONTACT_EMAIL_1 || field == E_CONTACT_EMAIL_2 
 			    || field == E_CONTACT_EMAIL_3 || field == E_CONTACT_EMAIL_4) && (num_of_email < 4)) {
 				row++;
-				str = e_contact_get_const (lookup->contact, field);
+				str = (char *)e_contact_get_const (lookup->contact, field);
 				switch(num_of_email)
 				{
 				case 0:
@@ -260,13 +261,13 @@
 				gtk_table_attach_defaults (table, (GtkWidget *)hbox, 0, 1, row, row + 1);
 
 				dropdown = gtk_combo_box_new_text();	
-				gtk_combo_box_append_text (dropdown, string);
+				gtk_combo_box_append_text (GTK_COMBO_BOX (dropdown), string);
 
 				data = g_new0 (dropdown_data, 1);
 				
-				gtk_combo_box_append_text (dropdown, "");
+				gtk_combo_box_append_text (GTK_COMBO_BOX (dropdown), "");
 
-				gtk_combo_box_set_active (dropdown, 0);
+				gtk_combo_box_set_active (GTK_COMBO_BOX (dropdown), 0);
 				data->field = field;
 				data->match = lookup->match;
 				e_contact_set (lookup->match, field, string);
@@ -301,15 +302,15 @@
 				gtk_table_attach_defaults (table, (GtkWidget *)hbox, 0, 1, row, row + 1); 
 				data = g_new0 (dropdown_data, 1);
 				dropdown = gtk_combo_box_new_text();	
-				gtk_combo_box_append_text (dropdown, string);
+				gtk_combo_box_append_text (GTK_COMBO_BOX (dropdown), string);
 				e_contact_set (lookup->match, field, string);
 
 				if (string1 && *string1)
-					gtk_combo_box_append_text (dropdown, string1);
+					gtk_combo_box_append_text (GTK_COMBO_BOX (dropdown), string1);
 				else 
-					gtk_combo_box_append_text (dropdown, "");
+					gtk_combo_box_append_text (GTK_COMBO_BOX (dropdown), "");
 
-				gtk_combo_box_set_active (dropdown, 0); 
+				gtk_combo_box_set_active (GTK_COMBO_BOX (dropdown), 0); 
 				data->field = field;
 				data->match = lookup->match;
 
@@ -345,7 +346,7 @@
 	             value = 0;
 		     break;  
 	}
-	gtk_widget_destroy (dialog);
+	gtk_widget_destroy (GTK_WIDGET (dialog));
 	g_list_free (email_attr_list);
 	return value;
 }
@@ -364,7 +365,7 @@
 
 		if ((field == E_CONTACT_EMAIL_1 || field == E_CONTACT_EMAIL_2 
 		     || field == E_CONTACT_EMAIL_3 || field == E_CONTACT_EMAIL_4) && (num_of_email<4)) {
-			str = e_contact_get_const (contact, field);
+			str = (char *)e_contact_get_const (contact, field);
 			switch(num_of_email)
 			{
 			case 0:
@@ -384,8 +385,8 @@
 			}
 		}
 		else {			
-			string = e_contact_get_const (contact, field);
-			string1 = e_contact_get_const (match, field);
+			string = (char *)e_contact_get_const (contact, field);
+			string1 = (char *)e_contact_get_const (match, field);
 			if ((string && *string) && (string1 && *string1) && (g_ascii_strcasecmp(string1,string)))
 				return FALSE;
 			/*if the field entry exist in either of the contacts,we'll have to give the choice and thus merge button should be sensitive*/
@@ -400,7 +401,6 @@
 static void
 response (GtkWidget *dialog, int response, EContactMergingLookup *lookup)
 {
-	static int merge_response;
 	switch (response) {
 	case 0:
 		doit (lookup);
@@ -409,14 +409,14 @@
 		cancelit (lookup);
 		break;
 	case 2:
-		merge_response = mergeit (lookup);
-		if (merge_response)
-			break;
-		return;
+		/* what to do here ? */
+		mergeit (lookup);
+		break;
 	case GTK_RESPONSE_DELETE_EVENT:
 		cancelit (lookup);
 		break;
 	}
+
 	gtk_widget_destroy (dialog);
 }
 
@@ -442,10 +442,10 @@
 						      "eab-contact-duplicate-detected.glade",
 						      NULL);
 			ui = glade_xml_new (gladefile, NULL, NULL);
-			merge_button = GTK_BUTTON (glade_xml_get_widget (ui, "button5"));
+			merge_button = glade_xml_get_widget (ui, "button5");
 			/* Merge Button not sensitive when all values are same */
 			if (flag)
-				gtk_widget_set_sensitive ((GtkWidget *)merge_button, FALSE);
+				gtk_widget_set_sensitive (GTK_WIDGET (merge_button), FALSE);
 			g_free (gladefile);
 		} else if (lookup->op == E_CONTACT_MERGING_COMMIT) {
 			gladefile = g_build_filename (EVOLUTION_GLADEDIR,
@@ -481,7 +481,7 @@
 
 gboolean
 eab_merging_book_add_contact (EBook           *book,
-			      EContact           *contact,
+			      EContact        *contact,
 			      EBookIdCallback  cb,
 			      gpointer         closure)
 {
@@ -504,7 +504,7 @@
 
 gboolean
 eab_merging_book_commit_contact (EBook                 *book,
-				 EContact                 *contact,
+				 EContact              *contact,
 				 EBookCallback          cb,
 				 gpointer               closure)
 {
Index: conduit/address-conduit.c
===================================================================
--- conduit/address-conduit.c	(révision 33561)
+++ conduit/address-conduit.c	(copie de travail)
@@ -838,7 +838,7 @@
 
 	pi_buffer_free(buffer);
 #else
-	p.record = record;
+	p.record = (unsigned char *)record;
 	p.length = pack_Address (local->addr, p.record, 0xffff);
 #endif
 	return p;	
@@ -894,7 +894,7 @@
 #ifdef PILOT_LINK_0_12
 			unpack_Address (&addr, record, address_v1);
 #else
-			unpack_Address (&addr, record, 0xffff);
+			unpack_Address (&addr, (unsigned char *)record, 0xffff);
 #endif
 			for (i = 0; i < 5; i++) {
 				if (addr.entry[entryPhone1 + i])
@@ -1244,14 +1244,14 @@
 
 	ESource *source = (ESource *)data;
 
-	auth = e_source_get_property (source, "auth");
-	auth_domain = e_source_get_property (source, "auth-domain");
+	auth = (gchar *)e_source_get_property (source, "auth");
+	auth_domain = (gchar *)e_source_get_property (source, "auth-domain");
 	component_name = auth_domain ? auth_domain : "Addressbook";
 
 	if (auth && !strcmp ("plain/password", auth))
-		user = e_source_get_property (source, "user");
+		user = (gchar *)e_source_get_property (source, "user");
 	else 
-		user = e_source_get_property (source, "email_addr");
+		user = (gchar *)e_source_get_property (source, "email_addr");
 	if (!user)
 		user = "";	
 
@@ -1305,7 +1305,7 @@
 	} else {
 		ctxt->ebook = e_book_new_default_addressbook (NULL);
 	}
-	auth = e_source_get_property (ctxt->cfg->source, "auth");
+	auth = (gchar *)e_source_get_property (ctxt->cfg->source, "auth");
 	if (auth) {
 		LOG (g_message ("contacts needs authentication\n"));
 		g_signal_connect (ctxt->ebook, "auth_required", 
@@ -1491,7 +1491,7 @@
 
 			*local = g_new0 (EAddrLocalRecord, 1);
   			local_record_from_ecard (*local, cards->data, ctxt);
-			g_list_prepend (ctxt->locals, *local);
+			ctxt->locals = g_list_prepend (ctxt->locals, *local);
 
 			iterator = cards;
 		} else {
@@ -1506,7 +1506,7 @@
 
 			*local = g_new0 (EAddrLocalRecord, 1);
 			local_record_from_ecard (*local, iterator->data, ctxt);
-			g_list_prepend (ctxt->locals, *local);
+			ctxt->locals = g_list_prepend (ctxt->locals, *local);
 		} else {
 			LOG (g_message ( "for_each ending" ));
 
@@ -1545,7 +1545,7 @@
 			 
 			*local = g_new0 (EAddrLocalRecord, 1);
 			local_record_from_ecard (*local, ebc->contact, ctxt);
-			g_list_prepend (ctxt->locals, *local);
+			ctxt->locals = g_list_prepend (ctxt->locals, *local);
 		} else {
 			LOG (g_message ( "no events" ));
 
@@ -1559,7 +1559,7 @@
 
 			*local = g_new0 (EAddrLocalRecord, 1);
 			local_record_from_ecard (*local, ebc->contact, ctxt);
-			g_list_prepend (ctxt->locals, *local);
+			ctxt->locals = g_list_prepend (ctxt->locals, *local);
 		} else {
 			LOG (g_message ( "for_each_modified ending" ));
 
Index: ChangeLog
===================================================================
--- ChangeLog	(révision 33561)
+++ ChangeLog	(copie de travail)
@@ -1,3 +1,35 @@
+2007-05-21  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	reviewed by: <delete if not using a buddy>
+
+	* conduit/address-conduit.c: (local_record_to_pilot_record):
+	* gui/component/addressbook-config.c: (query_for_supported_bases),
+	(eabc_commit):
+	* gui/component/addressbook-migrate.c: (get_integer_child),
+	(migrate_ldap_servers), (migrate_completion_folders):
+	* gui/component/addressbook-view.c:
+	(selector_tree_drag_data_received):
+	* gui/contact-editor/e-contact-editor.c: (fill_in_simple_field),
+	(extract_simple_field):
+	* gui/contact-editor/e-contact-quick-add.c:
+	* gui/contact-list-editor/e-contact-list-editor.c:
+	(table_drag_data_received_cb), (extract_info), (fill_in_info):
+	* gui/merging/eab-contact-merging.c: (dialog_map),
+	(dropdown_changed), (mergeit), (check_if_same), (response),
+	(match_query_callback):
+	* gui/merging/eab-contact-merging.h:
+	* gui/widgets/e-addressbook-view.c: (table_drag_data_get),
+	(make_suboptions), (eab_view_delete_selection), (selection_get),
+	(selection_received):
+	* gui/widgets/e-minicard-view.c: (e_minicard_view_drag_data_get):
+	* gui/widgets/e-minicard.c: (add_email_field):
+	* gui/widgets/eab-contact-display.c: (eab_selection_get),
+	(on_url_requested), (render_contact):
+	* gui/widgets/gal-view-minicard.c: (gal_view_minicard_load),
+	(gal_view_minicard_save), (column_width_changed):
+	* printing/e-contact-print.c: (e_contact_build_style):
+	fixing casts and other compilation warnings
+
 2007-05-14  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fix for bug #424055 from Øystein Gisnås
Index: printing/e-contact-print.c
===================================================================
--- printing/e-contact-print.c	(révision 33561)
+++ printing/e-contact-print.c	(copie de travail)
@@ -436,70 +436,70 @@
 		xmlNodePtr stylenode = xmlDocGetRootElement(styledoc);
 		xmlNodePtr node;
 		for (node = stylenode->children; node; node = node->next) {
-			char *data = xmlNodeGetContent ( node );
-			if ( !strcmp( node->name, "title" ) ) {
+			char *data = (char *)xmlNodeGetContent ( node );
+			if ( !strcmp( (char *)node->name, "title" ) ) {
 				get_string(data, &(style->title));
-			} else if ( !strcmp( node->name, "type" ) ) {
+			} else if ( !strcmp( (char *)node->name, "type" ) ) {
 				if (g_ascii_strcasecmp (data, "cards") == 0)
 					style->type = E_CONTACT_PRINT_TYPE_CARDS;
 				else if (g_ascii_strcasecmp (data, "memo_style") == 0)
 					style->type = E_CONTACT_PRINT_TYPE_MEMO_STYLE;
 				else if (g_ascii_strcasecmp (data, "phone_list") == 0)
 					style->type = E_CONTACT_PRINT_TYPE_PHONE_LIST;
-			} else if ( !strcmp( node->name, "sections_start_new_page" ) ) {
+			} else if ( !strcmp( (char *)node->name, "sections_start_new_page" ) ) {
 				style->sections_start_new_page = get_bool(data);
-			} else if ( !strcmp( node->name, "num_columns" ) ) {
+			} else if ( !strcmp( (char *)node->name, "num_columns" ) ) {
 				style->num_columns = get_integer(data);
-			} else if ( !strcmp( node->name, "blank_forms" ) ) {
+			} else if ( !strcmp( (char *)node->name, "blank_forms" ) ) {
 				style->blank_forms = get_integer(data);
-			} else if ( !strcmp( node->name, "letter_headings" ) ) {
+			} else if ( !strcmp( (char *)node->name, "letter_headings" ) ) {
 				style->letter_headings = get_bool(data);
-			} else if ( !strcmp( node->name, "headings_font" ) ) {
+			} else if ( !strcmp( (char *)node->name, "headings_font" ) ) {
 				get_font( data, &(style->headings_font) );
-			} else if ( !strcmp( node->name, "body_font" ) ) {
+			} else if ( !strcmp( (char *)node->name, "body_font" ) ) {
 				get_font( data, &(style->body_font) );
-			} else if ( !strcmp( node->name, "print_using_grey" ) ) {
+			} else if ( !strcmp( (char *)node->name, "print_using_grey" ) ) {
 				style->print_using_grey = get_bool(data);
-			} else if ( !strcmp( node->name, "paper_width" ) ) {
+			} else if ( !strcmp( (char *)node->name, "paper_width" ) ) {
 				style->paper_width = get_float(data);
-			} else if ( !strcmp( node->name, "paper_height" ) ) {
+			} else if ( !strcmp( (char *)node->name, "paper_height" ) ) {
 				style->paper_height = get_float(data);
-			} else if ( !strcmp( node->name, "top_margin" ) ) {
+			} else if ( !strcmp( (char *)node->name, "top_margin" ) ) {
 				style->top_margin = get_float(data);
-			} else if ( !strcmp( node->name, "left_margin" ) ) {
+			} else if ( !strcmp( (char *)node->name, "left_margin" ) ) {
 				style->left_margin = get_float(data);
-			} else if ( !strcmp( node->name, "bottom_margin" ) ) {
+			} else if ( !strcmp( (char *)node->name, "bottom_margin" ) ) {
 				style->bottom_margin = get_float(data);
-			} else if ( !strcmp( node->name, "right_margin" ) ) {
+			} else if ( !strcmp( (char *)node->name, "right_margin" ) ) {
 				style->right_margin = get_float(data);
-			} else if ( !strcmp( node->name, "page_width" ) ) {
+			} else if ( !strcmp( (char *)node->name, "page_width" ) ) {
 				style->page_width = get_float(data);
-			} else if ( !strcmp( node->name, "page_height" ) ) {
+			} else if ( !strcmp( (char *)node->name, "page_height" ) ) {
 				style->page_height = get_float(data);
-			} else if ( !strcmp( node->name, "orientation" ) ) {
+			} else if ( !strcmp( (char *)node->name, "orientation" ) ) {
 				if ( data ) {
 					style->orientation_portrait =
 						(g_ascii_strcasecmp (data, "landscape") != 0);
 				} else {
 					style->orientation_portrait = TRUE;
 				}
-			} else if ( !strcmp( node->name, "header_font" ) ) {
+			} else if ( !strcmp( (char *)node->name, "header_font" ) ) {
 				get_font( data, &(style->header_font) );
-			} else if ( !strcmp( node->name, "left_header" ) ) {
+			} else if ( !strcmp( (char *)node->name, "left_header" ) ) {
 				get_string(data, &(style->left_header));
-			} else if ( !strcmp( node->name, "center_header" ) ) {
+			} else if ( !strcmp( (char *)node->name, "center_header" ) ) {
 				get_string(data, &(style->center_header));
-			} else if ( !strcmp( node->name, "right_header" ) ) {
+			} else if ( !strcmp( (char *)node->name, "right_header" ) ) {
 				get_string(data, &(style->right_header));
-			} else if ( !strcmp( node->name, "footer_font" ) ) {
+			} else if ( !strcmp( (char *)node->name, "footer_font" ) ) {
 				get_font( data, &(style->footer_font) );
-			} else if ( !strcmp( node->name, "left_footer" ) ) {
+			} else if ( !strcmp( (char *)node->name, "left_footer" ) ) {
 				get_string(data, &(style->left_footer));
-			} else if ( !strcmp( node->name, "center_footer" ) ) {
+			} else if ( !strcmp( (char *)node->name, "center_footer" ) ) {
 				get_string(data, &(style->center_footer));
-			} else if ( !strcmp( node->name, "right_footer" ) ) {
+			} else if ( !strcmp( (char *)node->name, "right_footer" ) ) {
 				get_string(data, &(style->right_footer));
-			} else if ( !strcmp( node->name, "reverse_on_even_pages" ) ) {
+			} else if ( !strcmp( (char *)node->name, "reverse_on_even_pages" ) ) {
 				style->reverse_on_even_pages = get_bool(data);
 			}
 			if ( data )
