Deprecate widget flag: GTK_WIDGET_DRAWABLE

Use gtk_widget_is_drawable() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
Javier Jardón
2010-01-07 16:47:35 +01:00
parent 6a9d4d8203
commit 4f78f70b15
52 changed files with 145 additions and 128 deletions

View File

@ -666,7 +666,7 @@ gail_widget_get_extents (AtkComponent *component,
*width = widget->allocation.width;
*height = widget->allocation.height;
if (!gail_widget_on_screen (widget) || (!GTK_WIDGET_DRAWABLE (widget)))
if (!gail_widget_on_screen (widget) || (!gtk_widget_is_drawable (widget)))
{
*x = G_MININT;
*y = G_MININT;

View File

@ -576,7 +576,7 @@ gail_window_get_extents (AtkComponent *component,
*width = rect.width;
*height = rect.height;
if (!GTK_WIDGET_DRAWABLE (widget))
if (!gtk_widget_is_drawable (widget))
{
*x = G_MININT;
*y = G_MININT;