style: Add missing deprecation markers

Some functions in gtkstyle.h were overlooked when we added the
GDK_DEPRECATED macros.

Also add IGNORE_DEPRECATIONS to the few remaining callers of those
functions.
This commit is contained in:
Benjamin Otte
2013-04-02 11:44:08 +02:00
parent f47f94be42
commit e69e609bd7
4 changed files with 34 additions and 1 deletions

View File

@ -119,7 +119,9 @@ gtk_widget_query_size_for_orientation (GtkWidget *widget,
{
gint adjusted_min, adjusted_natural, adjusted_for_size = for_size;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_widget_ensure_style (widget);
G_GNUC_END_IGNORE_DEPRECATIONS;
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{