425N/A/*
425N/A * $XConsortium: XawInit.c,v 1.1 89/10/09 14:59:47 jim Exp $
1276N/A *
425N/A * Copyright 1989 Massachusetts Institute of Technology
1345N/A *
425N/A * Permission to use, copy, modify, distribute, and sell this software and its
425N/A * documentation for any purpose is hereby granted without fee, provided that
919N/A * the above copyright notice appear in all copies and that both that
919N/A * copyright notice and this permission notice appear in supporting
919N/A * documentation, and that the name of M.I.T. not be used in advertising or
919N/A * publicity pertaining to distribution of the software without specific,
919N/A * written prior permission. M.I.T. makes no representations about the
919N/A * suitability of this software for any purpose. It is provided "as is"
919N/A * without express or implied warranty.
919N/A *
919N/A * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
919N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
919N/A * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
919N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
919N/A * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
919N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
919N/A *
919N/A *
919N/A * XawInitializeWidgetSet
425N/A *
425N/A * This routine forces a reference to vendor shell so that the one in this
425N/A * widget is installed. Any other cross-widget set initialization should be
425N/A * done here as well. All Athena widgets should include "XawInit.h" and
493N/A * call this routine from their ClassInitialize procs (this routine may be
425N/A * used as the class init proc).
425N/A */
1370N/A
425N/A#include <X11/Intrinsic.h>
911N/A#include <X11/Vendor.h>
1370N/A#include <./Xaw3_1XawInit.h>
1370N/A
1370N/Avoid XawInitializeWidgetSet ()
911N/A{
425N/A static int firsttime = 1;
1276N/A
1233N/A if (firsttime) {
425N/A firsttime = 0;
425N/A XtInitializeWidgetClass (vendorShellWidgetClass);
493N/A }
425N/A}
425N/A