/[emacs]/emacs/src/xfaces.c
ViewVC logotype

Diff of /emacs/src/xfaces.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.337 by rms, Sun Oct 2 03:28:56 2005 UTC revision 1.338 by mituharu, Sat Oct 8 02:28:55 2005 UTC
# Line 790  x_create_gc (f, mask, xgcv) Line 790  x_create_gc (f, mask, xgcv)
790       XGCValues *xgcv;       XGCValues *xgcv;
791  {  {
792    GC gc;    GC gc;
793      BLOCK_INPUT;
794    gc = XCreateGC (FRAME_MAC_DISPLAY (f), FRAME_MAC_WINDOW (f), mask, xgcv);    gc = XCreateGC (FRAME_MAC_DISPLAY (f), FRAME_MAC_WINDOW (f), mask, xgcv);
795      UNBLOCK_INPUT;
796      IF_DEBUG (++ngcs);
797    return gc;    return gc;
798  }  }
799    
# Line 799  x_free_gc (f, gc) Line 802  x_free_gc (f, gc)
802       struct frame *f;       struct frame *f;
803       GC gc;       GC gc;
804  {  {
805      BLOCK_INPUT;
806      IF_DEBUG (xassert (--ngcs >= 0));
807    XFreeGC (FRAME_MAC_DISPLAY (f), gc);    XFreeGC (FRAME_MAC_DISPLAY (f), gc);
808      UNBLOCK_INPUT;
809  }  }
810    
811  #endif  /* MAC_OS */  #endif  /* MAC_OS */

Legend:
Removed from v.1.337  
changed lines
  Added in v.1.338

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26