Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c
index 041450dd0..93f21cbd3 100644
--- a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c
+++ b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifCommon.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation and others.
+ * Copyright (c) 2006, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -50,6 +50,7 @@ void displayMessage( char* title, char* message )
if ( displayName == NULL || strlen(displayName) == 0 ||
(topWindow == 0 && initWindowSystem( &saveArgc, saveArgv, 1 ) != 0) )
{
+ printf("%s:\n%s\n", title, message);
return;
}
msg = motif.XmStringGenerate( message, NULL, XmCHARSET_TEXT, NULL );
@@ -107,7 +108,7 @@ int initWindowSystem( int* pArgc, char* argv[], int showSplash )
to initialize the application.
*/
#ifdef AIX
- topWindow = XtInitialize(NULL, officialName, NULL, 0, pArgc, argv);
+ topWindow = motif.eclipseXtInitialize(NULL, officialName, NULL, 0, pArgc, argv);
#else
topWindow = motif.XtInitialize(NULL, officialName, NULL, 0, pArgc, argv);
#endif

Back to the top