rebuild geeqie
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1XawInit.c
blob965976b01c42e9b95fb5a3e52a5034e7fabce7af
1 /*
2 * $XConsortium: XawInit.c,v 1.1 89/10/09 14:59:47 jim Exp $
4 * Copyright 1989 Massachusetts Institute of Technology
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of M.I.T. not be used in advertising or
11 * publicity pertaining to distribution of the software without specific,
12 * written prior permission. M.I.T. makes no representations about the
13 * suitability of this software for any purpose. It is provided "as is"
14 * without express or implied warranty.
16 * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
18 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 * XawInitializeWidgetSet
26 * This routine forces a reference to vendor shell so that the one in this
27 * widget is installed. Any other cross-widget set initialization should be
28 * done here as well. All Athena widgets should include "XawInit.h" and
29 * call this routine from their ClassInitialize procs (this routine may be
30 * used as the class init proc).
33 #include <X11/Intrinsic.h>
34 #include <X11/Vendor.h>
35 #include <./Xaw3_1XawInit.h>
37 void XawInitializeWidgetSet ()
39 static int firsttime = 1;
41 if (firsttime) {
42 firsttime = 0;
43 XtInitializeWidgetClass (vendorShellWidgetClass);