aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorKen Raeburn2002-05-20 08:10:41 +0000
committerKen Raeburn2002-05-20 08:10:41 +0000
commit07e9823c693085fb025e90ed4d66538c6dece2b4 (patch)
tree1b052127467f11b3d22251ebdf42a9fa8661196a /src/xselect.c
parent0b7231c4f3e857740a002ea1bb403e7ae782b354 (diff)
downloademacs-07e9823c693085fb025e90ed4d66538c6dece2b4.tar.gz
emacs-07e9823c693085fb025e90ed4d66538c6dece2b4.zip
* 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.c6
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)
200#endif 200#endif
201 if (!SYMBOLP (sym)) abort (); 201 if (!SYMBOLP (sym)) abort ();
202 202
203 TRACE1 (" XInternAtom %s", (char *) XSYMBOL (sym)->name->data); 203 TRACE1 (" XInternAtom %s", (char *) XSTRING (SYMBOL_NAME (sym))->data);
204 BLOCK_INPUT; 204 BLOCK_INPUT;
205 val = XInternAtom (display, (char *) XSYMBOL (sym)->name->data, False); 205 val = XInternAtom (display, (char *) XSTRING (SYMBOL_NAME (sym))->data, False);
206 UNBLOCK_INPUT; 206 UNBLOCK_INPUT;
207 return val; 207 return val;
208} 208}
@@ -1272,7 +1272,7 @@ x_get_foreign_selection (selection_symbol, target_type)
1272 if (NILP (XCAR (reading_selection_reply))) 1272 if (NILP (XCAR (reading_selection_reply)))
1273 error ("Timed out waiting for reply from selection owner"); 1273 error ("Timed out waiting for reply from selection owner");
1274 if (EQ (XCAR (reading_selection_reply), Qlambda)) 1274 if (EQ (XCAR (reading_selection_reply), Qlambda))
1275 error ("No `%s' selection", XSYMBOL (selection_symbol)->name->data); 1275 error ("No `%s' selection", XSTRING (SYMBOL_NAME (selection_symbol))->data);
1276 1276
1277 /* Otherwise, the selection is waiting for us on the requested property. */ 1277 /* Otherwise, the selection is waiting for us on the requested property. */
1278 return 1278 return