[gtk+] docs: You can't modify textures



commit 8d849458ac2c379d01dab7bc144b2f1849ba8ac3
Author: Benjamin Otte <otte redhat com>
Date:   Sat Nov 4 20:40:17 2017 +0100

    docs: You can't modify textures
    
    So there's no need to tell people they must not do that.

 gtk/gtkicontheme.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index d6e4b1f..f738579 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4008,9 +4008,8 @@ gtk_icon_info_load_icon (GtkIconInfo *icon_info,
  * with GSK.
  *
  * Returns: (transfer full): the icon texture; this may be a newly
- *     created texture or a new reference to an exiting texture, so you must
- *     not modify the icon. Use g_object_unref() to release your
- *     reference.
+ *     created texture or a new reference to an exiting texture. Use
+ *     g_object_unref() to release your reference.
  *
  * Since: 3.94
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]