changeset 7943:e8fc79fb648b

[gaim-migrate @ 8614] I fixed a crash bug. To reproduce, do this: 1) Sign on with 2 or more accounts 2) Open the Join a Chat dialog 3) Sign on with an MSN account 4) Maybe select the MSN account in the Join a Chat drop down I don't remember if the last step is actually necessary committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 28 Dec 2003 02:41:52 +0000
parents 3e268e113bf1
children a99f0aebc7ce
files src/gtkutils.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutils.c	Sat Dec 27 20:55:55 2003 +0000
+++ b/src/gtkutils.c	Sun Dec 28 02:41:52 2003 +0000
@@ -887,7 +887,7 @@
 	show_all = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(optmenu),
 												 "show_all"));
 
-	check_account_func = g_object_get_data(G_OBJECT(item),
+	check_account_func = g_object_get_data(G_OBJECT(optmenu),
 										   "check_account_func");
 
 	gtk_option_menu_remove_menu(GTK_OPTION_MENU(optmenu));
@@ -930,7 +930,7 @@
 	/* Set some data. */
 	g_object_set_data(G_OBJECT(optmenu), "user_data", user_data);
 	g_object_set_data(G_OBJECT(optmenu), "show_all", GINT_TO_POINTER(show_all));
-	g_object_set_data(G_OBJECT(optmenu), "chck_account_func",
+	g_object_set_data(G_OBJECT(optmenu), "check_account_func",
 					  check_account_func);
 
 	/* Create and set the actual menu. */