From 2d063d8876085db51efe878e967bb8f4e7ce1e09 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 18 Sep 2024 22:14:23 +0200 Subject: [PATCH] app: add the exact GimpContext subtype for stale context at exit. It helps a bit for debugging. --- app/core/gimp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/core/gimp.c b/app/core/gimp.c index 95e46174cb..80b9ba62c1 100644 --- a/app/core/gimp.c +++ b/app/core/gimp.c @@ -451,7 +451,9 @@ gimp_finalize (GObject *object) G_STRFUNC, g_list_length (gimp->context_list)); for (list = gimp->context_list; list; list = g_list_next (list)) - g_printerr ("stale context: %s\n", gimp_object_get_name (list->data)); + g_printerr ("stale context: %s (of type %s)\n", + gimp_object_get_name (list->data), + g_type_name (G_TYPE_FROM_INSTANCE (list->data))); g_list_free (gimp->context_list); gimp->context_list = NULL;