Bonobo Docs Cleanup



Hi,

Just a few touchups after the recent barrage of new docs.  (c:

John

-- 
dusk ravendusk org                            http://www.gnome.org
jsheets codeweavers com                  http://www.worldforge.org
jsheets users sourceforge net     http://openbooks.sourceforge.net
               http://advogato.org/person/jsheets

                   Writing Gnome Applications
          http://www.aw.com/cseng/titles/0-201-65791-0/
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.989
diff -u -r1.989 ChangeLog
--- ChangeLog	2001/02/21 17:19:14	1.989
+++ ChangeLog	2001/02/21 20:37:08
@@ -1,3 +1,15 @@
+2001-02-21  John R. Sheets  <dusk ravendusk org>
+
+	* doc/api/tmpl/bonobo-transient.sgml: Changed invalid <variable>
+	tag to <parameter>.
+
+	* doc/api/tmpl/bonobo-property-bag-xml.sgml,
+	doc/api/tmpl/bonobo-xobject.sgml,
+	doc/api/tmpl/bonobo-moniker-util.sgml: Use "&amp;" instead of "&".
+
+	* doc/api/tmpl/bonobo-context.sgml: Changed an errant </a> to
+	</title>.  Added <para> tags around <listitem> contents.
+
 2001-02-21  Michael Meeks  <michael ximian com>
 
 	* samples/controls/bonobo-clock-control.c
Index: doc/api/tmpl/bonobo-context.sgml
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/tmpl/bonobo-context.sgml,v
retrieving revision 1.6
diff -u -r1.6 bonobo-context.sgml
--- doc/api/tmpl/bonobo-context.sgml	2001/02/21 17:19:15	1.6
+++ doc/api/tmpl/bonobo-context.sgml	2001/02/21 20:37:12
@@ -17,7 +17,7 @@
 
 <para>
   <example>
-     <title>Getting and using the moniker context</a>
+     <title>Getting and using the moniker context</title>
      <programlisting>
 Bonobo_MonikerContext context;
 Bonobo_Unknown        object;
@@ -39,8 +39,12 @@
 currently there are the following:
   <itemizedlist>
     <listitem>
-      Activation - Bonobo/MonikerContext
-      Running - Bonobo/RunningContext
+      <para>
+        Activation - Bonobo/MonikerContext
+      </para>
+      <para>
+        Running - Bonobo/RunningContext
+      </para>
     </listitem>
   </itemizedlist>
 </para>
Index: doc/api/tmpl/bonobo-moniker-util.sgml
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/tmpl/bonobo-moniker-util.sgml,v
retrieving revision 1.6
diff -u -r1.6 bonobo-moniker-util.sgml
--- doc/api/tmpl/bonobo-moniker-util.sgml	2001/02/21 12:42:56	1.6
+++ doc/api/tmpl/bonobo-moniker-util.sgml	2001/02/21 20:37:12
@@ -42,7 +42,7 @@
 	Bonobo_Control control;
 	CORBA_Environment ev;
 
-	CORBA_exception_init (&ev);
+	CORBA_exception_init (&amp;ev);
 
 	control = bonobo_get_object ("file:/demo/a.jpeg",
                                      "Bonobo/Control", NULL);
Index: doc/api/tmpl/bonobo-property-bag-xml.sgml
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/tmpl/bonobo-property-bag-xml.sgml,v
retrieving revision 1.3
diff -u -r1.3 bonobo-property-bag-xml.sgml
--- doc/api/tmpl/bonobo-property-bag-xml.sgml	2001/02/21 10:19:28	1.3
+++ doc/api/tmpl/bonobo-property-bag-xml.sgml	2001/02/21 20:37:13
@@ -25,16 +25,16 @@
 	BonoboUINode     *node;
 	char             *value;
 
-	CORBA_exception_init (&ev);
+	CORBA_exception_init (&amp;ev);
 
-	node = bonobo_property_bag_xml_encode_any (NULL, bonobo_arg, &ev);
+	node = bonobo_property_bag_xml_encode_any (NULL, bonobo_arg, &amp;ev);
 	if (!node)
 		return NULL;
 
-	value = bonobo_property_bag_xml_decode_any (node, &ev);
+	value = bonobo_property_bag_xml_decode_any (node, &amp;ev);
 	bonobo_ui_node_free (node);
 
-	CORBA_exception_free (&ev);
+	CORBA_exception_free (&amp;ev);
 
 	return value;
 }
@@ -53,16 +53,16 @@
 	CORBA_Environment ev;
 	BonoboUINode     *node;
 
-	CORBA_exception_init (&ev);
+	CORBA_exception_init (&amp;ev);
 
 	node = bonobo_ui_node_from_string (xml);
 	if (!node)
 		return NULL;
 
-	value = bonobo_property_bag_xml_decode_any (node, &ev);
+	value = bonobo_property_bag_xml_decode_any (node, &amp;ev);
 
 	bonobo_ui_node_free (node);
-	CORBA_exception_free (&ev);
+	CORBA_exception_free (&amp;ev);
 
 	return value;
 }
Index: doc/api/tmpl/bonobo-transient.sgml
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/tmpl/bonobo-transient.sgml,v
retrieving revision 1.6
diff -u -r1.6 bonobo-transient.sgml
--- doc/api/tmpl/bonobo-transient.sgml	2001/02/21 00:22:01	1.6
+++ doc/api/tmpl/bonobo-transient.sgml	2001/02/21 20:37:14
@@ -149,7 +149,7 @@
  
 <para>
    The previous example shows: how the
-   <variable>my_transient</variable> object is first created, and how
+   <parameter>my_transient</parameter> object is first created, and how
    the implementations for the create_servant and destroy_servant look
    like.  It does not make use of the user pointer, so it passes
    NULL.  But applications will most likely want to pass data here to
Index: doc/api/tmpl/bonobo-xobject.sgml
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/tmpl/bonobo-xobject.sgml,v
retrieving revision 1.3
diff -u -r1.3 bonobo-xobject.sgml
--- doc/api/tmpl/bonobo-xobject.sgml	2001/02/21 17:19:15	1.3
+++ doc/api/tmpl/bonobo-xobject.sgml	2001/02/21 20:37:15
@@ -66,7 +66,7 @@
 		type = bonobo_x_type_unique (ptype,
 			POA_Bonobo_Control__init, NULL,
 			GTK_STRUCT_OFFSET (BonoboControlClass, epv),
-			&info);
+			&amp;info);
 	}
 	return type;
 }
@@ -99,7 +99,7 @@
 bonobo_control_class_init (BonoboControlClass *klass)
 {
 	GtkObjectClass *object_class = (GtkObjectClass *)klass;
-	POA_Bonobo_Control__epv *epv = &klass->epv;
+	POA_Bonobo_Control__epv *epv = &amp;klass->epv;
 
 	bonobo_control_parent_class = gtk_type_class (PARENT_TYPE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]