Index: addressbook/gui/merging/eab-contact-merging.c
===================================================================
--- addressbook/gui/merging/eab-contact-merging.c	(revision 34181)
+++ addressbook/gui/merging/eab-contact-merging.c	(working copy)
@@ -185,7 +185,7 @@
 	int num_of_email;
 	GList *email_attr_list;
 	int row = -1;
-	int value;
+	int value = 0;
 
 	dialog = (GtkDialog *)(gtk_dialog_new_with_buttons (_("Merge Contact"), NULL, GTK_DIALOG_NO_SEPARATOR, NULL));
 	gtk_container_border_width (GTK_CONTAINER(dialog), 5);
Index: addressbook/ChangeLog
===================================================================
--- addressbook/ChangeLog	(revision 34181)
+++ addressbook/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* gui/merging/eab-contact-merging.c: (mergeit):
+	Fixes serious compiler warning.
+
 2007-09-03  Srinivasa Ragavan  <sragavan@novell.com>
 
 	* gui/component/addressbook-config.c: (source_to_uri_parts): Fix for a
Index: plugins/bogo-junk-plugin/bf-junk-filter.c
===================================================================
--- plugins/bogo-junk-plugin/bf-junk-filter.c	(revision 34181)
+++ plugins/bogo-junk-plugin/bf-junk-filter.c	(working copy)
@@ -60,7 +60,7 @@
 
 /* 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_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);
@@ -244,12 +244,10 @@
 {
 }
 
-gboolean
+void *
 em_junk_bf_validate_binary (EPlugin *ep, EMJunkHookTarget *target)
 {
-
-	 return g_file_test (em_junk_bf_binary, G_FILE_TEST_EXISTS);
-	 
+	return g_file_test (em_junk_bf_binary, G_FILE_TEST_EXISTS) ? "1" : NULL;
 }
 
 int
Index: plugins/bogo-junk-plugin/ChangeLog
===================================================================
--- plugins/bogo-junk-plugin/ChangeLog	(revision 34181)
+++ plugins/bogo-junk-plugin/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Part of fix for bug #473903
+
+	* bf-junk-filter.c: (em_junk_bf_validate_binary): Changing function
+	prototype to fit what is expected in 'invoke', returns value based on it.
+
 2007-08-27  Srinivasa Ragavan  <sragavan@novell.com>
 
 	* bf-junk-filter.c: (e_plugin_lib_enable): Avoid re-entrancy in
Index: plugins/exchange-operations/exchange-delegates.c
===================================================================
--- plugins/exchange-operations/exchange-delegates.c	(revision 34181)
+++ plugins/exchange-operations/exchange-delegates.c	(working copy)
@@ -528,7 +528,7 @@
 	gc = exchange_account_get_global_catalog (account);
 	
 	if (!gc)
-		return;
+		return NULL;
 
 	status = e2k_global_catalog_lookup (
 			gc, NULL, E2K_GLOBAL_CATALOG_LOOKUP_BY_LEGACY_EXCHANGE_DN,
Index: plugins/exchange-operations/exchange-mail-send-options.c
===================================================================
--- plugins/exchange-operations/exchange-mail-send-options.c	(revision 34181)
+++ plugins/exchange-operations/exchange-mail-send-options.c	(working copy)
@@ -44,7 +44,7 @@
 {
 	EMsgComposer *composer;
 	EMsgComposerHdrs *hdrs;
-	CamelInternetAddress *sender_address;
+	CamelAddress *sender_address;
 	const char *sender_id, *recipient_id;
 
 	composer = (EMsgComposer *)data;
Index: plugins/exchange-operations/ChangeLog
===================================================================
--- plugins/exchange-operations/ChangeLog	(revision 34181)
+++ plugins/exchange-operations/ChangeLog	(working copy)
@@ -1,3 +1,12 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* exchange-delegates.c: (email_look_up):
+	* exchange-mail-send-options.c: (append_to_header):
+	* exchange-delegates-user.c: (exchange_delegates_user_edit):
+	Fixes serious compiler warnings.
+
 2007-08-24  Srinivasa Ragavan  <sragavan@novell.com>
 
 	* org-gnome-exchange-cal-subscription.xml: Fix for empty menu in the
Index: plugins/exchange-operations/exchange-delegates-user.c
===================================================================
--- plugins/exchange-operations/exchange-delegates-user.c	(revision 34181)
+++ plugins/exchange-operations/exchange-delegates-user.c	(working copy)
@@ -421,10 +421,12 @@
 			delegate_exchange_dn = e2k_entryid_to_dn (user->entryid);
 			recipient_address = email_look_up (delegate_exchange_dn,account);
 
-			addr = camel_internet_address_new ();
-			camel_address_decode (CAMEL_ADDRESS (addr), recipient_address);
-			camel_mime_message_set_recipients (delegate_mail, CAMEL_RECIPIENT_TYPE_TO, addr);
-			camel_object_unref (addr);
+			if (recipient_address) {
+				addr = camel_internet_address_new ();
+				camel_address_decode (CAMEL_ADDRESS (addr), recipient_address);
+				camel_mime_message_set_recipients (delegate_mail, CAMEL_RECIPIENT_TYPE_TO, addr);
+				camel_object_unref (addr);
+			}
 
 			eaccount = exchange_account_fetch (account);
 			if(eaccount) {
Index: plugins/mail-to-task/mail-to-task.c
===================================================================
--- plugins/mail-to-task/mail-to-task.c	(revision 34181)
+++ plugins/mail-to-task/mail-to-task.c	(working copy)
@@ -199,7 +199,7 @@
 	int parts, i;
 	GSList *list = NULL;
 	const char *uid;
-	char *store_uri;
+	const char *store_uri;
 	char *store_dir;
 	CamelDataWrapper *content;
 
Index: plugins/mail-to-task/ChangeLog
===================================================================
--- plugins/mail-to-task/ChangeLog	(revision 34181)
+++ plugins/mail-to-task/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* mail-to-task.c: (set_attachments):
+	Fixes serious compiler warning.
+
 2007-08-16  Milan Crha  <mcrha@redhat.com>
 
 	** Part of fix for bug #350539
Index: plugins/sa-junk-plugin/ChangeLog
===================================================================
--- plugins/sa-junk-plugin/ChangeLog	(revision 34181)
+++ plugins/sa-junk-plugin/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Part of fix for bug #473903
+
+	* em-junk-filter.c: (em_junk_sa_validate_binary): Changing function
+	prototype to fit what is expected in 'invoke', returns value based on it.
+
 2007-08-22  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fix for bug #468303
Index: plugins/sa-junk-plugin/em-junk-filter.c
===================================================================
--- plugins/sa-junk-plugin/em-junk-filter.c	(revision 34181)
+++ plugins/sa-junk-plugin/em-junk-filter.c	(working copy)
@@ -65,7 +65,7 @@
 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);
+void *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);
@@ -721,10 +721,10 @@
 	}
 }
 
-gboolean
+void *
 em_junk_sa_validate_binary (EPlugin *ep, EMJunkHookTarget *target)
 {
-	return em_junk_sa_is_available ();
+	return em_junk_sa_is_available () ? "1" : NULL;
 }
 
 static void
Index: mail/em-folder-utils.c
===================================================================
--- mail/em-folder-utils.c	(revision 34181)
+++ mail/em-folder-utils.c	(working copy)
@@ -678,6 +678,7 @@
 			em_folder_tree_set_selected ((EMFolderTree *) emcftd->emft, emcftd->uri, TRUE); 
 	}	 
 	g_object_unref (emcftd->emfs);
+	g_free (emcftd->uri);
    	g_free (emcftd);
 }
 
@@ -725,7 +726,7 @@
 		/* Temp data to pass to create_folder_real function */
 		emcftd = (struct _EMCreateFolderTempData *) g_malloc(sizeof(struct _EMCreateFolderTempData));
 		emcftd->emfs = emfs;
