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/gprs.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/gprs.c')
-rw-r--r-- | src/gprs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1289,7 +1289,7 @@ static const GDBusMethodTable context_methods[] = { { } }; -static GDBusSignalTable context_signals[] = { +static const GDBusSignalTable context_signals[] = { { "PropertyChanged", "sv" }, { } }; @@ -2075,7 +2075,7 @@ static const GDBusMethodTable manager_methods[] = { { } }; -static GDBusSignalTable manager_signals[] = { +static const GDBusSignalTable manager_signals[] = { { "PropertyChanged", "sv" }, { "ContextAdded", "oa{sv}" }, { "ContextRemoved", "o" }, |