[gimp] app: improve the g_warning() about undestroyed dialogs
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: improve the g_warning() about undestroyed dialogs
- Date: Thu, 24 Jun 2010 16:39:43 +0000 (UTC)
commit c47edb50161b4290050edc3293e123c099b7f8ee
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]