[glade/gbinding: 4/60] Fix glade_binding_get_source() accidently returning the binding source property



commit a8cba0fcb0709e7778f4e012fe74e33da3d93f9b
Author: Denis Washington <denisw src gnome org>
Date:   Sat Jun 4 21:23:40 2011 +0200

    Fix glade_binding_get_source() accidently returning the binding source property

 gladeui/glade-binding.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-binding.c b/gladeui/glade-binding.c
index 97e9f08..4334000 100644
--- a/gladeui/glade-binding.c
+++ b/gladeui/glade-binding.c
@@ -216,7 +216,7 @@ GladeProperty *
 glade_binding_get_source (GladeBinding *binding)
 {
   g_return_val_if_fail (GLADE_IS_BINDING (binding), NULL);
-  return GLADE_BINDING_GET_PRIVATE (binding)->target;
+  return GLADE_BINDING_GET_PRIVATE (binding)->source;
 }
 
 /**



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