summaryrefslogtreecommitdiff
path: root/src/gprs.c
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-20 02:07:26 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-20 02:47:56 -0700
commit924ee02ff7da55e78e6b3db4bc9b5ce861fa4bd2 (patch)
tree13cb120c8909033132151e8b50b778e7a687d56b /src/gprs.c
parent63bbdebdf2f515193ab9c067eddc1c2add24e0e3 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 887422a9..83995f33 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -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" },