/soc/2013/ankitkv/gobjectification: 9aa25874424b: Initialized me...

Ankit Vani a at nevitus.org
Thu Jun 13 10:10:04 EDT 2013


Changeset: 9aa25874424b6a1050c1ca34745a08f3b420c9da
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-13 15:02 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9aa25874424b

Description:

Initialized methods of PurpleCipher to NULL

diffstat:

 libpurple/cipher.c |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (26 lines):

diff --git a/libpurple/cipher.c b/libpurple/cipher.c
--- a/libpurple/cipher.c
+++ b/libpurple/cipher.c
@@ -55,6 +55,22 @@ static void
 purple_cipher_class_init(PurpleCipherClass *klass) {
 	GObjectClass *obj_class = G_OBJECT_CLASS(klass);
 
+	klass->reset = NULL;
+	klass->set_iv = NULL;
+	klass->append = NULL;
+	klass->digest = NULL;
+	klass->encrypt = NULL;
+	klass->decrypt = NULL;
+	klass->set_salt = NULL;
+	klass->get_salt_size = NULL;
+	klass->set_key = NULL;
+	klass->get_key_size = NULL;
+	klass->set_batch_mode = NULL;
+	klass->get_batch_mode = NULL;
+	klass->get_block_size = NULL;
+	klass->set_key_with_len = NULL;
+	klass->get_name = NULL;
+
 	parent_class = g_type_class_peek_parent(klass);
 
 	obj_class->finalize = purple_cipher_finalize;



More information about the Commits mailing list