diff options
author | Benjamin Otte <otte@redhat.com> | 2015-03-10 13:23:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-10 13:23:06 +0100 |
commit | 9e2cdce58e081c3829008a256ecd8c3b5a7ce1de (patch) | |
tree | ede03b560a0d634a0717a2bc1d8d52ce0b460d86 /gtk/gtknotebook.c | |
parent | 94ec6b44184067782925fa7dc8880c0d1fc3fbe8 (diff) | |
download | gtk+-9e2cdce58e081c3829008a256ecd8c3b5a7ce1de.tar.gz |
notebook: Fix boolean check
Commit c352093bdeb2be5390607de13eaf7a21e93272ef swapped the condition
when turning it into a return_if_fail().
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index d2d935451b..889826086c 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -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; |