mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
Fix a compiler warning
Compilers these days are very picky about their NULLs.
This commit is contained in:
parent
41d03c68f8
commit
5aa62b6273
@ -1293,7 +1293,7 @@ gtk_list_item_manager_ensure_items (GtkListItemManager *self,
|
||||
start,
|
||||
GTK_LIST_TILE_UNMATCHED_FOOTER,
|
||||
GTK_LIST_TILE_HEADER);
|
||||
g_assert (header->widget == NULL);
|
||||
g_assert (header != NULL && header->widget == NULL);
|
||||
header->widget = GTK_WIDGET (gtk_list_item_change_get_header (change));
|
||||
if (header->widget == NULL)
|
||||
header->widget = GTK_WIDGET (self->create_header_widget (self->widget));
|
||||
|
Loading…
Reference in New Issue
Block a user