From 477a36ca57ced63270ed73919a5c9dd324202a93 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 11 Aug 2012 11:57:35 +0300 Subject: [PATCH] * mu-msg-crypto: don't use g_clear_object, it requires glib 2.28 --- lib/mu-msg-crypto.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/mu-msg-crypto.c b/lib/mu-msg-crypto.c index 25f2a4a7..0e589aa2 100644 --- a/lib/mu-msg-crypto.c +++ b/lib/mu-msg-crypto.c @@ -298,7 +298,9 @@ sig_info_destroy (MuMsgPartSigInfo *siginfo) if (!siginfo) return; - g_clear_object (&siginfo->_cert); + if (G_IS_OBJECT(siginfo->_cert)) + g_object_unref (siginfo->_cert); + g_free (siginfo); }