aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2003-06-02 18:50:51 +0000
committerDave Love2003-06-02 18:50:51 +0000
commit5b07197ad97cfdac6af695fac3a5efbf8f8c122a (patch)
tree4c141df92d851fdf78a71a53ffd496548ed135cb /src
parentc14e5a3a15051728002e0c6362bae5b4b1a1956f (diff)
downloademacs-5b07197ad97cfdac6af695fac3a5efbf8f8c122a.tar.gz
emacs-5b07197ad97cfdac6af695fac3a5efbf8f8c122a.zip
Include keyboard.h, charset.h, coding.h.
(xg_create_frame_widgets): Use ENCODE_UTF_8.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog32
-rw-r--r--src/gtkutil.c7
2 files changed, 37 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d5423516f00..7ecdb754e1d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,35 @@
12003-06-02 Dave Love <fx@gnu.org>
2
3 * callproc.c: Use HAVE_FCNTL_H, not USG5.
4 (syms_of_callproc) <process-environment>: Doc fix.
5
6 * doc.c: Use HAVE_FCNTL_H, not USG5.
7
8 * xfaces.c (font_rescale_ratio): Fix for K&R.
9
10 * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION.
11
12 * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H.
13
14 * lread.c [HAVE_FCNTL_H]: Include fcntl.h.
15
16 * gtkutil.c: Include keyboard.h, charset.h, coding.h.
17 (xg_create_frame_widgets): Use ENCODE_UTF_8.
18
19 * xterm.c (Qutf_8): Moved to coding.c
20
21 * xmenu.c (ENCODE_MENU_STRING): New.
22 (list_of_panes, list_of_items, digest_single_submenu, xmenu_show):
23 Use it.
24
25 * coding.h (ENCODE_UTF_8): New.
26 (Qutf_8): Declare.
27
28 * coding.c (Qutf_8): New.
29 (syms_of_coding): Intern it.
30
31 * fns.c: Doc fixes.
32
12003-06-02 Kenichi Handa <handa@m17n.org> 332003-06-02 Kenichi Handa <handa@m17n.org>
2 34
3 * buffer.c (Fset_buffer_multibyte): Fix previous change. 35 * buffer.c (Fset_buffer_multibyte): Fix previous change.
diff --git a/src/gtkutil.c b/src/gtkutil.c
index f2690635f53..76d16c07695 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -31,6 +31,9 @@ Boston, MA 02111-1307, USA. */
31#include "atimer.h" 31#include "atimer.h"
32#include "gtkutil.h" 32#include "gtkutil.h"
33#include "termhooks.h" 33#include "termhooks.h"
34#include "keyboard.h"
35#include "charset.h"
36#include "coding.h"
34#include <gdk/gdkkeysyms.h> 37#include <gdk/gdkkeysyms.h>
35 38
36#define FRAME_TOTAL_PIXEL_HEIGHT(f) \ 39#define FRAME_TOTAL_PIXEL_HEIGHT(f) \
@@ -498,8 +501,8 @@ xg_create_frame_widgets (f)
498 gtk_widget_set_name (wfixed, SDATA (Vx_resource_name)); 501 gtk_widget_set_name (wfixed, SDATA (Vx_resource_name));
499 502
500 /* If this frame has a title or name, set it in the title bar. */ 503 /* If this frame has a title or name, set it in the title bar. */
501 if (! NILP (f->title)) title = SDATA (f->title); 504 if (! NILP (f->title)) title = SDATA (ENCODE_UTF_8 (f->title));
502 else if (! NILP (f->name)) title = SDATA (f->name); 505 else if (! NILP (f->name)) title = SDATA (ENCODE_UTF_8 (f->name));
503 506
504 if (title) gtk_window_set_title (GTK_WINDOW (wtop), title); 507 if (title) gtk_window_set_title (GTK_WINDOW (wtop), title);
505 508