docs: try harder to suppress missing link warnings

This commit is contained in:
William Jon McCann 2014-01-21 14:06:39 -05:00
parent 97ca1e7844
commit d641af49cf
2 changed files with 6 additions and 6 deletions

View File

@ -419,7 +419,7 @@ example_app_window_class_init (ExampleAppWindowClass *class)
<para>(<ulink url="https://git.gnome.org/browse/gtk+/tree/examples/application2/exampleappwin.c">full source</ulink>)</para>
</informalexample>
<para>You may have noticed that we used the <literal>_from_resource()</literal> variant
<para>You may have noticed that we used the <literal>_from_resource(<!-- -->)</literal> variant
of the function that sets a template. Now we need to use GLib's resource
functionality to include the ui file in the binary. This is commonly
done by listing all resources in a .gresource.xml file, such as this:
@ -720,7 +720,7 @@ example_app_window_init (ExampleAppWindow *win)
<programlisting><xi:include href="../../../../examples/application6/exampleappprefs.c" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
</informalexample>
<para>Now we revisit the <literal>preferences_activated()</literal> function in our
<para>Now we revisit the <literal>preferences_activated(<!-- -->)</literal> function in our
application class, and make it open a new preference dialog.</para>
<informalexample>

View File

@ -186,9 +186,9 @@ or Linux system with gettext installed, type <literal>info gettext</literal>
to read the documentation.
</para>
<para>
The short checklist on how to use gettext is: call <literal>bindtextdomain()</literal> so
The short checklist on how to use gettext is: call <literal>bindtextdomain(<!-- -->)</literal> so
gettext can find the files containing your translations, call textdomain()
to set the default translation domain, call <literal>bind_textdomain_codeset()</literal> to
to set the default translation domain, call <literal>bind_textdomain_codeset(<!-- -->)</literal> to
request that all translated strings are returned in UTF-8, then call
gettext() to look up each string to be translated in the default domain.
</para>
@ -360,7 +360,7 @@ g_free (text);
</para>
<para>
If you are using gettext() to localize your application, you need to
call bind_textdomain_codeset() to ensure that translated strings are
call <literal>bind_textdomain_codeset(<!-- -->)</literal> to ensure that translated strings are
returned in UTF-8 encoding.
</para>
</answer>
@ -522,7 +522,7 @@ macro ?
<answer>
<para>
The <literal>GTK_TYPE_BLAH</literal> macros are defined as calls to
<literal>gtk_blah_get_type()</literal>, and the <literal>_get_type()</literal> i
<literal>gtk_blah_get_type(<!-- -->)</literal>, and the <literal>_get_type(<!-- -->)</literal> i
functions are declared as %G_GNUC_CONST which allows the compiler to optimize
the call away if it appears that the value is not being used.
</para>