From: Duncan C. <dun...@us...> - 2005-08-29 11:16:10
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1916/gtk/Graphics/UI/Gtk/Selectors Modified Files: FileChooserButton.chs.pp Log Message: Make the enum and object property constructor functions take the enum/object GType as an argument. This should make these types of properties actually work. Pass the appropriate enum/object GType as an extra argument to the property constructor. Index: FileChooserButton.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors/FileChooserButton.chs.pp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- FileChooserButton.chs.pp 23 Jul 2005 03:00:40 -0000 1.5 +++ FileChooserButton.chs.pp 29 Aug 2005 11:15:58 -0000 1.6 @@ -194,6 +194,7 @@ -- fileChooserButtonDialog :: (FileChooserButtonClass self, FileChooserDialogClass fileChooserDialog) => WriteAttr self fileChooserDialog fileChooserButtonDialog = writeAttrFromObjectProperty "dialog" + {# call pure unsafe gtk_file_chooser_dialog_get_type #} -- | Title to put on the 'FileChooserDialog' associated with the button. -- |