forked from AuroraMiddleware/gtk
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:
parent
831bcc5e0d
commit
eb34c68ff4
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user