changeset 7251:bdf0e5f71124

[gaim-migrate @ 7828] it bothers me that this fixes it, but this fixes the scrolling in the history plugin committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 13 Oct 2003 21:51:53 +0000
parents dee9f6aebbf3
children 1a808d72caff
files plugins/history.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/history.c	Mon Oct 13 18:54:40 2003 +0000
+++ b/plugins/history.c	Mon Oct 13 21:51:53 2003 +0000
@@ -63,12 +63,10 @@
 
 	gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), tmp2, options);
 	gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "<br>", options);
-	gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer, &
-end);
-	gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0, 0,
- 0, 0);
-	gtk_text_buffer_move_mark_by_name(GTK_IMHTML(gtkconv->imhtml)->text_buffer,
-									  "insert", &end);
+	gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->imhtml)->text_buffer,
+			&end);
+	gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(gtkconv->imhtml), &end, 0,
+			TRUE, 0, 0);
 
 	g_free(tmp2);
 	g_free(userdir);