-		emcftd->uri = uri;
+		emcftd->uri = g_strdup (uri);
 		emcftd->emft = (EMFolderTree *) data;
 		
 		g_object_ref (emfs);
Index: mail/ChangeLog
===================================================================
--- mail/ChangeLog	(revision 34181)
+++ mail/ChangeLog	(working copy)
@@ -1,3 +1,16 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* em-folder-utils.c: (new_folder_created_cb),
+	(emfu_popup_new_folder_response):
+	* em-folder-tree.c: (get_last_child),
+	(em_folder_tree_select_prev_path):
+	* em-composer-utils.c: (composer_get_message):
+	* em-format.c: (em_format_add_puri):
+	* em-mailer-prefs.c: (junk_plugin_changed), (junk_plugin_setup):
+	Fixes serious compiler warnings.
+
 2007-09-01  Matthew Barnes  <mbarnes@redhat.com>
 
 	* em-folder-view:
Index: mail/em-folder-tree.c
===================================================================
--- mail/em-folder-tree.c	(revision 34181)
+++ mail/em-folder-tree.c	(working copy)
@@ -2378,21 +2378,15 @@
 	gboolean has_child = gtk_tree_model_iter_has_child (model, iter);
 
 	if (gtk_tree_model_iter_next (model, iter)) {
-		get_last_child (model, iter);
-	} else {
-
-		if (has_child) {
-			/* Pick the last one */
-			int nchildren = gtk_tree_model_iter_n_children (model, iter);
-			gtk_tree_model_iter_nth_child ( model, child, iter, nchildren-1);
-			get_last_child (model, child);
-		}
-		else {
-			return *iter;
-		}
-
+		return get_last_child (model, iter);
+	} else if (has_child) {
+		/* Pick the last one */
+		int nchildren = gtk_tree_model_iter_n_children (model, iter);
+		gtk_tree_model_iter_nth_child ( model, child, iter, nchildren-1);
+		return get_last_child (model, child);
 	}
