summaryrefslogtreecommitdiff
path: root/gtk/gtkgridview.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2022-02-26 03:04:53 +0100
committerBenjamin Otte <otte@redhat.com>2022-02-26 20:35:44 +0100
commitbffa5dfddde61d416bb2955f46baecc091090a1d (patch)
tree4b82e29153fc79fbef5632ffb4c1625bc2eb5b44 /gtk/gtkgridview.c
parent2fe20878c30b21e53142f77a53c6175267c95d91 (diff)
downloadgtk+-bffa5dfddde61d416bb2955f46baecc091090a1d.tar.gz
listview: Fix return_if_fail()s
Diffstat (limited to 'gtk/gtkgridview.c')
-rw-r--r--gtk/gtkgridview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c
index c6cefbb10e..9b903dc5e0 100644
--- a/gtk/gtkgridview.c
+++ b/gtk/gtkgridview.c
@@ -1291,7 +1291,7 @@ gtk_grid_view_set_factory (GtkGridView *self,
GtkListItemFactory *factory)
{
g_return_if_fail (GTK_IS_GRID_VIEW (self));
- g_return_if_fail (factory == NULL || GTK_LIST_ITEM_FACTORY (factory));
+ g_return_if_fail (factory == NULL || GTK_IS_LIST_ITEM_FACTORY (factory));
if (factory == gtk_list_item_manager_get_factory (self->item_manager))
return;