diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-05-25 01:57:10 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:45 +0200 |
commit | a46c1eba6413b676c15103b38a85ba686c230161 (patch) | |
tree | ebef733f9f39ed35bf120cbcb899427544a23f62 /gtk/gtkstatusbar.c | |
parent | abe267641a1ba63903d3191b0c6d7044fe260112 (diff) | |
download | gtk+-a46c1eba6413b676c15103b38a85ba686c230161.tar.gz |
Use accessor functions to access GtkBox
Diffstat (limited to 'gtk/gtkstatusbar.c')
-rw-r--r-- | gtk/gtkstatusbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index 3d72d43012..0ee091d870 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -245,8 +245,8 @@ gtk_statusbar_init (GtkStatusbar *statusbar) gtk_widget_set_redraw_on_allocate (GTK_WIDGET (box), TRUE); - box->spacing = 2; - box->homogeneous = FALSE; + gtk_box_set_spacing (box, 2); + gtk_box_set_homogeneous (box, FALSE); statusbar->has_resize_grip = TRUE; @@ -985,7 +985,7 @@ has_extra_children (GtkStatusbar *statusbar) return TRUE; frame = NULL; - for (l = GTK_BOX (statusbar)->children; l; l = l->next) + for (l = gtk_container_get_children (GTK_CONTAINER (statusbar)); l; l = l->next) { frame = l->data; |