[gnumeric] Fix more introspection warnings.



commit 23493d090d74f25851fdac854a5d37965f2ff74f
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Jan 28 16:45:31 2013 +0100

    Fix more introspection warnings.

 src/mathfunc.c           |    6 ++++++
 src/sheet-object-graph.c |    7 +++----
 src/sheet-view.h         |    2 +-
 src/workbook-view.c      |    4 ++--
 src/workbook-view.h      |    2 +-
 5 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/src/mathfunc.c b/src/mathfunc.c
index 2829649..152a063 100644
--- a/src/mathfunc.c
+++ b/src/mathfunc.c
@@ -6467,6 +6467,9 @@ pow1pm1 (gnm_float x, gnm_float y)
  ---------------------------------------------------------------------
  */
 
+/**
+ * gnm_matrix_new: (skip)
+ **/
 /* Note the order: y then x. */
 GnmMatrix *
 gnm_matrix_new (int rows, int cols)
@@ -6500,6 +6503,9 @@ gnm_matrix_is_empty (GnmMatrix const *m)
 	return m == NULL || m->rows <= 0 || m->cols <= 0;
 }
 
+/**
+ * gnm_matrix_from_value: (skip)
+ **/
 GnmMatrix *
 gnm_matrix_from_value (GnmValue const *v, GnmValue **perr, GnmEvalPos const *ep)
 {
diff --git a/src/sheet-object-graph.c b/src/sheet-object-graph.c
index f49277d..b1857b2 100644
--- a/src/sheet-object-graph.c
+++ b/src/sheet-object-graph.c
@@ -788,14 +788,14 @@ sheet_object_graph_guru (WBCGtk *wbcg, GogGraph *graph,
 
 /**
  * sheet_object_graph_ensure_size:
- * @so: #SheetObject
+ * @sog: #SheetObject
  *
  * Updates the size of the graph item in the canvas for graph sheets objects.
  */
 void
-sheet_object_graph_ensure_size (SheetObject *so)
+sheet_object_graph_ensure_size (SheetObject *sog)
 {
-	GList *ptr = so->realized_list;
+	GList *ptr = sog->realized_list;
 	while (ptr) {
 		cb_post_new_view (GOC_ITEM (GOC_GROUP (ptr->data)->children->data));
 		ptr = ptr->next;
@@ -950,7 +950,6 @@ dim_start (GsfXMLIn *xin, xmlChar const **attrs)
 		if (desc->series.dim[i].ms_type == type) {
 			GOData *data = g_object_ref (g_ptr_array_index (state->data, id));
 			gog_dataset_set_dim (GOG_DATASET (state->cur), i,data,
-			                     //g_object_ref (g_ptr_array_index (state->data, id)),
 			                     &err);
 			break;
 		}
diff --git a/src/sheet-view.h b/src/sheet-view.h
index c9b836d..988c75b 100644
--- a/src/sheet-view.h
+++ b/src/sheet-view.h
@@ -94,7 +94,7 @@ GnmSheetSlicer *sv_editpos_in_slicer (SheetView const *sv);
 
 /* Manipulation */
 void	 sv_flag_status_update_pos   (SheetView *sv, GnmCellPos const *pos);
-void	 sv_flag_status_update_range (SheetView *sv, GnmRange const *r);
+void	 sv_flag_status_update_range (SheetView *sv, GnmRange const *range);
 void	 sv_flag_style_update_range  (SheetView *sv, GnmRange const *r);
 void	 sv_flag_selection_change    (SheetView *sv);
 
diff --git a/src/workbook-view.c b/src/workbook-view.c
index 6e49db6..ac1c453 100644
--- a/src/workbook-view.c
+++ b/src/workbook-view.c
@@ -415,8 +415,8 @@ wb_view_selection_desc (WorkbookView *wbv, gboolean use_pos,
 
 /**
  * wb_view_edit_line_set:
- * @wbv : The view
- * @optional_wbc : An Optional control
+ * @wbv: The view
+ * @optional_wbc: An Optional control
  *
  * Load the edit line with the value of the cell in @sheet's edit_pos.
  *
diff --git a/src/workbook-view.h b/src/workbook-view.h
index baa5dac..a8df652 100644
--- a/src/workbook-view.h
+++ b/src/workbook-view.h
@@ -90,7 +90,7 @@ void		 wb_view_auto_expr_recalc (WorkbookView *wbv);
 
 /* I/O routines */
 gboolean wb_view_save_as (WorkbookView *wbv, GOFileSaver *fs,
-			  char const *file_name, GOCmdContext *cc);
+			  char const *uri, GOCmdContext *cc);
 gboolean wb_view_save	 (WorkbookView *wbv, GOCmdContext *cc);
 void	 wbv_save_to_output (WorkbookView *wbv, GOFileSaver const *fs,
 			     GsfOutput *output, GOIOContext *io_context);



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