[goffice] Introspection: white-space fixes.



commit bd48c58164965fccf15ca30311d113e77a74d0dc
Author: Morten Welinder <terra gnome org>
Date:   Tue Mar 26 16:22:00 2013 -0400

    Introspection: white-space fixes.

 goffice/app/go-conf-keyfile.c       |    4 ++--
 goffice/app/go-conf-win32.c         |    4 ++--
 goffice/app/go-doc.c                |    2 +-
 goffice/data/go-data.c              |   20 ++++++++++----------
 goffice/graph/gog-error-bar.c       |   24 ++++++++++++------------
 goffice/graph/gog-theme.c           |    2 +-
 goffice/gtk/go-action-combo-stack.c |   14 +++++++-------
 goffice/gtk/go-action-combo-text.c  |    6 +++---
 goffice/gtk/go-color-group.c        |    4 ++--
 goffice/gtk/go-combo-color.c        |   10 +++++-----
 goffice/gtk/go-graph-widget.c       |   10 +++++-----
 goffice/utils/datetime.c            |   18 +++++++++---------
 goffice/utils/go-color.c            |    4 ++--
 goffice/utils/go-format.c           |   22 +++++++++++-----------
 goffice/utils/go-geometry.c         |    4 ++--
 goffice/utils/go-locale.c           |    2 +-
 goffice/utils/go-pattern.c          |    8 ++++----
 goffice/utils/go-string.c           |    6 +++---
 plugins/plot_barcol/gog-barcol.c    |    8 ++++----
 plugins/plot_barcol/gog-dropbar.c   |    8 ++++----
 plugins/plot_surface/gog-xyz.c      |    2 +-
 plugins/plot_xy/gog-xy-dropbar.c    |    8 ++++----
 22 files changed, 95 insertions(+), 95 deletions(-)
---
diff --git a/goffice/app/go-conf-keyfile.c b/goffice/app/go-conf-keyfile.c
index 361c879..2447782 100644
--- a/goffice/app/go-conf-keyfile.c
+++ b/goffice/app/go-conf-keyfile.c
@@ -282,8 +282,8 @@ go_conf_get_double (GOConfNode *node, gchar const *key)
 
 /**
  * go_conf_get_string :
- * @node : #GOConfNode
- * @key : non NULL string.
+ * @node: #GOConfNode
+ * @key: non NULL string.
  *
  * Returns: the string value of @node's @key child as a string which the called needs to free
  **/
diff --git a/goffice/app/go-conf-win32.c b/goffice/app/go-conf-win32.c
index dcc3086..9311cd3 100644
--- a/goffice/app/go-conf-win32.c
+++ b/goffice/app/go-conf-win32.c
@@ -394,8 +394,8 @@ go_conf_get_double (GOConfNode *node, gchar const *key)
 
 /**
  * go_conf_get_string :
- * @node : #GOConfNode
- * @key : non NULL string.
+ * @node: #GOConfNode
+ * @key: non NULL string.
  *
  * Returns: the string value of @node's @key child as a string which the called needs to free
  **/
diff --git a/goffice/app/go-doc.c b/goffice/app/go-doc.c
index 6ff1d93..601dec8 100644
--- a/goffice/app/go-doc.c
+++ b/goffice/app/go-doc.c
@@ -238,7 +238,7 @@ go_doc_get_uri (GODoc const *doc)
 /**
  * go_doc_set_dirty:
  * @doc: #GODoc
- * @is_dirty :bool
+ * @is_dirty:bool
  *
  * Changes the dirty state of @doc to @is_dirty and clears the pristine state
  * no matter what.
diff --git a/goffice/data/go-data.c b/goffice/data/go-data.c
index 8aa4568..b07af2d 100644
--- a/goffice/data/go-data.c
+++ b/goffice/data/go-data.c
@@ -174,8 +174,8 @@ go_data_dup (GOData const *src)
 
 /**
  * go_data_eq :
- * @a : #GOData
- * @b : #GOData
+ * @a: #GOData
+ * @b: #GOData
  *
  * Returns: TRUE if @a and @b are the same
  **/
