summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2017-10-23 16:39:44 +0200
committerAlexander Larsson <alexl@redhat.com>2017-10-23 16:56:49 +0200
commit96b04836d81d855999abafdd6a2b7e0cdf0660cc (patch)
treeeb1d46eb497c9db8fb7fa7426b55f4aded529a7b /gtk/gtkimage.h
parent3a8f2ae64f1f9a607c27511a7d6042cc995d14d4 (diff)
downloadgtk+-96b04836d81d855999abafdd6a2b7e0cdf0660cc.tar.gz
Drop all uses of GdkPixbufAnimation in the gtk APIs
These are basically animated gifs, and don't fit well in how modern things animate.
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r--gtk/gtkimage.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h
index 67bbcb387f..de270b1f8e 100644
--- a/gtk/gtkimage.h
+++ b/gtk/gtkimage.h
@@ -51,7 +51,6 @@ typedef struct _GtkImageClass GtkImageClass;
/**
* GtkImageType:
* @GTK_IMAGE_EMPTY: there is no image displayed by the widget
- * @GTK_IMAGE_ANIMATION: the widget contains a #GdkPixbufAnimation
* @GTK_IMAGE_ICON_NAME: the widget contains a named icon.
* This image type was added in GTK+ 2.6
* @GTK_IMAGE_GICON: the widget contains a #GIcon.
@@ -70,7 +69,6 @@ typedef struct _GtkImageClass GtkImageClass;
typedef enum
{
GTK_IMAGE_EMPTY,
- GTK_IMAGE_ANIMATION,
GTK_IMAGE_ICON_NAME,
GTK_IMAGE_GICON,
GTK_IMAGE_SURFACE
@@ -110,8 +108,6 @@ GtkWidget* gtk_image_new_from_resource (const gchar *resource_path);
GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf);
GDK_AVAILABLE_IN_ALL
-GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation);
-GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_image_new_from_icon_name (const gchar *icon_name,
GtkIconSize size);
GDK_AVAILABLE_IN_ALL
@@ -132,9 +128,6 @@ GDK_AVAILABLE_IN_ALL
void gtk_image_set_from_pixbuf (GtkImage *image,
GdkPixbuf *pixbuf);
GDK_AVAILABLE_IN_ALL
-void gtk_image_set_from_animation (GtkImage *image,
- GdkPixbufAnimation *animation);
-GDK_AVAILABLE_IN_ALL
void gtk_image_set_from_icon_name (GtkImage *image,
const gchar *icon_name,
GtkIconSize size);
@@ -156,8 +149,6 @@ GDK_AVAILABLE_IN_3_94
cairo_surface_t *gtk_image_get_surface (GtkImage *image);
GDK_AVAILABLE_IN_ALL
-GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image);
-GDK_AVAILABLE_IN_ALL
void gtk_image_get_icon_name (GtkImage *image,
const gchar **icon_name,
GtkIconSize *size);