Commit 05e3e412 authored by Paul Eggert's avatar Paul Eggert
Browse files

* 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.
parent d583b36b
2013-06-11 Paul Eggert <eggert@cs.ucla.edu>
* 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.
2013-06-10 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (get_it_property): Use it->window instead of generating
......
......@@ -8150,11 +8150,12 @@ parse_tool_bar_item (Lisp_Object key, Lisp_Object item)
#if !defined (USE_GTK) && !defined (HAVE_NS)
/* If we use build_desired_tool_bar_string to render the
tool bar, the separator is rendered as an image. */
PROP (TOOL_BAR_ITEM_IMAGES)
= menu_item_eval_property (Vtool_bar_separator_image_expression);
PROP (TOOL_BAR_ITEM_ENABLED_P) = Qnil;
PROP (TOOL_BAR_ITEM_SELECTED_P) = Qnil;
PROP (TOOL_BAR_ITEM_CAPTION) = Qnil;
set_prop (TOOL_BAR_ITEM_IMAGES,
(menu_item_eval_property
(Vtool_bar_separator_image_expression)));
set_prop (TOOL_BAR_ITEM_ENABLED_P, Qnil);
set_prop (TOOL_BAR_ITEM_SELECTED_P, Qnil);
set_prop (TOOL_BAR_ITEM_CAPTION, Qnil);
#endif
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment