[gnome-builder] egg-binding-set: add debug helper
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-binding-set: add debug helper
- Date: Mon, 4 May 2015 23:40:24 +0000 (UTC)
commit 467714346a788f80a4f57a92befc5415710bc4b0
Author: Christian Hergert <christian hergert me>
Date: Mon May 4 16:37:20 2015 -0700
egg-binding-set: add debug helper
contrib/egg/egg-binding-set.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/contrib/egg/egg-binding-set.c b/contrib/egg/egg-binding-set.c
index 8c280eb..8a8bb1a 100644
--- a/contrib/egg/egg-binding-set.c
+++ b/contrib/egg/egg-binding-set.c
@@ -80,6 +80,17 @@ egg_binding_set_connect (EggBindingSet *self,
g_assert (lazy_binding->target_property != NULL);
g_assert (lazy_binding->source_property != NULL);
+#if 0
+ g_print ("Binding %s(%p):%s to %s(%p):%s (flags=%d)\n",
+ g_type_name (G_TYPE_FROM_INSTANCE (self->source)),
+ self->source,
+ lazy_binding->source_property,
+ g_type_name (G_TYPE_FROM_INSTANCE (lazy_binding->target)),
+ lazy_binding->target,
+ lazy_binding->target_property,
+ lazy_binding->binding_flags);
+#endif
+
lazy_binding->binding = g_object_bind_property (self->source,
lazy_binding->source_property,
lazy_binding->target,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]