diff options
author | Benjamin Otte <otte@redhat.com> | 2015-12-01 04:44:29 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-12-02 00:29:30 +0100 |
commit | 4a42aa5229e0ba80cf4673c67575ef57d60ae6c5 (patch) | |
tree | 07105523d8a985130f75681fd0922ebe412cb27f /gtk/gtkimagedefinitionprivate.h | |
parent | e99eba4415d138f8eadcb9858b3196e6e5aecc75 (diff) | |
download | gtk+-4a42aa5229e0ba80cf4673c67575ef57d60ae6c5.tar.gz |
imagedefinition: Remove icon-size
The size of icons is a property that is relevant to who is rendering the
icon, not to the icon itself.
Example: Starting a DND operation from an entry icon should cause the
icon to resize (from the entr icon's size to the DND icon size).
Diffstat (limited to 'gtk/gtkimagedefinitionprivate.h')
-rw-r--r-- | gtk/gtkimagedefinitionprivate.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gtk/gtkimagedefinitionprivate.h b/gtk/gtkimagedefinitionprivate.h index 63a580dfff..b9111ad37f 100644 --- a/gtk/gtkimagedefinitionprivate.h +++ b/gtk/gtkimagedefinitionprivate.h @@ -28,23 +28,18 @@ typedef union _GtkImageDefinition GtkImageDefinition; GtkImageDefinition * gtk_image_definition_new_empty (void); GtkImageDefinition * gtk_image_definition_new_pixbuf (GdkPixbuf *pixbuf, int scale); -GtkImageDefinition * gtk_image_definition_new_stock (const char *stock_id, - GtkIconSize icon_size); -GtkImageDefinition * gtk_image_definition_new_icon_set (GtkIconSet *icon_set, - GtkIconSize icon_size); +GtkImageDefinition * gtk_image_definition_new_stock (const char *stock_id); +GtkImageDefinition * gtk_image_definition_new_icon_set (GtkIconSet *icon_set); GtkImageDefinition * gtk_image_definition_new_animation (GdkPixbufAnimation *animation, int scale); -GtkImageDefinition * gtk_image_definition_new_icon_name (const char *icon_name, - GtkIconSize icon_size); -GtkImageDefinition * gtk_image_definition_new_gicon (GIcon *gicon, - GtkIconSize icon_size); +GtkImageDefinition * gtk_image_definition_new_icon_name (const char *icon_name); +GtkImageDefinition * gtk_image_definition_new_gicon (GIcon *gicon); GtkImageDefinition * gtk_image_definition_new_surface (cairo_surface_t *surface); GtkImageDefinition * gtk_image_definition_ref (GtkImageDefinition *def); void gtk_image_definition_unref (GtkImageDefinition *def); gboolean gtk_image_definition_get_storage_type (const GtkImageDefinition *def); -GtkIconSize gtk_image_definition_get_icon_size (const GtkImageDefinition *def); gint gtk_image_definition_get_scale (const GtkImageDefinition *def); GdkPixbuf * gtk_image_definition_get_pixbuf (const GtkImageDefinition *def); const gchar * gtk_image_definition_get_stock (const GtkImageDefinition *def); |