summaryrefslogtreecommitdiff
path: root/gtk/gtkalignment.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 07:47:38 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:58:20 -0400
commitedc65ce1d239aed73a0a273825ea4886757fd1c2 (patch)
tree24bdf286f232267b9c0201b846bd55036cf3ceca /gtk/gtkalignment.c
parenteb90ec751354db580e125a1526eb6c1be9a565d4 (diff)
downloadgtk+-edc65ce1d239aed73a0a273825ea4886757fd1c2.tar.gz
Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkalignment.c')
-rw-r--r--gtk/gtkalignment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index cfcd9d409f..4573c14006 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -422,7 +422,7 @@ gtk_alignment_size_request (GtkWidget *widget,
requisition->width = GTK_CONTAINER (widget)->border_width * 2;
requisition->height = GTK_CONTAINER (widget)->border_width * 2;
- if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
+ if (bin->child && gtk_widget_get_visible (bin->child))
{
GtkRequisition child_requisition;
@@ -457,7 +457,7 @@ gtk_alignment_size_allocate (GtkWidget *widget,
alignment = GTK_ALIGNMENT (widget);
bin = GTK_BIN (widget);
- if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
+ if (bin->child && gtk_widget_get_visible (bin->child))
{
GtkExtendedLayout *layout = GTK_EXTENDED_LAYOUT (bin->child);