Mercurial > dwindows
diff gtk/dw.c @ 1152:58b5374355ab
Added print jobname parameter to dw_print_new().
If parameter is NULL a dummy name will be used.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 12 Sep 2011 19:26:49 +0000 |
parents | cf934fd39d03 |
children | e6a2f57c0842 |
line wrap: on
line diff
--- a/gtk/dw.c Mon Sep 12 02:22:48 2011 +0000 +++ b/gtk/dw.c Mon Sep 12 19:26:49 2011 +0000 @@ -11705,6 +11705,7 @@ /* * Creates a new print object. * Parameters: + * jobname: Name of the print job to show in the queue. * flags: Flags to initially configure the print object. * pages: Number of pages to print. * drawfunc: The pointer to the function to be used as the callback. @@ -11712,7 +11713,7 @@ * Returns: * 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) +HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) { return NULL; }