summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKai Willadsen <kai.willadsen@gmail.com>2018-05-05 05:28:47 +1000
committerKai Willadsen <kai.willadsen@gmail.com>2018-05-05 05:28:47 +1000
commitdda8ee3cf4e3e45b6376ad66a161b0380bd4bb34 (patch)
tree27f17f0f5a157160f220ee412d34c2607506bf14 /docs
parentbe57e6c4bfe6fd1a54050b76721d967495e30e7e (diff)
downloadpygobject-dda8ee3cf4e3e45b6376ad66a161b0380bd4bb34.tar.gz
docs: Fix quark_from_string/to_string confusion
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/api/error_handling.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide/api/error_handling.rst b/docs/guide/api/error_handling.rst
index fc873ce8..e392cca2 100644
--- a/docs/guide/api/error_handling.rst
+++ b/docs/guide/api/error_handling.rst
@@ -15,7 +15,7 @@ subclassing for different error types. Instead, every :obj:`GLib.Error`
instance has attributes that distinguish types of error:
* :attr:`GLib.Error.domain` is the error domain, usually a string that you can
- convert to a ``GLib`` quark with :func:`GLib.quark_to_string`
+ convert to a ``GLib`` quark with :func:`GLib.quark_from_string`
* :attr:`GLib.Error.code` identifies a specific error within the domain
* :attr:`GLib.Error.message` is a human-readable description of the error