[gtk] cssnode: Remove leftover vfunc



commit 645af0917c8b0eebe0c4c21448b4699ddcf22996
Author: Benjamin Otte <otte redhat com>
Date:   Thu Feb 6 17:42:56 2020 +0100

    cssnode: Remove leftover vfunc

 gtk/gtkcssnode.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/gtk/gtkcssnode.c b/gtk/gtkcssnode.c
index 24c11ddb5f..4932447955 100644
--- a/gtk/gtkcssnode.c
+++ b/gtk/gtkcssnode.c
@@ -462,11 +462,6 @@ gtk_css_node_real_update_style (GtkCssNode                   *cssnode,
   return new_style;
 }
 
-static void
-gtk_css_node_real_invalidate (GtkCssNode *node)
-{
-}
-
 static void
 gtk_css_node_real_queue_validate (GtkCssNode *node)
 {
@@ -557,7 +552,6 @@ gtk_css_node_class_init (GtkCssNodeClass *klass)
   object_class->finalize = gtk_css_node_finalize;
 
   klass->update_style = gtk_css_node_real_update_style;
-  klass->invalidate = gtk_css_node_real_invalidate;
   klass->validate = gtk_css_node_real_validate;
   klass->queue_validate = gtk_css_node_real_queue_validate;
   klass->dequeue_validate = gtk_css_node_real_dequeue_validate;
@@ -1299,8 +1293,6 @@ gtk_css_node_invalidate (GtkCssNode   *cssnode,
 
   cssnode->pending_changes |= change;
 
-  GTK_CSS_NODE_GET_CLASS (cssnode)->invalidate (cssnode);
-
   if (cssnode->parent)
     cssnode->parent->needs_propagation = TRUE;
   gtk_css_node_invalidate_style (cssnode);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]