diff src/ExternalClient.c @ 1094:4f4c898836ab

[xemacs-hg @ 2002-11-11 15:34:11 by stephent] crash message <87of8wyy85.fsf@tleepslib.sk.tsukuba.ac.jp> nas 1.6 <87isz4yy0o.fsf@tleepslib.sk.tsukuba.ac.jp> warning fixes <87el9syvg4.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 15:34:13 +0000
parents abe6d1db359e
children 8de911beca70
line wrap: on
line diff
--- a/src/ExternalClient.c	Mon Nov 11 14:23:50 2002 +0000
+++ b/src/ExternalClient.c	Mon Nov 11 15:34:13 2002 +0000
@@ -266,7 +266,9 @@
 static void
 externalClientRealize (Widget w, XtValueMask *vm, XSetWindowAttributes *attrs)
 {
+#ifdef TOOLTALK
   ExternalClientWidget ecw = (ExternalClientWidget)w;
+#endif
 
 #ifdef EXTW_USES_MOTIF
   (*xmPrimitiveWidgetClass->core_class.realize) (w, vm, attrs);
@@ -275,7 +277,6 @@
 #endif
 
 #ifdef TOOLTALK
-
   /* Make sure that the server actually knows about this window id before
    * telling Emacs about it.
    */