changeset 53825:6635e77a2c09

* 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.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 05 Feb 2004 12:57:35 +0000
parents 744aeda2efac
children 3b1ebffbffa9
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);