[gtk+/wip/baedert/children: 14/15] widget: Remove gtk_widget_invalidate_style_context
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/children: 14/15] widget: Remove gtk_widget_invalidate_style_context
- Date: Tue, 22 Nov 2016 11:29:27 +0000 (UTC)
commit a13ddcd9dc0cecd130f1e0b48fed05d699361d7b
Author: Timm Bäder <mail baedert org>
Date: Tue Nov 22 12:05:48 2016 +0100
widget: Remove gtk_widget_invalidate_style_context
gtk/gtkwidget.c | 10 ++--------
gtk/gtkwidgetprivate.h | 2 --
2 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 028343c..ddffdc2 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8803,7 +8803,8 @@ static void
reset_style_recurse (GtkWidget *widget)
{
GtkWidget *child;
- _gtk_widget_invalidate_style_context (widget, GTK_CSS_CHANGE_ANY);
+
+ gtk_css_node_invalidate (widget->priv->cssnode, GTK_CSS_CHANGE_ANY);
for (child = gtk_widget_get_first_child (widget);
child != NULL;
@@ -14897,13 +14898,6 @@ gtk_widget_get_style_context (GtkWidget *widget)
return widget->priv->context;
}
-void
-_gtk_widget_invalidate_style_context (GtkWidget *widget,
- GtkCssChange change)
-{
- gtk_css_node_invalidate (widget->priv->cssnode, change);
-}
-
/**
* gtk_widget_get_modifier_mask:
* @widget: a #GtkWidget
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 572d42b..6580aec 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -250,8 +250,6 @@ gboolean _gtk_widget_captured_event (GtkWidget *widget,
GtkWidgetPath * _gtk_widget_create_path (GtkWidget *widget);
void gtk_widget_clear_path (GtkWidget *widget);
-void _gtk_widget_invalidate_style_context (GtkWidget *widget,
- GtkCssChange change);
void _gtk_widget_style_context_invalidated (GtkWidget *widget);
void _gtk_widget_update_parent_muxer (GtkWidget *widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]