[balsa/gtk3] Build without gpgme.



commit 05fbc7829a38a6f4424c4f6ad1e89041167499cc
Author: Pawel Salek <pawsa0 gmail com>
Date:   Sat May 28 00:36:54 2011 +0200

    Build without gpgme.

 libbalsa/send.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/send.c b/libbalsa/send.c
index a22861c..e5970b9 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1702,13 +1702,14 @@ libbalsa_message_create_mime_message(LibBalsaMessage* message, gboolean flow,
     InternetAddressList *ia_list;
     gchar *tmp;
     GList *list;
-    GtkWindow * parent;
+#ifdef HAVE_GPGME
+    GtkWindow * parent = g_object_get_data(G_OBJECT(message), "parent-window");
+#endif
 
     body = message->body_list;
     if (body && body->next)
 	mime_root=GMIME_OBJECT(g_mime_multipart_new_with_subtype(message->subtype));
 
-    parent = g_object_get_data(G_OBJECT(message), "parent-window");
     while (body) {
 	GMimeObject *mime_part;
 	mime_part=NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]