~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gdevsun.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gdevsun.c 8022 2007-06-05 22:23:38Z giles $*/
 
14
/* $Id: gdevsun.c 8250 2007-09-25 13:31:24Z giles $*/
15
15
/* SunView driver */
16
16
#include "gx.h"                 /* for gx_bitmap; includes std.h */
17
17
 
50
50
dev_proc_draw_line(sun_draw_line);
51
51
 
52
52
/* The device descriptor */
53
 
private gx_device_procs sun_procs = {
 
53
static gx_device_procs sun_procs = {
54
54
        sun_open,
55
55
        NULL,                   /* get_initial_matrix */
56
56
        sun_sync,
219
219
#define TRUE_BLUE_COLS  (1 << TRUE_BLUE_BITS)
220
220
 
221
221
/* Initialize the device. */
222
 
private Notify_value destroy_func();
 
222
static Notify_value destroy_func();
223
223
int
224
224
sun_open(register gx_device *dev)
225
225
{
419
419
        return 0;
420
420
}
421
421
/* Prevent the user from closing the window. */
422
 
private Notify_value
 
422
static Notify_value
423
423
destroy_func(Frame frame, Destroy_status status)
424
424
{       if ( status == DESTROY_CHECKING )
425
425
           {    notify_veto_destroy(frame);