Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a769352a
Commit
a769352a
authored
Aug 29, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/raop: fallback for g_set_error_literal()
This function was added in GLib 2.18. Make the plugin compatible with older GLib versions.
parent
8a63c279
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
glib_compat.h
src/glib_compat.h
+11
-0
raop_output_plugin.c
src/output/raop_output_plugin.c
+1
-0
No files found.
src/glib_compat.h
View file @
a769352a
...
...
@@ -80,4 +80,15 @@ g_uri_parse_scheme(const char *uri)
#endif
#if !GLIB_CHECK_VERSION(2,18,0)
static
inline
void
g_set_error_literal
(
GError
**
err
,
GQuark
domain
,
gint
code
,
const
gchar
*
message
)
{
g_set_error
(
err
,
domain
,
code
,
"%s"
,
message
);
}
#endif
#endif
src/output/raop_output_plugin.c
View file @
a769352a
...
...
@@ -20,6 +20,7 @@
#include "output_api.h"
#include "mixer_list.h"
#include "raop_output_plugin.h"
#include "glib_compat.h"
#include <glib.h>
#include <unistd.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment