update to new C roles and directives
diff --git a/Doc/faq/gui.rst b/Doc/faq/gui.rst
index d37f480..50a30b0 100644
--- a/Doc/faq/gui.rst
+++ b/Doc/faq/gui.rst
@@ -117,7 +117,7 @@
(http://tix.sourceforge.net/).
Build Tix with SAM enabled, perform the appropriate call to
-:cfunc:`Tclsam_init`, etc. inside Python's
+:c:func:`Tclsam_init`, etc. inside Python's
:file:`Modules/tkappinit.c`, and link with libtclsam and libtksam (you
might include the Tix libraries as well).
@@ -126,7 +126,7 @@
---------------------------------------------------
Yes, and you don't even need threads! But you'll have to restructure your I/O
-code a bit. Tk has the equivalent of Xt's :cfunc:`XtAddInput()` call, which allows you
+code a bit. Tk has the equivalent of Xt's :c:func:`XtAddInput()` call, which allows you
to register a callback function which will be called from the Tk mainloop when
I/O is possible on a file descriptor. Here's what you need::