diff pidgin/gtkimhtmltoolbar.c @ 26630:38a5df43d525

Oops, I must have been tired. I only replaced the first occurrence of these deprecated functions. I think I got them all now.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 18 Apr 2009 22:39:56 +0000
parents e23a74d7c97c
children 401012968fea 48ea900ee72a ce876e58cf6a 604bec1b4582
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Sat Apr 18 22:13:26 2009 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Sat Apr 18 22:39:56 2009 +0000
@@ -1198,7 +1198,7 @@
 	GObjectClass   *gobject_class;
 	object_class = (GtkObjectClass*) class;
 	gobject_class = (GObjectClass*) class;
-	parent_class = gtk_type_class(GTK_TYPE_HBOX);
+	parent_class = g_type_class_ref(GTK_TYPE_HBOX);
 	gobject_class->finalize = gtk_imhtmltoolbar_finalize;
 
 	purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations/toolbar");