Ignore deprecations where needed

There are a few places where we are still using deprecated
API internally - ignore deprecations around these uses.
This commit is contained in:
Matthias Clasen
2013-05-05 10:31:08 -04:00
parent 7d8e755d16
commit f5f5b70355
8 changed files with 112 additions and 22 deletions

View File

@ -5489,9 +5489,14 @@ child_at (GtkMenu *menu,
{
child = children->data;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (child_offset + child_requisition.height > y &&
!GTK_IS_TEAROFF_MENU_ITEM (child))
return child;
G_GNUC_END_IGNORE_DEPRECATIONS
}
child_offset += child_requisition.height;