Constify GDBus signal tables
authorHenrique Dante de Almeida <hdante@profusion.mobi>
Fri, 18 May 2012 20:30:03 +0000 (17:30 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 May 2012 22:02:37 +0000 (15:02 -0700)
plugins/nmcompat.c
src/clock.c
src/manager.c
src/service.c
src/technology.c

index 7037648..6299c34 100644 (file)
@@ -225,7 +225,7 @@ static const GDBusMethodTable methods[] = {
        { },
 };
 
-static GDBusSignalTable signals[] = {
+static const GDBusSignalTable signals[] = {
        { "PropertiesChanged",  "a{sv}" },
        { "StateChanged",       "u"     },
        { },
index 8f8aa61..41e431f 100644 (file)
@@ -314,7 +314,7 @@ static const GDBusMethodTable clock_methods[] = {
        { },
 };
 
-static GDBusSignalTable clock_signals[] = {
+static const GDBusSignalTable clock_signals[] = {
        { "PropertyChanged", "sv" },
        { },
 };
index dc3702d..b448185 100644 (file)
@@ -416,7 +416,7 @@ static const GDBusMethodTable manager_methods[] = {
        { },
 };
 
-static GDBusSignalTable manager_signals[] = {
+static const GDBusSignalTable manager_signals[] = {
        { "PropertyChanged", "sv" },
        { "TechnologyAdded", "oa{sv}" },
        { "TechnologyRemoved", "o" },
index 8f61b3d..595a377 100644 (file)
@@ -3826,7 +3826,7 @@ static const GDBusMethodTable service_methods[] = {
        { },
 };
 
-static GDBusSignalTable service_signals[] = {
+static const GDBusSignalTable service_signals[] = {
        { "PropertyChanged", "sv" },
        { },
 };
index 5b1de9e..30a9f4d 100644 (file)
@@ -867,7 +867,7 @@ static const GDBusMethodTable technology_methods[] = {
        { },
 };
 
-static GDBusSignalTable technology_signals[] = {
+static const GDBusSignalTable technology_signals[] = {
        { "PropertyChanged", "sv" },
        { },
 };