input_stream: forward-declare the struct
Hide the definition from C code, to prepare the transition to C++.
This commit is contained in:
@@ -242,8 +242,7 @@ lastfm_open_uri(const char *uri, GMutex *mutex, GCond *cond)
|
||||
|
||||
/* last.fm does not send a MIME type, we have to fake it here
|
||||
:-( */
|
||||
g_free(playlist->is->mime);
|
||||
playlist->is->mime = g_strdup("application/xspf+xml");
|
||||
input_stream_override_mime_type(playlist->is, "application/xspf+xml");
|
||||
|
||||
g_mutex_unlock(mutex);
|
||||
|
||||
|
Reference in New Issue
Block a user