stack: Make static analyzer happy

This commit is contained in:
Benjamin Otte 2020-03-06 05:56:29 +01:00
parent 394955cceb
commit cda9007f0f

View File

@ -1301,6 +1301,7 @@ stack_child_visibility_notify_cb (GObject *obj,
GtkStackPage *child_info; GtkStackPage *child_info;
child_info = find_child_info_for_widget (stack, child); child_info = find_child_info_for_widget (stack, child);
g_return_if_fail (child_info != NULL);
if (priv->visible_child == NULL && if (priv->visible_child == NULL &&
gtk_widget_get_visible (child)) gtk_widget_get_visible (child))