From 4e23daa99875bed1436aeb3bdfee5a4b165dcc18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 23 Feb 2018 22:14:38 +0100 Subject: [PATCH] widget: Don't export propagate_hierarchy_changed --- gtk/gtkwidget.c | 6 ++++-- gtk/gtkwidgetprivate.h | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index e569bee75c..953e6bd3a8 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -702,6 +702,8 @@ static void gtk_widget_update_input_shape (GtkWidget *widget); static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class); static void gtk_widget_set_clip (GtkWidget *widget, const GtkAllocation *clip); +static void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget, + GtkWidget *previous_toplevel); /* --- variables --- */ @@ -7430,9 +7432,9 @@ gtk_widget_propagate_hierarchy_changed_recurse (GtkWidget *widget, * children, unsetting or setting the %ANCHORED flag, and * emitting #GtkWidget::hierarchy-changed. **/ -void +static void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget, - GtkWidget *previous_toplevel) + GtkWidget *previous_toplevel) { GtkWidgetPrivate *priv = widget->priv; HierarchyChangedInfo info; diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 588d743fb9..5edcbd1e5c 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -215,8 +215,6 @@ void _gtk_widget_set_is_toplevel (GtkWidget *widget, void _gtk_widget_grab_notify (GtkWidget *widget, gboolean was_grabbed); -void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget, - GtkWidget *previous_toplevel); void _gtk_widget_propagate_display_changed (GtkWidget *widget, GdkDisplay *previous_display);