diff options
author | Benjamin Otte <otte@redhat.com> | 2020-03-06 05:56:29 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-03-06 05:56:29 +0100 |
commit | cda9007f0f12b1b436380e93d62b137862bbf3de (patch) | |
tree | 5e84b8c25d225d1ad8f92b695cf443bb07cc63a2 /gtk/gtkstack.c | |
parent | 394955cceb6b1c9f2146a19d1d1da92eff3d8678 (diff) | |
download | gtk+-cda9007f0f12b1b436380e93d62b137862bbf3de.tar.gz |
stack: Make static analyzer happy
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r-- | gtk/gtkstack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index fc6a46347e..887c9cf6c9 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -1301,6 +1301,7 @@ stack_child_visibility_notify_cb (GObject *obj, GtkStackPage *child_info; child_info = find_child_info_for_widget (stack, child); + g_return_if_fail (child_info != NULL); if (priv->visible_child == NULL && gtk_widget_get_visible (child)) |