Merge branch 'init-libgcrypt-for-file-collection' into 'master'

Initialize libgcrypt for SecretFileCollection

See merge request GNOME/libsecret!56
This commit is contained in:
Daiki Ueno 2020-06-18 08:21:08 +00:00
commit 90a8580da7

View File

@ -16,6 +16,7 @@
#include "secret-file-collection.h" #include "secret-file-collection.h"
#include "egg/egg-libgcrypt.h"
#include "egg/egg-secure-memory.h" #include "egg/egg-secure-memory.h"
EGG_SECURE_DECLARE (secret_file_collection); EGG_SECURE_DECLARE (secret_file_collection);
@ -271,6 +272,8 @@ secret_file_collection_class_init (SecretFileCollectionClass *klass)
g_param_spec_boxed ("password", "password", "Password", g_param_spec_boxed ("password", "password", "Password",
SECRET_TYPE_VALUE, SECRET_TYPE_VALUE,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
egg_libgcrypt_initialize ();
} }
static void static void