diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:47:38 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:52:07 +0100 |
commit | 214a023e9160fa008db069f5ec10ce3a4999a4dc (patch) | |
tree | ad2e3c48e95a3264903ef29b9e12e88ffdfed0bc /gtk/gtkalignment.c | |
parent | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff) | |
download | gtk+-214a023e9160fa008db069f5ec10ce3a4999a4dc.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c index 49c5271dc3..51fad6f3f8 100644 --- a/gtk/gtkalignment.c +++ b/gtk/gtkalignment.c @@ -421,7 +421,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; @@ -456,7 +456,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)) { gtk_widget_get_child_requisition (bin->child, &child_requisition); |