Deprecate widget flag: GTK_WIDGET_MAPPED

Use gtk_widget_get_mapped() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
Javier Jardón
2010-03-02 05:19:28 +01:00
committed by Tristan Van Berkom
parent 8c1f5dbc03
commit e53efb120a
57 changed files with 164 additions and 154 deletions

View File

@ -761,7 +761,7 @@ gtk_viewport_size_allocate (GtkWidget *widget,
/* If our size changed, and we have a shadow, queue a redraw on widget->window to
* redraw the shadow correctly.
*/
if (GTK_WIDGET_MAPPED (widget) &&
if (gtk_widget_get_mapped (widget) &&
viewport->shadow_type != GTK_SHADOW_NONE &&
(widget->allocation.width != allocation->width ||
widget->allocation.height != allocation->height))