diff options
author | Henrique Dante de Almeida <hdante@profusion.mobi> | 2012-05-20 02:07:26 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:56 -0700 |
commit | 924ee02ff7da55e78e6b3db4bc9b5ce861fa4bd2 (patch) | |
tree | 13cb120c8909033132151e8b50b778e7a687d56b /src/network.c | |
parent | 63bbdebdf2f515193ab9c067eddc1c2add24e0e3 (diff) |
Constify GDBus signal tables
Constify signal tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.c b/src/network.c index 68749bae..7d28762e 100644 --- a/src/network.c +++ b/src/network.c @@ -630,7 +630,7 @@ static const GDBusMethodTable network_operator_methods[] = { { } }; -static GDBusSignalTable network_operator_signals[] = { +static const GDBusSignalTable network_operator_signals[] = { { "PropertyChanged", "sv" }, { } }; @@ -1030,7 +1030,7 @@ static const GDBusMethodTable network_registration_methods[] = { { } }; -static GDBusSignalTable network_registration_signals[] = { +static const GDBusSignalTable network_registration_signals[] = { { "PropertyChanged", "sv" }, { } }; |