[gtk+/refactor: 76/145] gtk/gtkcontainer.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 76/145] gtk/gtkcontainer.c: use accessor functions to access GtkWidget
- Date: Wed, 18 Aug 2010 21:31:49 +0000 (UTC)
commit 3827835c4bb88591d072d026b440b45eaee94892
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:14:16 2010 +0200
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
gtk/gtkcontainer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index b811baf..306b9dd 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1352,11 +1352,11 @@ 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))
- break;
+ break;
}
return GTK_IS_RESIZE_CONTAINER (widget) ? (GtkContainer*) widget : NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]