-//TODO : The function should return the value here !!
+
+	return *iter;
 }
 
 void
@@ -2401,7 +2395,7 @@
 	GtkTreeSelection *selection;
 	GtkTreeModel *model;
 	GtkTreeIter iter, child;
-	GtkTreePath *path, *current_path = NULL;
+	GtkTreePath *path = NULL, *current_path = NULL;
 	unsigned int unread = 0;
 	struct _EMFolderTreePrivate *priv = emft->priv;
 
Index: mail/em-composer-utils.c
===================================================================
--- mail/em-composer-utils.c	(revision 34181)
+++ mail/em-composer-utils.c	(working copy)
@@ -257,7 +257,7 @@
 	int i;
 	GList *postlist;
 	EMEvent *eme;
-	EMEventTargetMessage *target;
+	EMEventTargetComposer *target;
 	
 	gconf = mail_config_get_gconf_client ();
 	
@@ -367,11 +367,11 @@
 	 */
 	eme = em_event_peek();
 	target = em_event_target_new_composer (eme, composer, 0);
-	g_object_set_data (composer, "presend_check_status", GINT_TO_POINTER(0));
+	g_object_set_data (G_OBJECT (composer), "presend_check_status", GINT_TO_POINTER(0));
 
 	e_event_emit((EEvent *)eme, "composer.presendchecks", (EEventTarget *)target);
 
-	if (GPOINTER_TO_INT (g_object_get_data (composer, "presend_check_status")))
+	if (GPOINTER_TO_INT (g_object_get_data (G_OBJECT (composer), "presend_check_status")))
 		goto finished;
 
 	/* actually get the message now, this will sign/encrypt etc */
Index: mail/em-format.c
===================================================================
--- mail/em-format.c	(revision 34181)
+++ mail/em-format.c	(working copy)
@@ -334,7 +334,7 @@
 	d(printf("adding puri for part: %s\n", emf->part_id->str));
 
 	if (size < sizeof(*puri)) {
-		g_warning ("size (%d) less than size of puri\n", size);
+		g_warning ("size (%ld) less than size of puri\n", size);
 		size = sizeof (*puri);
 	}
 
