diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:10:41 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:10:41 +0000 |
commit | 07e9823c693085fb025e90ed4d66538c6dece2b4 (patch) | |
tree | 1b052127467f11b3d22251ebdf42a9fa8661196a /src/xselect.c | |
parent | 0b7231c4f3e857740a002ea1bb403e7ae782b354 (diff) | |
download | emacs-07e9823c693085fb025e90ed4d66538c6dece2b4.tar.gz |
* xselect.c (symbol_to_x_atom, x_get_foreign_selection): Use
SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c index c95cc211c1d..a92943c5381 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -200,9 +200,9 @@ symbol_to_x_atom (dpyinfo, display, sym) #endif if (!SYMBOLP (sym)) abort (); - TRACE1 (" XInternAtom %s", (char *) XSYMBOL (sym)->name->data); + TRACE1 (" XInternAtom %s", (char *) XSTRING (SYMBOL_NAME (sym))->data); BLOCK_INPUT; - val = XInternAtom (display, (char *) XSYMBOL (sym)->name->data, False); + val = XInternAtom (display, (char *) XSTRING (SYMBOL_NAME (sym))->data, False); UNBLOCK_INPUT; return val; } @@ -1272,7 +1272,7 @@ x_get_foreign_selection (selection_symbol, target_type) if (NILP (XCAR (reading_selection_reply))) error ("Timed out waiting for reply from selection owner"); if (EQ (XCAR (reading_selection_reply), Qlambda)) - error ("No `%s' selection", XSYMBOL (selection_symbol)->name->data); + error ("No `%s' selection", XSTRING (SYMBOL_NAME (selection_symbol))->data); /* Otherwise, the selection is waiting for us on the requested property. */ return |