Commit 89664f54 authored by Xan Lopez's avatar Xan Lopez

Take into account modifications of the inner frame for has_extra_children.

svn path=/trunk/; revision=19245
parent a374f81b
......@@ -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)
{
......
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