summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-18 23:47:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-18 23:47:48 -0400
commit917aa7928d1f3190a8976b852c6d0da593fb0066 (patch)
treebf43132d41249d3791a689f965cc148a833fc771
parentf658027c51a99dfb99b0a2bbe3dbfa8cd6ed0900 (diff)
downloadgtk+-917aa7928d1f3190a8976b852c6d0da593fb0066.tar.gz
docs: Clarify a point in GtkApplication docs
Clarify that loading of automatic resources uses the resource base path that was set at construction time. Fixes: #4300
-rw-r--r--gtk/gtkapplication.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index d48e49d13a..7f3121c1b1 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -73,6 +73,10 @@
* and accessed via [method@Gtk.Application.get_menu_by_id] which allows for
* dynamic population of a part of the menu structure.
*
+ * Note that automatic resource loading uses the resource base path
+ * that is set at construction time and will not work if the resource
+ * base path is changed at a later time.
+ *
* It is also possible to provide the menubar manually using
* [method@Gtk.Application.set_menubar].
*