aboutsummaryrefslogtreecommitdiff
path: root/src/mimeview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-31 06:33:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-31 06:33:16 +0000
commit7bc271aed38e8f5d5ca4b2e40eaf2bf545e7a719 (patch)
tree7fcf26d41c7eb67cef9220309b3d529271c323b1 /src/mimeview.c
parent39397cc63092ed3e8bf91e89ea070dfc1a44114e (diff)
ported to gpgme-1.0.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@56 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mimeview.c')
-rw-r--r--src/mimeview.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mimeview.c b/src/mimeview.c
index b13fc8d7..a2dec4a1 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -257,17 +257,19 @@ static gboolean mimeview_is_signed(MimeView *mimeview)
static void set_unchecked_signature(MimeInfo *mimeinfo)
{
- MimeInfo *sig_partinfo;
+ MimeInfo **signedinfo;
- sig_partinfo = rfc2015_find_signature(mimeinfo);
- if (sig_partinfo == NULL) return;
+ signedinfo = rfc2015_find_signature(mimeinfo);
+ if (signedinfo == NULL) return;
- g_free(sig_partinfo->sigstatus);
- sig_partinfo->sigstatus =
+ g_free(signedinfo[1]->sigstatus);
+ signedinfo[1]->sigstatus =
g_strdup(_("Select \"Check signature\" to check"));
- g_free(sig_partinfo->sigstatus_full);
- sig_partinfo->sigstatus_full = NULL;
+ g_free(signedinfo[1]->sigstatus_full);
+ signedinfo[1]->sigstatus_full = NULL;
+
+ g_free(signedinfo);
}
#endif /* USE_GPGME */