summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-06-09 23:36:56 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-10 02:25:28 +0200
commitf58c556adbe8edb7ec27c339c49ca7bd138d36a6 (patch)
tree3538d7e8ca6943484aa6fddcf1a29c836af3611f /gtk/gtkimage.h
parent7690c2d0422b507aeb64ad2f3ec80cf198a5154f (diff)
downloadgtk+-f58c556adbe8edb7ec27c339c49ca7bd138d36a6.tar.gz
image: Remove gtk_image_set_keep_aspect_ratio()
and gtk_image_set_can_shrink(). Images are meant to always be icon-sized, they can never shrink below that. And images are icons, so they are meant to be square. If they are not, we pretned that's by accident and keep aspect ratio.
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r--gtk/gtkimage.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h
index f991e188ee..eb98055655 100644
--- a/gtk/gtkimage.h
+++ b/gtk/gtkimage.h
@@ -140,12 +140,6 @@ void gtk_image_set_pixel_size (GtkImage *image,
GDK_AVAILABLE_IN_ALL
void gtk_image_set_icon_size (GtkImage *image,
GtkIconSize icon_size);
-GDK_AVAILABLE_IN_ALL
-void gtk_image_set_keep_aspect_ratio (GtkImage *image,
- gboolean keep_aspect_ratio);
-GDK_AVAILABLE_IN_ALL
-void gtk_image_set_can_shrink (GtkImage *image,
- gboolean can_shrink);
GDK_AVAILABLE_IN_ALL
GtkImageType gtk_image_get_storage_type (GtkImage *image);
@@ -161,10 +155,6 @@ GDK_AVAILABLE_IN_ALL
gint gtk_image_get_pixel_size (GtkImage *image);
GDK_AVAILABLE_IN_ALL
GtkIconSize gtk_image_get_icon_size (GtkImage *image);
-GDK_AVAILABLE_IN_ALL
-gboolean gtk_image_get_keep_aspect_ratio (GtkImage *image);
-GDK_AVAILABLE_IN_ALL
-gboolean gtk_image_get_can_shrink (GtkImage *image);
G_END_DECLS