Index: bogo-junk-plugin/bf-junk-filter.c
===================================================================
--- bogo-junk-plugin/bf-junk-filter.c	(révision 33501)
+++ bogo-junk-plugin/bf-junk-filter.c	(copie de travail)
@@ -57,6 +57,16 @@
 static const gchar em_junk_bf_gconf_dir[] = EM_JUNK_BF_GCONF_DIR;
 GtkWidget * org_gnome_bogo_convert_unicode (struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data);
 
+/* plugin fonction prototypes */
+gboolean em_junk_bf_check_junk (EPlugin *ep, EMJunkHookTarget *target);
+gboolean em_junk_bf_validate_binary (EPlugin *ep, EMJunkHookTarget *target);
+void em_junk_bf_report_junk (EPlugin *ep, EMJunkHookTarget *target);
+void em_junk_bf_report_non_junk (EPlugin *ep, EMJunkHookTarget *target);
+void em_junk_bf_commit_reports (EPlugin *ep, EMJunkHookTarget *target);
+
+/* eplugin stuff */
+int e_plugin_lib_enable (EPluginLib *ep, int enable);
+
 #define EM_JUNK_BF_GCONF_DIR_LENGTH (G_N_ELEMENTS (em_junk_bf_gconf_dir) - 1)
 
 
Index: bogo-junk-plugin/ChangeLog
===================================================================
--- bogo-junk-plugin/ChangeLog	(révision 33501)
+++ bogo-junk-plugin/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* bf-junk-filter.c: add prototypes to clean compilation warnings
+	Fixes part of bug #437584
+
 2007-04-23  Matthew Barnes  <mbarnes@redhat.com>
 
 	* Makefile.am: Distribute bogo-junk-plugin.schemas.in.in.  (#432616)
Index: bbdb/ChangeLog
===================================================================
--- bbdb/ChangeLog	(révision 33501)
+++ bbdb/ChangeLog	(copie de travail)
@@ -1,3 +1,10 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* gaimbuddies.c: (bbdb_sync_buddy_list_check),
+	(bbdb_get_gaim_buddy_list), (get_node_text), (parse_contact),
+	(parse_buddy_group): add casts to clear compilation warnings,
+	Fixes part of bug #437584
+
 2007-04-02  Sankar P  <psankar@novell.com>
 
 	* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
Index: bbdb/gaimbuddies.c
===================================================================
--- bbdb/gaimbuddies.c	(révision 33501)
+++ bbdb/gaimbuddies.c	(copie de travail)
@@ -101,7 +101,7 @@
 
 	/* Reprocess the buddy list if it's been updated. */
 	last_sync_str = gconf_client_get_string (gconf, GCONF_KEY_GAIM_LAST_SYNC, NULL);
-	if (last_sync_str == NULL || ! strcmp (last_sync_str, ""))
+	if (last_sync_str == NULL || ! strcmp ((const char *)last_sync_str, ""))
 		last_sync = (time_t) 0;
 	else
 		last_sync = (time_t) g_ascii_strtoull (last_sync_str, NULL, 10);
@@ -314,7 +314,7 @@
 	}
 
 	root = xmlDocGetRootElement (buddy_xml);
