[gtkmm] gdk_docs.xml: Another regeneration because of parsing errors.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gdk_docs.xml: Another regeneration because of parsing errors.
- Date: Tue, 13 Apr 2010 16:53:43 +0000 (UTC)
commit d3ec386de4f30c7de585dc2c0b819ac593a1f6d0
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Tue Apr 13 12:52:56 2010 -0400
gdk_docs.xml: Another regeneration because of parsing errors.
* gdk/src/gdk_docs.xml: Regenerate once more to avoid parsing errors
caused by &...; expressions that don't make sense to gmmproc.
ChangeLog | 7 +++++++
gdk/src/gdk_docs.xml | 24 ++++++++++++------------
2 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e814b3d..62e64ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-13 José Alburquerque <jaalburqu svn gnome org>
+
+ gdk_docs.xml: Another regeneration because of parsing errors.
+
+ * gdk/src/gdk_docs.xml: Regenerate once more to avoid parsing errors
+ caused by &...; expressions that don't make sense to gmmproc.
+
2010-04-11 José Alburquerque <jaalburqu svn gnome org>
Regenerate docs once more to fix comment errors.
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 6b3af6d..68d6cec 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -3183,7 +3183,7 @@ was already set in @state.
<function name="gdk_color_to_string">
<description>
Returns a textual specification of @color in the hexadecimal form
-<literal>#rrrrggggbbbb</literal>, where <literal>r</literal>,
+<literal>rrrrggggbbbb</literal>, where <literal>r</literal>,
<literal>g</literal> and <literal>b</literal> are hex digits
representing the red, green and blue components respectively.
@@ -4403,8 +4403,8 @@ from inline data as in the below example.
<programlisting>
/<!-- -->* This data is in X bitmap format, and can be created with the 'bitmap'
utility. *<!-- -->/
-#define cursor1_width 16
-#define cursor1_height 16
+define cursor1_width 16
+define cursor1_height 16
static unsigned char cursor1_bits[] = {
0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20,
0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10,
@@ -11931,14 +11931,14 @@ symbol is shifted, so when comparing a key press to a
be masked out.
</para>
<informalexample><programlisting>
-/* We want to ignore irrelevant modifiers like ScrollLock */
-#define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
+ / * We want to ignore irrelevant modifiers like ScrollLock * /
+define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
gdk_keymap_translate_keyboard_state (keymap, event->hardware_keycode,
event->state, event->group,
&keyval, NULL, NULL, &consumed);
if (keyval == GDK_PLUS &&
(event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
-/* Control was pressed */
+ / * Control was pressed * /
</programlisting></informalexample>
<para>
An older interpretation @consumed_modifiers was that it contained
@@ -11946,10 +11946,10 @@ all modifiers that might affect the translation of the key;
this allowed accelerators to be stored with irrelevant consumed
modifiers, by doing:</para>
<informalexample><programlisting>
-/* XXX Don't do this XXX */
+ / * XXX Don't do this XXX * /
if (keyval == accel_keyval &&
(event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
-/* Accelerator was pressed */
+ / * Accelerator was pressed * /
</programlisting></informalexample>
<para>
However, this did not work if multi-modifier combinations were
@@ -14413,11 +14413,11 @@ structure. The color is <emphasis>not</emphasis> allocated, you
must call gdk_colormap_alloc_color() yourself. The string can
either one of a large set of standard names. (Taken from the X11
<filename>rgb.txt</filename> file), or it can be a hex value in the
-form '#rgb' '#rrggbb' '#rrrgggbbb' or
-'#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
+form 'rgb' 'rrggbb' 'rrrgggbbb' or
+'rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
red, green, and blue components of the color, respectively. (White
-in the four forms is '#fff' '#ffffff' '#fffffffff' and
-'#ffffffffffff')
+in the four forms is 'fff' 'ffffff' 'fffffffff' and
+'ffffffffffff')
</description>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]