summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-11-09 20:56:54 +0100
committerJavier Jardón <jjardon@gnome.org>2009-11-09 20:56:54 +0100
commit3143a344a76ebaf9e931c00efd8b797074d56542 (patch)
treec1b1727ff187496a376e1c6b98d0aa7fc0cf81f5 /gtk/gtktextbtree.c
parent148ffd2cc9c3fbd9f627f6fee7c009290112c0e5 (diff)
downloadgtk+-3143a344a76ebaf9e931c00efd8b797074d56542.tar.gz
Fix compilation warning: Disable unused function
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r--gtk/gtktextbtree.c4
1 files changed, 4 insertions, 0 deletions
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)