changeset 62:03b65653798b

[gaim-migrate @ 72] More fixes committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 27 Mar 2000 01:09:13 +0000
parents 72e6a6eb1852
children 12894b62d206
files ChangeLog src/dialogs.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Mar 27 01:03:22 2000 +0000
+++ b/ChangeLog	Mon Mar 27 01:09:13 2000 +0000
@@ -1,6 +1,8 @@
 GAIM: The Pimpin' Penguin IM Clone thats good for the soul! 
 
 version 0.9.13:
+	* Dialog Box Segfault Fixed (When You Click A Toggle Then Cancel)
+	* Double Log-Out Message Fixed
 
 version 0.9.12 (03/25/2000):
 	* Segfault fix for PPC/Alpha/etc machines with log(0)
--- a/src/dialogs.c	Mon Mar 27 01:03:22 2000 +0000
+++ b/src/dialogs.c	Mon Mar 27 01:09:13 2000 +0000
@@ -1645,9 +1645,11 @@
 
 void cancel_link(GtkWidget *widget, struct linkdlg *b)
 {
-	if (b->toggle)
+	if (b->toggle) {
+		set_state_lock(1);
 		gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->toggle), FALSE);
-	
+		set_state_lock(0);
+	}	
 	destroy_dialog(NULL, b->window);
 }