- if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_MAPPED (widget) &&
- xpaned->top_left_child && GTK_WIDGET_VISIBLE (xpaned->top_left_child) &&
- xpaned->top_right_child && GTK_WIDGET_VISIBLE (xpaned->top_right_child) &&
- xpaned->bottom_left_child && GTK_WIDGET_VISIBLE (xpaned->bottom_left_child) &&
- xpaned->bottom_right_child && GTK_WIDGET_VISIBLE (xpaned->bottom_right_child))
+ if (gtk_widget_get_visible (widget) && gtk_widget_get_mapped (widget) &&
+ xpaned->top_left_child && gtk_widget_get_visible (xpaned->top_left_child) &&
+ xpaned->top_right_child && gtk_widget_get_visible (xpaned->top_right_child) &&
+ xpaned->bottom_left_child && gtk_widget_get_visible (xpaned->bottom_left_child) &&
+ xpaned->bottom_right_child && gtk_widget_get_visible (xpaned->bottom_right_child))