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:
committed by
Tristan Van Berkom
parent
8c1f5dbc03
commit
e53efb120a
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user