gobjectification: b535fd36: Didn't quite get that last commit right....

qulogic at pidgin.im qulogic at pidgin.im
Sun Jul 11 04:05:50 EDT 2010


----------------------------------------------------------------------
Revision: b535fd36bd0ff9af5aeca20dfe2eaaa0c1803c70
Parent:   5a9b9874d4b45928900d36fc7929f2274628bcd3
Author:   qulogic at pidgin.im
Date:     07/11/10 01:12:40
Branch:   im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/b535fd36bd0ff9af5aeca20dfe2eaaa0c1803c70

Changelog: 

Didn't quite get that last commit right. Compiles now.

Changes against parent 5a9b9874d4b45928900d36fc7929f2274628bcd3

  patched  libpurple/cipher/md5hash.c

-------------- next part --------------
============================================================
--- libpurple/cipher/md5hash.c	6b38cb766a8740d92bd127d8e1ed9ebd45a57028
+++ libpurple/cipher/md5hash.c	62fd292033e114a6bf5c5e5bfd933b5531b8f1df
@@ -282,14 +282,14 @@ purple_md5_hash_class_init(PurpleMD5Hash
 purple_md5_hash_class_init(PurpleMD5HashClass *klass) {
 #if !GLIB_CHECK_VERSION(2,16,0)
 	GObjectClass *obj_class = G_OBJECT_CLASS(klass);
+	PurpleHashClass *hash_class = PURPLE_HASH_CLASS(klass);
 #endif
-	PurpleHashClass *hash_class = PURPLE_HASH_CLASS(klass);
 
 	parent_class = g_type_class_peek_parent(klass);
 
+#if !GLIB_CHECK_VERSION(2,16,0)
 	g_type_class_add_private(klass, sizeof(PurpleMD5HashPrivate));
 
-#if !GLIB_CHECK_VERSION(2,16,0)
 	obj_class->finalize = purple_md5_hash_finalize;
 
 	hash_class->reset = purple_md5_hash_reset;


More information about the Commits mailing list