summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r--gtk/gtktextbtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 9c3c3390c7..1269256256 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -3342,6 +3342,8 @@ ensure_end_iter_line (GtkTextBTree *tree)
{
if (tree->end_iter_line_stamp != tree->chars_changed_stamp)
{
+ gint real_line;
+
/* n_lines is without the magic line at the end */
g_assert (_gtk_text_btree_line_count (tree) >= 1);