changeset 11234:7d5e8bed8018

[gaim-migrate @ 13377] This should fix the "entry field not being cleared after message send" problem that some people have been experiencing. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 11 Aug 2005 15:53:09 +0000
parents f08d22130bb2
children 5ea38c98ff30
files src/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Aug 11 14:20:23 2005 +0000
+++ b/src/gtkimhtml.c	Thu Aug 11 15:53:09 2005 +0000
@@ -2988,17 +2988,15 @@
 gtk_imhtml_delete(GtkIMHtml *imhtml, GtkTextIter *start, GtkTextIter *end) {
 	GList *l;
 	GSList *sl;
-	GtkTextIter i;
+	GtkTextIter i, i_s, i_e;
 	GObject *object = g_object_ref(G_OBJECT(imhtml));
 
 	if (start == NULL) {
-		GtkTextIter i_s;
 		gtk_text_buffer_get_start_iter(imhtml->text_buffer, &i_s);
 		start = &i_s;
 	}
 
 	if (end == NULL) {
-		GtkTextIter i_e;
 		gtk_text_buffer_get_end_iter(imhtml->text_buffer, &i_e);
 		end = &i_e;
 	}