summaryrefslogtreecommitdiff
path: root/src/dosfns.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-07 09:29:25 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-07 09:29:25 +0400
commite69b09607980b55ee15d60424072feac4b6e72a6 (patch)
treea589f89bbd6c3f413383bd3b39b2ed505c773b0c /src/dosfns.c
parent5fb50dd30236d8e64951c2f7e72a2d2e15257f24 (diff)
downloademacs-e69b09607980b55ee15d60424072feac4b6e72a6.tar.gz
Drop FGET and revert read access to Lisp_Objects slots of struct frame.
* frame.h (FGET): Remove. (struct frame): Do not use INTERNAL_FIELD. * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c: * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m: * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h: * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
Diffstat (limited to 'src/dosfns.c')
-rw-r--r--src/dosfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dosfns.c b/src/dosfns.c
index 20efc3dee70..e3adf25d79f 100644
--- a/src/dosfns.c
+++ b/src/dosfns.c
@@ -468,7 +468,7 @@ void
x_set_title (struct frame *f, Lisp_Object name)
{
/* Don't change the title if it's already NAME. */
- if (EQ (name, FGET (f, title)))
+ if (EQ (name, f->title))
return;
update_mode_lines = 1;
@@ -476,7 +476,7 @@ x_set_title (struct frame *f, Lisp_Object name)
FSET (f, title, name);
if (NILP (name))
- name = FGET (f, name);
+ name = f->name;
if (FRAME_MSDOS_P (f))
{