[gtk+] window: Use brackets to silence gcc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Use brackets to silence gcc
- Date: Fri, 3 Sep 2010 11:39:46 +0000 (UTC)
commit 3685db091df3f371699deedbf104ffd34f288293
Author: Benjamin Otte <otte redhat com>
Date: Fri Sep 3 13:38:55 2010 +0200
window: Use brackets to silence gcc
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2be90c3..5f75dae 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]