[libgda] Doc. format corrections
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Doc. format corrections
- Date: Mon, 13 Jun 2011 15:05:08 +0000 (UTC)
commit d0352734d09d7eced8da26063b77b414dd6b88f4
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Jun 13 17:02:13 2011 +0200
Doc. format corrections
.../data-entries/gdaui-data-cell-renderer-bin.c | 2 +-
.../gdaui-data-cell-renderer-boolean.c | 2 +-
.../data-entries/gdaui-data-cell-renderer-combo.c | 2 +-
.../gdaui-data-cell-renderer-textual.c | 2 +-
.../plugins/gdaui-data-cell-renderer-password.c | 2 +-
.../plugins/gdaui-data-cell-renderer-pict.c | 2 +-
libgda-ui/demos/main.c | 2 +-
libgda/gda-holder.c | 2 +-
libgda/gda-init.c | 8 ++++----
libgda/gda-set.c | 4 ++--
10 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
index a5b5c9c..19d43c8 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
@@ -327,7 +327,7 @@ gdaui_data_cell_renderer_bin_set_property (GObject *object,
* in the model, thus causing the check button to reflect the state of
* the model.
*
- * Return value: (transfer full): the new cell renderer
+ * Returns: (transfer full): the new cell renderer
*/
GtkCellRenderer *
gdaui_data_cell_renderer_bin_new (GdaDataHandler *dh, GType type)
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
index 75934e8..4a90445 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
@@ -334,7 +334,7 @@ gdaui_data_cell_renderer_boolean_set_property (GObject *object,
* in the model, thus causing the check button to reflect the state of
* the model.
*
- * Return value: (transfer full): the new cell renderer
+ * Returns: (transfer full): the new cell renderer
*/
GtkCellRenderer *
gdaui_data_cell_renderer_boolean_new (GdaDataHandler *dh, GType type)
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
index 5beba03..b72ffe2 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
@@ -436,7 +436,7 @@ render_text_to_display_from_values (GList *values)
* Creates a new #GdauiDataCellRendererCombo which will fill the parameters listed in
* @source->nodes with values available from @source->data_model.
*
- * Return value: (transfer full): the new cell renderer
+ * Returns: (transfer full): the new cell renderer
**/
GtkCellRenderer *
gdaui_data_cell_renderer_combo_new (GdauiSet *paramlist, GdauiSetSource *source)
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
index 6c0ace4..ad927cd 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
@@ -583,7 +583,7 @@ gdaui_data_cell_renderer_textual_set_property (GObject *object,
* value in the model, thus rendering a different string in each row
* of the #GtkTreeView
*
- * Return value: (transfer full): the new cell renderer
+ * Returns: (transfer full): the new cell renderer
**/
GtkCellRenderer *
gdaui_data_cell_renderer_textual_new (GdaDataHandler *dh, GType type, const gchar *options)
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
index b396398..a8afa22 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
@@ -341,7 +341,7 @@ gdaui_data_cell_renderer_password_set_property (GObject *object,
*
* Creates a new #GdauiDataCellRendererPassword.
*
- * Return value: the new cell renderer
+ * Returns: the new cell renderer
**/
GtkCellRenderer *
gdaui_data_cell_renderer_password_new (GdaDataHandler *dh, GType type, const gchar *options)
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
index 30f1c24..0503d1d 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
@@ -354,7 +354,7 @@ gdaui_data_cell_renderer_pict_set_property (GObject *object,
* in the model, thus causing the check button to reflect the state of
* the model.
*
- * Return value: the new cell renderer
+ * Returns: the new cell renderer
*/
GtkCellRenderer *
gdaui_data_cell_renderer_pict_new (GdaDataHandler *dh, GType type, const gchar *options)
diff --git a/libgda-ui/demos/main.c b/libgda-ui/demos/main.c
index 3f2aab9..39f7dbb 100644
--- a/libgda-ui/demos/main.c
+++ b/libgda-ui/demos/main.c
@@ -48,7 +48,7 @@ struct _CallbackData
* location GTK+ where it will be installed on make install,
* returns the first file found.
*
- * Return value: the filename, if found or %NULL
+ * Returns: the filename, if found or %NULL
**/
gchar *
demo_find_file (const char *base, GError **err)
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index ef6cac4..ae41081 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -234,7 +234,7 @@ gda_holder_class_init (GdaHolderClass *class)
* Gets emitted when @holder is going to change its value. One can connect to
* this signal to control which values @holder can have (for example to implement some business rules)
*
- * Return value: NULL if @holder is allowed to change its value to @new_value, or a #GError
+ * Returns: NULL if @holder is allowed to change its value to @new_value, or a #GError
* otherwise.
*/
gda_holder_signals[VALIDATE_CHANGE] =
diff --git a/libgda/gda-init.c b/libgda/gda-init.c
index 926a204..560f035 100644
--- a/libgda/gda-init.c
+++ b/libgda/gda-init.c
@@ -65,7 +65,7 @@ static gboolean lang_locale_dyn = FALSE;
gchar *gda_lang_locale = "";
/**
- * gda_locale_changed
+ * gda_locale_changed:
*
* Call this function whenever the setlocale() function has been called
* to change the current locale; this function is first called by gda_init() so you
@@ -111,7 +111,7 @@ gda_locale_changed (void)
}
/**
- * gda_init
+ * gda_init:
*
* Initializes the GDA library, must be called prior to any Libgda usage. Note that unless the
* LIBGDA_NO_THREADS environment variable is set (to any value), the GLib thread system will
@@ -261,7 +261,7 @@ gda_init (void)
}
/**
- * gda_get_application_exec_path
+ * gda_get_application_exec_path:
* @app_name: the name of the application to find
*
* Find the path to the application identified by @app_name. For example if the application
@@ -269,7 +269,7 @@ gda_init (void)
* "/your/prefix/bin/gda-sql-5.0" if Libgda is installed in
* the "/your/prefix" prefix (which would usually be "/usr"), and for the ABI version 5.0.
*
- * Returns: the path as a new string, or %NULL if the application cannot be found
+ * Returns: (transfer full): the path as a new string, or %NULL if the application cannot be found
*/
gchar *
gda_get_application_exec_path (const gchar *app_name)
diff --git a/libgda/gda-set.c b/libgda/gda-set.c
index bd841d4..8c2a7be 100644
--- a/libgda/gda-set.c
+++ b/libgda/gda-set.c
@@ -260,7 +260,7 @@ gda_set_class_init (GdaSetClass *class)
* Gets emitted when a #GdaHolder's in @set is going to change its value. One can connect to
* this signal to control which values @holder can have (for example to implement some business rules)
*
- * Return value: NULL if @holder is allowed to change its value to @new_value, or a #GError
+ * Returns: NULL if @holder is allowed to change its value to @new_value, or a #GError
* otherwise.
*/
gda_set_signals[VALIDATE_HOLDER_CHANGE] =
@@ -278,7 +278,7 @@ gda_set_class_init (GdaSetClass *class)
* Gets emitted when gda_set_is_valid() is called, use
* this signal to control which combination of values @set's holder can have (for example to implement some business rules)
*
- * Return value: NULL if @set's contents has been validated, or a #GError
+ * Returns: NULL if @set's contents has been validated, or a #GError
* otherwise.
*/
gda_set_signals[VALIDATE_SET] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]