diff options
| author | Paul Eggert | 2013-06-10 21:15:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-06-10 21:15:49 -0700 |
| commit | 05e3e4125d3c2b19eba1cf86ac4a84011b83efb8 (patch) | |
| tree | ac0a177a4cd8106987329142aff493832d9f6e6b /src/keyboard.c | |
| parent | d583b36b05d14fe7330a75262d4950770c42adb0 (diff) | |
| download | emacs-05e3e4125d3c2b19eba1cf86ac4a84011b83efb8.tar.gz emacs-05e3e4125d3c2b19eba1cf86ac4a84011b83efb8.zip | |
* keyboard.c: Don't use PROP (...) as an lvalue.
(parse_tool_bar_item) [!USE_GTK && !HAVE_NS]:
Use set_prop (A, B), not PROP (A) = B.
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index d01ecb9432b..7cb4c4b91e3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -8150,11 +8150,12 @@ parse_tool_bar_item (Lisp_Object key, Lisp_Object item) | |||
| 8150 | #if !defined (USE_GTK) && !defined (HAVE_NS) | 8150 | #if !defined (USE_GTK) && !defined (HAVE_NS) |
| 8151 | /* If we use build_desired_tool_bar_string to render the | 8151 | /* If we use build_desired_tool_bar_string to render the |
| 8152 | tool bar, the separator is rendered as an image. */ | 8152 | tool bar, the separator is rendered as an image. */ |
| 8153 | PROP (TOOL_BAR_ITEM_IMAGES) | 8153 | set_prop (TOOL_BAR_ITEM_IMAGES, |
| 8154 | = menu_item_eval_property (Vtool_bar_separator_image_expression); | 8154 | (menu_item_eval_property |
| 8155 | PROP (TOOL_BAR_ITEM_ENABLED_P) = Qnil; | 8155 | (Vtool_bar_separator_image_expression))); |
| 8156 | PROP (TOOL_BAR_ITEM_SELECTED_P) = Qnil; | 8156 | set_prop (TOOL_BAR_ITEM_ENABLED_P, Qnil); |
| 8157 | PROP (TOOL_BAR_ITEM_CAPTION) = Qnil; | 8157 | set_prop (TOOL_BAR_ITEM_SELECTED_P, Qnil); |
| 8158 | set_prop (TOOL_BAR_ITEM_CAPTION, Qnil); | ||
| 8158 | #endif | 8159 | #endif |
| 8159 | return 1; | 8160 | return 1; |
| 8160 | } | 8161 | } |