diff finch/libgnt/gntbindable.c @ 17934:d7cd0afd3c36

FIX: The help_window pointer wasn't being set to null properly in the destroy callback.
author Eric Polino <aluink@pidgin.im>
date Tue, 12 Jun 2007 13:54:04 +0000
parents 15988e2bd270
children d5a0b09470ee
line wrap: on
line diff
--- a/finch/libgnt/gntbindable.c	Tue Jun 12 13:52:33 2007 +0000
+++ b/finch/libgnt/gntbindable.c	Tue Jun 12 13:54:04 2007 +0000
@@ -460,8 +460,9 @@
 }
 
 static void
-reset_binding_window(GntBindableClass *klass)
+reset_binding_window(GntBindableClass *window, gpointer k)
 {
+	GntBindableClass *klass = GNT_BINDABLE_CLASS(k);
 	klass->help_window = NULL;
 }