[gtk+/wip/baedert/drawing: 360/396] widget: Move get_resize_needed to gtkwidget.c
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 360/396] widget: Move get_resize_needed to gtkwidget.c
- Date: Wed, 19 Jul 2017 11:40:39 +0000 (UTC)
commit 75f9ae54364268586ef1d800f017d30767f0644f
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]