diff options
Diffstat (limited to 'src/lib/elocation')
-rw-r--r-- | src/lib/elocation/elocation.c | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c index 0edf925480..cb0431c1ab 100644 --- a/src/lib/elocation/elocation.c +++ b/src/lib/elocation/elocation.c | |||
@@ -1253,21 +1253,18 @@ elocation_init(void) | |||
1253 | } | 1253 | } |
1254 | 1254 | ||
1255 | /* Create all ecore event types we send out to interested applications */ | 1255 | /* Create all ecore event types we send out to interested applications */ |
1256 | if (ELOCATION_EVENT_IN == 0) | 1256 | ELOCATION_EVENT_IN = ecore_event_type_new(); |
1257 | { | 1257 | ELOCATION_EVENT_OUT = ecore_event_type_new(); |
1258 | ELOCATION_EVENT_IN = ecore_event_type_new(); | 1258 | ELOCATION_EVENT_STATUS = ecore_event_type_new(); |
1259 | ELOCATION_EVENT_OUT = ecore_event_type_new(); | 1259 | ELOCATION_EVENT_POSITION = ecore_event_type_new(); |
1260 | ELOCATION_EVENT_STATUS = ecore_event_type_new(); | 1260 | ELOCATION_EVENT_ADDRESS = ecore_event_type_new(); |
1261 | ELOCATION_EVENT_POSITION = ecore_event_type_new(); | 1261 | ELOCATION_EVENT_VELOCITY = ecore_event_type_new(); |
1262 | ELOCATION_EVENT_ADDRESS = ecore_event_type_new(); | 1262 | ELOCATION_EVENT_GEOCODE = ecore_event_type_new(); |
1263 | ELOCATION_EVENT_VELOCITY = ecore_event_type_new(); | 1263 | ELOCATION_EVENT_REVERSEGEOCODE = ecore_event_type_new(); |
1264 | ELOCATION_EVENT_GEOCODE = ecore_event_type_new(); | 1264 | ELOCATION_EVENT_NMEA = ecore_event_type_new(); |
1265 | ELOCATION_EVENT_REVERSEGEOCODE = ecore_event_type_new(); | 1265 | ELOCATION_EVENT_SATELLITE = ecore_event_type_new(); |
1266 | ELOCATION_EVENT_NMEA = ecore_event_type_new(); | 1266 | ELOCATION_EVENT_POI = ecore_event_type_new(); |
1267 | ELOCATION_EVENT_SATELLITE = ecore_event_type_new(); | 1267 | ELOCATION_EVENT_META_READY = ecore_event_type_new(); |
1268 | ELOCATION_EVENT_POI = ecore_event_type_new(); | ||
1269 | ELOCATION_EVENT_META_READY = ecore_event_type_new(); | ||
1270 | } | ||
1271 | 1268 | ||
1272 | obj_master= eldbus_object_get(conn, GEOCLUE_DBUS_NAME, GEOCLUE_OBJECT_PATH); | 1269 | obj_master= eldbus_object_get(conn, GEOCLUE_DBUS_NAME, GEOCLUE_OBJECT_PATH); |
1273 | if (!obj_master) | 1270 | if (!obj_master) |