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.
This commit is contained in:
Joe Shaw 2001-05-21 05:35:03 +00:00 committed by Joe Shaw
parent dd0aa0d815
commit b85c587152
8 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -1,3 +1,8 @@
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.
2001-05-11 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and

View File

@ -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;
}