summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-08-03 17:50:57 -0400
committerRyan Lortie <desrt@desrt.ca>2010-08-03 17:50:57 -0400
commit9dd9bcfc132980f0056f8bfc31669029d90860d9 (patch)
treec7382e3f8c8bc730d69e6c7a6d278f594c583548 /service
parentded55e4e74c7e318c500eed826eeab4f54cfdff9 (diff)
downloaddconf-9dd9bcfc132980f0056f8bfc31669029d90860d9.tar.gz
set_lock -> set_locked and cleanup gtk-doc
Rename set_lock to set_locked again (and same SetLock -> SetLocked). Add missing gtk-doc bits, clean up some that are no longer there. Bump gtk-doc dependency.
Diffstat (limited to 'service')
-rw-r--r--service/dconf-interfaces.c14
-rw-r--r--service/service.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/service/dconf-interfaces.c b/service/dconf-interfaces.c
index 87ecad1..cac039c 100644
--- a/service/dconf-interfaces.c
+++ b/service/dconf-interfaces.c
@@ -34,8 +34,8 @@ static const GDBusArgInfo *write_out[] = { &tag_arg, NULL };
static const GDBusArgInfo *many_in[] = { &path_arg, &values_arg, NULL };
static const GDBusArgInfo *many_out[] = { &tag_arg, NULL };
static const GDBusArgInfo *notify_args[] = { &path_arg, &names_arg, &tag_arg, NULL };
-static const GDBusArgInfo *setlock_in[] = { &name_arg, &locked_arg, NULL };
-static const GDBusArgInfo *setlock_out[] = { NULL };
+static const GDBusArgInfo *setlocked_in[] = { &name_arg, &locked_arg, NULL };
+static const GDBusArgInfo *setlocked_out[] = { NULL };
static const GDBusMethodInfo write_method = {
-1, (gchar *) "Write",
@@ -49,10 +49,10 @@ static const GDBusMethodInfo writemany_method = {
(GDBusArgInfo **) many_out
};
-static const GDBusMethodInfo setlock_method = {
- -1, (gchar *) "SetLock",
- (GDBusArgInfo **) setlock_in,
- (GDBusArgInfo **) setlock_out
+static const GDBusMethodInfo setlocked_method = {
+ -1, (gchar *) "SetLocked",
+ (GDBusArgInfo **) setlocked_in,
+ (GDBusArgInfo **) setlocked_out
};
static const GDBusSignalInfo notify_signal = {
@@ -65,7 +65,7 @@ static const GDBusPropertyInfo shmdir_property = {
};
static const GDBusMethodInfo *writer_methods[] = {
- &write_method, &writemany_method, &setlock_method, NULL
+ &write_method, &writemany_method, &setlocked_method, NULL
};
static const GDBusSignalInfo *writer_signals[] = {
diff --git a/service/service.c b/service/service.c
index 30512bd..7f351e5 100644
--- a/service/service.c
+++ b/service/service.c
@@ -245,7 +245,7 @@ method_call (GDBusConnection *connection,
g_free (tag);
}
- else if (strcmp (method_name, "SetLock") == 0)
+ else if (strcmp (method_name, "SetLocked") == 0)
{
GError *error = NULL;
const gchar *name;