@@ -200,7 +200,7 @@ go_data_eq (GOData const *a, GOData const *b)
 
 /**
  * go_data_preferred_fmt :
- * @dat : #GOData
+ * @dat: #GOData
  *
  * Caller is responsible for unrefing the result.
  *
@@ -218,7 +218,7 @@ go_data_preferred_fmt (GOData const *dat)
 
 /**
  * go_data_date_conv :
- * @dat : #GOData
+ * @dat: #GOData
  *
  * Returns: the date conventions used by the data, or NULL if not determined.
  **/
@@ -235,8 +235,8 @@ go_data_date_conv (GOData const *dat)
 
 /**
  * go_data_serialize :
- * @dat : #GOData
- * @user : a gpointer describing the context.
+ * @dat: #GOData
+ * @user: a gpointer describing the context.
  *
  * NOTE : This is the _source_ not the content.  (I.e., this refers to the
  * expression, not its current value.)
@@ -254,9 +254,9 @@ go_data_serialize (GOData const *dat, gpointer user)
 
 /**
  * go_data_unserialize :
- * @dat : #GOData
- * @str : string to parse
- * @user : a gpointer describing the context.
+ * @dat: #GOData
+ * @str: string to parse
+ * @user: a gpointer describing the context.
  *
  * De-serializes the source information returned from go_data_serialize.
  *
@@ -280,7 +280,7 @@ go_data_is_valid (GOData const *data)
 
 /**
  * go_data_emit_changed :
- * @dat : #GOData
+ * @dat: #GOData
  *
  * protected utility to emit a 'changed' signal
  **/
