From 2864df9101642562c38521a2a536ba70245a5fe8 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 2 Dec 2008 16:57:56 +0000 Subject: LinGui: free a mark thats used in activity log scrolling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1989 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/callbacks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk') diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 24e1dcd02..01b836520 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1941,6 +1941,7 @@ ghb_log_cb(GIOChannel *source, GIOCondition cond, gpointer data) gtk_text_buffer_get_end_iter(buffer, &iter); mark = gtk_text_buffer_create_mark(buffer, NULL, &iter, FALSE); gtk_text_view_scroll_mark_onscreen(textview, mark); + gtk_text_buffer_delete_mark(buffer, mark); } g_io_channel_write_chars (ud->activity_log, text, length, &length, NULL); -- cgit v1.2.3