aboutsummaryrefslogtreecommitdiffstats
path: root/src/fringe.c
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-27 18:24:48 +0000
committerDan Nicolaescu2008-07-27 18:24:48 +0000
commit9e2a2647758db83b490e2993aa31cd4607305a82 (patch)
tree9c3d41b47bcd316c60d56bef8d7fd32789e59411 /src/fringe.c
parent7f19297073b2dd6c28987bf5663933591f59e91e (diff)
downloademacs-9e2a2647758db83b490e2993aa31cd4607305a82.tar.gz
emacs-9e2a2647758db83b490e2993aa31cd4607305a82.zip
Remove support for Mac Carbon.
* mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/fringe.c b/src/fringe.c
index ad40df5a2fd..1d642bf4066 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1374,15 +1374,6 @@ init_fringe_bitmap (which, fb, once_p)
1374 } 1374 }
1375#endif /* HAVE_X_WINDOWS */ 1375#endif /* HAVE_X_WINDOWS */
1376 1376
1377#if defined (MAC_OS) && defined (WORDS_BIG_ENDIAN)
1378 unsigned short *bits = fb->bits;
1379 int j;
1380 for (j = 0; j < fb->height; j++)
1381 {
1382 unsigned short b = *bits;
1383 *bits++ = ((b >> 8) & 0xff) | ((b & 0xff) << 8);
1384 }
1385#endif /* MAC_OS && WORDS_BIG_ENDIAN */
1386 } 1377 }
1387 1378
1388 if (!once_p) 1379 if (!once_p)
@@ -1696,15 +1687,10 @@ init_fringe ()
1696 } 1687 }
1697} 1688}
1698 1689
1699#if defined (HAVE_NTGUI) || defined (MAC_OS) 1690#ifdef HAVE_NTGUI
1700 1691
1701void 1692void
1702#ifdef HAVE_NTGUI 1693w32_init_fringe (struct redisplay_interface *rif)
1703w32_init_fringe (rif)
1704#else /* MAC_OS */
1705mac_init_fringe (rif)
1706#endif
1707 struct redisplay_interface *rif;
1708{ 1694{
1709 int bt; 1695 int bt;
1710 1696
@@ -1717,9 +1703,7 @@ mac_init_fringe (rif)
1717 rif->define_fringe_bitmap (bt, fb->bits, fb->height, fb->width); 1703 rif->define_fringe_bitmap (bt, fb->bits, fb->height, fb->width);
1718 } 1704 }
1719} 1705}
1720#endif
1721 1706
1722#ifdef HAVE_NTGUI
1723void 1707void
1724w32_reset_fringes () 1708w32_reset_fringes ()
1725{ 1709{