From 121e8a82d3bc181a260be070453e4828f8afc9d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 5 Feb 2004 12:57:35 +0000 Subject: [PATCH] * xfns.c (x_create_bitmap_mask): Removed unused variable depth. (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. (Fx_change_window_property): Add declaration of parameters type and format. Remove unused variable cons. --- src/xfns.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 02d185b96de..cecffb1c222 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -774,7 +774,6 @@ x_create_bitmap_mask (f, id) unsigned long x, y, xp, xm, yp, ym; GC gc; - int depth = DefaultDepthOfScreen (FRAME_X_SCREEN (f)); struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); if (!(id > 0)) @@ -1596,7 +1595,7 @@ x_set_menu_bar_lines (f, value, oldval) Lisp_Object value, oldval; { int nlines; -#ifndef USE_X_TOOLKIT +#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) int olines = FRAME_MENU_BAR_LINES (f); #endif @@ -9493,7 +9492,7 @@ FRAME. Default is to change on the edit X window. Value is VALUE. */) (prop, value, frame, type, format, outer_p) - Lisp_Object frame, prop, value, outer_p; + Lisp_Object prop, value, frame, type, format, outer_p; { struct frame *f = check_x_frame (frame); Atom prop_atom; @@ -9501,7 +9500,6 @@ Value is VALUE. */) int element_format = 8; unsigned char *data; int nelements; - Lisp_Object cons; Window w; CHECK_STRING (prop); @@ -10728,7 +10726,6 @@ selection dialog's entry field, if MUSTMATCH is non-nil.") int count = specpdl_ptr - specpdl; struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; char *cdef_file; - char *cprompt; GCPRO5 (prompt, dir, default_filename, mustmatch, file); CHECK_STRING (prompt); -- 2.39.2