aboutsummaryrefslogtreecommitdiffstats
path: root/lwlib
diff options
context:
space:
mode:
authorKarl Heuer1996-01-05 00:45:43 +0000
committerKarl Heuer1996-01-05 00:45:43 +0000
commit908ff139f9bd05145357e042fa6479d86bfba5ea (patch)
tree0400291d2e1409d02d5f501ccd50c0bbdc5c73b5 /lwlib
parent46c63acf938a1884cb82e589c756088300ab49a8 (diff)
downloademacs-908ff139f9bd05145357e042fa6479d86bfba5ea.tar.gz
emacs-908ff139f9bd05145357e042fa6479d86bfba5ea.zip
Comment fixes.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/lwlib-Xm.c4
-rw-r--r--lwlib/lwlib-Xol.c4
-rw-r--r--lwlib/lwlib-int.h2
-rw-r--r--lwlib/lwlib.h2
-rw-r--r--lwlib/xlwmenu.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c
index 797945055f7..df80b67e160 100644
--- a/lwlib/lwlib-Xm.c
+++ b/lwlib/lwlib-Xm.c
@@ -726,7 +726,7 @@ xm_update_one_value (instance, widget, val)
726/* This function is for activating a button from a program. It's wrong because 726/* This function is for activating a button from a program. It's wrong because
727 we pass a NULL argument in the call_data which is not Motif compatible. 727 we pass a NULL argument in the call_data which is not Motif compatible.
728 This is used from the XmNdefaultAction callback of the List widgets to 728 This is used from the XmNdefaultAction callback of the List widgets to
729 have a dble-click put down a dialog box like the button woudl do. 729 have a double-click put down a dialog box like the button would do.
730 I could not find a way to do that with accelerators. 730 I could not find a way to do that with accelerators.
731 */ 731 */
732static void 732static void
@@ -841,7 +841,7 @@ make_dialog (name, parent, pop_up_p, shell_title, icon_name, text_input_slot,
841 n_children++; 841 n_children++;
842 } 842 }
843 843
844 /* invisible seperator button */ 844 /* invisible separator button */
845 ac = 0; 845 ac = 0;
846 XtSetArg (al[ac], XmNmappedWhenManaged, FALSE); ac++; 846 XtSetArg (al[ac], XmNmappedWhenManaged, FALSE); ac++;
847 children [n_children] = XmCreateLabel (row, "separator_button", al, ac); 847 children [n_children] = XmCreateLabel (row, "separator_button", al, ac);
diff --git a/lwlib/lwlib-Xol.c b/lwlib/lwlib-Xol.c
index e78751236f6..d34e70e1324 100644
--- a/lwlib/lwlib-Xol.c
+++ b/lwlib/lwlib-Xol.c
@@ -225,14 +225,14 @@ update_one_menu_entry (widget_instance* instance, Widget widget,
225 { 225 {
226 if (contents) 226 if (contents)
227 { 227 {
228 /* in OLIT this woudl have to be a structural change on the 228 /* in OLIT this would have to be a structural change on the
229 button. */ 229 button. */
230 abort (); 230 abort ();
231 } 231 }
232 } 232 }
233 else if (!contents) 233 else if (!contents)
234 { 234 {
235 /* in OLIT this woudl have to be a structural change on the button. */ 235 /* in OLIT this would have to be a structural change on the button. */
236 abort (); 236 abort ();
237 } 237 }
238 else if (contents->change != NO_CHANGE) 238 else if (contents->change != NO_CHANGE)
diff --git a/lwlib/lwlib-int.h b/lwlib/lwlib-int.h
index b38c681a948..3649a241738 100644
--- a/lwlib/lwlib-int.h
+++ b/lwlib/lwlib-int.h
@@ -42,7 +42,7 @@ typedef struct _widget_creation_entry
42} widget_creation_entry; 42} widget_creation_entry;
43 43
44/* update all other instances of a widget. Can be used in a callback when 44/* update all other instances of a widget. Can be used in a callback when
45 a wiget has been used by the user */ 45 a widget has been used by the user */
46void 46void
47lw_internal_update_other_instances (); 47lw_internal_update_other_instances ();
48 48
diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h
index f22598ae730..33c4321f150 100644
--- a/lwlib/lwlib.h
+++ b/lwlib/lwlib.h
@@ -102,7 +102,7 @@ void lw_set_keyboard_focus (/* Widget parent, Widget w */);
102void lw_show_busy (/* Widget w, Boolean busy */); 102void lw_show_busy (/* Widget w, Boolean busy */);
103 103
104/* Silly hack to assist with Lucid/Athena geometry management. */ 104/* Silly hack to assist with Lucid/Athena geometry management. */
105void lw_refigure_widget (/* Widget w, Boolan doit */); 105void lw_refigure_widget (/* Widget w, Boolean doit */);
106 106
107/* Toolkit independent way of determining if an event occurred on a 107/* Toolkit independent way of determining if an event occurred on a
108 menubar. */ 108 menubar. */
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 26b56315e05..61487c0f65f 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -848,7 +848,7 @@ remap_menubar (mw)
848 old_stack [i] = new_stack [i]; 848 old_stack [i] = new_stack [i];
849 mw->menu.old_depth = new_depth; 849 mw->menu.old_depth = new_depth;
850 850
851 /* refresh the last seletion */ 851 /* refresh the last selection */
852 selection_position.x = 0; 852 selection_position.x = 0;
853 selection_position.y = 0; 853 selection_position.y = 0;
854 display_menu (mw, last_same, new_selection == old_selection, 854 display_menu (mw, last_same, new_selection == old_selection,