changeset 646:83c773b5b6dc

[gaim-migrate @ 656] stupid, stupid, stupid committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 09 Aug 2000 01:57:19 +0000
parents df03cd223ff9
children f6a2a3f5734d
files src/buddy_chat.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy_chat.c	Tue Aug 08 23:14:53 2000 +0000
+++ b/src/buddy_chat.c	Wed Aug 09 01:57:19 2000 +0000
@@ -599,18 +599,17 @@
         bbox2 = gtk_hbox_new(TRUE, 0);
         vbox = gtk_vbox_new(FALSE, 0);
         lbox = gtk_vbox_new(FALSE, 4);
+
 	chatentry = gtk_text_new( NULL, NULL );
 	gtk_text_set_editable(GTK_TEXT(chatentry), TRUE);
-
 	gtk_text_set_word_wrap(GTK_TEXT(chatentry), TRUE);
+	gtk_object_set_user_data(GTK_OBJECT(chatentry), b);
+	b->entry = chatentry;
 
 	gtk_widget_realize(win);
 
 	toolbar = build_conv_toolbar(b);
 
-	gtk_object_set_user_data(GTK_OBJECT(chatentry), b);
-	b->entry = chatentry;
-	
 	/* Hack something so we know have an entry click event */
 
 	gtk_signal_connect(GTK_OBJECT(chatentry), "activate", GTK_SIGNAL_FUNC(send_callback),b);