Index: mail/em-mailer-prefs.c
===================================================================
--- mail/em-mailer-prefs.c	(revision 34181)
+++ mail/em-mailer-prefs.c	(working copy)
@@ -779,8 +779,10 @@
 		struct _EMJunkHookItem *item = plugins->data;;
 
 		if (item->plugin_name && def_plugin && !strcmp (item->plugin_name, def_plugin)) {
+			gboolean status;
+
 			session->junk_plugin = CAMEL_JUNK_PLUGIN (&(item->csp));
-			void *status = e_plugin_invoke(item->hook->hook.plugin, item->validate_binary, NULL);
+			status = e_plugin_invoke (item->hook->hook.plugin, item->validate_binary, NULL) != NULL;
 			if ((gboolean)status == TRUE) {
 				char *text, *html;
 				gtk_image_set_from_stock (prefs->plugin_image, "gtk-dialog-info", GTK_ICON_SIZE_MENU);
@@ -833,7 +835,7 @@
 			
 			def_set = TRUE;
 			gtk_combo_box_set_active (GTK_COMBO_BOX (combo), index);
-			status = (gboolean)e_plugin_invoke(item->hook->hook.plugin, item->validate_binary, NULL);
+			status = e_plugin_invoke (item->hook->hook.plugin, item->validate_binary, NULL) != NULL;
 			if (status) {
 				char *text, *html;
 				gtk_image_set_from_stock (prefs->plugin_image, "gtk-dialog-info", GTK_ICON_SIZE_MENU);
Index: composer/ChangeLog
===================================================================
--- composer/ChangeLog	(revision 34181)
+++ composer/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* e-msg-composer.c: (handle_multipart_encrypted):
+	Fixes serious compiler warning.
+
 2007-09-03  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fix for bug #471791 (Move away from asserts to g_ret*)
Index: composer/e-msg-composer.c
===================================================================
--- composer/e-msg-composer.c	(revision 34181)
+++ composer/e-msg-composer.c	(working copy)
@@ -4345,7 +4345,7 @@
 			handle_multipart_signed (composer, content_multipart, depth);
 		} else if (CAMEL_IS_MULTIPART_ENCRYPTED (content)) {
 			/* decrypt the encrypted content and configure the composer to encrypt outgoing messages */
-			handle_multipart_encrypted (composer, content_multipart, depth);
+			handle_multipart_encrypted (composer, mime_part, depth);
 		} else if (camel_content_type_is (content_type, "multipart", "alternative")) {
 			/* this contains the text/plain and text/html versions of the message body */
 			handle_multipart_alternative (composer, content_multipart, depth);
Index: e-util/ChangeLog
===================================================================
--- e-util/ChangeLog	(revision 34181)
+++ e-util/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* e-print.c: (load_page_setup):
+	Fixes serious compiler warnings.
+
 2007-08-20  Milan Crha  <mcrha@redhat.com>
 
 	** Fix for bug #367760
Index: e-util/e-print.c
===================================================================
--- e-util/e-print.c	(revision 34181)
+++ e-util/e-print.c	(working copy)
@@ -113,6 +113,8 @@
 	if (paper_size != NULL)
 		gtk_page_setup_set_paper_size_and_default_margins (
 			page_setup, paper_size);
+	
+	return page_setup;
 }
 
 static void
Index: widgets/table/ChangeLog
===================================================================
--- widgets/table/ChangeLog	(revision 34181)
+++ widgets/table/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* e-tree.c: (et_real_construct):
+	Fixes serious compiler warning.
+
 2007-08-31  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Move away from g_assert to g_return* critical warnings to debug
Index: widgets/table/e-tree.c
===================================================================
--- widgets/table/e-tree.c	(revision 34181)
+++ widgets/table/e-tree.c	(working copy)
@@ -1463,7 +1463,7 @@
 
 	g_object_unref(ete);
 
-	return e_tree;
+	return e_tree != NULL;
 }
 
 /**
Index: calendar/gui/e-meeting-store.c
===================================================================
--- calendar/gui/e-meeting-store.c	(revision 34181)
+++ calendar/gui/e-meeting-store.c	(working copy)
@@ -1151,7 +1151,7 @@
 	FreeBusyAsyncData *fbd = data;
 	EMeetingAttendee *attendee = fbd->attendee;
 	gchar *default_fb_uri = NULL;
-       	const char *fburi = NULL;
+       	char *fburi = NULL;
 	static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
 	EMeetingStorePrivate *priv = fbd->store->priv;
 	GnomeVFSAsyncHandle *handle;
Index: calendar/gui/cal-search-bar.c
===================================================================
--- calendar/gui/cal-search-bar.c	(revision 34181)
+++ calendar/gui/cal-search-bar.c	(working copy)
@@ -253,7 +253,7 @@
 get_current_category (CalSearchBar *cal_search)
 {
 	CalSearchBarPrivate *priv;
-	gint viewid, i;
+	gint viewid, i = -1;
 
 	priv = cal_search->priv;
 
Index: calendar/gui/itip-utils.c
===================================================================
--- calendar/gui/itip-utils.c	(revision 34181)
+++ calendar/gui/itip-utils.c	(working copy)
@@ -890,7 +890,7 @@
 		char *attendee_text;
 		icalparameter *param;
 		const char *attendee_sentby;
-		char *attendee_sentby_text;
+		char *attendee_sentby_text = NULL;
 
 		/* If we've already found something, just erase the rest */
 		if (found) {
Index: calendar/gui/e-tasks.c
===================================================================
--- calendar/gui/e-tasks.c	(revision 34181)
+++ calendar/gui/e-tasks.c	(working copy)
@@ -1457,7 +1457,7 @@
 		return;
 
 	attendee_prop = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY);
-	e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, (gboolean)attendee_prop);
+	e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, attendee_prop != NULL);
 	icalcomponent_free (icalcomp);
 
 	return;
