From 188c8a7666ed2b81e5814c1fd41c47eb55cd0bf5 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Fri, 20 May 2022 19:24:50 +0200 Subject: [PATCH] doc: Fix missing function parameter in example --- README.adoc | 2 +- doc/config.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 68610bb..69dbf9a 100644 --- a/README.adoc +++ b/README.adoc @@ -48,7 +48,7 @@ local pulseaudio = require("lua_libpulse_glib") local ppretty = require("pl.pretty") local pa = pulseaudio.new() -local ctx = pa:context() +local ctx = pa:context("My Test App") local loop = lgi.GLib.MainLoop.new() diff --git a/doc/config.ld b/doc/config.ld index 028a5d3..cdfeb49 100644 --- a/doc/config.ld +++ b/doc/config.ld @@ -20,7 +20,7 @@ indices will be off by one. local ppretty = require("pl.pretty") local pa = pulseaudio.new() - local ctx = pa:context() + local ctx = pa:context("My Test App") local loop = lgi.GLib.MainLoop.new()