[gtk/wip/otte/for-main: 1/2] listitemmanager: Clarify warning
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-main: 1/2] listitemmanager: Clarify warning
- Date: Sat, 14 May 2022 14:54:33 +0000 (UTC)
commit 61bb9bb935519fb9383289ff81ee9375fd3edaa8
Author: Benjamin Otte <otte redhat com>
Date: Sun May 8 05:49:40 2022 +0200
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.
gtk/gtklistitemmanager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistitemmanager.c b/gtk/gtklistitemmanager.c
index bfc6860293..004b09cf56 100644
--- a/gtk/gtklistitemmanager.c
+++ b/gtk/gtklistitemmanager.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]