From 982004d05052ef6aadd22dd5c4e7dbca85ab324a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 2 Oct 2014 10:05:53 -0400 Subject: go fmt. Precursor to bug report filing. --- imagelist_unix.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'imagelist_unix.go') diff --git a/imagelist_unix.go b/imagelist_unix.go index 246f281..dc6e624 100644 --- a/imagelist_unix.go +++ b/imagelist_unix.go @@ -6,15 +6,15 @@ package ui import ( "fmt" - "unsafe" "image" + "unsafe" ) // #include "gtk_unix.h" import "C" type imagelist struct { - list []*C.GdkPixbuf + list []*C.GdkPixbuf } func newImageList() ImageList { @@ -37,7 +37,7 @@ func (i *imagelist) Append(img *image.RGBA) { } C.cairo_surface_flush(surface) toARGB(img, uintptr(unsafe.Pointer(C.cairo_image_surface_get_data(surface))), - int(C.cairo_image_surface_get_stride(surface)), false) // not NRGBA + int(C.cairo_image_surface_get_stride(surface)), false) // not NRGBA C.cairo_surface_mark_dirty(surface) basepixbuf := C.gdk_pixbuf_get_from_surface(surface, 0, 0, C.gint(img.Rect.Dx()), C.gint(img.Rect.Dy())) if basepixbuf == nil { -- cgit v1.2.3