From 924ee02ff7da55e78e6b3db4bc9b5ce861fa4bd2 Mon Sep 17 00:00:00 2001 From: Henrique Dante de Almeida Date: Sun, 20 May 2012 02:07:26 -0300 Subject: Constify GDBus signal tables Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \; --- src/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/voicecall.c') diff --git a/src/voicecall.c b/src/voicecall.c index 73b84b9c..36a795d2 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -678,7 +678,7 @@ static const GDBusMethodTable voicecall_methods[] = { { } }; -static GDBusSignalTable voicecall_signals[] = { +static const GDBusSignalTable voicecall_signals[] = { { "PropertyChanged", "sv" }, { "DisconnectReason", "s" }, { } @@ -2143,7 +2143,7 @@ static const GDBusMethodTable manager_methods[] = { { } }; -static GDBusSignalTable manager_signals[] = { +static const GDBusSignalTable manager_signals[] = { { "Forwarded", "s" }, { "BarringActive", "s" }, { "PropertyChanged", "sv" }, -- cgit v1.2.3