summaryrefslogtreecommitdiff
path: root/lib/ephy-sqlite-statement.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-03-30 21:04:12 -0500
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-07-31 16:59:39 +0200
commit590cedd057220a9647dbaf26204a766fe2a06866 (patch)
treeb89acb209467a9dacf03d70066df37ee1060793a /lib/ephy-sqlite-statement.c
parent860eeba788d7556af2cc2b4e9ae1fa0167f2a950 (diff)
downloadepiphany-590cedd057220a9647dbaf26204a766fe2a06866.tar.gz
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/ephy-sqlite-statement.c')
-rw-r--r--lib/ephy-sqlite-statement.c19
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));