libpurple/plugins/ciphertest.c

branch
soc.2013.gobjectification
changeset 34569
8fdccc60cfde
parent 34568
3cbcbd5eef02
child 34874
e03d555394c5
child 36367
891eea799578
--- a/libpurple/plugins/ciphertest.c	Sun Jun 16 06:08:02 2013 +0530
+++ b/libpurple/plugins/ciphertest.c	Sun Jun 16 06:34:54 2013 +0530
@@ -392,8 +392,8 @@
 
 		cipher = purple_pbkdf2_cipher_new(hash);
 
-		g_object_set_property(G_OBJECT(cipher), "iter_count", GUINT_TO_POINTER(test->iter_count));
-		g_object_set_property(G_OBJECT(cipher), "out_len", GUINT_TO_POINTER(test->out_len));
+		g_object_set(G_OBJECT(cipher), "iter_count", GUINT_TO_POINTER(test->iter_count), NULL);
+		g_object_set(G_OBJECT(cipher), "out_len", GUINT_TO_POINTER(test->out_len), NULL);
 		purple_cipher_set_salt(cipher, (const guchar*)test->salt, test->salt ? strlen(test->salt): 0);
 		purple_cipher_set_key(cipher, (const guchar*)test->passphrase, strlen(test->passphrase));
 

mercurial