changeset 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 c918d59d5936
children ac904659104f
files finch/libgnt/gntbindable.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;
 }