Andy Stewart <lazycat.mana...@gmail.com> writes: >> - don't export the constructor of TextAttributes nor makeTextAttributes and >> add some documentation >> to this data type. > I have finish documentation of `makeNewTextAttributes`, and i don't know > why not export `textAttributesNew` ? BTW, in file `TextView.chs.pp` have below function :
textViewGetDefaultAttributes :: TextViewClass self => self -> IO TextAttributes textViewGetDefaultAttributes self = {# call gtk_text_view_get_default_attributes #} (toTextView self) >>= makeNewTextAttributes It use `makeNewTextAttributes`, so we need export it in TextTag.chs.pp. Now, just add documentation notify user don't use it. -- Andy ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel