Code cleanup
[gregoa/zavai.git] / src / gsm.vala
index 31e6bb700b3b118652c84efa6c22a9c6a08cd619..5d55b61c28391b5aaa24eb9b863ea98e4f075830 100644 (file)
@@ -29,7 +29,7 @@ public class GSM: zavai.Service
 
        public GSM()
        {
-               name = "gsm.gsm";
+               Object(name: "gsm.gsm");
 
                device = zavai.registry.sbus.get_object(
                        "org.freesmartphone.ogpsd", 
@@ -72,10 +72,10 @@ public class GPRS: zavai.Service
 
        public GPRS()
        {
-               name = "gsm.gprs";
+               Object(name: "gsm.gprs");
 
                device = zavai.registry.sbus.get_object(
-                       "org.freesmartphone.ogpsd", 
+                       "org.freesmartphone.ogsmd", 
                        "/org/freesmartphone/GSM/Device",
                        "org.freesmartphone.GSM.PDP");
        }