From 487584dd4a3e634fa26be05331eaf722de961463 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 5 May 1994 20:30:32 +0000 Subject: (x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize. --- src/xrdb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/xrdb.c') diff --git a/src/xrdb.c b/src/xrdb.c index 8ce0ac1ec6c..a064bb59a57 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -521,7 +521,11 @@ x_load_resources (display, xrm_string, myname, myclass) XrmDatabase db; x_rm_string = XrmStringToQuark (XrmStringType); +#ifndef USE_X_TOOLKIT + /* pmr@osf.org says this shouldn't be done if USE_X_TOOLKIT. + I suspect it's because the toolkit version does this elsewhere. */ XrmInitialize (); +#endif rdb = XrmGetStringDatabase (""); user_database = get_user_db (display); -- cgit v1.2.1