Commit 22fd5b57 authored by Emmanuele Bassi's avatar Emmanuele Bassi

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.
parent b685eb17
Pipeline #8486 passed with stage
in 7 minutes and 5 seconds
...@@ -454,9 +454,9 @@ example_app_window_class_init (ExampleAppWindowClass *class) ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment