[gtk+] image: Remove mention on gdk-pixbuf-csource
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] image: Remove mention on gdk-pixbuf-csource
- Date: Fri, 6 Oct 2017 12:37:48 +0000 (UTC)
commit 02a526c04a819683b41f011e2702d94e2665ffc3
Author: Timm Bäder <mail baedert org>
Date: Fri Oct 6 10:40:23 2017 +0200
image: Remove mention on gdk-pixbuf-csource
gdk-pixbuf-csource as well as gdk_pixbuf_new_from_inline are deprecated.
Mention GResource instead.
gtk/gtkimage.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 4cce1e6..245d636 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -65,11 +65,9 @@
* display an animation (#GdkPixbufAnimation) instead of a static image.
*
* Sometimes an application will want to avoid depending on external data
- * files, such as image files. GTK+ comes with a program to avoid this,
- * called “gdk-pixbuf-csource”. This library
- * allows you to convert an image into a C variable declaration, which
- * can then be loaded into a #GdkPixbuf using
- * gdk_pixbuf_new_from_inline().
+ * files, such as image files. See the documentation of #GResource for details.
+ * In this case, the #GtkImage:resource, gtk_image_new_from_resource() and
+ * gtk_image_set_from_resource() should be used.
*
* # CSS nodes
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]