changeset 3629:afc5bb164c5a

[gaim-migrate @ 3752] the proper fix to the parse error the last commit resolved. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 11 Oct 2002 02:10:08 +0000
parents 74ed52a818a1
children 9682c0e022c6
files src/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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');