Index: calendar/gui/print.c
===================================================================
--- calendar/gui/print.c	(revision 34181)
+++ calendar/gui/print.c	(working copy)
@@ -60,12 +60,12 @@
 typedef struct PrintCalItem PrintCalItem;
 
 struct PrintCompItem {
-	struct ECal *client;
-	struct ECalComponent *comp;
+	ECal *client;
+	ECalComponent *comp;
 };
 
 struct PrintCalItem {
-	struct GnomeCalendar *gcal; 
+	GnomeCalendar *gcal; 
 	time_t start;
 };
 
Index: calendar/ChangeLog
===================================================================
--- calendar/ChangeLog	(revision 34181)
+++ calendar/ChangeLog	(working copy)
@@ -1,3 +1,14 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* gui/e-meeting-store.c: (freebusy_async):
+	* gui/cal-search-bar.c: (get_current_category ):
+	* gui/itip-utils.c: (comp_limit_attendees):
+	* gui/e-tasks.c: (e_tasks_open_task_id):
+	* gui/print.c: (struct PrintCompItem), (struct PrintCalItem):
+	Fixes serious compiler warnings.
+
 2007-01-08  Wang Xin  <jedy.wang@sun.com>
 	
 	Fixes #470968
Index: a11y/ChangeLog
===================================================================
--- a11y/ChangeLog	(revision 34181)
+++ a11y/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-09-05  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #473903
+
+	* e-table/gal-a11y-e-cell-tree.c: (kill_view_cb):
+	Fixes serious compiler warning.
+
 2007-07-27  Matthew Barnes  <mbarnes@redhat.com>
 
 	* Makefile.am:
Index: a11y/e-table/gal-a11y-e-cell-tree.c
===================================================================
--- a11y/e-table/gal-a11y-e-cell-tree.c	(revision 34181)
+++ a11y/e-table/gal-a11y-e-cell-tree.c	(working copy)
@@ -51,10 +51,12 @@
 
 static void
 kill_view_cb(ECellView *subcell_view,
-             GList *subcell_a11ies)
+             gpointer psubcell_a11ies)
 {
         GList *node;
+	GList *subcell_a11ies = (GList *) psubcell_a11ies;
         GalA11yECell *subcell;
+
         for (node = subcell_a11ies; node != NULL; node = g_list_next (node))
         {
             subcell = GAL_A11Y_E_CELL(node->data);
