[glade/gbinding] Use the getter functions in glade_binding_get_property()
- From: Denis Washington <denisw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/gbinding] Use the getter functions in glade_binding_get_property()
- Date: Tue, 7 Jun 2011 18:57:36 +0000 (UTC)
commit bfae9b59c149e60afae903a262e99d2dec2d1c90
Author: Denis Washington <denisw src gnome org>
Date: Tue Jun 7 19:52:55 2011 +0200
Use the getter functions in glade_binding_get_property()
gladeui/glade-binding.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gladeui/glade-binding.c b/gladeui/glade-binding.c
index 4334000..c48c973 100644
--- a/gladeui/glade-binding.c
+++ b/gladeui/glade-binding.c
@@ -96,15 +96,15 @@ glade_binding_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- GladeBindingPrivate *priv = GLADE_BINDING_GET_PRIVATE (object);
+ GladeBinding *binding = GLADE_BINDING (object);
switch (prop_id)
{
case PROP_SOURCE:
- g_value_set_object (value, priv->source);
+ g_value_set_object (value, glade_binding_get_source (binding));
break;
case PROP_TARGET:
- g_value_set_object (value, priv->target);
+ g_value_set_object (value, glade_binding_get_target (binding));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]