~ubuntu-branches/ubuntu/feisty/gnustep-back/feisty

« back to all changes in this revision

Viewing changes to Source/xdps/NSDPSContext.m

  • Committer: Bazaar Package Importer
  • Author(s): Hubert Chan
  • Date: 2006-10-18 18:22:08 UTC
  • mfrom: (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20061018182208-1w35y6weync26g5z
Tags: 0.11.0-3
* Update maintainer address.
* Call defoma-app from gnustep-back-common postinst/prerm. (Closes: #393476)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
   You should have received a copy of the GNU Library General Public
24
24
   License along with this library; see the file COPYING.LIB.
25
25
   If not, write to the Free Software Foundation,
26
 
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
26
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27
27
*/ 
28
28
 
29
29
#include <config.h>
251
251
  {
252
252
    NSDPSContext *ctxt = context_list, *previous=nil;
253
253
    
254
 
    while(ctxt) 
 
254
    while (ctxt) 
255
255
      {
256
 
        if(ctxt == self)
 
256
        if (ctxt == self)
257
257
          break;
258
258
        previous = ctxt;
259
259
        ctxt = ctxt->next_context;
260
260
      }
261
 
    if(!ctxt)
 
261
    if (!ctxt)
262
262
      NSLog(@"Internal Error: Couldn't find context to delete");
263
263
    else 
264
264
      {
265
 
        if(previous)
 
265
        if (previous)
266
266
          previous->next_context = next_context;
267
267
        else
268
268
          context_list = next_context;
293
293
{
294
294
  NSDPSContext *ctxt;
295
295
  ctxt = context_list;
296
 
  while(ctxt) 
 
296
  while (ctxt) 
297
297
    {
298
298
      [ctxt wait];
299
299
      ctxt = ctxt->next_context;
517
517
     we find a version that works we can put an additional test here. For now,
518
518
     just turn them off.
519
519
  */
520
 
  ext_flags = (ext_flags & ~(COMPOSITE_EXT | ALPHAIMAGE_EXT | DISSOLVE_EXT ));
 
520
  ext_flags = (ext_flags & ~(COMPOSITE_EXT | ALPHAIMAGE_EXT | DISSOLVE_EXT));
521
521
 
522
522
  NSDebugLLog(@"NSDPSContext", @"Using DPS Revision: %d\n", dps_revision);
523
523
  NSDebugLLog(@"NSDPSContext", @"DPS Default Matrix: [%f %f %f %f %f %f]\n", 
747
747
  return nil;
748
748
}
749
749
 
750
 
 
751
 
 
752
 
- (void) NSBeep
753
 
{
754
 
  XBell([(XGServer *)server xDisplay], 50);
755
 
}
756
 
 
757
750
@end