From dda8ee3cf4e3e45b6376ad66a161b0380bd4bb34 Mon Sep 17 00:00:00 2001 From: Kai Willadsen Date: Sat, 5 May 2018 05:28:47 +1000 Subject: docs: Fix quark_from_string/to_string confusion --- docs/guide/api/error_handling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.1