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/gtkhandlebox.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/gtkhandlebox.c')
-rw-r--r-- | gtk/gtkhandlebox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index 7a25be7a37..9fc9fc35e6 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -354,7 +354,7 @@ gtk_handle_box_map (GtkWidget *widget) hb = GTK_HANDLE_BOX (widget); if (bin->child && - GTK_WIDGET_VISIBLE (bin->child) && + gtk_widget_get_visible (bin->child) && !GTK_WIDGET_MAPPED (bin->child)) gtk_widget_map (bin->child); @@ -620,7 +620,7 @@ gtk_handle_box_size_allocate (GtkWidget *widget, widget->allocation.height); - if (bin->child && GTK_WIDGET_VISIBLE (bin->child)) + if (bin->child && gtk_widget_get_visible (bin->child)) { GtkAllocation child_allocation; guint border_width; @@ -951,7 +951,7 @@ gtk_handle_box_paint (GtkWidget *widget, event ? &event->area : area, handle_orientation); - if (bin->child && GTK_WIDGET_VISIBLE (bin->child)) + if (bin->child && gtk_widget_get_visible (bin->child)) GTK_WIDGET_CLASS (gtk_handle_box_parent_class)->expose_event (widget, event); } |