widget: Move get_resize_needed to gtkwidget.c

It's only used in there so we don't need it in the private header.
This commit is contained in:
Timm Bäder 2017-07-05 17:46:37 +02:00 committed by Matthias Clasen
parent 831bcc5e0d
commit eb34c68ff4
2 changed files with 6 additions and 6 deletions

View File

@ -5046,6 +5046,12 @@ gtk_widget_queue_allocate (GtkWidget *widget)
gtk_widget_set_alloc_needed (widget);
}
static inline gboolean
gtk_widget_get_resize_needed (GtkWidget *widget)
{
return widget->priv->resize_needed;
}
/*
* gtk_widget_queue_resize_internal:
* @widget: a #GtkWidget

View File

@ -347,12 +347,6 @@ gboolean gtk_widget_get_pass_through (GtkWidget *widget);
/* inline getters */
static inline gboolean
gtk_widget_get_resize_needed (GtkWidget *widget)
{
return widget->priv->resize_needed;
}
static inline GtkWidget *
_gtk_widget_get_parent (GtkWidget *widget)
{