Mercurial > hg > xemacs-beta
comparison lwlib/lwlib-Xlw.c @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | b39c14581166 |
children | c2569faae8ed |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
28 #include <X11/StringDefs.h> | 28 #include <X11/StringDefs.h> |
29 #include <X11/IntrinsicP.h> | 29 #include <X11/IntrinsicP.h> |
30 #include <X11/ObjectP.h> | 30 #include <X11/ObjectP.h> |
31 #include <X11/CompositeP.h> | 31 #include <X11/CompositeP.h> |
32 #include <X11/Shell.h> | 32 #include <X11/Shell.h> |
33 #ifdef HAVE_WIDGETS | 33 #ifdef HAVE_X_WIDGETS |
34 #include "../src/EmacsManager.h" | 34 #include "../src/EmacsManager.h" |
35 #endif | 35 #endif |
36 #ifdef LWLIB_MENUBARS_LUCID | 36 #ifdef LWLIB_MENUBARS_LUCID |
37 #include "xlwmenu.h" | 37 #include "xlwmenu.h" |
38 #endif | 38 #endif |
454 if (cur) | 454 if (cur) |
455 abort (); | 455 abort (); |
456 } | 456 } |
457 #endif /* LWLIB_TABS_LUCID */ | 457 #endif /* LWLIB_TABS_LUCID */ |
458 | 458 |
459 #ifdef HAVE_WIDGETS | 459 #ifdef HAVE_X_WIDGETS |
460 static Widget | 460 static Widget |
461 xlw_create_clip_window (widget_instance *instance) | 461 xlw_create_clip_window (widget_instance *instance) |
462 { | 462 { |
463 Arg al[20]; | 463 Arg al[20]; |
464 int ac = 0; | 464 int ac = 0; |
494 {"horizontal-scrollbar", xlw_create_horizontal_scrollbar}, | 494 {"horizontal-scrollbar", xlw_create_horizontal_scrollbar}, |
495 #endif | 495 #endif |
496 #ifdef LWLIB_TABS_LUCID | 496 #ifdef LWLIB_TABS_LUCID |
497 {"tab-control", xlw_create_tab_control}, | 497 {"tab-control", xlw_create_tab_control}, |
498 #endif | 498 #endif |
499 #ifdef HAVE_WIDGETS | 499 #ifdef HAVE_X_WIDGETS |
500 {"clip-window", xlw_create_clip_window}, | 500 {"clip-window", xlw_create_clip_window}, |
501 #endif | 501 #endif |
502 {NULL, NULL} | 502 {NULL, NULL} |
503 }; | 503 }; |
504 | 504 |
522 if (the_class == overrideShellWidgetClass) | 522 if (the_class == overrideShellWidgetClass) |
523 return | 523 return |
524 XtClass (((CompositeWidget)widget)->composite.children [0]) | 524 XtClass (((CompositeWidget)widget)->composite.children [0]) |
525 == xlwMenuWidgetClass; | 525 == xlwMenuWidgetClass; |
526 #endif | 526 #endif |
527 #ifdef HAVE_WIDGETS | 527 #ifdef HAVE_X_WIDGETS |
528 if (the_class == emacsManagerWidgetClass) | 528 if (the_class == emacsManagerWidgetClass) |
529 return True; | 529 return True; |
530 #endif | 530 #endif |
531 return False; | 531 return False; |
532 } | 532 } |