aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-11-30 14:25:56 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-11-30 14:25:56 +0800
commitdc5bdac612b34a0b39b8b0c9680f8f62d034afd4 (patch)
treec4923ae2365ff3a40affb9a4e26bc76ebdb5d51b
parent333c607e8e7857bff59fa9b1d3e089a0127cc76a (diff)
downloadgsoc2013-evolution-dc5bdac612b34a0b39b8b0c9680f8f62d034afd4.tar.gz
gsoc2013-evolution-dc5bdac612b34a0b39b8b0c9680f8f62d034afd4.tar.zst
gsoc2013-evolution-dc5bdac612b34a0b39b8b0c9680f8f62d034afd4.zip
make sure declarations precede logic for older compilers.
2003-11-30 Larry Ewing <lewing@ximian.com> * lib/e-pkcs12.c (nickname_collision): make sure declarations precede logic for older compilers. * gui/Makefile.am (INCLUDES): don't define GTK_DISABLE_DEPRECATED it breakes on gtk-2.3 with gtk_option_menu_get_history. svn path=/trunk/; revision=23503
-rw-r--r--smime/ChangeLog8
-rw-r--r--smime/gui/Makefile.am1
-rw-r--r--smime/lib/e-pkcs12.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index 25ab15c44c..b2fa0046b0 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,11 @@
+2003-11-30 Larry Ewing <lewing@ximian.com>
+
+ * lib/e-pkcs12.c (nickname_collision): make sure declarations
+ precede logic for older compilers.
+
+ * gui/Makefile.am (INCLUDES): don't define GTK_DISABLE_DEPRECATED
+ it breakes on gtk-2.3 with gtk_option_menu_get_history.
+
2003-11-26 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.[ch]: mostly implement a viewer for
diff --git a/smime/gui/Makefile.am b/smime/gui/Makefile.am
index aba4c31548..6b6000dd3d 100644
--- a/smime/gui/Makefile.am
+++ b/smime/gui/Makefile.am
@@ -12,7 +12,6 @@ INCLUDES = \
-DEVOLUTION_UIDIR=\""$(evolutionuidir)"\" \
-DPREFIX=\""$(prefix)"\" \
-DG_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
-DLIBGNOME_DISABLE_DEPRECATED \
-DLIBGNOMEUI_DISABLE_DEPRECATED \
$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c
index 2d1bc79848..3092944196 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -374,12 +374,12 @@ static SECItem * PR_CALLBACK
nickname_collision(SECItem *oldNick, PRBool *cancel, void *wincx)
{
/* nsNSSShutDownPreventionLock locker; */
- *cancel = PR_FALSE;
int count = 1;
char *nickname = NULL;
char *default_nickname = _("Imported Certificate");
SECItem *new_nick;
+ *cancel = PR_FALSE;
printf ("nickname_collision\n");
/* The user is trying to import a PKCS#12 file that doesn't have the
c8c71fcb05c5e8533adb53ce0316269'>SIZEify.Trevor Johnson2004-01-291-0/+1 * - Fix build on -currentKirill Ponomarev2003-12-052-11/+58 * Mark broken on 5.x due to problems with imake. Possibly this isMark Linimon2003-11-231-1/+7 * De-pkg-comment.Akinori MUSHA2003-02-212-1/+1 * o Rollback PORTCOMMENT modifications while this feature's implementationMario Sergio Fujikawa Ferreira2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.Adam Weinberger2002-11-072-1/+2 * find->${FIND},xargs->${XARGS}Ying-Chieh Liao2002-09-291-1/+1 * - Use .tar.gz archive instead of (vanished) .tar.Z archiveKevin Lo2001-02-0410-86/+93 * Remove inactive MAINTAINER <swallace>, who hasn't committed in over 3 years.Will Andrews2001-01-271-1/+1 * Massive style enforcement - use ^I instead of spaces for variables identation.Maxim Sobolev2001-01-171-2/+2 * Convert to PORTNAME/PORTVERSION. The following ports hand invalid versionSatoshi Asami2000-04-141-4/+3 * Change Id->FreeBSD.David E. O'Brien1999-08-251-1/+1