[gnumeric] unused functions...
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] unused functions...
- Date: Mon, 23 May 2011 02:25:11 +0000 (UTC)
commit 4bec5eb93722767b2d1b05c0674aafdd8a2440a3
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sun May 22 20:24:30 2011 -0600
unused functions...
2011-05-22 Andreas J. Guelzow <aguelzow pyrshep ca>
* dao.h (dao_set_underlined): deleted
(dao_range_name): deleted
(dao_convert_to_values): deleted
* dao.c (dao_set_underlined): deleted
(dao_range_name): make static
(dao_convert_to_values): make static
2011-05-22 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-analysis-tools.c (dialog_tool_init_buttons): make static
* tool-dialogs.h (dialog_tool_init_buttons): deleted
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-analysis-tools.c | 2 +-
src/dialogs/tool-dialogs.h | 3 ---
src/tools/ChangeLog | 9 +++++++++
src/tools/dao.c | 27 ++-------------------------
src/tools/dao.h | 4 ----
6 files changed, 17 insertions(+), 33 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 341eeac..f4da4be 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-22 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dialog-analysis-tools.c (dialog_tool_init_buttons): make static
+ * tool-dialogs.h (dialog_tool_init_buttons): deleted
+
2011-05-22 Morten Welinder <terra gnome org>
* dialog-define-names.c (name_guru_populate_list): Plug leak.
diff --git a/src/dialogs/dialog-analysis-tools.c b/src/dialogs/dialog-analysis-tools.c
index f5bfd41..4c76e9d 100644
--- a/src/dialogs/dialog-analysis-tools.c
+++ b/src/dialogs/dialog-analysis-tools.c
@@ -321,7 +321,7 @@ cb_tool_cancel_clicked (G_GNUC_UNUSED GtkWidget *button,
* Setup the buttons
*
**/
-void
+static void
dialog_tool_init_buttons (GenericToolState *state,
GCallback ok_function,
GCallback close_function)
diff --git a/src/dialogs/tool-dialogs.h b/src/dialogs/tool-dialogs.h
index 5d6706d..c3782d5 100644
--- a/src/dialogs/tool-dialogs.h
+++ b/src/dialogs/tool-dialogs.h
@@ -47,9 +47,6 @@ struct _GenericToolState {
} ;
void tool_load_selection (GenericToolState *state, gboolean allow_multiple);
-void dialog_tool_init_buttons (GenericToolState *state,
- GCallback ok_function,
- GCallback close_function);
void error_in_entry (GenericToolState *state, GtkWidget *entry, char const *err_str);
gboolean dialog_tool_init (GenericToolState *state,
WBCGtk *wbcg,
diff --git a/src/tools/ChangeLog b/src/tools/ChangeLog
index 28a8b12..11539ea 100644
--- a/src/tools/ChangeLog
+++ b/src/tools/ChangeLog
@@ -1,3 +1,12 @@
+2011-05-22 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dao.h (dao_set_underlined): deleted
+ (dao_range_name): deleted
+ (dao_convert_to_values): deleted
+ * dao.c (dao_set_underlined): deleted
+ (dao_range_name): make static
+ (dao_convert_to_values): make static
+
2011-05-21 Morten Welinder <terra gnome org>
* Release 1.10.15
diff --git a/src/tools/dao.c b/src/tools/dao.c
index 7b95de2..a0e2a8c 100644
--- a/src/tools/dao.c
+++ b/src/tools/dao.c
@@ -134,7 +134,7 @@ dao_load_from_value (data_analysis_output_t *dao,
*
**/
-char *
+static char *
dao_range_name (data_analysis_output_t *dao)
{
GnmRange range;
@@ -722,29 +722,6 @@ dao_set_bold (data_analysis_output_t *dao, int col1, int row1,
}
/**
- * dao_set_underlined:
- * @dao:
- * @col1:
- * @row1:
- * @col2:
- * @row2:
- *
- * sets the given cell range to underlined
- *
- *
- **/
-void
-dao_set_underlined (data_analysis_output_t *dao, int col1, int row1,
- int col2, int row2)
-{
- GnmStyle *mstyle = gnm_style_new ();
-
- gnm_style_set_font_uline (mstyle, TRUE);
-
- dao_set_style (dao, col1, row1, col2, row2, mstyle);
-}
-
-/**
* dao_set_italic:
* @dao:
* @col1:
@@ -1090,7 +1067,7 @@ cb_convert_to_value (GnmCellIter const *iter, gpointer user)
}
-void
+static void
dao_convert_to_values (data_analysis_output_t *dao)
{
if (dao->put_formulas)
diff --git a/src/tools/dao.h b/src/tools/dao.h
index 55e094a..781aab3 100644
--- a/src/tools/dao.h
+++ b/src/tools/dao.h
@@ -72,8 +72,6 @@ void dao_set_bold (data_analysis_output_t *dao, int col1, int row1,
int col2, int row2);
void dao_set_italic (data_analysis_output_t *dao, int col1, int row1,
int col2, int row2);
-void dao_set_underlined (data_analysis_output_t *dao, int col1, int row1,
- int col2, int row2);
void dao_set_percent (data_analysis_output_t *dao, int col1, int row1,
int col2, int row2);
void dao_set_date (data_analysis_output_t *dao, int col1, int row1,
@@ -124,7 +122,6 @@ void dao_set_sheet_object (data_analysis_output_t *dao, int col, int row, SheetO
void dao_prepare_output (WorkbookControl *wbc,
data_analysis_output_t *dao, char const *name);
gboolean dao_format_output (data_analysis_output_t *dao, char const *cmd);
-char *dao_range_name (data_analysis_output_t *dao);
char *dao_command_descriptor (data_analysis_output_t *dao, char const *format,
gpointer result);
void dao_adjust (data_analysis_output_t *dao, gint cols, gint rows);
@@ -140,7 +137,6 @@ void dao_append_date (GString *buf);
gboolean dao_put_formulas (data_analysis_output_t *dao);
-void dao_convert_to_values (data_analysis_output_t *dao);
void dao_redraw_respan (data_analysis_output_t *dao);
GnmExpr const *dao_get_cellref (data_analysis_output_t *dao, int x, int y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]