diff options
author | Martin Rudalics <rudalics@gmx.at> | 2013-12-03 08:45:54 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2013-12-03 08:45:54 +0100 |
commit | 7303a0aefc1fbabfea1b6b7711a6da2289aecdb2 (patch) | |
tree | 3d00b2cab57dac461a9810a9a77f7bdeefd4fbf1 /src/gtkutil.h | |
parent | 39fa32d6359c8292dd91ce1c58da1aa3f8668bd8 (diff) | |
download | emacs-7303a0aefc1fbabfea1b6b7711a6da2289aecdb2.tar.gz |
Fix issues related to pixelwise resizing. (Bug#16013) (Bug#16033)
* window.c (Fset_window_new_pixel): Don't choke at negative
argument value (Bug#16033).
* xfns.c (Fx_create_frame): Add another call to change_frame_size
to avoid crash in window_box_height.
* gtkutil.h: Fix external declaration of xg_frame_set_char_size.
* gtkutil.c (xg_frame_set_char_size, style_changed_cb): Fix size
calculation.
* xterm.c (x_set_window_size): Fix size calculation (Bug#16013).
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r-- | src/gtkutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index 1c26d2aa44b..a2c5bb3ee76 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h @@ -139,7 +139,7 @@ extern void xg_change_toolbar_position (struct frame *f, Lisp_Object pos); extern void xg_frame_resized (struct frame *f, int pixelwidth, int pixelheight); -extern void xg_frame_set_char_size (struct frame *f, int cols, int rows); +extern void xg_frame_set_char_size (struct frame *f, int width, int height); extern GtkWidget * xg_win_to_widget (Display *dpy, Window wdesc); extern void xg_display_open (char *display_name, Display **dpy); |