diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-30 00:08:41 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-30 00:08:41 +0000 |
commit | 6488296fc00b72f4028ebf631366cda1d2b8db6a (patch) | |
tree | d30966de1d1a4d00ff5045d43409d5a406fcc93d /gtk/gtkimage.c | |
parent | 708b3f408d6279924faa5c8afae8c587e122eb58 (diff) | |
download | gtk+-6488296fc00b72f4028ebf631366cda1d2b8db6a.tar.gz |
Document that a size of (GtkIconSize)-1 means don't scale.
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that
a size of (GtkIconSize)-1 means don't scale.
* gtk/gtkstyle.c (gtk_default_render_icon): Obey the
-1 convention.
* gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
gtk_style_render_icon() to make sure that we catch it
obviously if the style's render function tries to
scale.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index fc72560745..280a8d7720 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -1400,7 +1400,7 @@ gtk_image_expose (GtkWidget *widget, gtk_widget_get_direction (widget), GTK_WIDGET_STATE (widget), /* arbitrary */ - GTK_ICON_SIZE_SMALL_TOOLBAR, + (GtkIconSize)-1, widget, "gtk-image"); |