[gimp/soc-2010-cage] app: improve the g_warning() about undestroyed dialogs
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage] app: improve the g_warning() about undestroyed dialogs
- Date: Wed, 30 Jun 2010 22:14:56 +0000 (UTC)
commit 16d349f4a8ec3cf21fe18c0a4c7f653d674362b2
Author: Michael Natterer <mitch gimp org>
Date: Thu Jun 24 12:53:28 2010 +0200
app: improve the g_warning() about undestroyed dialogs
app/widgets/gimpdialogfactory.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpdialogfactory.c b/app/widgets/gimpdialogfactory.c
index 612e6f5..ca8df26 100644
--- a/app/widgets/gimpdialogfactory.c
+++ b/app/widgets/gimpdialogfactory.c
@@ -176,8 +176,8 @@ gimp_dialog_factory_dispose (GObject *object)
*/
if (! list)
{
- g_warning ("%s: stale non-toplevel entries in factory->p->open_dialogs",
- G_STRFUNC);
+ g_warning ("%s: %d stale non-toplevel entries in factory->p->open_dialogs",
+ G_STRFUNC, g_list_length (factory->p->open_dialogs));
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]