{
GtkLayoutManager *manager = GTK_LAYOUT_MANAGER (self);
- return GTK_GRID_LAYOUT_CHILD (gtk_layout_manager_get_layout_child (manager, child));
+ return (GtkGridLayoutChild *) gtk_layout_manager_get_layout_child (manager, child);
}
static int
min[0] = min[1] = G_MAXINT;
max[0] = max[1] = G_MININT;
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
GridChildAttach *attach = grid_child->attach;
}
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
GridChildAttach *attach;
lines = &request->lines[orientation];
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
GridChildAttach *attach;
lines = &request->lines[orientation];
spacing = get_spacing (request->layout, request->widget, orientation);
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
lines->lines[i].empty = TRUE;
}
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
line->expand = TRUE;
}
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
if (natural_baseline)
*natural_baseline = -1;
- if (gtk_widget_get_first_child (widget) == NULL)
+ if (_gtk_widget_get_first_child (widget) == NULL)
return;
request.layout = self;
if (natural_baseline)
*natural_baseline = -1;
- if (gtk_widget_get_first_child (widget) == NULL)
+ if (_gtk_widget_get_first_child (widget) == NULL)
return;
request.layout = self;
int x, y, width, height, baseline, ignore;
- for (child = gtk_widget_get_first_child (request->widget);
+ for (child = _gtk_widget_get_first_child (request->widget);
child != NULL;
- child = gtk_widget_get_next_sibling (child))
+ child = _gtk_widget_get_next_sibling (child))
{
GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child);
GridLines *lines;
GtkOrientation orientation;
- if (gtk_widget_get_first_child (widget) == NULL)
+ if (_gtk_widget_get_first_child (widget) == NULL)
return;
request.layout = self;