Commit 3a89cc15 authored by Javier Jardón's avatar Javier Jardón
Browse files

gtk/gtkcontainer.c: use accessor functions to access GtkWidget

parent 83372be9
......@@ -1352,11 +1352,11 @@ gtk_container_get_resize_container (GtkContainer *container)
GtkWidget *parent;
GtkWidget *widget = GTK_WIDGET (container);
while (parent = gtk_widget_get_parent (widget))
while (parent = gtk_widget_get_parent (widget))
{
widget = parent;
if (GTK_IS_RESIZE_CONTAINER (widget))
break;
break;
}
return GTK_IS_RESIZE_CONTAINER (widget) ? (GtkContainer*) widget : NULL;
......
Supports Markdown
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