Fix some typos in the documentation, tweak autogen.sh to the new code
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 2 Aug 2008 10:08:50 +0000 (2 12:08 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 2 Aug 2008 10:08:50 +0000 (2 12:08 +0200)
repository structure and fix a wrong method name in mm-filter-param.h

autogen.sh
libmmanager/mm-category-provider.h
libmmanager/mm-category.c
libmmanager/mm-filter-param.c
libmmanager/mm-filter-param.h
libmmanager/mm-string-utils.c
libmmanager/mm-utils.c

index cf86e17..6a38aa7 100755 (executable)
@@ -6,7 +6,7 @@ test -z "$srcdir" && srcdir=.
 
 PKG_NAME="mmediamanager"
 
-(test -f $srcdir/src/mm-manager.c) || {
+(test -f $srcdir/libmmanager/mm-manager.c) || {
     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
     echo " top-level $PKG_NAME directory"
     exit 1
index 20821b8..a9ea5af 100644 (file)
@@ -46,6 +46,6 @@ struct _MMCategoryProviderIface {
 /* Interface functions */
 GType          mm_category_provider_get_type        (void);
 GList*        mm_category_provider_get_categories  (MMCategoryProvider *provider,
-                                                    MMApplication      *app);
+                                                    MMApplication      *application);
 
 #endif /* __MM_CATEGORY_PROVIDER_H__ */
index e81df3c..62ed539 100644 (file)
@@ -139,7 +139,7 @@ mm_category_get_name (MMCategory *category)
 }
 
 /**
- * mm_collection_get_hits:
+ * mm_category_get_hits:
  * @category: a #MMCategory.
  * @filter: a #MMFilter.
  * @error: a #GError.
index 2038940..7a7ba47 100644 (file)
@@ -65,7 +65,7 @@ mm_filter_param_class_init (MMFilterParamClass *klass)
 /* public methods */
 
 /**
- * mm_filter_get_attribute:
+ * mm_filter_param_get_attribute:
  * @filter_param: a #MMFilterParam.
  *
  * Gets the attribute stored in @filter_param.
@@ -80,7 +80,7 @@ mm_filter_param_get_attribute (MMFilterParam *filter_param)
 }
 
 /**
- * mm_filter_get_operator:
+ * mm_filter_param_get_operator:
  * @filter_param: a #MMFilterParam.
  *
  * Gets the operator stored in @filter_param.
@@ -95,7 +95,7 @@ mm_filter_param_get_operator (MMFilterParam *filter_param)
 }
 
 /**
- * mm_filter_get_value:
+ * mm_filter_param_get_value:
  * @filter_param: a #MMFilterParam.
  *
  * Gets the value stored in @filter_param.
@@ -136,7 +136,7 @@ mm_filter_param_set_attribute (MMFilterParam *filter_param,
 }
 
 /**
- * mm_filter_param_set_comparision:
+ * mm_filter_param_set_value:
  * @filter_param: a #MMFilterParam.
  * @value: a #GValue.
  *
index 430e6f7..5cb6ead 100644 (file)
@@ -53,20 +53,20 @@ struct _MMFilterParamClass {
 
 /* public methods */
 
-GType                 mm_filter_param_get_type      (void);
+GType                 mm_filter_param_get_type        (void);
 
-MMFilterParam *       mm_filter_param_new           (MMAttribute          *attribute,
-                                                     GValue               *value,
-                                                     MMComparisionOperator op);
-void                  mm_filter_param_set_attribute (MMFilterParam        *filter_param,
-                                                     MMAttribute          *attribute);
-void                  mm_filter_param_set_operator  (MMFilterParam        *filter_param,
-                                                     MMComparisionOperator op);
-void                  mm_filter_param_set_value     (MMFilterParam        *filter_param,
-                                                     GValue               *value);
-GValue *              mm_filter_param_get_value     (MMFilterParam        *filter_param);
-MMAttribute *         mm_filter_param_get_attribute (MMFilterParam        *filter_param);
-MMComparisionOperator mm_filter_param_get_operator  (MMFilterParam        *filter_param);
-void                  mm_filter_param_clear         (MMFilterParam        *filter_param);
+MMFilterParam *       mm_filter_param_new             (MMAttribute          *attribute,
+                                                       GValue               *value,
+                                                       MMComparisionOperator op);
+void                  mm_filter_param_set_attribute   (MMFilterParam        *filter_param,
+                                                       MMAttribute          *attribute);
+void                  mm_filter_param_set_comparision (MMFilterParam        *filter_param,
+                                                       MMComparisionOperator op);
+void                  mm_filter_param_set_value       (MMFilterParam        *filter_param,
+                                                       GValue               *value);
+GValue *              mm_filter_param_get_value       (MMFilterParam        *filter_param);
+MMAttribute *         mm_filter_param_get_attribute   (MMFilterParam        *filter_param);
+MMComparisionOperator mm_filter_param_get_operator    (MMFilterParam        *filter_param);
+void                  mm_filter_param_clear           (MMFilterParam        *filter_param);
                                                
 #endif /* __MM_FILTER_PARAM_H__ */
index 2268f31..4d18fad 100644 (file)
@@ -916,6 +916,8 @@ mm_gvalue_to_string (GValue *v)
  * @type: the type of the #GValue.
  * @v: a zero-filled uninitialized #GValue.
  *
+ * Fills @v with the #GValue contained in the XML description @val_string.
+ *
  * Return value: %TRUE in case of success, %FALSE in case of failure.
  */
 
index 5742c75..d35f5f2 100644 (file)
  * @attribute: a #MMAttribute
  *
  * Creates an initialized zero-filled #GValue initialized with the attribute's
- * #GType. Use #g_value_unset when done.
+ * #GType.
+ *
+ * Return value: an initialized zero-filled #GValue. Use #g_value_unset when
+ * done.
  */
 
 GValue *