From 3143a344a76ebaf9e931c00efd8b797074d56542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 9 Nov 2009 20:56:54 +0100 Subject: [PATCH] Fix compilation warning: Disable unused function Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward() --- gtk/gtktextbtree.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 9a2dc14c39..f0cd19ade9 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -281,7 +281,9 @@ static NodeData *node_data_find (NodeData *nd, gpointer view_id); static GtkTextBTreeNode *gtk_text_btree_node_new (void); +#if 0 static void gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node); +#endif static void gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node, gpointer view_id); static NodeData * gtk_text_btree_node_check_valid (GtkTextBTreeNode *node, @@ -4920,6 +4922,7 @@ gtk_text_btree_node_has_tag (GtkTextBTreeNode *node, GtkTextTag *tag) } /* Add node and all children to the damage region. */ +#if 0 static void gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node) { @@ -4965,6 +4968,7 @@ gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node) } } } +#endif static void gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node, gpointer view_id)