diff options
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-02-18 13:38:55 +0000 |
---|---|---|
committer | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-02-18 13:38:55 +0000 |
commit | a0e9e17d907f67bcf1cc91ce38e958c0ce4fa76b (patch) | |
tree | bd0873d73fee7968ecaf385fd139b53622da4638 /src/widget.c | |
parent | 517b45d543d956356dd5f844cc33abfb5a1a6170 (diff) | |
download | emacs-a0e9e17d907f67bcf1cc91ce38e958c0ce4fa76b.tar.gz |
entered into RCS
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/widget.c b/src/widget.c index 4c39f1ff4c7..298113f6d43 100644 --- a/src/widget.c +++ b/src/widget.c @@ -167,11 +167,6 @@ get_default_char_pixel_size (ew, pixel_width, pixel_height) int* pixel_width; int* pixel_height; { -/* - *pixel_width = XTextWidth (ew->emacs_frame.font, "n", 1); - *pixel_height = - ew->emacs_frame.font->ascent + ew->emacs_frame.font->descent; -*/ struct frame* f = ew->emacs_frame.frame; *pixel_width = FONT_WIDTH (f->display.x->font); *pixel_height = FONT_HEIGHT (f->display.x->font); @@ -866,30 +861,6 @@ EmacsFrameQueryGeometry (widget, request, result) return result->request_mode ? XtGeometryAlmost : XtGeometryYes; } -#if 0 -/* I don't know why this is necessary; Matthieu said he had to do - it to make the focus handlers work?? - */ -static void -key_press (w, event, params, n_params) - Widget w; - XEvent* event; - String *params; - Cardinal *n_params; -{ -} - -static void -emacs_frame_focus_handler (w, event, params, n_params) - Widget w; - XEvent *event; - String *params; - Cardinal *n_params; -{ - emacs_Xt_focus_event_handler (event, 0); -} -#endif - /* Special entrypoints */ void EmacsFrameSetCharSize (widget, columns, rows) |