diff options
author | Joe Shaw <joe@ximian.com> | 2001-05-21 05:35:03 +0000 |
---|---|---|
committer | Joe Shaw <joeshaw@src.gnome.org> | 2001-05-21 05:35:03 +0000 |
commit | b85c58715204b142ddbe511811f8f08dac0a8270 (patch) | |
tree | a3afe0f8f2666c0f7175fb5a37835c20c5c017c1 /gtk/gtktextlayout.c | |
parent | dd0aa0d815fbc7dceb6ddccfdffe9c1814acdfc9 (diff) | |
download | gtk+-b85c58715204b142ddbe511811f8f08dac0a8270.tar.gz |
Remove the assertion that top_y needs to be >= 0.
2001-05-21 Joe Shaw <joe@ximian.com>
* gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
that top_y needs to be >= 0.
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index de68df6d8b..7bbc0d7395 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -545,7 +545,6 @@ gtk_text_layout_get_lines (GtkTextLayout *layout, layout, top_y, first_line_y); if (first_btree_line == NULL) { - g_assert (top_y > 0); /* off the bottom */ return NULL; } |