summaryrefslogtreecommitdiff
path: root/gtk/gtkaspectframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkaspectframe.c')
-rw-r--r--gtk/gtkaspectframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 2661b29d2b..db0a839454 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -261,7 +261,7 @@ gtk_aspect_frame_compute_child_allocation (GtkFrame *frame,
GtkBin *bin = GTK_BIN (frame);
gdouble ratio;
- if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
+ if (bin->child && gtk_widget_get_visible (bin->child))
{
GtkAllocation full_allocation;