comparison src/frame-x.c @ 278:90d73dddcdc4 r21-0b37

Import from CVS: tag r21-0b37
author cvs
date Mon, 13 Aug 2007 10:31:29 +0200
parents ca9a9ec9c1c1
children c42ec1d1cded
comparison
equal deleted inserted replaced
277:cfdf3ff11843 278:90d73dddcdc4
2497 /* for obscure reasons having (I think) to do with the internal 2497 /* for obscure reasons having (I think) to do with the internal
2498 window-to-widget hierarchy maintained by Xt, we have to call 2498 window-to-widget hierarchy maintained by Xt, we have to call
2499 XtUnrealizeWidget() here. Xt can really suck. */ 2499 XtUnrealizeWidget() here. Xt can really suck. */
2500 if (f->being_deleted) 2500 if (f->being_deleted)
2501 XtUnrealizeWidget (w); 2501 XtUnrealizeWidget (w);
2502 if (NILP (popup)) 2502 XtDestroyWidget (w);
2503 XtDestroyWidget (w);
2504 x_error_occurred_p (dpy); 2503 x_error_occurred_p (dpy);
2505 } 2504 }
2506 #else 2505 #else
2507 XtDestroyWidget (w); 2506 XtDestroyWidget (w);
2508 #endif /* EXTERNAL_WIDGET */ 2507 #endif /* EXTERNAL_WIDGET */