mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
stack: Make static analyzer happy
This commit is contained in:
parent
394955cceb
commit
cda9007f0f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user