listitemmanager: Clarify warning
authorBenjamin Otte <otte@redhat.com>
Sun, 8 May 2022 03:49:40 +0000 (05:49 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 14 May 2022 14:53:44 +0000 (16:53 +0200)
Lars doesn't have an opinion on this problem anymore.

And when people see this warning, they should know what to do.

gtk/gtklistitemmanager.c

index bfc68602934087d10d540003d3872b497bbe5952..004b09cf5644e8b45cfef246bca9b05951e84e9a 100644 (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))
         {
-          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;