diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-30 09:14:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-30 09:14:22 -0700 |
commit | 1d71c1d9dea59dde3b7a868f427226fb61132dfb (patch) | |
tree | 8c9d61979eee210dd406ccd757221c05421703ee /lwlib/lwlib.h | |
parent | 16b6e7f29bca991ca4620e476f3d5ca2d1a09014 (diff) | |
download | emacs-1d71c1d9dea59dde3b7a868f427226fb61132dfb.tar.gz emacs-1d71c1d9dea59dde3b7a868f427226fb61132dfb.tar.bz2 emacs-1d71c1d9dea59dde3b7a868f427226fb61132dfb.zip |
Fix minor problems found by static checking.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
Now const.
* src/widget.c (resize_cb): Remove unused local.
Diffstat (limited to 'lwlib/lwlib.h')
-rw-r--r-- | lwlib/lwlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 2fccc7a4f42..849930c3d25 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -171,9 +171,15 @@ void lw_refigure_widget (Widget w, Boolean doit); Boolean lw_window_is_in_menubar (Window win, Widget menubar_widget); /* Manage resizing: TRUE permits resizing widget w; FALSE disallows it. */ +#ifndef USE_MOTIF +ATTRIBUTE_CONST +#endif void lw_allow_resizing (Widget w, Boolean flag); /* Set up the main window. */ +#ifndef USE_MOTIF +ATTRIBUTE_CONST +#endif void lw_set_main_areas (Widget parent, Widget menubar, Widget work_area); |