diff src/select-gtk.c @ 2620:5e906dd5c3e9

[xemacs-hg @ 2005-02-28 20:21:43 by aidan] (Revised) General X11 selection cleanup. Content negotiation for incoming data, UTF8_STRING support, the ability to paste images (purely cosmetic at this point), TIMESTAMP as one of the selection types offered,
author aidan
date Mon, 28 Feb 2005 20:21:50 +0000
parents ecf1ebac70d8
children 304aebb79cd3
line wrap: on
line diff
--- a/src/select-gtk.c	Mon Feb 28 17:02:10 2005 +0000
+++ b/src/select-gtk.c	Mon Feb 28 20:21:50 2005 +0000
@@ -158,7 +158,7 @@
     target_symbol = fetch_multiple_target (selection_data);
 #endif
 
-  temp_obj = Fget_selection_timestamp (selection_symbol);
+  temp_obj = get_selection_raw_time(selection_symbol);
 
   if (NILP (temp_obj))
     {
@@ -255,7 +255,7 @@
 
   selection_symbol = atom_to_symbol (d, selection);
 
-  local_selection_time_lisp = Fget_selection_timestamp (selection_symbol);
+  local_selection_time_lisp = get_selection_raw_time (selection_symbol);
 
   /* We don't own the selection, so that's fine. */
   if (NILP (local_selection_time_lisp))
@@ -428,13 +428,14 @@
 			   selection_atom,
 			   thyme);
 
-  /* We do NOT use time_to_lisp() here any more, like we used to.
+  /* [[ We do NOT use time_to_lisp() here any more, like we used to.
      That assumed equivalence of time_t and Time, which is not
      necessarily the case (e.g. under OSF on the Alphas, where
      Time is a 64-bit quantity and time_t is a 32-bit quantity).
 
-     Opaque pointers are the clean way to go here.
-  */
+     Opaque pointers are the clean way to go here. ]] 
+
+     See my comment on the same issue in select-x.c -- Aidan. */
   return make_opaque (&thyme, sizeof (thyme));
 }