notebook: Fix boolean check

Commit c352093bde swapped the condition
when turning it into a return_if_fail().
This commit is contained in:
Benjamin Otte 2015-03-10 13:23:06 +01:00
parent 94ec6b4418
commit 9e2cdce58e

View File

@ -8186,7 +8186,7 @@ gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
g_return_if_fail (GTK_IS_WIDGET (child)); g_return_if_fail (GTK_IS_WIDGET (child));
list = CHECK_FIND_CHILD (notebook, child); list = CHECK_FIND_CHILD (notebook, child);
g_return_if_fail (!list); g_return_if_fail (list != NULL);
if (expand) if (expand)
*expand = GTK_NOTEBOOK_PAGE (list)->expand; *expand = GTK_NOTEBOOK_PAGE (list)->expand;