Ticket #1127 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

PixbufData instance for MArray missing a method

Reported by: guest Owned by: axel
Priority: normal Milestone:
Component: general (Gtk+, Glib) Version: 0.9.12
Keywords: Cc:

Description

gtk/Graphics/UI/Gtk/Gdk/PixbufData.hs.pp:58:0: No instance nor default method for class operation Data.Array.Base.getNumElements

seems straightforward.

Change History

Changed 6 years ago by axel

  • owner changed from somebody to axel

The file Graphics/UI/Gtk/Gdk/PixbufData.hs.pp contains:

#if __GLASGOW_HASKELL__ >= 608
  {-# INLINE getNumElements #-}
  getNumElements (PixbufData _ _ _ count) = return count
#endif

If this member was added to MArray prior to GHC 6.8 then we need to change the test. What version of GHC were you using?

Changed 6 years ago by AndreKuehne

I get the same error when running the FastDraw?.hs example:

*Main> main
bytes per row: 768, channels per pixel: 3, bits per sample: 8
*** Exception: gtk/Graphics/UI/Gtk/Gdk/PixbufData.hs.pp:58:0: No instance nor default method for class operation Data.Array.Base.getNumElements
> ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2

gtk2hs version is 0.9.12

Changed 6 years ago by axel

  • status changed from new to closed
  • resolution set to fixed

This method was new in 6.8.2. It's been fixed for a while now.

Changed 6 years ago by Alvaro

Nothing is so firmly believed as that which we least know.

-- Michel de Montaigne

acquisti viagra fioricet rx ordine cialis generico o originale tramadol faq

Note: See TracTickets for help on using tickets.