Mercurial > hg > xemacs-beta
comparison src/input-method-xlib.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | e22b0213b713 |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
135 static Boolean xim_initted = False; | 135 static Boolean xim_initted = False; |
136 | 136 |
137 /* Called from when XIM is destroying. | 137 /* Called from when XIM is destroying. |
138 Clear all the XIC when the XIM was destroying... */ | 138 Clear all the XIC when the XIM was destroying... */ |
139 static void | 139 static void |
140 IMDestroyCallback (XIM im, XPointer client_data, XPointer call_data) | 140 IMDestroyCallback (XIM UNUSED (im), XPointer client_data, |
141 XPointer UNUSED (call_data)) | |
141 { | 142 { |
142 struct device *d = (struct device *)client_data; | 143 struct device *d = (struct device *)client_data; |
143 Lisp_Object tail; | 144 Lisp_Object tail; |
144 | 145 |
145 DEVICE_FRAME_LOOP (tail, d) | 146 DEVICE_FRAME_LOOP (tail, d) |
158 } | 159 } |
159 | 160 |
160 /* This is registered in XIM_init_device (when DEVICE is initializing). | 161 /* This is registered in XIM_init_device (when DEVICE is initializing). |
161 This activates XIM when XIM becomes available. */ | 162 This activates XIM when XIM becomes available. */ |
162 static void | 163 static void |
163 IMInstantiateCallback (Display *dpy, XPointer client_data, XPointer call_data) | 164 IMInstantiateCallback (Display *dpy, XPointer client_data, |
165 XPointer UNUSED (call_data)) | |
164 { | 166 { |
165 struct device *d = (struct device *)client_data; | 167 struct device *d = (struct device *)client_data; |
166 XIM xim; | 168 XIM xim; |
167 char *name, *class_; | 169 char *name, *class_; |
168 XIMCallback ximcallback; | 170 XIMCallback ximcallback; |
241 * For the frames | 243 * For the frames |
242 */ | 244 */ |
243 | 245 |
244 /* Callback for the deleting frame. */ | 246 /* Callback for the deleting frame. */ |
245 static void | 247 static void |
246 XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data) | 248 XIM_delete_frame (Widget UNUSED (w), XtPointer client_data, |
249 XtPointer UNUSED (call_data)) | |
247 { | 250 { |
248 struct frame *f = (struct frame *) client_data; | 251 struct frame *f = (struct frame *) client_data; |
249 struct device *d = XDEVICE (FRAME_DEVICE (f)); | 252 struct device *d = XDEVICE (FRAME_DEVICE (f)); |
250 | 253 |
251 if (DEVICE_X_XIM (d)) | 254 if (DEVICE_X_XIM (d)) |
684 void | 687 void |
685 EmacsFreeXIMStyles ( | 688 EmacsFreeXIMStyles ( |
686 XtAppContext app, | 689 XtAppContext app, |
687 XrmValuePtr toVal, | 690 XrmValuePtr toVal, |
688 XtPointer converter_data, | 691 XtPointer converter_data, |
689 XrmValuePtr args, | 692 XrmValuePtr UNUSED (args), |
690 Cardinal *num_args) | 693 Cardinal *num_args) |
691 { | 694 { |
692 #ifdef DEBUG_XIM | 695 #ifdef DEBUG_XIM |
693 stderr_out ("Converter data: %x\n", converter_data); | 696 stderr_out ("Converter data: %x\n", converter_data); |
694 stderr_out ("EmacsFreeXIMStyles called\n"); | 697 stderr_out ("EmacsFreeXIMStyles called\n"); |