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/gtkwin32embedwidget.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/gtkwin32embedwidget.c')
-rw-r--r-- | gtk/gtkwin32embedwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwin32embedwidget.c b/gtk/gtkwin32embedwidget.c index 6afd918a46..0d90d2bf8b 100644 --- a/gtk/gtkwin32embedwidget.c +++ b/gtk/gtkwin32embedwidget.c @@ -270,7 +270,7 @@ gtk_win32_embed_widget_map (GtkWidget *widget) GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED); if (bin->child && - GTK_WIDGET_VISIBLE (bin->child) && + gtk_widget_get_visible (bin->child) && !GTK_WIDGET_MAPPED (bin->child)) gtk_widget_map (bin->child); @@ -297,7 +297,7 @@ gtk_win32_embed_widget_size_allocate (GtkWidget *widget, allocation->x, allocation->y, allocation->width, allocation->height); - if (bin->child && GTK_WIDGET_VISIBLE (bin->child)) + if (bin->child && gtk_widget_get_visible (bin->child)) { GtkAllocation child_allocation; |