Mercurial > dwindows
diff gtk3/dw.c @ 1137:e24e5a13ff2c
Added code to test the new print functions in dwtest.
GTK3 code mostly works except the for the text.
Added stub print functions to all platforms besides GTK3.
Need to decide what to do about GTK2; the GTK3 code will work
in GTK 2.10 and later, but will require switching to cairo.
Mac/Win/OS2 code coming soon. :)
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 09 Sep 2011 09:17:09 +0000 |
parents | 1a5b0908659b |
children | 9c47a0245872 |
line wrap: on
line diff
--- a/gtk3/dw.c Fri Sep 09 00:28:25 2011 +0000 +++ b/gtk3/dw.c Fri Sep 09 09:17:09 2011 +0000 @@ -10223,7 +10223,7 @@ * drawfunc: The pointer to the function to be used as the callback. * drawdata: User data to be passed to the handler function. * Returns: - * A handle to the print object. + * A handle to the print object or NULL on failure. */ HPRINT API dw_print_new(unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) {