inspector: GSK_IS_RENDER_NODE() does NULL-check

That means we don't need an extra one just so gcc can complain.
This commit is contained in:
Benjamin Otte 2017-09-30 20:23:11 +02:00
parent 836e18cc96
commit e9dedc5036

View File

@ -607,7 +607,7 @@ gtk_tree_model_render_node_set_root_node (GtkTreeModelRenderNode *model,
GtkTreePath *path;
g_return_if_fail (GTK_IS_TREE_MODEL_RENDER_NODE (model));
g_return_if_fail (node == NULL || GSK_IS_RENDER_NODE (node));
g_return_if_fail (GSK_IS_RENDER_NODE (node));
priv = model->priv;