[gtk+] widget: Move get_resize_needed to gtkwidget.c



commit eb34c68ff4bdc2ca95cd7763a8f7b7732181e3dc
Author: Timm Bäder <mail baedert org>
Date:   Wed Jul 5 17:46:37 2017 +0200

    widget: Move get_resize_needed to gtkwidget.c
    
    It's only used in there so we don't need it in the private header.

 gtk/gtkwidget.c        |    6 ++++++
 gtk/gtkwidgetprivate.h |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 1ee455f..b85313b 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 8f0a96b..30b045a 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -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)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]