Hi John, John Obbele <john.obb...@gmail.com> writes:
> Hi, > > On Fri, Oct 22, 2010 at 01:41:11AM +0800, Andy Stewart wrote: >> BTW, i search regexp "\(make\|construct\)NewGObject\s-mk[a-zA-Z]+" in >> Emacs, and found many results (146) should use wrapNewGObject too, >> something like: >> >> widgetRenderIcon :: WidgetClass self => self >> -> String -- ^ @stockId@ - a stock ID >> -> IconSize -- ^ @size@ - a stock size >> -> String -- ^ @detail@ - render detail to pass to theme >> engine >> -> IO (Maybe Pixbuf) -- ^ returns a new pixbuf, or @Nothing@ if the >> stock ID >> -- wasn't known >> widgetRenderIcon self stockId size detail = >> maybeNull (makeNewGObject mkPixbuf) $ >> >> missing? ;p > > Yeah missing :( > > My haskell/parsec3 skills failed in this case (damned trailing > parenthesis ')' !). Guess I will have to fix it and recheck some > code. After i scan gtk2hs' code again, just below functions need wrapNewGObject: gtk_widget_render_icon gtk_icon_theme_load_icon gtk_icon_info_load_icon I have push new patches fix above functions (i have test, works fine). Cheers, -- Andy ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel