From fd0f53a90906db0dec3084f3085b7edd21c6c779 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 29 Aug 2007 21:45:22 +0000 Subject: [PATCH] (check_x_display_info): Yet Another Int/Lisp_Object Mixup. (x_icon): Comment-out var only used in commented-out code. --- src/xfns.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index e49f8cb3112..14e5b058e32 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -280,7 +280,7 @@ check_x_display_info (object) } 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 @@ x_icon (f, parms) 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. */ -- 2.39.2