summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-05-18 04:45:29 +0000
committerEric Anholt <anholt@freebsd.org>2004-05-18 04:45:29 +0000
commitece6cefc8e0238071f89de520d4a969fede53bd6 (patch)
tree22e6abcf9d6dedccbb8f2012da5cff596996254d
parent51156051e17f4ec53cbfe34f3a79f38d5884b78d (diff)
http://freedesktop.org/cgi-bin/bugzilla/attachment.cgi?bugid=634
-rw-r--r--src/EditresCom.c1
-rw-r--r--src/WidgetNode.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/EditresCom.c b/src/EditresCom.c
index d706112..06efe0c 100644
--- a/src/EditresCom.c
+++ b/src/EditresCom.c
@@ -40,7 +40,6 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xatom.h>
#include <X11/Xos.h> /* for strcpy declaration */
#include <X11/Xfuncs.h>
-#include <X11/Xaw/Cardinals.h>
#include <X11/Xmu/EditresP.h>
#include <X11/Xmd.h>
#include <X11/Xmu/CharSet.h>
diff --git a/src/WidgetNode.c b/src/WidgetNode.c
index f8200b1..f80c765 100644
--- a/src/WidgetNode.c
+++ b/src/WidgetNode.c
@@ -38,7 +38,6 @@ in this Software without prior written authorization from The Open Group.
#include <stdlib.h>
#include <X11/Xos.h>
#include <X11/IntrinsicP.h>
-#include <X11/Xaw/Cardinals.h>
#include <X11/Xmu/CharSet.h>
#include <X11/Xmu/WidgetNode.h>
@@ -218,7 +217,7 @@ XmuWnFetchResources(XmuWidgetNode *node, Widget toplevel,
if (node->have_resources) return;
dummy = XtCreateWidget (node->label, XmuWnClass(node), toplevel,
- NULL, ZERO);
+ NULL, 0);
if (dummy) XtDestroyWidget (dummy);