[libgdata/wip/rishi/drive: 1/4] core: Read-only properties are not going to be set via the public API



commit 21612c472f4f56666d7620f84ea969370ff7362e
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jun 10 13:52:39 2015 +0200

    core: Read-only properties are not going to be set via the public API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684920

 gdata/gdata-access-rule.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gdata/gdata-access-rule.c b/gdata/gdata-access-rule.c
index 25b5f23..2fc16fc 100644
--- a/gdata/gdata-access-rule.c
+++ b/gdata/gdata-access-rule.c
@@ -350,11 +350,6 @@ gdata_access_rule_set_property (GObject *object, guint property_id, const GValue
                case PROP_ETAG:
                        /* Never set an ETag (note that this doesn't stop it being set in GDataEntry due to 
XML parsing) */
                        break;
-               case PROP_KEY:
-                       g_free (self->priv->key);
-                       self->priv->key = g_value_dup_string (value);
-                       g_object_notify (object, "key");
-                       break;
                default:
                        /* We don't have any other property... */
                        G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);


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