From dc15978ac8f89209eb62cd015540f37107a95b77 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 30 Nov 2017 17:32:05 -0500 Subject: [PATCH] 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 8bf3eb19cd..ffbd17bcae 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: * |[ @@ -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 5cab98ba77..332be4ee23 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 **/