if (widget->allocation.x == allocation->x &&
container = MOZ_CONTAINER (widget); if (!container->children && widget->allocation.x == allocation->x &&
moz_container_size_allocate (GtkWidget     *widget,                             GtkAllocation *allocation){    MozContainer   *container;    GList          *tmp_list;    GtkAllocation   tmp_allocation;    GtkRequisition  tmp_requisition;    GtkWidget      *tmp_child;    g_return_if_fail (IS_MOZ_CONTAINER (widget));    /*  printf("moz_container_size_allocate %p %d %d %d %d\n",        (void *)widget,        allocation->x,        allocation->y,        allocation->width,        allocation->height); */    /* short circuit if you can */    if (widget->allocation.x == allocation->x &&        widget->allocation.y == allocation->y &&        widget->allocation.width == allocation->width &&        widget->allocation.height == allocation->height) {        return;    }    container = MOZ_CONTAINER (widget);    widget->allocation = *allocation;    tmp_list = container->children;    while (tmp_list) {        MozContainerChild *child = tmp_list->data;        moz_container_allocate_child (container, child);        tmp_list = tmp_list->next;    }    if (GTK_WIDGET_REALIZED (widget)) {        gdk_window_move_resize(widget->window,                               widget->allocation.x,                               widget->allocation.y,                               widget->allocation.width,                               widget->allocation.height);    }}