Mercurial > pidgin.yaz
changeset 3628:74ed52a818a1
[gaim-migrate @ 3751]
you cannot declare variables in the middle of a block of code in c javabsp.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 11 Oct 2002 02:05:47 +0000 |
parents | 639411e6a4cd |
children | afc5bb164c5a |
files | src/conversation.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Fri Oct 11 01:56:45 2002 +0000 +++ b/src/conversation.c Fri Oct 11 02:05:47 2002 +0000 @@ -839,6 +839,7 @@ { int pos; gboolean key_is_typing = TRUE; + GtkWidget *notebook = NULL; if (event->keyval == GDK_Escape) { key_is_typing = FALSE; @@ -1090,7 +1091,7 @@ (c->is_chat && (chat_options & OPT_CHAT_ONE_WINDOW))) && (event->state & GDK_MOD1_MASK) && (event->keyval > '0') && (event->keyval <= '9')) { key_is_typing = FALSE; - GtkWidget *notebook = (c->is_chat ? chat_notebook : convo_notebook); + notebook = (c->is_chat ? chat_notebook : convo_notebook); gtk_notebook_set_page(GTK_NOTEBOOK(notebook), event->keyval - '1'); gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event"); }