forked from AuroraMiddleware/gtk
Fix compilation warning: Disable unused function
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
This commit is contained in:
parent
148ffd2cc9
commit
3143a344a7
@ -281,7 +281,9 @@ static NodeData *node_data_find (NodeData *nd,
|
|||||||
gpointer view_id);
|
gpointer view_id);
|
||||||
|
|
||||||
static GtkTextBTreeNode *gtk_text_btree_node_new (void);
|
static GtkTextBTreeNode *gtk_text_btree_node_new (void);
|
||||||
|
#if 0
|
||||||
static void gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node);
|
static void gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node);
|
||||||
|
#endif
|
||||||
static void gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node,
|
static void gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node,
|
||||||
gpointer view_id);
|
gpointer view_id);
|
||||||
static NodeData * gtk_text_btree_node_check_valid (GtkTextBTreeNode *node,
|
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. */
|
/* Add node and all children to the damage region. */
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node)
|
gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node)
|
||||||
{
|
{
|
||||||
@ -4965,6 +4968,7 @@ gtk_text_btree_node_invalidate_downward (GtkTextBTreeNode *node)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node, gpointer view_id)
|
gtk_text_btree_node_invalidate_upward (GtkTextBTreeNode *node, gpointer view_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user