Mercurial > hg > xemacs-beta
annotate lwlib/lwlib-Xm.h @ 4733:a5210e70ffbe
No need to fatal () on startup if $PWD doesn't exist; chdir to "/" instead.
src/ChangeLog addition:
2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
* sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
New #define, "/" on Unix and "C:\\" on Win32 native, a directory
that should "always" be available.
* fileio.c (Fexpand_file_name): Use DEFAULT_DIRECTORY_FALLBACK
here, instead of conditionalising on WIN32_NATIVE.
* editfns.c (get_home_directory):
Use DEFAULT_DIRECTORY_FALLBACK if looking up the home directory
fails, on both Windows and Unix.
* buffer.c (init_initial_directory):
Don't give a fatal error if the current directory doesn't exist,
chdir to DEFAULT_DIRECTORY_FALLBACK instead.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 08 Nov 2009 17:27:26 +0000 |
parents | 98528da0b7fc |
children | ade4c7e2c6cb |
rev | line source |
---|---|
440 | 1 #ifndef INCLUDED_lwlib_Xm_h_ |
2 #define INCLUDED_lwlib_Xm_h_ | |
428 | 3 |
4 #include "lwlib-internal.h" | |
5 | |
450 | 6 extern const widget_creation_entry xm_creation_table []; |
428 | 7 |
8 Widget | |
9 xm_create_dialog (widget_instance* instance); | |
10 | |
11 Widget | |
12 xm_create_label (Widget parent, widget_value* val); | |
13 | |
14 Boolean | |
15 lw_motif_widget_p (Widget widget); | |
16 | |
17 void | |
18 xm_update_one_widget (widget_instance* instance, Widget widget, | |
19 widget_value* val, Boolean deep_p); | |
20 | |
21 void | |
22 xm_update_one_value (widget_instance* instance, Widget widget, | |
23 widget_value* val); | |
24 | |
25 void | |
26 xm_destroy_instance (widget_instance* instance); | |
27 | |
28 void | |
29 xm_set_keyboard_focus (Widget parent, Widget w); | |
30 | |
31 void | |
32 xm_popup_menu (Widget widget, XEvent *event); | |
33 | |
34 void | |
35 xm_pop_instance (widget_instance* instance, Boolean up); | |
36 | |
37 extern Widget first_child (Widget); /* garbage */ | |
38 | |
440 | 39 #endif /* INCLUDED_lwlib_Xm_h_ */ |