summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-20 02:07:25 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-20 02:47:56 -0700
commit63bbdebdf2f515193ab9c067eddc1c2add24e0e3 (patch)
treeb24fcbd92bc8c681892d803d9d62f57afd0879d8 /src/voicecall.c
parentaddd756348ee6271da8198f4eec955954e149a34 (diff)
downloadofono-63bbdebdf2f515193ab9c067eddc1c2add24e0e3.tar.bz2
Constify GDBus method tables
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 104b6006..73b84b9c 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -667,7 +667,7 @@ static DBusMessage *voicecall_answer(DBusConnection *conn,
return NULL;
}
-static GDBusMethodTable voicecall_methods[] = {
+static const GDBusMethodTable voicecall_methods[] = {
{ "GetProperties", "", "a{sv}", voicecall_get_properties },
{ "Deflect", "s", "", voicecall_deflect,
G_DBUS_METHOD_FLAG_ASYNC },
@@ -2117,7 +2117,7 @@ static DBusMessage *manager_get_calls(DBusConnection *conn,
return reply;
}
-static GDBusMethodTable manager_methods[] = {
+static const GDBusMethodTable manager_methods[] = {
{ "GetProperties", "", "a{sv}", manager_get_properties },
{ "Dial", "ss", "o", manager_dial,
G_DBUS_METHOD_FLAG_ASYNC },