diff --git a/doc/tutorial3.c b/doc/tutorial3.c index c2ceec9d8..17c0ee445 100644 --- a/doc/tutorial3.c +++ b/doc/tutorial3.c @@ -30,8 +30,7 @@ static void roundtrip(struct pw_core *core, struct pw_main_loop *loop) struct roundtrip_data d = { .loop = loop }; struct spa_hook core_listener; - pw_core_add_listener(core, &core_listener, - &core_events, &d); + pw_core_add_listener(core, &core_listener, &core_events, &d); d.pending = pw_core_sync(core, PW_ID_CORE, 0); diff --git a/doc/tutorial3.dox b/doc/tutorial3.dox index 159c2d059..c1aa0ddd6 100644 --- a/doc/tutorial3.dox +++ b/doc/tutorial3.dox @@ -17,8 +17,7 @@ Let's take a look at what this method does. \code{.c} struct spa_hook core_listener; - pw_core_add_listener(core, &core_listener, - &core_events, &d); + pw_core_add_listener(core, &core_listener, &core_events, &d); \endcode First of all we add a listener for the events of the core