forked from AuroraMiddleware/gtk
gridview: Make constructor arguments nullable
I forgot to adjust the precondition when copying things around.
This commit is contained in:
parent
98440142da
commit
887539e4ff
@ -1200,7 +1200,7 @@ gtk_grid_view_new (GtkSelectionModel *model,
|
||||
GtkWidget *result;
|
||||
|
||||
g_return_val_if_fail (model == NULL || GTK_IS_SELECTION_MODEL (model), NULL);
|
||||
g_return_val_if_fail (GTK_IS_LIST_ITEM_FACTORY (factory), NULL);
|
||||
g_return_val_if_fail (factory == NULL || GTK_IS_LIST_ITEM_FACTORY (factory), NULL);
|
||||
|
||||
result = g_object_new (GTK_TYPE_GRID_VIEW,
|
||||
"model", model,
|
||||
|
Loading…
Reference in New Issue
Block a user