[gimp/soc-2010-cage] app: improve the g_warning() about undestroyed dialogs



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]