treestore: Silence compiler warnings

This was causing compiler warnings in release builds.
This commit is contained in:
Matthias Clasen 2020-02-04 22:45:29 +01:00
parent b1d5de78e1
commit 955305a034

View File

@ -184,8 +184,6 @@ static void gtk_tree_store_buildable_custom_finished (GtkBuildable *b
const gchar *tagname,
gpointer user_data);
static void validate_gnode (GNode *node);
static void gtk_tree_store_move (GtkTreeStore *tree_store,
GtkTreeIter *iter,
GtkTreeIter *position,
@ -193,6 +191,8 @@ static void gtk_tree_store_move (GtkTreeStore *
#ifdef G_ENABLE_DEBUG
static void validate_gnode (GNode *node);
static inline void
validate_tree (GtkTreeStore *tree_store)
{
@ -3297,6 +3297,7 @@ gtk_tree_store_has_default_sort_func (GtkTreeSortable *sortable)
return (tree_store->priv->default_sort_func != NULL);
}
#ifdef G_ENABLE_DEBUG
static void
validate_gnode (GNode* node)
{
@ -3312,6 +3313,7 @@ validate_gnode (GNode* node)
iter = iter->next;
}
}
#endif
/* GtkBuildable custom tag implementation
*