Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
3a89cc15
Commit
3a89cc15
authored
Aug 11, 2010
by
Javier Jardón
Browse files
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
parent
83372be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkcontainer.c
View file @
3a89cc15
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment