# HG changeset patch # User Jan Dj¸«£rv # Date 1075985855 0 # Node ID 6635e77a2c093610e8f4ef3f22d3d5b629156ff4 # Parent 744aeda2efac1878b4b98a187ab4d63b553d48aa * 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. diff -r 744aeda2efac -r 6635e77a2c09 src/xfns.c --- a/src/xfns.c Thu Feb 05 12:56:59 2004 +0000 +++ b/src/xfns.c Thu Feb 05 12:57:35 2004 +0000 @@ -774,7 +774,6 @@ 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 @@ 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 @@ 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 @@ int element_format = 8; unsigned char *data; int nelements; - Lisp_Object cons; Window w; CHECK_STRING (prop); @@ -10728,7 +10726,6 @@ 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);