mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add support for glib12
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@150 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
669452e4e5
commit
5e8bb1410e
6 changed files with 551 additions and 10 deletions
|
|
@ -37,7 +37,12 @@ PA_C_DECL_BEGIN
|
|||
struct pa_glib_mainloop;
|
||||
|
||||
/** Create a new GLIB main loop object for the specified GLIB main loop context. If c is NULL the default context is used. */
|
||||
#if GLIB_MAJOR_VERSION >= 2
|
||||
struct pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c);
|
||||
#else
|
||||
struct pa_glib_mainloop *pa_glib_mainloop_new(void);
|
||||
#endif
|
||||
|
||||
|
||||
/** Free the GLIB main loop object */
|
||||
void pa_glib_mainloop_free(struct pa_glib_mainloop* g);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue