Commit 3bd4fcb6 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Fixes required by Vala API work


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent a527264f
......@@ -139,7 +139,7 @@ private class ViewerDPAPRecord : GLib.Object, DMAP.Record, DPAP.Record {
set { _creation_date = value; }
}
public unowned GLib.InputStream read (DPAP.Record record) throws GLib.Error {
public unowned GLib.InputStream read () throws GLib.Error {
GLib.error ("read not implemented");
}
......@@ -182,7 +182,7 @@ private class DPAPViewer {
/* FIXME: fix void * argument, see libdmapsharing TODO: */
DMAP.MdnsBrowserService *FIXME = service;
/* FIXME: fix int cast: should not be requried: */
connection = new DPAP.Connection (FIXME->service_name, FIXME->host, (int) FIXME->port, false, db, factory);
connection = (DMAP.Connection) new DPAP.Connection (FIXME->service_name, FIXME->host, (int) FIXME->port, false, db, factory);
connection.connect (connected_cb);
}
......
......@@ -24,7 +24,7 @@ libdmapsharing-@API_VERSION@-dpap.vapi: libdmapsharing-@API_VERSION@-dpap/libdma
$(VAPIGEN) --pkg=libsoup-2.4 --pkg=glib-2.0 --library libdmapsharing-@API_VERSION@-dpap libdmapsharing-@API_VERSION@-dpap/libdmapsharing-@API_VERSION@.gi
libdmapsharing-@API_VERSION@.vapi: libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
cat libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dpap.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi > libdmapsharing-@API_VERSION@.vapi
cat libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi > libdmapsharing-@API_VERSION@.vapi
rm -f libdmapsharing-@API_VERSION@-daap.vapi libdmapsharing-@API_VERSION@-dacp.vapi libdmapsharing-@API_VERSION@-dmap.vapi libdmapsharing-@API_VERSION@-dpap.vapi
all: libdmapsharing-@API_VERSION@.vapi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment