diff options
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r-- | gtk/gtkimage.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index 52c5d49c61..79fc19191d 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -67,6 +67,10 @@ typedef struct _GtkImageClass GtkImageClass; * call gtk_image_get_pixbuf(). For empty images, you can request any * storage type (call any of the "get" functions), but they will all * return %NULL values. + * + * Note: GTK_IMAGE_PIXBUF is not not supported as storage by GtkImage. Any + * pixbuf set on the GtkImage will be converted to a surface and can only + * be read back as a GTK_IMAGE_SURFACE. */ typedef enum { @@ -154,9 +158,6 @@ void gtk_image_set_pixel_size (GtkImage *image, GDK_AVAILABLE_IN_ALL GtkImageType gtk_image_get_storage_type (GtkImage *image); -GDK_AVAILABLE_IN_ALL -GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image); - GDK_AVAILABLE_IN_3_94 cairo_surface_t *gtk_image_get_surface (GtkImage *image); |