libmappergps_la_SOURCES+=gps-bluetooth-bluez.c gps-bluetooth-bluez-marshal.c
endif
+libmappergps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
+libmappergps_la_LIBADD = $(GLIBGTK_LIBS)
+libmappergps_la_LDFLAGS = -lm -no-undefined
+
if HAVE_HILDON_DBUS_BT
libmappergps_la_SOURCES+=gps-bluetooth-maemo.c gps-bluetooth-maemo-marshal.c
+libmappergps_la_CFLAGS+= $(HILDON_CFLAGS) $(HILDONFM_CFLAGS) $(HILDON_HELP_CFLAGS) $(LIBGPSBT_CFLAGS)
+libmappergps_la_LIBADD+= $(HILDON_LIBS) $(HILDONFM_LIBS) $(HILDON_HELP_LIBS) $(LIBGPSBT_LIBS)
endif
-libmappergps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(LIBGPSBT_CFLAGS) $(defines)
-libmappergps_la_LIBADD = $(GLIBGTK_LIBS) $(LIBGPSBT_LIBS)
-libmappergps_la_LDFLAGS = -lm -no-undefined
libgtkgps_la_SOURCES = gtkgps.c gtkcompass.c
libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
} else {
/* Unknown error. */
g_printerr("Error: %s\n", error->message);
- gps_disconnect(_gps);
- gps_connect_later(_gps); /* Try again later. */
+ gps_disconnect(gps);
+ gps_connect_later(gps); /* Try again later. */
return;
}
}
- gps_connect_fd(fdpath);
+ gps_connect_file(gps, fdpath);
}
/* else { Looks like the middle of a disconnect. Do nothing. } */
}