mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
treestore: Silence compiler warnings
This was causing compiler warnings in release builds.
This commit is contained in:
parent
b1d5de78e1
commit
955305a034
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user