summaryrefslogtreecommitdiff
path: root/actions.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:08 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:08 +0000
commitfa4ef1a243718070d41d20527a9dfbd695c28f8c (patch)
treef522075b90901fe276a9b3f2ff366d75bd39e5b6 /actions.c
parentef6bf0e77229ee34d91221ee4c5e5695ee083ed8 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branchXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASEXINERAMA_2XEVIE
Diffstat (limited to 'actions.c')
-rw-r--r--actions.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions.c b/actions.c
index eec4207..800231c 100644
--- a/actions.c
+++ b/actions.c
@@ -23,7 +23,7 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/programs/editres/actions.c,v 1.6 2001/12/14 20:00:42 dawes Exp $ */
+/* $XFree86: xc/programs/editres/actions.c,v 1.7 2003/05/27 22:26:55 tsi Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -133,7 +133,7 @@ Cardinal * num_params;
case SelectAll:
case SelectNone:
case SelectInvert:
- _TreeSelect(global_tree_info, type);
+ _TreeSelect(global_tree_info, (SelectTypes)type);
break;
case SelectWidget:
_FindWidget(XtParent(w));
@@ -141,9 +141,9 @@ Cardinal * num_params;
default:
node = FindTreeNodeFromWidget(w);
if (node)
- _TreeActivateNode(node, type);
+ _TreeActivateNode(node, (SelectTypes)type);
else
- _TreeSelect(global_tree_info, type);
+ _TreeSelect(global_tree_info, (SelectTypes)type);
break;
}
}
@@ -175,10 +175,10 @@ Cardinal * num_params;
return;
if ((node = FindTreeNodeFromWidget(w)) == NULL)
- _TreeRelabel(global_tree_info, type);
+ _TreeRelabel(global_tree_info, (LabelTypes)type);
else {
PrepareToLayoutTree(global_tree_info->tree_widget);
- _TreeRelabelNode(node, type, FALSE);
+ _TreeRelabelNode(node, (LabelTypes)type, FALSE);
LayoutTree(global_tree_info->tree_widget);
}
}