listitemmanager: Clarify warning

Lars doesn't have an opinion on this problem anymore.

And when people see this warning, they should know what to do.
This commit is contained in:
Benjamin Otte 2022-05-08 05:49:40 +02:00
parent 8f55a014b1
commit 61bb9bb935

View File

@ -1074,7 +1074,7 @@ gtk_list_item_manager_release_list_item (GtkListItemManager *self,
{ {
if (!g_hash_table_replace (change, gtk_list_item_widget_get_item (GTK_LIST_ITEM_WIDGET (item)), item)) if (!g_hash_table_replace (change, gtk_list_item_widget_get_item (GTK_LIST_ITEM_WIDGET (item)), item))
{ {
g_warning ("FIXME: Handle the same item multiple times in the list.\nLars says this totally should not happen, but here we are."); g_warning ("Duplicate item detected in list. Picking one randomly.");
} }
return; return;