mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
Fix a compiler warning
Compilers these days are very picky about their NULLs.
This commit is contained in:
parent
ccb7c9057a
commit
0505c8fac9
@ -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