# HG changeset patch # User Mark Doliner # Date 1072579312 0 # Node ID e8fc79fb648be0b483757bb84836a4cead9df71d # Parent 3e268e113bf13cf9a8e243e4f8e60de6d992da75 [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 diff -r 3e268e113bf1 -r e8fc79fb648b src/gtkutils.c --- 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. */