Changed deprecated gdk_pixbuf_unref() call to g_object_unref() in GTK+ ImageList.

This commit is contained in:
Pietro Gagliardi 2014-10-11 17:35:01 -04:00
parent ba3efd31d2
commit 99101c0264
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (i *imagelist) Append(img *image.RGBA) {
}
i.list = append(i.list, pixbuf)
C.gdk_pixbuf_unref(basepixbuf)
C.g_object_unref(C.gpointer(unsafe.Pointer(basepixbuf)))
C.cairo_surface_destroy(surface)
}