[pan2] fix stupid segfault with pgp signing
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] fix stupid segfault with pgp signing
- Date: Sun, 8 Apr 2012 11:07:39 +0000 (UTC)
commit a29223b2b029b8a0d2e456d4a7b12d579f75233b
Author: Heinrich MÃller <henmull src gnome org>
Date: Sun Apr 8 13:05:51 2012 +0200
fix stupid segfault with pgp signing
configure.in | 12 ++++++------
pan/gui/body-pane.cc | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/configure.in b/configure.in
index cb889d9..ee922e1 100644
--- a/configure.in
+++ b/configure.in
@@ -99,16 +99,16 @@ AC_ARG_WITH(gmime-crypto, AS_HELP_STRING([--with-gmime-crypto],[enable GMime cry
[want_gmime_crypto=$withval], [want_gmime_crypto=yes])
if test "x$want_gmime_crypto" = "xyes" ; then
- if test "x$have_gmime26" = "xyes" ; then
+if test "x$have_gmime26" = "xyes" ; then
AC_DEFINE(HAVE_GMIME_CRYPTO,[1],[cryptography (PGP) support with GMime 2.6])
fi
fi
dnl D-Bus support
-AC_ARG_WITH(dbus, AS_HELP_STRING([--with-dbus],[enable D-Bus support]), [want_dbus=$withval], [want_dbus=yes])
-if test "x$want_dbus" = "xyes" ; then
- AC_DEFINE(HAVE_DBUS,[1],[D-Bus support for multiple Pan instances])
-fi
+ AC_ARG_WITH(dbus, AS_HELP_STRING([--with-dbus],[enable D-Bus support]), [want_dbus=$withval], [want_dbus=yes])
+ if test "x$want_dbus" = "xyes" ; then
+ AC_DEFINE(HAVE_DBUS,[1],[D-Bus support for multiple Pan instances])
+ fi
dnl GtkSpell support
gtkspell_msg=no
@@ -134,7 +134,7 @@ if test "x$want_gtk3" = "xyes" ; then
AC_MSG_RESULT(no)
])
fi
-
+
else
if test "x$want_gtkspell" = "xyes" ; then
PKG_CHECK_MODULES([GTKSPELL], [gtkspell-2.0 >= $GTKSPELL_REQUIRED enchant >= $ENCHANT_REQUIRED],
diff --git a/pan/gui/body-pane.cc b/pan/gui/body-pane.cc
index 8095e52..d8ba746 100644
--- a/pan/gui/body-pane.cc
+++ b/pan/gui/body-pane.cc
@@ -1251,8 +1251,8 @@ BodyPane :: on_verbose_tooltip_cb(GtkWidget *widget,
gtk_tooltip_set_icon_from_stock (tooltip, GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
- GPGDecErr err = pane->_gpgerr;
- GPGSignersInfo info = err.signers;
+ GPGDecErr& err = pane->_gpgerr;
+ GPGSignersInfo& info = err.signers;
if (err.no_sigs) return false;
if (info.signers.empty()) return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]