summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-01-23 22:14:28 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-01-23 22:14:28 -0500
commit0363a7a2e34e3d72aa0995fa5c9b7a3aaae00f29 (patch)
tree9ff1fb0ec538df2ca6de84382e8db712b5f064d5 /examples
parent5c10f8ce8c17a181aa989df9a2b325d598004d7d (diff)
downloadgtk+-0363a7a2e34e3d72aa0995fa5c9b7a3aaae00f29.tar.gz
Bloatpad: propertly escape <> in markup
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 8ac2d02a16..ba8164a708 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -275,20 +275,20 @@ bloat_pad_startup (GApplication *application)
"<interface>"
" <menu id='app-menu'>"
" <section>"
- " <item label='_New Window' action='app.new' accel='<Primary>n'/>"
+ " <item label='_New Window' action='app.new' accel='&lt;Primary&gt;n'/>"
" </section>"
" <section>"
" <item label='_About Bloatpad' action='app.about'/>"
" </section>"
" <section>"
- " <item label='_Quit' action='app.quit' accel='<Primary>q'/>"
+ " <item label='_Quit' action='app.quit' accel='&lt;Primary&gt;q'/>"
" </section>"
" </menu>"
" <menu id='menubar'>"
" <submenu label='_Edit'>"
" <section>"
- " <item label='_Copy' action='win.copy' accel='<Primary>c'/>"
- " <item label='_Paste' action='win.paste' accel='<Primary>v'/>"
+ " <item label='_Copy' action='win.copy' accel='&lt;Primary&gt;c'/>"
+ " <item label='_Paste' action='win.paste' accel='&lt;Primary&gt;v'/>"
" </section>"
" </submenu>"
" <submenu label='_View'>"