From 0ea8395c039e2e011c2628de95bbf334b7251b6b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 3 Apr 2018 14:14:37 +0200 Subject: image: Actually report a request mode This makes height-for-width actually work for GtkImage. I'm kinda ashamed I didn't notice it not working before. --- gtk/gtkiconhelperprivate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtkiconhelperprivate.h') diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h index b2d7b819e9..9d770d5902 100644 --- a/gtk/gtkiconhelperprivate.h +++ b/gtk/gtkiconhelperprivate.h @@ -64,6 +64,7 @@ GdkPaintable *_gtk_icon_helper_peek_paintable (GtkIconHelper *self); GtkImageDefinition *gtk_icon_helper_get_definition (GtkIconHelper *self); const gchar *_gtk_icon_helper_get_icon_name (GtkIconHelper *self); +GtkSizeRequestMode gtk_icon_helper_get_request_mode (GtkIconHelper *self); void gtk_icon_helper_measure (GtkIconHelper *self, GtkOrientation orientation, int for_size, -- cgit v1.2.1