Warning fixes.
This commit is contained in:
parent
099d2ec800
commit
6b0ec1bccc
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ preview_file_selection_intelligent_scale (GdkPixbuf *buf, guint scale)
|
||||||
{
|
{
|
||||||
GdkPixbuf *scaled;
|
GdkPixbuf *scaled;
|
||||||
int w, h;
|
int w, h;
|
||||||
int ow = gdk_pixbuf_get_width (buf);
|
guint ow = gdk_pixbuf_get_width (buf);
|
||||||
int oh = gdk_pixbuf_get_height (buf);
|
guint oh = gdk_pixbuf_get_height (buf);
|
||||||
|
|
||||||
if (ow <= scale && oh <= scale)
|
if (ow <= scale && oh <= scale)
|
||||||
scaled = gdk_pixbuf_ref (buf);
|
scaled = gdk_pixbuf_ref (buf);
|
||||||
|
|
Loading…
Add table
Reference in a new issue