changeset 83760:aa5347e75afa

(check_x_display_info): Yet Another Int/Lisp_Object Mixup. (x_icon): Comment-out var only used in commented-out code.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 29 Aug 2007 21:45:22 +0000
parents 493b2df20f41
children 7ea6f31ba76e
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Aug 29 18:15:16 2007 +0000
+++ b/src/xfns.c	Wed Aug 29 21:45:22 2007 +0000
@@ -280,7 +280,7 @@
     }
   else if (INTEGERP (object))
     {
-      struct terminal *t = get_terminal (XINT (object), 1);
+      struct terminal *t = get_terminal (object, 1);
 
       if (t->type != output_x_window)
         error ("Terminal %d is not an X display", XINT (object));
@@ -2874,7 +2874,9 @@
      Lisp_Object parms;
 {
   Lisp_Object icon_x, icon_y;
+#if 0
   struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
+#endif
 
   /* Set the position of the icon.  Note that twm groups all
      icons in an icon window.  */