[PATCH 2/3] doc: Minor corrections



Corrected some typos and repeated words
---
 doc/reference/quick-start-using-grilo.xml |    8 ++++----
 src/data/grl-media.h                      |    2 +-
 src/grl-plugin-registry.c                 |    6 +++---
 src/grl-plugin-registry.h                 |    4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/reference/quick-start-using-grilo.xml b/doc/reference/quick-start-using-grilo.xml
index e8e593c..f98f715 100644
--- a/doc/reference/quick-start-using-grilo.xml
+++ b/doc/reference/quick-start-using-grilo.xml
@@ -366,7 +366,7 @@ main (int argc, gchar *argv[])
     <title>Programming with Grilo: Efficient metadata resolution</title>
     <para>When executing operations that return lists of media items (like
       browse() or search()) it is convenient to ensure that we do not
-      request metadata that could slow down the operation unless it 
+      request metadata that could slow down the operation unless it
       is really necessary.
       </para>
     <para>
@@ -421,16 +421,16 @@ main (int argc, gchar *argv[])
     <para>
       If we run the program using grl-jamendo as target source, we will
       see that it retrieves both the title and the URL of the media
-      inmediately, however, if we use grl-youtube, it won't and in order
+      immediately, however, if we use grl-youtube, it won't and in order
       to obtain the URL we issue a new metadata() operation, this time
       without the GRL_RESOLVE_FAST_ONLY flag.
     </para>
     <para>
       Of course this is a silly example, in a real application the way
       this would work is that we would request the URL in a
-      browse()/search() that could return hundereds of results
+      browse()/search() that could return hundreds of results
       and we may or may not get the URLs depending on the source
-      we are operatin with, but in any case we will ensure the operation
+      we are operating with, but in any case we will ensure the operation
       will run as fast as possible: the user will see the results
       of the search fast. Then, when the user selects
       a media item to be played from that result set we would check if
diff --git a/src/data/grl-media.h b/src/data/grl-media.h
index 805d95e..6845864 100644
--- a/src/data/grl-media.h
+++ b/src/data/grl-media.h
@@ -244,7 +244,7 @@ struct _GrlMedia
  * @data: the media
  * @last_played: second at which the media playback was interrupted
  *
- * Set the media las played position
+ * Set the media last played position
  */
 #define grl_media_set_last_position(data, last_position)	\
   grl_data_set_int(GRL_DATA((data)),				\
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index caa5fbb..ef29bae 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -33,7 +33,7 @@
  * a single instance of #GstPluginRegistry (singleton pattern).
  *
  * A #GrlMediaPlugin can hold several data sources (#GrlMetadataSource or
- * #GrlMediaSource), and #GrlPluginRegistry and shall register each one of
+ * #GrlMediaSource), and #GrlPluginRegistry shall register each one of
  * them.
  */
 
@@ -324,7 +324,7 @@ grl_plugin_registry_get_instance (void)
 /**
  * grl_plugin_registry_register_source:
  * @registry: the registry instance
- * @plugin: the descriptor of the plugin which owns the srouce
+ * @plugin: the descriptor of the plugin which owns the source
  * @source: the source to register
  *
  * Register a @source in the @registry with the given @plugin information
@@ -391,7 +391,7 @@ grl_plugin_registry_unregister_source (GrlPluginRegistry *registry,
 
 /**
  * grl_plugin_registry_add_directory:
- * @registry: the registry intance
+ * @registry: the registry instance
  * @path: a path with plugins
  *
  * Set this path as part of default paths to load plugins.
diff --git a/src/grl-plugin-registry.h b/src/grl-plugin-registry.h
index 9df9141..d57f87c 100644
--- a/src/grl-plugin-registry.h
+++ b/src/grl-plugin-registry.h
@@ -70,7 +70,7 @@
 
 /**
  * GRL_PLUGIN_REGISTER:
- * @init: the module initialization. It shall instantiate the
+ * @init: the module initialization. It shall instantiate
  * the #GrlMediaPlugins provided
  * @deinit: (allow-none): function to execute when the registry needs to dispose the module
  * @id: the module identifier
@@ -122,7 +122,7 @@ typedef struct _GrlPluginDescriptor  GrlPluginDescriptor;
 /**
 * GrlPluginDescriptor:
 * @info: the module information
-* @plugin_init: the module initialization. It shall instantiate the
+* @plugin_init: the module initialization. It shall instantiate
 * the #GrlMediaPlugins provided
 * @plugin_deinit: function to execute when the registry needs
 * to dispose the module.
-- 
1.7.0.4



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