Commit a3c1df1a authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

fix a compiler warning.

2006-03-12  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-tab.c: fix a compiler warning.
parent 8123a0dd
2006-03-12 Paolo Borelli <pborelli@katamail.com>
* gedit/gedit-tab.c: fix a compiler warning.
=== gedit 2.14.0 ===
2006-03-12 Paolo Borelli <pborelli@katamail.com>
......
......@@ -1600,10 +1600,11 @@ static GdkPixbuf *
resize_icon (GdkPixbuf *pixbuf,
gint size)
{
guint width, height;
gint width, height;
width = gdk_pixbuf_get_width (pixbuf);
height = gdk_pixbuf_get_height (pixbuf);
/* if the icon is larger than the nominal size, scale down */
if (MAX (width, height) > size)
{
......
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