Take into account modifications of the inner frame for has_extra_children.

svn path=/trunk/; revision=19245
This commit is contained in:
Xan Lopez 2007-12-26 11:32:47 +00:00
parent a374f81b88
commit 89664f543d

View File

@ -825,6 +825,10 @@ has_extra_children (GtkStatusbar *statusbar)
GList *l;
GtkBoxChild *child, *frame;
/* If the internal frame has been modified assume we have extra children */
if (gtk_bin_get_child (GTK_BIN (statusbar->frame)) != statusbar->label)
return TRUE;
frame = NULL;
for (l = GTK_BOX (statusbar)->children; l; l = l->next)
{