diff --git a/goffice/graph/gog-error-bar.c b/goffice/graph/gog-error-bar.c
index 79c6392..d4dbdb6 100644
--- a/goffice/graph/gog-error-bar.c
+++ b/goffice/graph/gog-error-bar.c
@@ -483,10 +483,10 @@ GSF_CLASS_FULL (GogErrorBar, gog_error_bar,
 
 /**
  * gog_error_bar_get_bounds :
- * @bar : A GogErrorBar
- * @index : the index corresponding to the value which error limits are
- * @min : where the minimum value will be stored
- * @max : where the maximum value will be stored
+ * @bar: A GogErrorBar
+ * @index: the index corresponding to the value which error limits are
+ * @min: where the minimum value will be stored
+ * @max: where the maximum value will be stored
  *
  * If the value correponding to @index is valid, fills min and max with the error values:
  * -> positive_error in @max.
@@ -618,14 +618,14 @@ gog_error_bar_dup         (GogErrorBar const *bar)
 
 /**
  * gog_error_bar_render :
- * @bar : A GogErrorBar
- * @rend : A GogRenderer
- * @map :  A GogChartMap for the chart
- * @x : x coordinate of the origin of the bar
- * @y : y coordinate of the origin of the bar
- * @plus : distance from the origin to the positive end of the bar
- * @minus : distance from the origin to the negative end of the bar
- * @direction : the #GogErrorBarDirection for the bar.
+ * @bar: A GogErrorBar
+ * @rend: A GogRenderer
+ * @map:  A GogChartMap for the chart
+ * @x: x coordinate of the origin of the bar
+ * @y: y coordinate of the origin of the bar
+ * @plus: distance from the origin to the positive end of the bar
+ * @minus: distance from the origin to the negative end of the bar
+ * @direction: the #GogErrorBarDirection for the bar.
  *
  * Displays the error bar. If @plus is negative, the positive side of the bar is not displayed,
  * and if @minus is negative, the negative side of the bar is not displayed.
diff --git a/goffice/graph/gog-theme.c b/goffice/graph/gog-theme.c
index f568e5b..41a44c0 100644
--- a/goffice/graph/gog-theme.c
+++ b/goffice/graph/gog-theme.c
@@ -1132,7 +1132,7 @@ map_area_series_solid_palette (GOStyle *style, unsigned ind, GogTheme const *the
 /**
  * gog_theme_registry_add:
  * @theme: a #GogTheme
- * @is_default : bool
+ * @is_default: bool
  *
  * Keep a pointer to @theme in graph theme registry.
  * This function does not add a reference to @theme.
diff --git a/goffice/gtk/go-action-combo-stack.c b/goffice/gtk/go-action-combo-stack.c
index 6ef3120..db253f7 100644
--- a/goffice/gtk/go-action-combo-stack.c
+++ b/goffice/gtk/go-action-combo-stack.c
@@ -369,9 +369,9 @@ check_sensitivity (GOActionComboStack *saction, unsigned old_count)
 
 /**
  * go_action_combo_stack_push :
- * @act : #GOActionComboStack
- * @str : The label to push
- * @key : a key value to id the pushe item
+ * @act: #GOActionComboStack
+ * @str: The label to push
+ * @key: a key value to id the pushe item
  **/
 void
 go_action_combo_stack_push (GOActionComboStack *act,
@@ -393,8 +393,8 @@ go_action_combo_stack_push (GOActionComboStack *act,
 
 /**
  * go_action_combo_stack_pop :
- * @act : #GOActionComboStack
- * @n : count
+ * @act: #GOActionComboStack
+ * @n: count
  *
  * Shorten list @act by removing @n off the top (or fewer if the list is
  * shorter)
@@ -417,8 +417,8 @@ go_action_combo_stack_pop (GOActionComboStack *act, unsigned n)
 
 /**
  * go_action_combo_stack_truncate :
- * @act : #GOActionComboStack
- * @n : maximum length
+ * @act: #GOActionComboStack
+ * @n: maximum length
  *
  * Ensure that list @act is no longer than @n, dropping any extra off the
  * bottom.
diff --git a/goffice/gtk/go-action-combo-text.c b/goffice/gtk/go-action-combo-text.c
index dec49b9..977eaed 100644
--- a/goffice/gtk/go-action-combo-text.c
+++ b/goffice/gtk/go-action-combo-text.c
@@ -253,9 +253,9 @@ go_action_combo_text_get_entry (GOActionComboText const *a)
 
 /**
  * go_action_combo_text_set_entry :
- * @taction : @GOActionComboText
- * @text : the new text
- * @dir : #GOActionComboTextSearchDir
+ * @taction: @GOActionComboText
+ * @text: the new text
+ * @dir: #GOActionComboTextSearchDir
  *
  * Set the entry of any toolbar proxies of @taction to @text.  Does not
  * generate an 'activate' signal.
diff --git a/goffice/gtk/go-color-group.c b/goffice/gtk/go-color-group.c
index db6636e..5dd9d61 100644
--- a/goffice/gtk/go-color-group.c
+++ b/goffice/gtk/go-color-group.c
@@ -196,8 +196,8 @@ go_color_group_fetch (char const *name, gpointer context)
 
 /**
  * go_color_group_add_color :
- * @cg : #GOColorGroup
- * @c : the color
+ * @cg: #GOColorGroup
+ * @c: the color
  *
  * Potentially slide the history to add the new colour.  If it was already in
  * the history reorder.
diff --git a/goffice/gtk/go-combo-color.c b/goffice/gtk/go-combo-color.c
index 8632c02..eac550b 100644
--- a/goffice/gtk/go-combo-color.c
+++ b/goffice/gtk/go-combo-color.c
@@ -236,7 +236,7 @@ color_table_setup (GOComboColor *cc,
 
 /* go_combo_color_get_color:
  * @cc:  #GOComboColor
- * @is_default : non-NULL storage for whether the current colour is the default.
+ * @is_default: non-NULL storage for whether the current colour is the default.
  *
  * Returns: current GOColor
  */
@@ -297,8 +297,8 @@ go_combo_color_set_instant_apply (GOComboColor *cc, gboolean active)
 
 /**
  * go_combo_color_set_allow_alpha :
- * @cc : #GOComboColor
- * @allow_alpha : Support alpha layer
+ * @cc: #GOComboColor
+ * @allow_alpha: Support alpha layer
  *
  * Should the custom colour selector allow the use of opacity.
  **/
@@ -327,8 +327,8 @@ go_combo_color_set_color_to_default (GOComboColor *cc)
  * go_combo_color_new :
  * @icon: optionally NULL.
  * @no_color_label: FIXME
- * @default_color : The colour to use a the default
- * @color_group : #GOColorGroup
+ * @default_color: The colour to use a the default
+ * @color_group: #GOColorGroup
  *
  * Default constructor. Pass an optional icon and an optional label for the
  * no/auto color button.
diff --git a/goffice/gtk/go-graph-widget.c b/goffice/gtk/go-graph-widget.c
index 9cda609..e73cf03 100644
--- a/goffice/gtk/go-graph-widget.c
+++ b/goffice/gtk/go-graph-widget.c
@@ -380,10 +380,10 @@ go_graph_widget_init (GOGraphWidget *w)
 
 /**
  * go_graph_widget_set_size_mode :
- * @widget : #GOGraphWidget
- * @size_mode : #GOGraphWidgetSizeMode
- * @width : in pixels
- * @height : in pixels
+ * @widget: #GOGraphWidget
+ * @size_mode: #GOGraphWidgetSizeMode
+ * @width: in pixels
+ * @height: in pixels
  *
  * Sets the size mode of the #GOGraphWidget.
  * It is used to determine the size and position of the drawn
@@ -438,7 +438,7 @@ go_graph_widget_set_size_mode (GOGraphWidget         *widget,
 
 /**
  * go_graph_widget_new :
- * @graph : #GogGraph
+ * @graph: #GogGraph
  *
  * Creates a new #GOGraphWidget with an embedded #GogGraph.
  * If graph is NULL, the graph will be auto-created, and a
diff --git a/goffice/utils/datetime.c b/goffice/utils/datetime.c
index 0fe0bcc..53a2dbb 100644
--- a/goffice/utils/datetime.c
+++ b/goffice/utils/datetime.c
@@ -382,12 +382,12 @@ days_between_GO_BASIS_30Ep_360 (GDate const *from, GDate const *to)
 /*
  * go_date_days_between_basis
  *
- * @from      : GDate *
- * @to        : GDate *
- * @basis     : GOBasisType
+ * @from: GDate *
+ * @to: GDate *
+ * @basis: GOBasisType
  * see datetime.h and doc/fn-financial-basis.txt for details
  *
- * @in_order  : dates are considered in order
+ * @in_order: dates are considered in order
  *
  * returns    : Number of days after the earlier and not after the later date
  *
@@ -427,13 +427,13 @@ go_date_days_between_basis (GDate const *from, GDate const *to, GOBasisType basi
 /*
  * go_coup_cd
  *
- * @res              :
+ * @res:
  * @settlement: GDate *
- * @maturity  : GDate *  must follow settlement strictly
- * @freq      : int      divides 12 evenly
- * @eom       : gboolean whether to do special end of month
+ * @maturity: GDate *  must follow settlement strictly
+ * @freq: int      divides 12 evenly
+ * @eom: gboolean whether to do special end of month
  *                       handling
- * @next      : gboolean whether next or previous date
+ * @next: gboolean whether next or previous date
  *
  * returns    : GDate *  next  or previous coupon date
  *
diff --git a/goffice/utils/go-color.c b/goffice/utils/go-color.c
index 175829e..7679de8 100644
--- a/goffice/utils/go-color.c
+++ b/goffice/utils/go-color.c
@@ -27,8 +27,8 @@
 
 /**
  * go_color_from_str :
- * @str :
- * @res :
+ * @str:
+ * @res:
  *
  * Returns: TRUE if @str can be parsed as a color of the form R:G:B:A and the
  *     result is stored in @res.
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 5e99f37..3543904 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -77,7 +77,7 @@
  * @GO_FORMAT_MAGIC_SHORT_DATETIME: short date with time.
  * @GO_FORMAT_MAGIC_LONG_TIME: long time (Official).
  * @GO_FORMAT_MAGIC_MEDIUM_TIME: medium time.
- * @GO_FORMAT_MAGIC_SHORT_TIME : short time.
+ * @GO_FORMAT_MAGIC_SHORT_TIME: short time.
  **/
 
 /**
@@ -727,10 +727,10 @@ static struct {
 
 /*
  * go_format_parse_color :
- * @str :
- * @color :
- * @n :
- * @named :
+ * @str:
+ * @color:
+ * @n:
+ * @named:
  *
  * Return: TRUE, if ok.  Then @color will be filled in, and @n will be
  *     a number 0-7 for standard colors.
@@ -5465,7 +5465,7 @@ make_frobbed_format (char *str, const GOFormat *fmt)
 
 /**
  * go_format_inc_precision :
- * @fmt : #GOFormat
+ * @fmt: #GOFormat
  *
  * Increases the displayed precision for @fmt by one digit.
  *
@@ -5573,7 +5573,7 @@ go_format_inc_precision (GOFormat const *fmt)
 
 /**
  * go_format_dec_precision :
- * @fmt : #GOFormat
+ * @fmt: #GOFormat
  *
  * Decreases the displayed precision for @fmt by one digit.
  *
@@ -5971,8 +5971,8 @@ go_format_new_from_XL (char const *str)
 #ifdef DEFINE_COMMON
 /**
  * go_format_new_markup :
- * @markup : #PangoAttrList
- * @add_ref : boolean
+ * @markup: #PangoAttrList
+ * @add_ref: boolean
  *
  * If @add_ref is FALSE absorb the reference to @markup, otherwise add a
  * reference.
@@ -6029,7 +6029,7 @@ go_format_eq (GOFormat const *a, GOFormat const *b)
 #ifdef DEFINE_COMMON
 /**
  * go_format_ref :
- * @fmt : a #GOFormat
+ * @fmt: a #GOFormat
  *
  * Adds a reference to a GOFormat.
  *
@@ -6057,7 +6057,7 @@ go_format_ref (GOFormat const *gf_)
 #ifdef DEFINE_COMMON
 /**
  * go_format_unref :
- * @fmt : a #GOFormat
+ * @fmt: a #GOFormat
  *
  * Removes a reference to @fmt, freeing when it goes to zero.
  *
diff --git a/goffice/utils/go-geometry.c b/goffice/utils/go-geometry.c
index 065739b..7e833a2 100644
--- a/goffice/utils/go-geometry.c
+++ b/goffice/utils/go-geometry.c
@@ -270,7 +270,7 @@ go_geometry_calc_label_position (GOGeometryOBR *obr, double alpha, double offset
 
 /**
  * go_direction_is_horizontal :
- * @d : #GODirection
+ * @d: #GODirection
  *
  * Returns: TRUE for GO_DIRECTION_LEFT and GO_DIRECTION_RIGHT.
  **/
@@ -282,7 +282,7 @@ go_direction_is_horizontal (GODirection d)
 
 /**
  * go_direction_is_forward :
- * @d : #GODirection
+ * @d: #GODirection
  *
  * Returns: TRUE for GO_DIRECTION_DOWN or GO_DIRECTION_RIGHT.
  **/
diff --git a/goffice/utils/go-locale.c b/goffice/utils/go-locale.c
index 8ac622a..3fa8292 100644
--- a/goffice/utils/go-locale.c
+++ b/goffice/utils/go-locale.c
@@ -172,7 +172,7 @@ go_locale_get_thousand (void)
 
 /**
  * go_locale_get_currency :
- * @precedes : a pointer to a boolean which is set to TRUE if the currency
+ * @precedes: a pointer to a boolean which is set to TRUE if the currency
  *             should precede
  * @space_sep: a pointer to a boolean which is set to TRUE if the currency
  *             should have a space separating it from the the value
diff --git a/goffice/utils/go-pattern.c b/goffice/utils/go-pattern.c
index 3a9b20c..1db6152 100644
--- a/goffice/utils/go-pattern.c
+++ b/goffice/utils/go-pattern.c
@@ -130,8 +130,8 @@ go_pattern_as_str (GOPatternType pattern)
 
 /**
  * go_pattern_is_solid :
- * @pat : #GOPattern
- * @color : #GOColor
+ * @pat: #GOPattern
+ * @color: #GOColor
  *
  * Returns: if @pat is solid, and stores the color in @color.
  *     If @pat is not solid @color is not touched.
@@ -171,8 +171,8 @@ go_pattern_is_solid (GOPattern const *pat, GOColor *color)
 
 /**
  * go_pattern_set_solid :
- * @pat  : a #GOPattern
- * @fore : a #GOColor
+ * @pat: a #GOPattern
+ * @fore: a #GOColor
  *
  * Makes @pat a solid pattern with colour @fore.
  *
diff --git a/goffice/utils/go-string.c b/goffice/utils/go-string.c
index 0192c01..85fae93 100644
--- a/goffice/utils/go-string.c
+++ b/goffice/utils/go-string.c
@@ -112,8 +112,8 @@ replace_rich_base_with_plain (GOStringRichImpl *rich)
 
 /**
  * go_string_new_len :
- * @str : string (optionally %NULL)
- * @len : guint32
+ * @str: string (optionally %NULL)
+ * @len: guint32
  *
  * GOString duplicates @str if no string already exists.
  *
@@ -181,7 +181,7 @@ go_string_new_nocopy_len (char *str, guint32 len)
 
 /**
  * go_string_new :
- * @str : string (optionally %NULL)
+ * @str: string (optionally %NULL)
  *
  * GOString duplicates @str if no string already exists.
  *
diff --git a/plugins/plot_barcol/gog-barcol.c b/plugins/plot_barcol/gog-barcol.c
index e19a69e..df568df 100644
--- a/plugins/plot_barcol/gog-barcol.c
+++ b/plugins/plot_barcol/gog-barcol.c
@@ -315,10 +315,10 @@ typedef GogPlotViewClass  GogBarColViewClass;
 /**
  * FIXME FIXME FIXME Wrong description
  * barcol_draw_rect :
- * @rend : #GogRenderer
- * @flip :
- * @base : #GogViewAllocation
- * @rect : #GogViewAllocation
+ * @rend: #GogRenderer
+ * @flip:
+ * @base: #GogViewAllocation
+ * @rect: #GogViewAllocation
  *
  * A utility routine to build a vpath in @rect.  @rect is assumed to be in
  * coordinates relative to @base with 0,0 as the upper left.  @flip transposes
diff --git a/plugins/plot_barcol/gog-dropbar.c b/plugins/plot_barcol/gog-dropbar.c
index 76d9c5b..be5ebfe 100644
--- a/plugins/plot_barcol/gog-dropbar.c
+++ b/plugins/plot_barcol/gog-dropbar.c
@@ -170,10 +170,10 @@ typedef GogPlotViewClass  GogDropBarViewClass;
 /**
  * FIXME FIXME FIXME Wrong description
  * barcol_draw_rect :
- * @rend : #GogRenderer
- * @flip :
- * @base : #GogViewAllocation
- * @rect : #GogViewAllocation
+ * @rend: #GogRenderer
+ * @flip:
+ * @base: #GogViewAllocation
+ * @rect: #GogViewAllocation
  *
  * A utility routine to build a vpath in @rect.  @rect is assumed to be in
  * coordinates relative to @base with 0,0 as the upper left.  @flip transposes
diff --git a/plugins/plot_surface/gog-xyz.c b/plugins/plot_surface/gog-xyz.c
index ec0a7e5..da17afe 100644
--- a/plugins/plot_surface/gog-xyz.c
+++ b/plugins/plot_surface/gog-xyz.c
@@ -55,7 +55,7 @@ static GogObjectClass *plot_xyz_parent_klass;
 
 /**
  * gog_xyz_plot_build_matrix :
- * @plot :
+ * @plot:
  *
  * builds a table of normalized values: first slice = 0-1 second = 1-2,... if any.
  **/
diff --git a/plugins/plot_xy/gog-xy-dropbar.c b/plugins/plot_xy/gog-xy-dropbar.c
index 9eb833d..5aaa57f 100644
--- a/plugins/plot_xy/gog-xy-dropbar.c
+++ b/plugins/plot_xy/gog-xy-dropbar.c
@@ -354,10 +354,10 @@ typedef GogPlotViewClass  GogXYDropBarViewClass;
 /**
  * FIXME FIXME FIXME Wrong description
  * barcol_draw_rect :
- * @rend : #GogRenderer
- * @flip :
- * @base : #GogViewAllocation
- * @rect : #GogViewAllocation
+ * @rend: #GogRenderer
+ * @flip:
+ * @base: #GogViewAllocation
+ * @rect: #GogViewAllocation
  *
  * A utility routine to build a vpath in @rect.  @rect is assumed to be in
  * coordinates relative to @base with 0,0 as the upper left.  @flip transposes


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