[gtk+/wip/baedert/children: 12/37] 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: 12/37] widget: Remove gtk_widget_invalidate_style_context
- Date: Sun, 4 Dec 2016 12:54:47 +0000 (UTC)
commit 4ec6d9c2920d5e9d52efd51e8161e07720e124ab
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 | 9 +--------
gtk/gtkwidgetprivate.h | 2 --
2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ba3e4f2..54057fc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8749,7 +8749,7 @@ _gtk_widget_propagate_screen_changed (GtkWidget *widget,
static void
reset_style_recurse (GtkWidget *widget, gpointer user_data)
{
- _gtk_widget_invalidate_style_context (widget, GTK_CSS_CHANGE_ANY);
+ gtk_css_node_invalidate (widget->priv->cssnode, GTK_CSS_CHANGE_ANY);
gtk_widget_forall (widget, reset_style_recurse, user_data);
}
@@ -14813,13 +14813,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 a0aa243..f877748 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]