Mercurial > pidgin.yaz
changeset 522:11cbf8b403b6
[gaim-migrate @ 532]
If the window goes away, the config button gets disconnected. Set handler to 0.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 25 Jul 2000 00:33:51 +0000 |
parents | 0f179ac59e27 |
children | 023c3851db0a |
files | src/plugins.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,