[gaim-migrate @ 532]

Tue, 25 Jul 2000 00:33:51 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Tue, 25 Jul 2000 00:33:51 +0000
changeset 522
d37b5ddaab58
parent 521
f9425efccdfa
child 523
da3c269711b7

[gaim-migrate @ 532]
If the window goes away, the config button gets disconnected. Set handler to 0.

src/plugins.c file | annotate | diff | comparison | revisions
--- a/src/plugins.c	Mon Jul 24 23:42:48 2000 +0000
+++ b/src/plugins.c	Tue Jul 25 00:33:51 2000 +0000
@@ -465,7 +465,7 @@
 	void (*gaim_plugin_config)();
 	char *error;
 
-	if (confighandle)
+	if (confighandle != 0)
 		gtk_signal_disconnect(GTK_OBJECT(config), confighandle);
 	text_len = gtk_text_get_length(GTK_TEXT(plugtext));
 	gtk_text_set_point(GTK_TEXT(plugtext), 0);
@@ -490,6 +490,7 @@
 		gtk_widget_destroy(plugwindow);
 	plugwindow = NULL;
 	config = NULL;
+	confighandle = 0;
 }
 
 void gaim_signal_connect(void *handle, enum gaim_event which,

mercurial