forked from AuroraMiddleware/gtk
window: Use brackets to silence gcc
This commit is contained in:
parent
fc46f2ca2f
commit
3685db091d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user