summaryrefslogtreecommitdiff
path: root/src/libaccountsservice/act-user.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-08-16 15:00:42 -0400
committerRay Strode <rstrode@redhat.com>2012-08-16 15:01:01 -0400
commit7a9946e7586c3a1c3077e05bc113bf32d59ddca9 (patch)
tree56fe3c19fc7a66db1bb99911720d0f90974d7133 /src/libaccountsservice/act-user.c
parent93529ed67a1b64ab6fbc0dd646904d7063844144 (diff)
lib: drop act_user_set_property
All the properties are read-only. This fixes a compiler warning.
Diffstat (limited to 'src/libaccountsservice/act-user.c')
-rw-r--r--src/libaccountsservice/act-user.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libaccountsservice/act-user.c b/src/libaccountsservice/act-user.c
index 583bf28..8dc6892 100644
--- a/src/libaccountsservice/act-user.c
+++ b/src/libaccountsservice/act-user.c
@@ -172,23 +172,6 @@ act_user_get_num_sessions (ActUser *user)
}
static void
-act_user_set_property (GObject *object,
- guint param_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- ActUser *user;
-
- user = ACT_USER (object);
-
- switch (param_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- }
-}
-
-static void
act_user_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -271,7 +254,6 @@ act_user_class_init (ActUserClass *class)
gobject_class = G_OBJECT_CLASS (class);
gobject_class->finalize = act_user_finalize;
- gobject_class->set_property = act_user_set_property;
gobject_class->get_property = act_user_get_property;
g_object_class_install_property (gobject_class,