-	if (strcmp (root->name, "gaim")) {
+	if (strcmp ((const char *)root->name, "gaim")) {
 		fprintf (stderr, "bbdb: Could not parse Gaim buddy list.\n");
 		xmlFreeDoc (buddy_xml);
 		return NULL;
@@ -322,7 +322,7 @@
 
 	blist = NULL;
 	for (child = root->children; child != NULL; child = child->next) {
-		if (! strcmp (child->name, "blist")) {
+		if (! strcmp ((const char *)child->name, "blist")) {
 			blist = child;
 			break;
 		}
@@ -334,7 +334,7 @@
 	}
 
 	for (child = blist->children; child != NULL; child = child->next) {
-		if (! strcmp (child->name, "group"))
+		if (! strcmp ((const char *)child->name, "group"))
 			parse_buddy_group (child, &buddies);
 	}
 
@@ -365,7 +365,7 @@
 get_node_text (xmlNodePtr node)
 {
 	if (node->children == NULL || node->children->content == NULL ||
-	    strcmp (node->children->name, "text"))
+	    strcmp ((const char *)node->children->name, "text"))
 		return NULL;
 
 	return g_strdup (node->children->content);
@@ -397,7 +397,7 @@
 	GaimBuddy  *gb;
 
 	for (child = contact->children; child != NULL; child = child->next) {
-		if (! strcmp (child->name, "buddy")) {
+		if (! strcmp ((const char *)child->name, "buddy")) {
 			buddy = child;
 			break;
 		}
@@ -413,17 +413,17 @@
 	gb->proto = e_xml_get_string_prop_by_name (buddy, "proto");
 
 	for (child = buddy->children; child != NULL; child = child->next) {
-		if (! strcmp (child->name, "setting")) {
+		if (! strcmp ((const char *)child->name, "setting")) {
 			char *setting_type;
 			setting_type = e_xml_get_string_prop_by_name (child, "name");
 
-			if (! strcmp (setting_type, "buddy_icon"))
+			if (! strcmp ((const char *)setting_type, "buddy_icon"))
 				gb->icon = get_buddy_icon_from_setting (child);
 
 			g_free (setting_type);
-		} else if (! strcmp (child->name, "name"))
+		} else if (! strcmp ((const char *)child->name, "name"))
 			gb->account_name = get_node_text (child);
-		else if (! strcmp (child->name, "alias"))
+		else if (! strcmp ((const char *)child->name, "alias"))
 			gb->alias = get_node_text (child);
 			
 	}
@@ -437,7 +437,7 @@
 	xmlNodePtr child;
 
 	for (child = group->children; child != NULL; child = child->next) {
-		if (strcmp (child->name, "contact"))
+		if (strcmp ((const char *)child->name, "contact"))
 			continue;
 
 		parse_contact (child, buddies);
Index: groupwise-features/mail-send-options.c
===================================================================
--- groupwise-features/mail-send-options.c	(révision 33501)
+++ groupwise-features/mail-send-options.c	(copie de travail)
@@ -42,7 +42,7 @@
 
 static ESendOptionsDialog * dialog = NULL ;
 
-void org_gnome_compose_send_options (EPlugin *ep, EMEventTargetComposer *t);
+void org_gnome_composer_send_options (EPlugin *ep, EMEventTargetComposer *t);
 
 static time_t 
 add_day_to_time (time_t time, int days)
@@ -151,12 +151,12 @@
 		return;
 	}
 	e_msg_composer_set_send_options (comp, TRUE); 
-	/*disply the send options dialog*/
+	/* display the send options dialog */
 	if (!dialog) {
 		g_print ("New dialog\n\n") ;
 		dialog = e_sendoptions_dialog_new () ;
 	}
-	e_sendoptions_dialog_run (dialog, comp, E_ITEM_MAIL) ;
+	e_sendoptions_dialog_run (dialog, GTK_WIDGET (comp), E_ITEM_MAIL) ;
 	
 	g_signal_connect (dialog, "sod_response",
 				  G_CALLBACK (feed_input_data), comp);
Index: groupwise-features/ChangeLog
===================================================================
--- groupwise-features/ChangeLog	(révision 33501)
+++ groupwise-features/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* mail-send-options.c: (org_gnome_composer_send_options):
+	Fixes typo and casts, fixes part of bug #437584
+
 2007-04-19  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Fixes part of bug #429422
Index: exchange-operations/ChangeLog
===================================================================
--- exchange-operations/ChangeLog	(révision 33501)
+++ exchange-operations/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* exchange-folder.c: (org_gnome_exchange_folder_inbox_unsubscribe):
+	Fixes unhandled cases in switch, fixes part of bug #437584.
+
 2007-05-25  Veerapuram Varadhan  <vvaradhan@novell.com>
 
 	* Makefile.am: Distcheck fixes.
Index: exchange-operations/exchange-folder.c
===================================================================
--- exchange-operations/exchange-folder.c	(révision 33501)
+++ exchange-operations/exchange-folder.c	(copie de travail)
@@ -123,9 +123,15 @@
 		case EXCHANGE_ACCOUNT_FOLDER_UNSUPPORTED_OPERATION:
 			e_error_run (NULL, ERROR_DOMAIN ":folder-unsupported-error", NULL);
 			return;
-		case EXCHANGE_ACCOUNT_FOLDER_GENERIC_ERROR:		
+		case EXCHANGE_ACCOUNT_FOLDER_GENERIC_ERROR:
 			e_error_run (NULL, ERROR_DOMAIN ":folder-generic-error", NULL);
-			return;		
+			return;	
+		case EXCHANGE_ACCOUNT_FOLDER_GC_NOTREACHABLE:
+			e_error_run (NULL, ERROR_DOMAIN ":folder-unreachable-error", NULL);
+			return;	
+		case EXCHANGE_ACCOUNT_FOLDER_NO_SUCH_USER:
+			e_error_run (NULL, ERROR_DOMAIN ":folder-unknown-user-error", NULL);
+			return;	
 	}
 
 	/* We need to get the physical uri for the Inbox */
Index: sa-junk-plugin/ChangeLog
===================================================================
--- sa-junk-plugin/ChangeLog	(révision 33501)
+++ sa-junk-plugin/ChangeLog	(copie de travail)
@@ -1,3 +1,9 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* em-junk-filter.c: (pipe_to_sa_full), (em_junk_sa_check_junk),
+	(org_gnome_sa_use_remote_tests): Fix casts and prototypes,
+	fixes part of bug #437584.
+
 2007-04-03  Srinivasa Ragavan  <sragavan@novell.com>
 
 	Added few more plugin callbacks and moved the UI options from core
Index: sa-junk-plugin/em-junk-filter.c
===================================================================
--- sa-junk-plugin/em-junk-filter.c	(révision 33501)
+++ sa-junk-plugin/em-junk-filter.c	(copie de travail)
@@ -60,12 +60,13 @@
 static pthread_mutex_t em_junk_sa_spamd_restart_lock = PTHREAD_MUTEX_INITIALIZER;
 
 int e_plugin_lib_enable (EPluginLib *ep, int enable);
-static const char *em_junk_sa_get_name (void);
+//static const char *em_junk_sa_get_name (void);
 gboolean em_junk_sa_check_junk (EPlugin *ep, EMJunkHookTarget *target);
 void em_junk_sa_report_junk (EPlugin *ep, EMJunkHookTarget *target);
 void em_junk_sa_report_non_junk (EPlugin *ep, EMJunkHookTarget *target);
 void em_junk_sa_commit_reports (EPlugin *ep, EMJunkHookTarget *target);
 gboolean em_junk_sa_validate_binary (EPlugin *ep, EMJunkHookTarget *target);
+GtkWidget *org_gnome_sa_use_remote_tests (struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data);
 
 static void em_junk_sa_init (void);
 static void em_junk_sa_finalize (void);
@@ -206,7 +207,7 @@
 		
 		camel_stream_write_to_stream (stream, (CamelStream *) memstream);
 		camel_object_unref (stream);
-		g_byte_array_append (output_buffer, "", 1);
+		g_byte_array_append (output_buffer, (unsigned char *)"", 1);
 
 		d(printf ("child process output: %s len: %d\n", output_buffer->data, output_buffer->len));
 	}
@@ -570,7 +571,7 @@
 
 	rv = pipe_to_sa_full (msg, NULL, argv, 0, 1, out) != 0;
 
-	if (!rv && out && !strcmp (out->data, "0/0\n")) {
+	if (!rv && out && !strcmp ((const char *)out->data, "0/0\n")) {
 		/* an error occurred */
 		if (em_junk_sa_respawn_spamd ()) {
 			g_byte_array_set_size (out, 0);
@@ -846,11 +847,11 @@
 		
 	check = gtk_check_button_new_with_mnemonic (_("I_nclude remote tests"));
 	label = gtk_label_new (NULL);
-	gtk_label_set_markup (label, text);
+	gtk_label_set_markup (GTK_LABEL (label), text);
 	g_free (text);
 	vbox = gtk_vbox_new (FALSE, 2);
-	gtk_box_pack_start (vbox, check, FALSE, FALSE, 0);
-	gtk_box_pack_start (vbox, label, FALSE, FALSE, 0);
+	gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (check), FALSE, FALSE, 0);
+	gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (label), FALSE, FALSE, 0);
 
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), em_junk_sa_local_only);
 	g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (use_remote_tests_cb), "/apps/evolution/mail/junk/sa/local_only");
Index: itip-formatter/ChangeLog
===================================================================
--- itip-formatter/ChangeLog	(révision 33501)
+++ itip-formatter/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* itip-view.c: (set_one_button): Fixes casts,
+	fixes part of bug #437584.
+
 2007-04-19  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Fixes part of bug #429422
Index: itip-formatter/itip-view.c
===================================================================
--- itip-formatter/itip-view.c	(révision 33501)
+++ itip-formatter/itip-view.c	(copie de travail)
@@ -735,10 +735,10 @@
 
 	button = gtk_button_new_with_mnemonic (label);
 	image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
-	gtk_button_set_image (button, image);
+	gtk_button_set_image (GTK_BUTTON (button), image);
 
 	data = GINT_TO_POINTER (response);
-	g_object_set_data (button, DATA_RESPONSE_KEY, data);
+	g_object_set_data (G_OBJECT (button), DATA_RESPONSE_KEY, data);
 
 	gtk_widget_show (button);
 	gtk_container_add (GTK_CONTAINER (priv->button_box), button);
Index: calendar-weather/ChangeLog
===================================================================
--- calendar-weather/ChangeLog	(révision 33501)
+++ calendar-weather/ChangeLog	(copie de travail)
@@ -1,3 +1,11 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* calendar-weather.c: (e_plugin_lib_enable), (parse_subtree),
+	(location_clicked), (e_calendar_weather_location),
+	(e_calendar_weather_refresh), (set_units),
+	(e_calendar_weather_units): fix casts in strcmp,
+	fixes part of bug #437584.
+
 2007-03-20  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Fixes part of bug #419524
Index: calendar-weather/calendar-weather.c
===================================================================
--- calendar-weather/calendar-weather.c	(révision 33501)
+++ calendar-weather/calendar-weather.c	(copie de travail)
@@ -51,7 +51,7 @@
 
 	/* Add the categories icons if we don't have them. */
 	for (l = e_categories_get_list (); l; l = g_list_next (l)) {
-		if (!strcmp (l->data, _("Weather: Cloudy"))) {
+		if (!strcmp ((const char *)l->data, _("Weather: Cloudy"))) {
 			found = TRUE;
 			break;
 		}
@@ -117,7 +117,7 @@
 
 	if (node->type == XML_ELEMENT_NODE) {
 		gtk_tree_store_append (store, &iter, parent);
-		if (strcmp (node->name, "location") == 0) {
+		if (strcmp ((const char *)node->name, "location") == 0) {
 			xmlAttr *attr;
 
 			child = node->children;
@@ -125,11 +125,11 @@
 			gtk_tree_store_set (store, &iter, 0, child->content, -1);
 
 			for (attr = node->properties; attr; attr = attr->next) {
-				if (strcmp (attr->name, "code") == 0)
+				if (strcmp ((const char *)attr->name, "code") == 0)
 					gtk_tree_store_set (store, &iter, 1, attr->children->content, -1);
-				else if (strcmp (attr->name, "url") == 0)
+				else if (strcmp ((const char *)attr->name, "url") == 0)
 					gtk_tree_store_set (store, &iter, 2, attr->children->content, -1);
-				else if (strcmp (attr->name, "type") == 0)
+				else if (strcmp ((const char *)attr->name, "type") == 0)
 					gtk_tree_store_set (store, &iter, 3, attr->children->content, -1);
 			}
 		} else {
@@ -139,7 +139,7 @@
 				parse_subtree (&iter, child);
 
 			for (attr = node->properties; attr; attr = attr->next)
-				if (strcmp (attr->name, "name") == 0)
+				if (strcmp ((const char *)attr->name, "name") == 0)
 					gtk_tree_store_set (store, &iter, 0, attr->children->content, -1);
 		}
 	}
@@ -367,7 +367,7 @@
 
 		label = GTK_WIDGET (gtk_bin_get_child (GTK_BIN (button)));
 		text = gtk_label_get_text (GTK_LABEL (label));
-		if (strcmp (text, _("None")) == 0)
+		if (strcmp ((const char *)text, _("None")) == 0)
 			e_source_set_relative_uri (source, "");
 	}
 
@@ -397,7 +397,7 @@
 
 	uri_text = e_source_get_uri (t->source);
 	uri = e_uri_new (uri_text);
-	if (strcmp (uri->protocol, "weather")) {
+	if (strcmp ((const char *)uri->protocol, "weather")) {
 		e_uri_free (uri);
 		return hidden;
 	}
@@ -535,7 +535,7 @@
 	uri_text = e_source_get_uri (t->source);
 	uri = e_uri_new (uri_text);
 	g_free (uri_text);
-	if (strcmp (uri->protocol, "weather")) {
+	if (strcmp ((const char *)uri->protocol, "weather")) {
 		e_uri_free (uri);
 		return hidden;
 	}
@@ -593,7 +593,7 @@
 		if (format == NULL) {
 			e_source_set_property (source, "units", "metric");
 			gtk_option_menu_set_history (GTK_OPTION_MENU (option), 0);
-		} else if (strcmp (format, "fahrenheit") == 0) {
+		} else if (strcmp ((const char *)format, "fahrenheit") == 0) {
 			/* old format, convert */
 			e_source_set_property (source, "units", "imperial");
 			gtk_option_menu_set_history (GTK_OPTION_MENU (option), 1);
@@ -602,7 +602,7 @@
 			gtk_option_menu_set_history (GTK_OPTION_MENU (option), 0);
 		}
 	} else {
-		if (strcmp (format, "metric") == 0)
+		if (strcmp ((const char *)format, "metric") == 0)
 			gtk_option_menu_set_history (GTK_OPTION_MENU (option), 0);
 		else
 			gtk_option_menu_set_history (GTK_OPTION_MENU (option), 1);
@@ -641,7 +641,7 @@
 	uri_text = e_source_get_uri (t->source);
 	uri = e_uri_new (uri_text);
 	g_free (uri_text);
-	if (strcmp (uri->protocol, "weather")) {
+	if (strcmp ((const char *)uri->protocol, "weather")) {
 		e_uri_free (uri);
 		return hidden;
 	}
Index: publish-calendar/ChangeLog
===================================================================
--- publish-calendar/ChangeLog	(révision 33501)
+++ publish-calendar/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* url-editor-dialog.c: (set_from_uri): fixes casts in strcmp,
+	fixes par of bug #437584
+
 2007-03-20  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Fixes part of bug #419524
Index: publish-calendar/url-editor-dialog.c
===================================================================
--- publish-calendar/url-editor-dialog.c	(révision 33501)
+++ publish-calendar/url-editor-dialog.c	(copie de travail)
@@ -261,17 +261,17 @@
 	euri = e_uri_new (uri->location);
 	/* determine our method */
 	method = euri->protocol;
-	if (strcmp (method, "smb") == 0)
+	if (strcmp ((const char *)method, "smb") == 0)
 		uri->service_type = TYPE_SMB;
-	else if (strcmp (method, "sftp") == 0)
+	else if (strcmp ((const char *)method, "sftp") == 0)
 		uri->service_type = TYPE_SSH;
-	else if (strcmp (method, "ftp") == 0)
+	else if (strcmp ((const char *)method, "ftp") == 0)
 		/* we set TYPE_FTP here for now. if we don't find a
 		 * username later, we'll change it to TYPE_ANON_FTP */
 		uri->service_type = TYPE_FTP;
-	else if (strcmp (method, "dav") == 0)
+	else if (strcmp ((const char *)method, "dav") == 0)
 		uri->service_type = TYPE_DAV;
-	else if (strcmp (method, "davs") == 0)
+	else if (strcmp ((const char *)method, "davs") == 0)
 		uri->service_type = TYPE_DAVS;
 	else
 		uri->service_type = TYPE_URI;
Index: print-message/print-message.c
===================================================================
--- print-message/print-message.c	(révision 33501)
+++ print-message/print-message.c	(copie de travail)
@@ -37,6 +37,8 @@
 #include "composer/e-msg-composer.h"
 
 void org_gnome_compose_print_message (EPlugin *ep, EMMenuTargetWidget *t);
+void org_gnome_print_message (EPlugin *ep, EMMenuTargetWidget *t);
+void org_gnome_print_preview (EPlugin *ep, EMMenuTargetWidget *t);
 
 void 
 org_gnome_print_message (EPlugin *ep, EMMenuTargetWidget *t)
Index: print-message/ChangeLog
===================================================================
--- print-message/ChangeLog	(révision 33501)
+++ print-message/ChangeLog	(copie de travail)
@@ -1,3 +1,8 @@
+2007-05-11  Gilles Dartiguelongue  <dartigug@esiee.fr>
+
+	* print-message.c: fix prototypes,
+	fixes part of bug #437584.
+
 2007-04-20  Matthew Barnes  <mbarnes@redhat.com>
 
 	* print-message.c:
