forked from AuroraMiddleware/gtk
Merge branch 'bilelmoussaoui/layout-manager' into 'main'
layout manager: add a check if the widget exists See merge request GNOME/gtk!4469
This commit is contained in:
commit
0ade146e26
@ -424,6 +424,7 @@ gtk_layout_manager_get_request_mode (GtkLayoutManager *manager)
|
|||||||
GtkLayoutManagerClass *klass;
|
GtkLayoutManagerClass *klass;
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_LAYOUT_MANAGER (manager), GTK_SIZE_REQUEST_CONSTANT_SIZE);
|
g_return_val_if_fail (GTK_IS_LAYOUT_MANAGER (manager), GTK_SIZE_REQUEST_CONSTANT_SIZE);
|
||||||
|
g_return_val_if_fail (priv->widget != NULL, GTK_SIZE_REQUEST_CONSTANT_SIZE);
|
||||||
|
|
||||||
klass = GTK_LAYOUT_MANAGER_GET_CLASS (manager);
|
klass = GTK_LAYOUT_MANAGER_GET_CLASS (manager);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user