Cast size to int
This commit is contained in:
parent
4ae80802ce
commit
d06cb74d25
@ -1,4 +1,4 @@
|
||||
AC_INIT([Sugar],[0.27],[],[sugar])
|
||||
AC_INIT([Sugar],[0.28],[],[sugar])
|
||||
|
||||
AC_PREREQ([2.59])
|
||||
|
||||
|
@ -124,7 +124,7 @@ class IconView(goocanvas.ItemViewSimple, goocanvas.ItemView):
|
||||
self._buffer = None
|
||||
|
||||
if self._buffer == None:
|
||||
size = _ICON_SIZE * scale
|
||||
size = int(_ICON_SIZE * scale)
|
||||
surface = cr.get_target().create_similar(
|
||||
cairo.CONTENT_COLOR_ALPHA, size, size)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user