summaryrefslogtreecommitdiff
path: root/gtk/gtkoffscreenwindow.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-02 06:28:22 +0200
committerJavier Jardón <jjardon@gnome.org>2010-07-13 19:40:46 +0200
commit3a10216dd01c8d10df235b88c8942b2fda15689b (patch)
tree80df10196e365741a9dcb6a8c773c1e992e3e9fe /gtk/gtkoffscreenwindow.c
parent009acc263e883923fd7c528c401f9d39756788aa (diff)
downloadgtk+-3a10216dd01c8d10df235b88c8942b2fda15689b.tar.gz
Use accessor functions to acces GtkContainer
Diffstat (limited to 'gtk/gtkoffscreenwindow.c')
-rw-r--r--gtk/gtkoffscreenwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c
index c62e2eb225..7e05fcb049 100644
--- a/gtk/gtkoffscreenwindow.c
+++ b/gtk/gtkoffscreenwindow.c
@@ -171,7 +171,7 @@ move_focus (GtkWidget *widget,
{
gtk_widget_child_focus (widget, dir);
- if (!GTK_CONTAINER (widget)->focus_child)
+ if (!gtk_container_get_focus_child (GTK_CONTAINER (widget)))
gtk_window_set_focus (GTK_WINDOW (widget), NULL);
}