Need to commit a small Evolution patch



Hi,

There is a bug (http://bugzilla.gnome.org/show_bug.cgi?id=353344 ) that
Evolution cannot be build with non-GNUC compiler, because it uses a GNUC
only macro(__PRETTY_FUNCTION__). Attach is the patch, please review it.
This bug is very important to user that uses non-GNUC compilers.

Thanks,
Li
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3909
diff -u -p -r1.3909 ChangeLog
--- ChangeLog	28 Aug 2006 15:09:43 -0000	1.3909
+++ ChangeLog	29 Aug 2006 05:46:58 -0000
@@ -1,3 +1,9 @@
+2006-08-29  Li Yuan <li yuan sun com>
+
+	* em-folder-browser.c: (em_folder_browser_show_preview):
+	remove GNUC only macro.
+	Fix for #353344.
+
 2006-08-28  Srinivasa Ragavan  <sragavan novell com>
 
 	** Fixes bug #352982 and bug #336983
Index: em-folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-browser.c,v
retrieving revision 1.89
diff -u -p -r1.89 em-folder-browser.c
--- em-folder-browser.c	28 Aug 2006 06:54:55 -0000	1.89
+++ em-folder-browser.c	29 Aug 2006 05:46:58 -0000
@@ -645,7 +645,6 @@ void em_folder_browser_show_preview(EMFo
 		gtk_widget_hide(emfb->priv->preview);
 		e_search_bar_scope_enable ((ESearchBar *)emfb->search, E_FILTERBAR_CURRENT_MESSAGE_ID, FALSE);		
 		emfb->priv->scope_restricted = TRUE;
-		printf("%s(%d):%s: TRUE\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
 		/*
 		mail_display_set_message (emfb->mail_display, NULL, NULL, NULL);
 		emfb_ui_message_loaded (emfb);*/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]