container: Deprecate resize mode

Resize modes don't work anymore, both because nobody ever uses them and
because the frame clock changed the way things work quite a bit. So we
don't want to advertise them as a good idea.

https://bugzilla.gnome.org/show_bug.cgi?id=708787
This commit is contained in:
Benjamin Otte
2013-10-05 14:57:53 +02:00
parent 859805bda4
commit 67260eec22
5 changed files with 34 additions and 2 deletions

View File

@ -1069,10 +1069,12 @@ gtk_style_context_set_invalid (GtkStyleContext *context,
if (invalid)
{
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
if (GTK_IS_RESIZE_CONTAINER (priv->widget))
_gtk_container_queue_restyle (GTK_CONTAINER (priv->widget));
else if (priv->parent)
gtk_style_context_set_invalid (priv->parent, TRUE);
G_GNUC_END_IGNORE_DEPRECATIONS;
}
}