From 9537fb9c0567157ca181c106c9c79756cee541bd Mon Sep 17 00:00:00 2001 From: Laszlo Boros Date: Fri, 2 Aug 2013 14:22:42 +0200 Subject: GTK3 support --- src/terminal-accels.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/terminal-accels.c') diff --git a/src/terminal-accels.c b/src/terminal-accels.c index 44b003b..499a2f5 100644 --- a/src/terminal-accels.c +++ b/src/terminal-accels.c @@ -29,6 +29,10 @@ #include "terminal-profile.h" #include "terminal-util.h" +#if GTK_CHECK_VERSION(3, 0, 0) + #include +#endif + /* NOTES * * There are two sources of keybindings changes, from GSettings and from @@ -814,7 +818,7 @@ accel_edited_callback (GtkCellRendererAccel *cell, GTK_BUTTONS_OK, _("The shortcut key ā€œ%sā€ is already bound to the ā€œ%sā€ action"), name, - + other_key->user_visible_name ? _(other_key->user_visible_name) : other_key->gsettings_key); g_free (name); -- cgit v1.2.1