mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
notebook: Fix boolean check
Commit c352093bde
swapped the condition
when turning it into a return_if_fail().
This commit is contained in:
parent
94ec6b4418
commit
9e2cdce58e
@ -8186,7 +8186,7 @@ gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
|
||||
g_return_if_fail (GTK_IS_WIDGET (child));
|
||||
|
||||
list = CHECK_FIND_CHILD (notebook, child);
|
||||
g_return_if_fail (!list);
|
||||
g_return_if_fail (list != NULL);
|
||||
|
||||
if (expand)
|
||||
*expand = GTK_NOTEBOOK_PAGE (list)->expand;
|
||||
|
Loading…
Reference in New Issue
Block a user