[gtk+/gtk-3-10] bindings: Fix stray semicolons in CSS example for bindings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] bindings: Fix stray semicolons in CSS example for bindings
- Date: Tue, 26 Nov 2013 21:05:53 +0000 (UTC)
commit 687cfeac8020829a6788ad0e4a57b63cbdbb55b0
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]