app: add the exact GimpContext subtype for stale context at exit.
It helps a bit for debugging.
This commit is contained in:
parent
7fed33ec84
commit
2d063d8876
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue