Improve doc comment for GlobalConfig
This commit is contained in:
parent
4b29820452
commit
81bd635b09
@ -229,8 +229,9 @@ func ApplicationConfig (app ApplicationDescription) (config.ConfigCloser, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
var currentGlobalConfig config.Config
|
var currentGlobalConfig config.Config
|
||||||
// GlobalConfig returns the global config. This is managed by Nasin and must not
|
// GlobalConfig returns the global config. It contains options that apply to
|
||||||
// be closed by the application.
|
// Tomo/Nasin itself, such as the style sheet and the icon set. This is managed
|
||||||
|
// by Nasin and must not be closed by the application.
|
||||||
func GlobalConfig () config.Config {
|
func GlobalConfig () config.Config {
|
||||||
return currentGlobalConfig
|
return currentGlobalConfig
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user