From 63bbdebdf2f515193ab9c067eddc1c2add24e0e3 Mon Sep 17 00:00:00 2001 From: Henrique Dante de Almeida Date: Sun, 20 May 2012 02:07:25 -0300 Subject: Constify GDBus method tables Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \; --- src/call-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/call-settings.c') diff --git a/src/call-settings.c b/src/call-settings.c index 94e606cd..9d4ff7b1 100644 --- a/src/call-settings.c +++ b/src/call-settings.c @@ -1330,7 +1330,7 @@ static DBusMessage *cs_set_property(DBusConnection *conn, DBusMessage *msg, return __ofono_error_invalid_args(msg); } -static GDBusMethodTable cs_methods[] = { +static const GDBusMethodTable cs_methods[] = { { "GetProperties", "", "a{sv}", cs_get_properties, G_DBUS_METHOD_FLAG_ASYNC }, { "SetProperty", "sv", "", cs_set_property, -- cgit v1.2.3