[gtk+] GtkApplication: document icon path setup
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkApplication: document icon path setup
- Date: Mon, 7 Jul 2014 18:48:05 +0000 (UTC)
commit 4948516100abfbc0af8c8f16086f38c3b4c04715
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Jul 7 14:36:57 2014 -0400
GtkApplication: document icon path setup
https://bugzilla.gnome.org/show_bug.cgi?id=722092
gtk/gtkapplication.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index c79f80e..e77cdc4 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -87,6 +87,12 @@
* It is also possible to provide the menus manually using
* gtk_application_set_app_menu() and gtk_application_set_menubar().
*
+ * #GtkApplication will also automatically setup an icon search path for
+ * the default icon theme by appending "icons" to the resource base
+ * path. This allows your application to easily store its icons as
+ * resources. See gtk_icon_theme_add_resource_path() for more
+ * information.
+ *
* ## A simple application ## {#gtkapplication}
*
* [A simple example](https://git.gnome.org/browse/gtk+/tree/examples/bp/bloatpad.c)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]