window: Use brackets to silence gcc

This commit is contained in:
Benjamin Otte 2010-09-03 13:38:55 +02:00
parent fc46f2ca2f
commit 3685db091d

View File

@ -1638,7 +1638,7 @@ gtk_window_set_focus (GtkWindow *window,
GtkWidget *widget = window->focus_widget;
if (widget)
{
while (parent = gtk_widget_get_parent (widget))
while ((parent = gtk_widget_get_parent (widget)))
{
widget = parent;
gtk_container_set_focus_child (GTK_CONTAINER (widget), NULL);