diff options
| author | Jan Djärv | 2004-02-05 12:57:35 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-02-05 12:57:35 +0000 |
| commit | 121e8a82d3bc181a260be070453e4828f8afc9d3 (patch) | |
| tree | e8d506488b17170a2b7dbba692f7796501be1dcd /src | |
| parent | 1ab538c85d5308982e806a687d400a5aadc9478b (diff) | |
| download | emacs-121e8a82d3bc181a260be070453e4828f8afc9d3.tar.gz emacs-121e8a82d3bc181a260be070453e4828f8afc9d3.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 7 |
1 files 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) | |||
| 774 | unsigned long x, y, xp, xm, yp, ym; | 774 | unsigned long x, y, xp, xm, yp, ym; |
| 775 | GC gc; | 775 | GC gc; |
| 776 | 776 | ||
| 777 | int depth = DefaultDepthOfScreen (FRAME_X_SCREEN (f)); | ||
| 778 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); | 777 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); |
| 779 | 778 | ||
| 780 | if (!(id > 0)) | 779 | if (!(id > 0)) |
| @@ -1596,7 +1595,7 @@ x_set_menu_bar_lines (f, value, oldval) | |||
| 1596 | Lisp_Object value, oldval; | 1595 | Lisp_Object value, oldval; |
| 1597 | { | 1596 | { |
| 1598 | int nlines; | 1597 | int nlines; |
| 1599 | #ifndef USE_X_TOOLKIT | 1598 | #if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) |
| 1600 | int olines = FRAME_MENU_BAR_LINES (f); | 1599 | int olines = FRAME_MENU_BAR_LINES (f); |
| 1601 | #endif | 1600 | #endif |
| 1602 | 1601 | ||
| @@ -9493,7 +9492,7 @@ FRAME. Default is to change on the edit X window. | |||
| 9493 | 9492 | ||
| 9494 | Value is VALUE. */) | 9493 | Value is VALUE. */) |
| 9495 | (prop, value, frame, type, format, outer_p) | 9494 | (prop, value, frame, type, format, outer_p) |
| 9496 | Lisp_Object frame, prop, value, outer_p; | 9495 | Lisp_Object prop, value, frame, type, format, outer_p; |
| 9497 | { | 9496 | { |
| 9498 | struct frame *f = check_x_frame (frame); | 9497 | struct frame *f = check_x_frame (frame); |
| 9499 | Atom prop_atom; | 9498 | Atom prop_atom; |
| @@ -9501,7 +9500,6 @@ Value is VALUE. */) | |||
| 9501 | int element_format = 8; | 9500 | int element_format = 8; |
| 9502 | unsigned char *data; | 9501 | unsigned char *data; |
| 9503 | int nelements; | 9502 | int nelements; |
| 9504 | Lisp_Object cons; | ||
| 9505 | Window w; | 9503 | Window w; |
| 9506 | 9504 | ||
| 9507 | CHECK_STRING (prop); | 9505 | CHECK_STRING (prop); |
| @@ -10728,7 +10726,6 @@ selection dialog's entry field, if MUSTMATCH is non-nil.") | |||
| 10728 | int count = specpdl_ptr - specpdl; | 10726 | int count = specpdl_ptr - specpdl; |
| 10729 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; | 10727 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; |
| 10730 | char *cdef_file; | 10728 | char *cdef_file; |
| 10731 | char *cprompt; | ||
| 10732 | 10729 | ||
| 10733 | GCPRO5 (prompt, dir, default_filename, mustmatch, file); | 10730 | GCPRO5 (prompt, dir, default_filename, mustmatch, file); |
| 10734 | CHECK_STRING (prompt); | 10731 | CHECK_STRING (prompt); |