Commit 121e8a82 authored by Jan Djärv's avatar Jan Djärv
Browse files

* 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.
parent 1ab538c8
......@@ -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;
#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)
int olines = FRAME_MENU_BAR_LINES (f);
......@@ -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;
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment