diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-23 12:37:22 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-23 12:37:22 +0200 |
commit | 7eabb8fd3ce8ee171657188d4b66e28fb9764ecc (patch) | |
tree | ffdddcea10d424618009097421efb10e1bac6e20 /gtk/gtkcontainer.c | |
parent | 64a852dc76c525fed5e30f1c6644fa740193435a (diff) | |
download | gtk+-7eabb8fd3ce8ee171657188d4b66e28fb9764ecc.tar.gz |
container: suggest parentheses around assignment used as truth value
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 306b9dd28f..a1400d92f9 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -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)) |