comparison lwlib/lwlib-Xaw.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 223736d75acb
children ad2f4ae9895b
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
120 } 120 }
121 #endif /* LWLIB_SCROLLBARS_ATHENA */ 121 #endif /* LWLIB_SCROLLBARS_ATHENA */
122 122
123 void 123 void
124 xaw_update_one_widget (widget_instance *instance, Widget widget, 124 xaw_update_one_widget (widget_instance *instance, Widget widget,
125 widget_value *val, Boolean deep_p) 125 widget_value *val, Boolean UNUSED (deep_p))
126 { 126 {
127 if (0) 127 if (0)
128 ; 128 ;
129 #ifdef LWLIB_SCROLLBARS_ATHENA 129 #ifdef LWLIB_SCROLLBARS_ATHENA
130 else if (XtIsSubclass (widget, scrollbarWidgetClass)) 130 else if (XtIsSubclass (widget, scrollbarWidgetClass))
256 #endif 256 #endif
257 XtDestroyWidget (instance->widget); 257 XtDestroyWidget (instance->widget);
258 } 258 }
259 259
260 void 260 void
261 xaw_popup_menu (Widget widget, XEvent *event) 261 xaw_popup_menu (Widget UNUSED (widget), XEvent *UNUSED (event))
262 { 262 {
263 /* An Athena menubar has not been implemented. */ 263 /* An Athena menubar has not been implemented. */
264 return; 264 return;
265 } 265 }
266 266
342 }; 342 };
343 static Boolean actions_initted = False; 343 static Boolean actions_initted = False;
344 344
345 static Widget 345 static Widget
346 make_dialog (const char* name, Widget parent, Boolean pop_up_p, 346 make_dialog (const char* name, Widget parent, Boolean pop_up_p,
347 const char* shell_title, const char* icon_name, 347 const char* shell_title, const char* UNUSED (icon_name),
348 Boolean text_input_slot, 348 Boolean text_input_slot,
349 Boolean radio_box, Boolean list, 349 Boolean radio_box, Boolean list,
350 int left_buttons, int right_buttons) 350 int left_buttons, int right_buttons)
351 { 351 {
352 Arg av [20]; 352 Arg av [20];
585 } 585 }
586 586
587 #ifdef LWLIB_DIALOGS_ATHENA 587 #ifdef LWLIB_DIALOGS_ATHENA
588 588
589 static XtActionProc 589 static XtActionProc
590 wm_delete_window (Widget shell, XtPointer closure, XtPointer call_data) 590 wm_delete_window (Widget shell, XtPointer UNUSED (closure),
591 XtPointer UNUSED (call_data))
591 { 592 {
592 LWLIB_ID id; 593 LWLIB_ID id;
593 Widget *kids = 0; 594 Widget *kids = 0;
594 Widget widget; 595 Widget widget;
595 Arg al [1]; 596 Arg al [1];