diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-09-18 19:57:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-09-26 22:18:19 -0400 |
commit | f53ad339941a6cab1468eef279bd518992ae68bc (patch) | |
tree | e459767bbc1eb9cd30ae0ced0422eabbff5809a3 /gtk/gtkexpander.c | |
parent | eac1959d2c843dfc55353ffc89c16b74cb26e9bc (diff) | |
download | gtk+-f53ad339941a6cab1468eef279bd518992ae68bc.tar.gz |
Remove GtkObject completely
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r-- | gtk/gtkexpander.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index cf5f1b8e82..9554ec1830 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -608,7 +608,7 @@ gtk_expander_size_allocate (GtkWidget *widget, child_ypad = 2 * border_width + priv->spacing + (interior_focus ? 0 : 2 * focus_width + 2 * focus_pad); top_min_height = 2 * expander_spacing + expander_size; - child_visible = (child && GTK_WIDGET_CHILD_VISIBLE (child)); + child_visible = (child && gtk_widget_get_child_visible (child)); if (priv->label_widget && gtk_widget_get_visible (priv->label_widget)) { @@ -1103,7 +1103,7 @@ focus_in_site (GtkExpander *expander, { GtkWidget *child = gtk_bin_get_child (GTK_BIN (expander)); - if (child && GTK_WIDGET_CHILD_VISIBLE (child)) + if (child && gtk_widget_get_child_visible (child)) return gtk_widget_child_focus (child, direction); else return FALSE; @@ -1312,7 +1312,7 @@ gtk_expander_get_preferred_width (GtkWidget *widget, *natural_size += label_nat; } - if (child && GTK_WIDGET_CHILD_VISIBLE (child)) + if (child && gtk_widget_get_child_visible (child)) { gint child_min, child_nat; @@ -1382,7 +1382,7 @@ gtk_expander_get_preferred_height (GtkWidget *widget, *natural_size += extra; } - if (child && GTK_WIDGET_CHILD_VISIBLE (child)) + if (child && gtk_widget_get_child_visible (child)) { gint child_min, child_nat; @@ -1457,7 +1457,7 @@ gtk_expander_get_preferred_height_for_width (GtkWidget *widget, *natural_height += extra; } - if (child && GTK_WIDGET_CHILD_VISIBLE (child)) + if (child && gtk_widget_get_child_visible (child)) { gint child_min, child_nat; |