[gtk/ebassi/gidocgen] image: There is no "pixbuf" property



commit f5e4ff2a47d44f181a9a3865d7ab4a2e91df95fb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Feb 25 12:16:26 2021 +0000

    image: There is no "pixbuf" property
    
    The set_from_pixbuf() method sets the "paintable" property.

 gtk/gtkimage.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index bd2bd846a7..4b22dfb3a0 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -821,11 +821,11 @@ gtk_image_set_from_resource (GtkImage    *image,
 
 
 /**
- * gtk_image_set_from_pixbuf: (attributes org.gtk.Method.set_property=pixbuf)
+ * gtk_image_set_from_pixbuf: (attributes org.gtk.Method.set_property=paintable)
  * @image: a `GtkImage`
- * @pixbuf: (allow-none): a `GdkPixbuf` or %NULL
+ * @pixbuf: (allow-none): a `GdkPixbuf` or `NULL`
  *
- * Sets a `GtkImage` to show a `GdkPixbuf.
+ * Sets a `GtkImage` to show a `GdkPixbuf`.
  *
  * See [ctor@Gtk.Image.new_from_pixbuf] for details.
  *


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