[gtk+] bindings: Fix stray semicolons in CSS example for bindings
- From: Michael Wood <mwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] bindings: Fix stray semicolons in CSS example for bindings
- Date: Tue, 26 Nov 2013 12:28:59 +0000 (UTC)
commit 89f78a718b2eb847c87c4ca6857f45f849ba5ad4
Author: Michael Wood <michael g wood intel com>
Date: Mon Nov 25 15:59:41 2013 +0000
bindings: Fix stray semicolons in CSS example for bindings
Semicolon shouldn't be at the end of binding set
gtk/gtkbindings.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 3c1ab7d..c8a2a2d 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -73,10 +73,10 @@
* {
* bind "<Control>Right" { "move-cursor" (visual-positions, 3, 0) };
* bind "<Control>Left" { "move-cursor" (visual-positions, -3, 0) };
- * };
+ * }
* GtkEntry
* {
- * gtk-key-bindings: MoveCursor3
+ * gtk-key-bindings: MoveCursor3;
* }
* </programlisting></informalexample>
* </para>
@@ -96,10 +96,10 @@
* {
* bind "<Control>Right" { };
* bind "<Control>Left" { };
- * };
+ * }
* GtkEntry
* {
- * gtk-key-bindings: MoveCursor3
+ * gtk-key-bindings: MoveCursor3;
* }
* </programlisting></informalexample>
* The above example will not have the desired effect of causing
@@ -117,10 +117,10 @@
* {
* unbind "<Control>Right";
* unbind "<Control>Left";
- * };
+ * }
* GtkEntry
* {
- * gtk-key-bindings: MoveCursor3
+ * gtk-key-bindings: MoveCursor3;
* }
* </programlisting></informalexample>
* Now, GTK+ will find a match when looking up "<Control>Right"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]