diff options
| author | Jan Djärv | 2012-12-30 19:44:00 +0100 |
|---|---|---|
| committer | Jan Djärv | 2012-12-30 19:44:00 +0100 |
| commit | 5a1d858bbc5410916d764e7f9c62b4e405fab592 (patch) | |
| tree | f9d46c3356448d4647ce13352a30acc1b1e116c7 /src/coding.c | |
| parent | d5e5e7b41166815a843148f2081d19bc14b628b2 (diff) | |
| download | emacs-5a1d858bbc5410916d764e7f9c62b4e405fab592.tar.gz emacs-5a1d858bbc5410916d764e7f9c62b4e405fab592.zip | |
Check for deprecated gtk_handle_box in configure.
* configure.ac: Check for GtkHandlebox.
* src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
(xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
handlebox_widget. Set toolbar_in_hbox to false/true, set
toolbar_is_packed to true.
(xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
(update_frame_tool_bar): Check toolbar_is_packed for packing.
Show all on TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar): Check toolbar_is_packed. Use widget returned
by TOOLBAR_TOP_WIDGET.
(xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
Check toolbar_is_packed.
* src/xterm.h (struct x_output): Surround handlebox_widget with
#ifdef HAVE_GTK_HANDLE_BOX_NEW. toolbar_is_packed is new,
toolbar_in_hbox is bool.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions