changeset 35361:1b5e3bc8ce89

* xdisp.c (build_desired_tool_bar_string): Use :conversion instead of :algorithm.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 17 Jan 2001 13:14:45 +0000
parents ba490eed8f66
children f6b85f5a5397
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jan 17 13:14:01 2001 +0000
+++ b/src/xdisp.c	Wed Jan 17 13:14:45 2001 +0000
@@ -7187,7 +7187,7 @@
       int enabled_p = !NILP (PROP (TOOL_BAR_ITEM_ENABLED_P));
       int selected_p = !NILP (PROP (TOOL_BAR_ITEM_SELECTED_P));
       int hmargin, vmargin, relief, idx, end;
-      extern Lisp_Object QCrelief, QCmargin, QCalgorithm, Qimage;
+      extern Lisp_Object QCrelief, QCmargin, QCconversion, Qimage;
       extern Lisp_Object Qlaplace;
 
       /* If image is a vector, choose the image according to the
@@ -7277,7 +7277,7 @@
 	 for the disabled state, make the image appear disabled by
 	 applying an appropriate algorithm to it.  */
       if (!enabled_p && idx < 0)
-	plist = Fplist_put (plist, QCalgorithm, Qdisabled);
+	plist = Fplist_put (plist, QCconversion, Qdisabled);
       
       /* Put a `display' text property on the string for the image to
 	 display.  Put a `menu-item' property on the string that gives