aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2014-10-18 18:19:53 +0200
committerJan Djärv2014-10-18 18:19:53 +0200
commit3f4c6d52d345999938bc2d4a53246af4c61ef176 (patch)
tree0103262a2daac51aa88c1cf0d27cacbd8a9192d2 /src/ChangeLog
parenta4c80e35cc48376a3e35b11ee41cf3859b93efd5 (diff)
downloademacs-3f4c6d52d345999938bc2d4a53246af4c61ef176.tar.gz
emacs-3f4c6d52d345999938bc2d4a53246af4c61ef176.zip
Handle deprecated Gtk+ stuff for version <= 3.10
* lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as replacements to stock names before stock names in a list. Cdr may be a list, each name is tried in turn until one is found. * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines to handle Gtk versions. (xg_get_file_with_chooser): Use them. (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove (create_menus): Remove teroff argument and code. Remove call to gtk_menu_set_title. (xg_update_menubar, xg_update_submenu): Remove tearoff code. Adjust args to create_menus. (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback) (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove. (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code. (xg_make_tool_item): Remove detach code. (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET. (find_icon_from_name): New function. (update_frame_tool_bar): Remove GtkStockItem code, move to find_icon_from_name. Let stock be a list of icon names to try. Only use gtk_image_new_from_stock on Gtk+ < 3.10. Replace TOOLBAR_TOP_WIDGET. (free_frame_tool_bar, xg_change_toolbar_position ): Replace TOOLBAR_TOP_WIDGET. (xg_initialize): Remove tearoff code. * src/gtkutil.h (xg_have_tear_offs): Remove declaration. * src/xmenu.c (set_frame_menubar): Remove GTK block that calls xg_have_tear_offs. * src/xterm.h (handlebox_widget): Remove.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a28ae469001..9ac2695a0e0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12014-10-18 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.h (handlebox_widget): Remove.
4
5 * xmenu.c (set_frame_menubar): Remove GTK block that calls
6 xg_have_tear_offs.
7
8 * gtkutil.h (xg_have_tear_offs): Remove declaration.
9
10 * gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
11 to handle Gtk versions.
12 (xg_get_file_with_chooser): Use them.
13 (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
14 (create_menus): Remove teroff argument and code.
15 Remove call to gtk_menu_set_title.
16 (xg_update_menubar, xg_update_submenu): Remove tearoff code. Adjust
17 args to create_menus.
18 (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
19 (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
20 (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
21 (xg_make_tool_item): Remove detach code.
22 (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
23 (find_icon_from_name): New function.
24 (update_frame_tool_bar): Remove GtkStockItem code, move to
25 find_icon_from_name. Let stock be a list of icon names to try.
26 Only use gtk_image_new_from_stock on Gtk+ < 3.10.
27 Replace TOOLBAR_TOP_WIDGET.
28 (free_frame_tool_bar, xg_change_toolbar_position ): Replace
29 TOOLBAR_TOP_WIDGET.
30 (xg_initialize): Remove tearoff code.
31
12014-10-18 Eli Zaretskii <eliz@gnu.org> 322014-10-18 Eli Zaretskii <eliz@gnu.org>
2 33
3 * xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1 34 * xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1