[gtk+] Avoid GdkPixbuf in docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Avoid GdkPixbuf in docs
- Date: Thu, 30 Nov 2017 22:32:48 +0000 (UTC)
commit dc15978ac8f89209eb62cd015540f37107a95b77
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 30 17:32:05 2017 -0500
Avoid GdkPixbuf in docs
GdkTexture is preferred now.
gtk/gtkliststore.c | 6 +++---
gtk/gtktreestore.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 8bf3eb1..ffbd17b 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -51,7 +51,7 @@
* value. As a result, if the object is modified, it is up to the
* application writer to call gtk_tree_model_row_changed() to emit the
* #GtkTreeModel::row_changed signal. This most commonly affects lists with
- * #GdkPixbufs stored.
+ * #GdkTextures stored.
*
* An example for creating a simple list store:
* |[<!-- language="C" -->
@@ -406,8 +406,8 @@ iter_is_valid (GtkTreeIter *iter,
* are supported.
*
* As an example, `gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING,
- * GDK_TYPE_PIXBUF);` will create a new #GtkListStore with three columns, of type
- * int, string and #GdkPixbuf respectively.
+ * GDK_TYPE_TEXTURE);` will create a new #GtkListStore with three columns, of type
+ * int, string and #GdkTexture, respectively.
*
* Returns: a new #GtkListStore
*/
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index 5cab98b..332be4e 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -309,8 +309,8 @@ gtk_tree_store_init (GtkTreeStore *tree_store)
* are supported.
*
* As an example, `gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
- * GDK_TYPE_PIXBUF);` will create a new #GtkTreeStore with three columns, of type
- * #gint, #gchararray, and #GdkPixbuf respectively.
+ * GDK_TYPE_TEXTURE);` will create a new #GtkTreeStore with three columns, of type
+ * #gint, #gchararray, and #GdkTexture respectively.
*
* Returns: a new #GtkTreeStore
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]