[goffice] Debug code
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Debug code
- Date: Thu, 12 Feb 2015 13:05:43 +0000 (UTC)
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, ¤t);
doit = g_param_values_cmp (pspec, ¤t, 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, ¤t, value),
+ g_param_spec_get_name (pspec),
g_strdup_value_contents (value),
g_strdup_value_contents (¤t));
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]