widget: Avoid a deprecation warning

This commit is contained in:
Timm Bäder
2016-06-02 21:52:11 +02:00
parent de8af76897
commit a961b05200

View File

@ -5687,8 +5687,11 @@ gtk_widget_queue_resize_internal (GtkWidget *widget)
for (l = groups; l; l = l->next)
{
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (gtk_size_group_get_ignore_hidden (l->data) && !gtk_widget_is_visible (widget))
continue;
G_GNUC_END_IGNORE_DEPRECATIONS
for (widgets = gtk_size_group_get_widgets (l->data); widgets; widgets = widgets->next)
{