# HG changeset patch # User Luke Schierer # Date 1034302208 0 # Node ID afc5bb164c5a7573b4f27201b7848555502b1831 # Parent 74ed52a818a16c96a0e3f055da53a0371c15b3c6 [gaim-migrate @ 3752] the proper fix to the parse error the last commit resolved. committer: Tailor Script diff -r 74ed52a818a1 -r afc5bb164c5a src/conversation.c --- a/src/conversation.c Fri Oct 11 02:05:47 2002 +0000 +++ b/src/conversation.c Fri Oct 11 02:10:08 2002 +0000 @@ -839,7 +839,6 @@ { int pos; gboolean key_is_typing = TRUE; - GtkWidget *notebook = NULL; if (event->keyval == GDK_Escape) { key_is_typing = FALSE; @@ -1090,6 +1089,7 @@ } else if (((!c->is_chat && (im_options & OPT_IM_ONE_WINDOW)) || (c->is_chat && (chat_options & OPT_CHAT_ONE_WINDOW))) && (event->state & GDK_MOD1_MASK) && (event->keyval > '0') && (event->keyval <= '9')) { + GtkWidget *notebook = NULL; key_is_typing = FALSE; notebook = (c->is_chat ? chat_notebook : convo_notebook); gtk_notebook_set_page(GTK_NOTEBOOK(notebook), event->keyval - '1');