~ubuntu-branches/ubuntu/natty/perl-tk/natty

« back to all changes in this revision

Viewing changes to pTk/mTk/unix/tkUnixSelect.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Zander
  • Date: 2004-03-14 13:54:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314135444-prc09u2or4dbr3to
Tags: 1:800.025-2
Add xlibs-dev to Build-Depends:,
Closes: #237942

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
 
1
/*
2
2
 * tkUnixSelect.c --
3
3
 *
4
 
 *      This file contains X specific routines for manipulating 
 
4
 *      This file contains X specific routines for manipulating
5
5
 *      selections.
6
6
 *
7
7
 * Copyright (c) 1995 Sun Microsystems, Inc.
87
87
static void             SelTimeoutProc _ANSI_ARGS_((ClientData clientData));
88
88
static void             FreeHandler _ANSI_ARGS_((ClientData clientData));
89
89
static int              HandleCompat _ANSI_ARGS_((ClientData clientData,
90
 
                            int offset, long *buffer, int maxBytes, 
 
90
                            int offset, long *buffer, int maxBytes,
91
91
                            Atom type, Tk_Window tkwin));
92
92
 
93
93
/*
224
224
    register XEvent *eventPtr;          /* X PropertyChange event. */
225
225
{
226
226
    register IncrInfo *incrPtr;
227
 
    int i, format = 8;
 
227
    unsigned i;
 
228
    int format = 8;
228
229
    Atom target, formatType = None;
229
230
    register TkSelHandler *selPtr;
230
231
    long buffer[TK_SEL_WORDS_AT_ONCE];
459
460
        ConvertSelection(winPtr, &eventPtr->xselectionrequest);
460
461
        return;
461
462
    }
462
 
}                        
 
463
}
463
464
 
464
465
/*
465
466
 *----------------------------------------------------------------------
551
552
    IncrInfo incr;                      /* State of selection conversion. */
552
553
    Atom singleInfo[2];                 /* incr.multAtoms points here except
553
554
                                         * for multiple conversions. */
554
 
    int i;
 
555
    unsigned i;
555
556
    Tk_ErrorHandler errorHandler;
556
557
    TkSelectionInfo *infoPtr;
557
558
    TkSelInProgress ip;
590
591
     * Figure out which kind(s) of conversion to perform.  If handling
591
592
     * a MULTIPLE conversion, then read the property describing which
592
593
     * conversions to perform.
593
 
     */                       
 
594
     */
594
595
 
595
596
 
596
597