doc: Fix missing function parameter in example
This commit is contained in:
parent
5634e205a2
commit
188c8a7666
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ local pulseaudio = require("lua_libpulse_glib")
|
||||||
local ppretty = require("pl.pretty")
|
local ppretty = require("pl.pretty")
|
||||||
|
|
||||||
local pa = pulseaudio.new()
|
local pa = pulseaudio.new()
|
||||||
local ctx = pa:context()
|
local ctx = pa:context("My Test App")
|
||||||
|
|
||||||
local loop = lgi.GLib.MainLoop.new()
|
local loop = lgi.GLib.MainLoop.new()
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ indices will be off by one.
|
||||||
local ppretty = require("pl.pretty")
|
local ppretty = require("pl.pretty")
|
||||||
|
|
||||||
local pa = pulseaudio.new()
|
local pa = pulseaudio.new()
|
||||||
local ctx = pa:context()
|
local ctx = pa:context("My Test App")
|
||||||
|
|
||||||
local loop = lgi.GLib.MainLoop.new()
|
local loop = lgi.GLib.MainLoop.new()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue