[gtk+] widget: Remove gtk_widget_invalidate_style_context
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Remove gtk_widget_invalidate_style_context
- Date: Wed, 7 Dec 2016 07:18:05 +0000 (UTC)
commit 3063d4a5e36641c5abc0f3590d1d045831f0c767
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 da35775..35ed182 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8653,7 +8653,7 @@ _gtk_widget_propagate_screen_changed (GtkWidget *widget,
static void
reset_style_recurse (GtkWidget *widget, gpointer data)
{
- _gtk_widget_invalidate_style_context (widget, GTK_CSS_CHANGE_ANY);
+ gtk_css_node_invalidate (widget->priv->cssnode, GTK_CSS_CHANGE_ANY);
if (GTK_IS_CONTAINER (widget))
gtk_container_forall (GTK_CONTAINER (widget),
@@ -14695,13 +14695,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 7fcbbb4..369a02a 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -246,8 +246,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]