]> git.eshelyaron.com Git - emacs.git/commit
Minor cleanups to PGTK code
authorPo Lu <luangruo@yahoo.com>
Mon, 18 Apr 2022 01:21:45 +0000 (09:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 18 Apr 2022 01:24:36 +0000 (09:24 +0800)
commitd1f315751d960f003317713a65cc480b3d0ee726
tree7ece9d47381ad535b5ff37b75aeec06f8cb5aae2
parent0bb8e127b08dcddc67c7fd62b966d89db5135a79
Minor cleanups to PGTK code

* src/gtkutil.c (xg_set_geometry):
(xg_frame_set_char_size):
(x_wm_set_size_hint): Rename to `xg_wm_set_size_hint'.  All
callers changed.
* src/gtkutil.h: Update prototypes.
* src/pgtkfns.c (unwind_create_frame):
(Fx_create_frame):
(compute_tip_xy):
* src/pgtkterm.c (x_free_frame_resources):
(x_destroy_window):
(x_calc_absolute_position):
(x_set_offset):
(pgtk_set_window_size):
(x_display_pixel_height):
(x_display_pixel_width):
(x_set_parent_frame): Rename `x_foo' functions to `pgtk_foo'.
Get rid of some copy-pasted code from various places.
(pgtk_create_terminal): Clean up coding style.
* src/pgtkterm.h: Update prototypes.
src/gtkutil.c
src/gtkutil.h
src/pgtkfns.c
src/pgtkterm.c
src/pgtkterm.h
src/xterm.c