summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-12-02 16:57:56 +0000
committerjstebbins <[email protected]>2008-12-02 16:57:56 +0000
commit2864df9101642562c38521a2a536ba70245a5fe8 (patch)
tree0612e1270b0dad3b26bb3cad4b42d6f3417a5acf /gtk/src/callbacks.c
parent32da53991abe60bd71b30de3c65b171991178be8 (diff)
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
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c1
1 files changed, 1 insertions, 0 deletions
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);