summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/gtkext/gtkblockview.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ceebb9..c8011a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+09-09-27 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/gtkext/gtkblockview.c:
+ Replace hardcoded integer value by G_MAXINT.
+
09-09-25 Cyrille Bagard <nocbos@gmail.com>
* src/editor.c:
diff --git a/src/gtkext/gtkblockview.c b/src/gtkext/gtkblockview.c
index ac06af3..5cf4e53 100644
--- a/src/gtkext/gtkblockview.c
+++ b/src/gtkext/gtkblockview.c
@@ -997,7 +997,7 @@ static void gtk_block_view_complete_building_content(GDelayedInsertion *insertio
/* Validation finale */
- gtk_text_layout_validate(GTK_BLOCK_VIEW(view)->layout, 100000);
+ gtk_text_layout_validate(GTK_BLOCK_VIEW(view)->layout, G_MAXINT);
gtk_block_view_recompute_size_request(view);