Commit 95ab2a72 authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

Allow a -1 icon size.

2002-01-30  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
parent bb974b6b
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
2002-01-30 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
Wed Jan 30 20:29:01 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
......
......@@ -1900,7 +1900,7 @@ gtk_default_render_icon (GtkStyle *style,
g_return_val_if_fail (base_pixbuf != NULL, NULL);
if (!gtk_icon_size_lookup (size, &width, &height))
if (size != (GtkIconSize) -1 && !gtk_icon_size_lookup (size, &width, &height))
{
g_warning (G_STRLOC ": invalid icon size `%d'", size);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment