summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-14 19:43:13 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-15 14:22:17 -0500
commitdbfaa9910705a35d3017f1e8e65a9cf52e2f7d9b (patch)
treea76a5be1cac5ef746c431a00e8b79a93b63f3e10 /gtk/gtkiconhelperprivate.h
parent049cc6aa013601c4e662c38df408f8956b155f0a (diff)
downloadgtk+-dbfaa9910705a35d3017f1e8e65a9cf52e2f7d9b.tar.gz
image: Remove icon-size argument from icon setters
Instead, add a function gtk_image_set_icon_size() for the cases where overriding the icon size is necessary. Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear() no longer unsets the icon size.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 158b4c4edd..42ba490bb6 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -62,12 +62,10 @@ gboolean _gtk_icon_helper_get_is_empty (GtkIconHelper *self);
void _gtk_icon_helper_set_definition (GtkIconHelper *self,
GtkImageDefinition *def);
void _gtk_icon_helper_set_gicon (GtkIconHelper *self,
- GIcon *gicon,
- GtkIconSize icon_size);
+ GIcon *gicon);
void _gtk_icon_helper_set_icon_name (GtkIconHelper *self,
- const gchar *icon_name,
- GtkIconSize icon_size);
+ const gchar *icon_name);
void _gtk_icon_helper_set_surface (GtkIconHelper *self,
cairo_surface_t *surface);
void _gtk_icon_helper_set_texture (GtkIconHelper *self,