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

Diff of /emacs/src/macfns.c

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

revision 1.45 by tamm, Mon Dec 27 17:27:30 2004 UTC revision 1.46 by tamm, Wed Dec 29 17:25:02 2004 UTC
# Line 158  Lisp_Object Qshift; Line 158  Lisp_Object Qshift;
158    
159  extern Lisp_Object Vwindow_system_version;  extern Lisp_Object Vwindow_system_version;
160    
161  #if 0 /* Use xstricmp instead. */  #if 0 /* Use xstricmp instead.  */
162  /* compare two strings ignoring case */  /* compare two strings ignoring case */
163    
164  static int  static int
# Line 2261  XParseGeometry (string, x, y, width, hei Line 2261  XParseGeometry (string, x, y, width, hei
2261    
2262  /* Create and set up the Mac window for frame F.  */  /* Create and set up the Mac window for frame F.  */
2263    
2264  extern install_window_handler (WindowPtr);  extern OSErr install_window_handler (WindowPtr);
2265    
2266  static void  static void
2267  mac_window (f)  mac_window (f)
# Line 2282  mac_window (f) Line 2282  mac_window (f)
2282    if (FRAME_MAC_WINDOW (f))    if (FRAME_MAC_WINDOW (f))
2283      {      {
2284        SetWRefCon (FRAME_MAC_WINDOW (f), (long) f->output_data.mac);        SetWRefCon (FRAME_MAC_WINDOW (f), (long) f->output_data.mac);
2285        install_window_handler (FRAME_MAC_WINDOW (f));        if (install_window_handler (FRAME_MAC_WINDOW (f)) != noErr)
2286            {
2287              DisposeWindow (FRAME_MAC_WINDOW (f));
2288              FRAME_MAC_WINDOW (f) = NULL;
2289            }
2290      }      }
2291  #else  #else
2292    FRAME_MAC_WINDOW (f)    FRAME_MAC_WINDOW (f)

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

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