summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-03-07 14:57:10 +0000
committerJason Woodward2010-03-07 14:57:10 +0000
commitb9f763e3486d59f22ef6ddc6d920599a9b9341ea (patch)
tree122c15fda0e9314fc6d289b5cf0288ea26d00565
parente5f98c7bd8103d340cc7839b854ffa3839f4c895 (diff)
downloadgslapt-b9f763e3486d59f22ef6ddc6d920599a9b9341ea.tar.gz
gpgme requires gpgme_check_version for initialization purposes
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 8e824e2..21b3e58 100644
--- a/src/main.c
+++ b/src/main.c
@@ -54,6 +54,10 @@ int main (int argc, char *argv[]) {
textdomain (GETTEXT_PACKAGE);
#endif
+#ifdef SLAPT_HAS_GPGME
+ gpgme_check_version (NULL);
+#endif
+
/* gtk_set_locale (); */
g_thread_init(NULL);
gdk_threads_init();