Solaris build patch for widgets/misc

Harry Lu <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1151927781.728.2.camel@shootout>
Hi, Harish and All,

	I just committed the attached patch into HEAD to fix the compile errors
in Solaris using Sun Studio compiler. Please have a look.

	Thanks,
Harry

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
fail.diff (text/x-patch, 1.9 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.422
diff -u -r1.422 ChangeLog
--- ChangeLog	19 Jun 2006 10:00:18 -0000	1.422
+++ ChangeLog	3 Jul 2006 11:48:13 -0000
@@ -1,3 +1,10 @@
+2006-07-03  Harry Lu  <[email protected]>
+
+	Fix compile error in solaris
+
+	* e-filter-bar.h: E_FILTERBAR_SEPARATOR should have 3 members.
+	* e-search-bar.h: add the declaration of e_search_bar_set_viewitem_id.
+
 2006-06-19  Srinivasa Ragavan  <[email protected]>
 
 	** Fixes bug #252814
Index: e-filter-bar.h
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-filter-bar.h,v
retrieving revision 1.23
diff -u -r1.23 e-filter-bar.h
--- e-filter-bar.h	30 Jun 2006 09:46:30 -0000	1.23
+++ e-filter-bar.h	3 Jul 2006 11:48:13 -0000
@@ -104,7 +104,7 @@
 #define E_FILTERBAR_CURRENT_ACCOUNT { N_("Current Account"), E_FILTERBAR_CURRENT_ACCOUNT_ID, ESB_ITEMTYPE_RADIO }
 #define E_FILTERBAR_CURRENT_FOLDER { N_("Current Folder"), E_FILTERBAR_CURRENT_FOLDER_ID, ESB_ITEMTYPE_RADIO }
 #define E_FILTERBAR_CURRENT_MESSAGE { N_("Current Message"), E_FILTERBAR_CURRENT_MESSAGE_ID, ESB_ITEMTYPE_RADIO }
-#define E_FILTERBAR_SEPARATOR { NULL, 0, NULL, 0 }
+#define E_FILTERBAR_SEPARATOR { NULL, 0, 0 }
 
 #ifdef JUST_FOR_TRANSLATORS
 const char * strings[] = {
Index: e-search-bar.h
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-search-bar.h,v
retrieving revision 1.24
diff -u -r1.24 e-search-bar.h
--- e-search-bar.h	30 Jun 2006 09:46:31 -0000	1.24
+++ e-search-bar.h	3 Jul 2006 11:48:13 -0000
@@ -153,6 +153,8 @@
 
 int   e_search_bar_get_viewitem_id (ESearchBar *search_bar);
 
+void  e_search_bar_set_viewitem_id (ESearchBar *search_bar, int id);
+
 void  e_search_bar_set_ids  (ESearchBar *search_bar,
 			     int         item_id,
 			     int         subitem_id);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.