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:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user