Commit 2fc15d31 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Move an assert to the right place. (#341661, Pascal Terjan)

2006-05-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_allocate_children): Move
	an assert to the right place.  (#341661, Pascal Terjan)
parent 8941969c
2006-05-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_allocate_children): Move
an assert to the right place. (#341661, Pascal Terjan)
2006-05-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Fix some corner cases in the size
......
2006-05-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_allocate_children): Move
an assert to the right place. (#341661, Pascal Terjan)
2006-05-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Fix some corner cases in the size
......
......@@ -2901,6 +2901,8 @@ gtk_text_view_allocate_children (GtkTextView *text_view)
{
GtkTextViewChild *child = tmp_list->data;
g_assert (child != NULL);
if (child->anchor)
{
/* We need to force-validate the regions containing
......@@ -2933,8 +2935,6 @@ gtk_text_view_allocate_children (GtkTextView *text_view)
GtkAllocation allocation;
GtkRequisition child_req;
g_assert (child != NULL);
allocation.x = child->x;
allocation.y = child->y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment