docs: Link to GResource

Since we're referring to GLib's functionality, might as well save some
time to the reader, and link to the GResource API reference page.
This commit is contained in:
Emmanuele Bassi
2018-04-09 20:10:47 +01:00
parent b685eb1779
commit 22fd5b5766

View File

@ -454,9 +454,9 @@ example_app_window_class_init (ExampleAppWindowClass *class)
</informalexample> </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 of the function that sets a template. Now we need to use <ulink url="https://developer.gnome.org/gio/stable/GResource.html">GLib's resource functionality</ulink>
functionality to include the ui file in the binary. This is commonly to include the ui file in the binary. This is commonly done by listing
done by listing all resources in a .gresource.xml file, such as this: all resources in a .gresource.xml file, such as this:
</para> </para>
<informalexample> <informalexample>