diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-03-31 10:04:12 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-07-31 22:59:39 +0800 |
commit | 590cedd057220a9647dbaf26204a766fe2a06866 (patch) | |
tree | b89acb209467a9dacf03d70066df37ee1060793a /lib | |
parent | 860eeba788d7556af2cc2b4e9ae1fa0167f2a950 (diff) | |
download | gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.gz gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.bz2 gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.lz gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.xz gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.zst gsoc2013-epiphany-590cedd057220a9647dbaf26204a766fe2a06866.zip |
ephy-sqlite-statement: remove get_property
All the properties are write-construct-only.
https://bugzilla.gnome.org/show_bug.cgi?id=671595
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-sqlite-statement.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/ephy-sqlite-statement.c b/lib/ephy-sqlite-statement.c index 6ff2454d9..fb0ffd2a4 100644 --- a/lib/ephy-sqlite-statement.c +++ b/lib/ephy-sqlite-statement.c @@ -57,24 +57,6 @@ ephy_sqlite_statement_set_property (GObject *object, guint property_id, const GV } static void -ephy_sqlite_statement_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) -{ - EphySQLiteStatement *self = EPHY_SQLITE_STATEMENT (object); - - switch (property_id) { - case PROP_PREPARED_STATEMENT: - g_value_set_pointer (value, self->priv->prepared_statement); - break; - case PROP_CONNECTION: - g_value_set_object (value, self->priv->connection); - break; - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } -} - -static void ephy_sqlite_statement_finalize (GObject *self) { EphySQLiteStatementPrivate *priv = EPHY_SQLITE_STATEMENT (self)->priv; @@ -97,7 +79,6 @@ ephy_sqlite_statement_class_init (EphySQLiteStatementClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); gobject_class->finalize = ephy_sqlite_statement_finalize; - gobject_class->get_property = ephy_sqlite_statement_get_property; gobject_class->set_property = ephy_sqlite_statement_set_property; g_type_class_add_private (gobject_class, sizeof (EphySQLiteStatementPrivate)); |