geoclue (0.12.0-1) documentation-comment-fix

Summary

 docs/reference/html/simple-example.html        |   14 +++++++-------
 docs/reference/html/simple-master-example.html |   12 ++++++------
 docs/reference/implementing-providers.xml      |    2 +-
 3 files changed, 14 insertions(+), 14 deletions(-)

    
download this patch

Patch contents

--- a/docs/reference/html/simple-example.html
+++ b/docs/reference/html/simple-example.html
@@ -45,12 +45,12 @@ int main()
 	
 	g_type_init ();
 	
-	/ * Create the position object * /
+	/* Create the position object */
 	pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Hostip",
 	                            "/org/freedesktop/Geoclue/Providers/Hostip");
 	
-	/ * call get_position. Note that unneeded output variables (here 
-	    timestamp, altitude and accuracy) can be left NULL * /
+	/* call get_position. Note that unneeded output variables (here 
+	    timestamp, altitude and accuracy) can be left NULL */
 	fields = geoclue_position_get_position (pos, NULL,
 	                                        &lat, &lon, NULL,
 	                                        NULL, &error);
@@ -84,7 +84,7 @@ gcc `pkg-config --libs --cflags geoclue`
 <pre class="programlisting">
 #include &lt;geoclue/geoclue-position.h&gt;
 
-/ * device name or bluetooth address * /
+/* device name or bluetooth address */
 #define GPS_DEVICE_NAME "00:02:76:C5:81:BF" 
 
 static void
@@ -115,11 +115,11 @@ int main()
 	
 	g_type_init ();
 	
-	/ * Create the position object * /
+	/* Create the position object */
 	pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Gypsy",
 	                            "/org/freedesktop/Geoclue/Providers/Gypsy");
 	
-	/ * Set GPS device name option for Gypsy * /
+	/* Set GPS device name option for Gypsy */
 	options = g_hash_table_new (g_str_hash, g_str_equal);
 	g_hash_table_insert (options, "org.freedesktop.Geoclue.GPSDevice", GPS_DEVICE_NAME);
 	if (!geoclue_provider_set_options (GEOCLUE_PROVIDER (pos), options, &amp;error)) {
@@ -131,7 +131,7 @@ int main()
 	}
 	g_hash_table_destroy (options);
 	
-	/ * connect to signal * /
+	/* connect to signal */
 	g_signal_connect (G_OBJECT (pos), "position-changed",
 			  G_CALLBACK (position_changed), NULL);
 	
--- a/docs/reference/html/simple-master-example.html
+++ b/docs/reference/html/simple-master-example.html
@@ -65,7 +65,7 @@ int main()
 	
 	g_type_init ();
 	
-	/ * create a MasterClient using Master * /
+	/* create a MasterClient using Master */
 	master = geoclue_master_get_default ();
 	client = geoclue_master_create_client (master, NULL, &amp;error);
 	g_object_unref (master);
@@ -76,8 +76,8 @@ int main()
 		return 1;
 	}
 	
-	/ * Set our requirements: We want at least city level accuracy, require signals, 
-	    and allow the use of network (but not e.g. GPS) * /
+	/* Set our requirements: We want at least city level accuracy, require signals, 
+	    and allow the use of network (but not e.g. GPS) */
 	if (!geoclue_master_client_set_requirements (client,
 	                                             GEOCLUE_ACCURACY_LEVEL_LOCALITY,
 	                                             0, TRUE,
@@ -90,7 +90,7 @@ int main()
 		
 	}
 	
-	/ * Get a Position object * /
+	/* Get a Position object */
 	pos = geoclue_master_client_create_position (client, NULL);
 	if (!pos) {
 		g_printerr ("Failed to get a position object");
@@ -98,8 +98,8 @@ int main()
 		return 1;
 	}
 	
-	/ * call get_position. We do not know which provider actually provides 
-	    the answer (although we could find out using MasterClient API) * /
+	/* call get_position. We do not know which provider actually provides 
+	    the answer (although we could find out using MasterClient API) */
 	fields = geoclue_position_get_position (pos, NULL,
 	                                        &amp;lat, &amp;lon, NULL,
 	                                        NULL, &amp;error);
--- a/docs/reference/implementing-providers.xml
+++ b/docs/reference/implementing-providers.xml
@@ -341,7 +341,7 @@ emit_position_signal (GeoclueExample *ex
 {
 	static GeoclueAccuracy *accuracy = geoclue_accuracy_new (GEOCLUE_ACCURACY_LEVEL_NONE, 0, 0);
 	
-	/ * make up some coordinates * /
+	/* make up some coordinates */
 	static double lat = 60.0;
 	static double lon = 25.0;