From: Marcus Brinkmann Date: Sat, 2 Dec 2006 23:57:14 +0000 (+0000) Subject: 2006-12-02 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~190 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cf617501eb6f5383758954f36de40f2bdbfe42b0;p=gpgme.git 2006-12-02 Marcus Brinkmann * version.c: Include "assuan.h". (do_subsystem_inits): Call assuan_set_assuan_err_source. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 7ce9dfa..9343bd1 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2006-12-02 Marcus Brinkmann + + * version.c: Include "assuan.h". + (do_subsystem_inits): Call assuan_set_assuan_err_source. + 2006-12-01 Marcus Brinkmann * Makefile.am (libgpgme_real_la_SOURCES): Rename to main_sources. diff --git a/trunk/gpgme/version.c b/trunk/gpgme/version.c index 26d2dae..2fec05d 100644 --- a/trunk/gpgme/version.c +++ b/trunk/gpgme/version.c @@ -32,6 +32,8 @@ /* For _gpgme_sema_subsystem_init (). */ #include "sema.h" +#include "assuan.h" + /* Bootstrap the subsystems needed for concurrent operation. This must be done once at startup. We can not guarantee this using a @@ -48,6 +50,7 @@ do_subsystem_inits (void) _gpgme_sema_subsystem_init (); _gpgme_io_subsystem_init (); + assuan_set_assuan_err_source (GPG_ERR_SOURCE_GPGME); done = 1; }