diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2012-08-13 21:12:26 +0200 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2012-08-13 21:12:26 +0200 |
commit | ca06f160f428224a98cbd6e3ea0dac89b99119ef (patch) | |
tree | 506600b9abcb0993a82fc81c8016ca458d7b9ec9 /lisp/emacs-lisp | |
parent | aa7c6dbeba48522d892cbf011c40a9fef0c369f7 (diff) | |
download | emacs-ca06f160f428224a98cbd6e3ea0dac89b99119ef.tar.gz emacs-ca06f160f428224a98cbd6e3ea0dac89b99119ef.tar.bz2 emacs-ca06f160f428224a98cbd6e3ea0dac89b99119ef.zip |
Don't redraw tool bar for Gtk+ unless out of date.
* gtkutil.c (xg_frame_tb_info): New struct.
(TB_INFO_KEY): New define.
(xg_free_frame_widgets): Free xg_frame_tb_info for frame if present.
(xg_mark_data): Mark Lisp_Objects in xg_frame_tb_info.
(xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info
if not present.
(update_frame_tool_bar): Return early if data in xg_frame_tb_info
is up to date. Otherwise store new data.
(free_frame_tool_bar): Free xg_frame_tb_info if present.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions