Skip to content

Commit

Permalink
Allow passing a NULL factory to gtk_column_view_column_new()
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Feb 8, 2022
1 parent c6d5816 commit 8245fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk/gtkcolumnviewcolumn.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ gtk_column_view_column_new (const char *title,
{
GtkColumnViewColumn *result;

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_COLUMN_VIEW_COLUMN,
"factory", factory,
Expand Down

0 comments on commit 8245fd4

Please sign in to comment.