container: suggest parentheses around assignment used as truth value

This commit is contained in:
Benjamin Otte
2010-08-23 12:37:22 +02:00
parent 64a852dc76
commit 7eabb8fd3c

View File

@ -1352,7 +1352,7 @@ 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))