[goffice] Debug code



commit 6e2961b4a4a589e4ef1d7abced7d92dd580fa10d
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 12 08:05:29 2015 -0500

    Debug code

 goffice/utils/go-glib-extras.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/goffice/utils/go-glib-extras.c b/goffice/utils/go-glib-extras.c
index f556436..3d91f47 100644
--- a/goffice/utils/go-glib-extras.c
+++ b/goffice/utils/go-glib-extras.c
@@ -1026,8 +1026,9 @@ go_object_properties_apply (GObject *obj, GSList *props, gboolean changed_only)
                        g_object_get_property (obj, pspec->name, &current);
                        doit = g_param_values_cmp (pspec, &current, value);
 #if 0
-                       g_print ("%2d:  old: [%s]   new: [%s]\n",
+                       g_print ("%2d:  %-20s  old: [%s]   new: [%s]\n",
                                 g_param_values_cmp (pspec, &current, value),
+                                g_param_spec_get_name (pspec),
                                 g_strdup_value_contents (value),
                                 g_strdup_value_contents (&current));
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]