Mercurial > hg > xemacs-beta
comparison src/glyphs-x.c @ 1111:184461bc8de4
[xemacs-hg @ 2002-11-18 06:52:23 by ben]
warning fixes, etc.
* s/cygwin32.h:
-fvtable-thunks is obsolete in GCC 3 and generates warnings.
* s/mingw32.h:
* s/windowsnt.h:
Comment fixes.
* emodules.h:
Fix warnings from redefining symbols.
* eval.c:
Fix C++ errors -- no automatic casting between function pointers
and void *, function declarations inside of functions not allowed.
* event-Xt.c (emacs_Xt_enqueue_focus_event):
Warning fixes.
* fileio.c (Ffile_truename):
Warning fixes.
Use LOCAL_TO_WIN32_FILE_FORMAT rather than duplicating it.
* glyphs-x.c:
Fix style.
* intl-auto-encap-win32.c:
* intl-auto-encap-win32.h:
* intl-encap-win32.c:
* intl-encap-win32.c (qxeRegConnectRegistry):
* syswindows.h (RegConnectRegistry):
DdeCreateStringHandle needs to be manual due to new Cygwin bug.
* intl-win32.c:
wcslen/wcscmp don't seem to exist under G++ 3, Cygwin.
* lisp.h:
* lisp-union.h:
* lisp-disunion.h:
* process-unix.c (unix_send_process):
Ugh, C needs volatile and C++ must not have volatile. Remove
previous volatile hacks, which don't seem to be working any more.
* sheap.c (STATIC_HEAP_SLOP):
Try to get a working Cygwin build with old unexec.
* sheap.c (more_static_core):
No NL's in literals allowed.
* symbols.c (Fset):
Fix C++ errors.
* syswindows.h:
Fix Cygwin complaints now that some missing structs have been added.
aclocal.m4: Disable shared library modules under Cygwin for the moment,
since we need some more tricky coding done and I don't have the
time right now.
configure.in, configure.usage:
code-files.el, loadhist.el: Fix warnings.
package-get.el: Fix warnings.
NOTE: This was already fixed awhile ago, but reverted by Steve Y.
Please be careful.
postgresql/Makefile.in.in: Removed.
Move common stuff into modues/common/Makefile.common. (Also
add extraclean target and a couple of other fixes in that file.)
postgresql/configure.ac: Extract out common configure stuff into
modules/common/configure-{pre,post}.ac.
postgresql/postgresql.c: Fix warning.
ldap/Makefile.in.in: Removed.
Move common stuff into modues/common/Makefile.common. (Also
add extraclean target and a couple of other fixes in that file.)
ldap/configure.ac: Extract out common configure stuff into
modules/common/configure-{pre,post}.ac.
common/Makefile.common: Common stuff is here.
author | ben |
---|---|
date | Mon, 18 Nov 2002 06:53:08 +0000 |
parents | 79fb6b9e9f76 |
children | e22b0213b713 |
comparison
equal
deleted
inserted
replaced
1110:49065a0d2943 | 1111:184461bc8de4 |
---|---|
140 Lisp_Object pointer_bg, | 140 Lisp_Object pointer_bg, |
141 int dest_mask, | 141 int dest_mask, |
142 Lisp_Object domain); | 142 Lisp_Object domain); |
143 | 143 |
144 #ifdef HAVE_X_WIDGETS | 144 #ifdef HAVE_X_WIDGETS |
145 static void | 145 static void update_widget_face (widget_value* wv, |
146 update_widget_face (widget_value* wv, | 146 Lisp_Image_Instance* ii, Lisp_Object domain); |
147 Lisp_Image_Instance* ii, Lisp_Object domain); | 147 static void update_tab_widget_face (widget_value* wv, |
148 static void | 148 Lisp_Image_Instance* ii, |
149 update_tab_widget_face (widget_value* wv, | 149 Lisp_Object domain); |
150 Lisp_Image_Instance* ii, Lisp_Object domain); | 150 #endif |
151 #endif | 151 void emacs_Xt_handle_widget_losing_focus (struct frame* f, |
152 void | 152 Widget losing_widget); |
153 emacs_Xt_handle_widget_losing_focus (struct frame* f, Widget losing_widget); | 153 void emacs_Xt_enqueue_focus_event (Widget wants_it, Lisp_Object frame, |
154 void | 154 int in_p); |
155 enqueue_focus_event (Widget wants_it, Lisp_Object frame, int in_p); | |
156 | 155 |
157 #include "bitmaps.h" | 156 #include "bitmaps.h" |
158 | 157 |
159 | 158 |
160 /************************************************************************/ | 159 /************************************************************************/ |
2079 XtMoveWidget (IMAGE_INSTANCE_X_WIDGET_ID (p), | 2078 XtMoveWidget (IMAGE_INSTANCE_X_WIDGET_ID (p), |
2080 -dga->xoffset, -dga->yoffset); | 2079 -dga->xoffset, -dga->yoffset); |
2081 if (!IMAGE_INSTANCE_SUBWINDOW_DISPLAYEDP (p)) | 2080 if (!IMAGE_INSTANCE_SUBWINDOW_DISPLAYEDP (p)) |
2082 XtMapWidget (IMAGE_INSTANCE_X_CLIPWIDGET (p)); | 2081 XtMapWidget (IMAGE_INSTANCE_X_CLIPWIDGET (p)); |
2083 /* See comments in glyphs-msw.c about keyboard focus. */ | 2082 /* See comments in glyphs-msw.c about keyboard focus. */ |
2084 if (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS (p)) { | 2083 if (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS (p)) |
2085 /* #### FIXME to pop-up the find dialog we map the text-field | 2084 { |
2086 seven times! This doesn't show on a fast linux box but does | 2085 /* #### FIXME to pop-up the find dialog we map the text-field |
2087 under X on windows. */ | 2086 seven times! This doesn't show on a fast linux box but does |
2088 enqueue_focus_event (IMAGE_INSTANCE_X_WIDGET_ID (p), | 2087 under X on windows. */ |
2089 IMAGE_INSTANCE_FRAME (p), 1); | 2088 emacs_Xt_enqueue_focus_event (IMAGE_INSTANCE_X_WIDGET_ID (p), |
2090 } | 2089 IMAGE_INSTANCE_FRAME (p), 1); |
2090 } | |
2091 } | 2091 } |
2092 } | 2092 } |
2093 | 2093 |
2094 /* when you click on a widget you may activate another widget this | 2094 /* when you click on a widget you may activate another widget this |
2095 needs to be checked and all appropriate widgets updated */ | 2095 needs to be checked and all appropriate widgets updated */ |