diff options
author | Benjamin Otte <otte@redhat.com> | 2018-07-04 05:12:53 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-07-04 06:15:33 +0200 |
commit | e1b6496af760d4b93a2a17c80816dc1a3348b97c (patch) | |
tree | bf46babf95e719bd19da5fc3a472d9ab52a4303d /gtk/gtkimage.c | |
parent | 14620423e840729e9a084678e465c52885cf4737 (diff) | |
download | gtk+-e1b6496af760d4b93a2a17c80816dc1a3348b97c.tar.gz |
image: size request is always CONSTANT_SIZE
It's always -gtk-icon-size in both directions, even for paintables.
There's no width-for-height happening.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 97df60c4e8..6be66f46da 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -131,15 +131,6 @@ static GParamSpec *image_props[NUM_PROPERTIES] = { NULL, }; G_DEFINE_TYPE_WITH_PRIVATE (GtkImage, gtk_image, GTK_TYPE_WIDGET) -static GtkSizeRequestMode -gtk_image_get_request_mode (GtkWidget *widget) -{ - GtkImage *image = GTK_IMAGE (widget); - GtkImagePrivate *priv = gtk_image_get_instance_private (image); - - return gtk_icon_helper_get_request_mode (priv->icon_helper); -} - static void gtk_image_class_init (GtkImageClass *class) { @@ -154,7 +145,6 @@ gtk_image_class_init (GtkImageClass *class) widget_class = GTK_WIDGET_CLASS (class); widget_class->snapshot = gtk_image_snapshot; - widget_class->get_request_mode = gtk_image_get_request_mode; widget_class->measure = gtk_image_measure; widget_class->unrealize = gtk_image_unrealize; widget_class->style_updated = gtk_image_style_updated; |