[evolution: 6/11] Fix compiler warnings in smime.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution: 6/11] Fix compiler warnings in smime.
- Date: Tue, 26 May 2009 17:00:15 -0400 (EDT)
commit 1868c9e675073dfa824dc12e1c2fa3cc1929f70b
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon May 25 23:29:43 2009 -0400
Fix compiler warnings in smime.
---
mail/em-migrate.c | 1 +
smime/lib/e-cert-db.c | 4 ++--
widgets/table/e-tree-table-adapter.c | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/mail/em-migrate.c b/mail/em-migrate.c
index 1c58b6c..315ed20 100644
--- a/mail/em-migrate.c
+++ b/mail/em-migrate.c
@@ -56,6 +56,7 @@
#include <glib/gi18n.h>
#include <e-util/e-util.h>
+#include <libedataserver/e-xml-utils.h>
#include <libedataserver/e-data-server-util.h>
#include <e-util/e-xml-utils.h>
diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c
index 73bfc72..ae8a79a 100644
--- a/smime/lib/e-cert-db.c
+++ b/smime/lib/e-cert-db.c
@@ -259,7 +259,7 @@ install_loadable_roots (void)
XXX yes this is gross. *sigh*
*/
- char *paths_to_check[] = {
+ const gchar *paths_to_check[] = {
#ifdef MOZILLA_NSS_LIB_DIR
MOZILLA_NSS_LIB_DIR,
#endif
@@ -872,7 +872,7 @@ default_nickname (CERTCertificate *cert)
char *nickname = NULL;
char *tmp = NULL;
int count;
- char *nickFmt=NULL;
+ const char *nickFmt=NULL;
CERTCertificate *dummycert;
PK11SlotInfo *slot=NULL;
CK_OBJECT_HANDLE keyHandle;
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 416f8aa..8e583ec 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -30,6 +30,7 @@
#include <glib/gstdio.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
+#include <libedataserver/e-xml-utils.h>
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]