gobjectification: 99a98c9c: Wrong place at the wrong time.

sadrul at pidgin.im sadrul at pidgin.im
Wed Jul 14 03:14:17 EDT 2010


----------------------------------------------------------------------
Revision: 99a98c9c89117dfa560d08225a443324268b5c23
Parent:   879606785a2c9c7eb4de2a04bd4070c2f0cf55ec
Author:   sadrul at pidgin.im
Date:     07/14/10 03:10:59
Branch:   im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/99a98c9c89117dfa560d08225a443324268b5c23

Changelog: 

Wrong place at the wrong time.

Changes against parent 879606785a2c9c7eb4de2a04bd4070c2f0cf55ec

  patched  libpurple/connection.c

-------------- next part --------------
============================================================
--- libpurple/connection.c	1cb6159a7448e5ca479c6bd0192eab6ce87f1e1c
+++ libpurple/connection.c	b6a74a7163cecad55869fd748066630cd1aac699
@@ -915,7 +915,6 @@ purple_connection_init(GTypeInstance *in
 {
 	PurpleConnection *pc = PURPLE_CONNECTION(instance);
 
-	g_type_class_add_private(klass, sizeof(PurpleConnectionPrivate));
 	purple_connection_set_state(pc, PURPLE_CONNECTION_STATE_CONNECTING);
 }
 
@@ -939,6 +938,8 @@ purple_connection_class_init(PurpleConne
 	klass->signing_off = NULL;
 	klass->signed_off = NULL;
 
+	g_type_class_add_private(klass, sizeof(PurpleConnectionPrivate));
+
 	pspec = g_param_spec_flags("flags", "flags",
 							  "The flags for this connection.",
 							  PURPLE_TYPE_CONNECTION_FLAGS,


More information about the Commits mailing list