[pygobject: 3/4] docs: Fix quark_from_string/to_string confusion



commit dda8ee3cf4e3e45b6376ad66a161b0380bd4bb34
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat May 5 05:28:47 2018 +1000

    docs: Fix quark_from_string/to_string confusion

 docs/guide/api/error_handling.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]