Commit ebb02df4 authored by Morten Welinder's avatar Morten Welinder

G_GNUC_UNUSED fixes.

parent 8df997e9
......@@ -326,7 +326,7 @@ struct wb_index_closure
};
static gboolean
cb_workbook_index (__attribute__((unused)) Workbook * wb, gpointer closure)
cb_workbook_index (G_GNUC_UNUSED Workbook * wb, gpointer closure)
{
struct wb_index_closure *dat = closure;
return (--(dat->index) != 0);
......
......@@ -65,8 +65,8 @@ static GnmFuncFlags do_af_suggest_list (GnmExprList *list,
struct cb_af_suggest { GnmFuncFlags typ; StyleFormat **explicit; };
static Value *
cb_af_suggest (__attribute__((unused)) Sheet *sheet,
__attribute__((unused)) int col, __attribute__((unused)) int row,
cb_af_suggest (G_GNUC_UNUSED Sheet *sheet,
G_GNUC_UNUSED int col, G_GNUC_UNUSED int row,
Cell *cell, void *_data)
{
struct cb_af_suggest *data = _data;
......
......@@ -671,7 +671,7 @@ cell_init (void)
#if USE_CELL_POOL
static void
cb_cell_pool_leak (gpointer data, __attribute__((unused)) gpointer user)
cb_cell_pool_leak (gpointer data, G_GNUC_UNUSED gpointer user)
{
Cell const *cell = data;
fprintf (stderr, "Leaking cell %p at %s\n", cell, cellpos_as_string (&cell->pos));
......
......@@ -43,8 +43,8 @@ col_compare (gconstpointer a, gconstpointer b)
}
static void
free_hash_value (__attribute__((unused)) gpointer key, gpointer value,
__attribute__((unused)) gpointer user_data)
free_hash_value (G_GNUC_UNUSED gpointer key, gpointer value,
G_GNUC_UNUSED gpointer user_data)
{
g_free (value);
}
......@@ -99,7 +99,7 @@ cell_register_span (Cell const * const cell, int left, int right)
}
static gboolean
span_remove (__attribute__((unused)) gpointer key, gpointer value,
span_remove (G_GNUC_UNUSED gpointer key, gpointer value,
gpointer user_data)
{
CellSpanInfo *span = (CellSpanInfo *)value;
......
......@@ -298,7 +298,7 @@ colrow_get_index_list (int first, int last, ColRowIndexList *list)
}
ColRowStateList *
colrow_make_state (__attribute__((unused)) Sheet *sheet, int count,
colrow_make_state (G_GNUC_UNUSED Sheet *sheet, int count,
float size_pts, gboolean hard_size,
int outline_level)
{
......
......@@ -78,14 +78,14 @@ ccs_init (CommandContextStderr *ccs)
}
static char *
ccs_get_password (__attribute__((unused)) CommandContext *cc,
__attribute__((unused)) char const* msg)
ccs_get_password (G_GNUC_UNUSED CommandContext *cc,
G_GNUC_UNUSED char const* msg)
{
return NULL;
}
static void
ccs_set_sensitive (__attribute__((unused)) CommandContext *cc,
__attribute__((unused)) gboolean sensitive)
ccs_set_sensitive (G_GNUC_UNUSED CommandContext *cc,
G_GNUC_UNUSED gboolean sensitive)
{
}
......
......@@ -79,7 +79,7 @@ gnumeric_error_calc (CommandContext *context, char const *msg)
void
gnumeric_error_splits_array (CommandContext *context,
__attribute__((unused)) char const *cmd,
G_GNUC_UNUSED char const *cmd,
Range const *array)
{
GError *err;
......
......@@ -1596,7 +1596,7 @@ GNUMERIC_MAKE_COMMAND (CmdFormat, cmd_format);
static gboolean
cmd_format_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdFormat *me = CMD_FORMAT (cmd);
......@@ -1790,7 +1790,7 @@ GNUMERIC_MAKE_COMMAND (CmdResizeColRow, cmd_resize_colrow);
static gboolean
cmd_resize_colrow_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdResizeColRow *me = CMD_RESIZE_COLROW (cmd);
......@@ -1807,7 +1807,7 @@ cmd_resize_colrow_undo (GnumericCommand *cmd,
static gboolean
cmd_resize_colrow_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdResizeColRow *me = CMD_RESIZE_COLROW (cmd);
......@@ -2260,7 +2260,7 @@ GNUMERIC_MAKE_COMMAND (CmdGroup, cmd_group);
static gboolean
cmd_group_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdGroup const *me = CMD_GROUP (cmd);
sheet_colrow_group_ungroup (me->cmd.sheet,
......@@ -2270,7 +2270,7 @@ cmd_group_undo (GnumericCommand *cmd,
static gboolean
cmd_group_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdGroup const *me = CMD_GROUP (cmd);
sheet_colrow_group_ungroup (me->cmd.sheet,
......@@ -2382,7 +2382,7 @@ typedef struct
*/
static void
cmd_paste_cut_update_origin (GnmExprRelocateInfo const *info,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
/* Dirty and update both sheets */
if (info->origin_sheet != info->target_sheet) {
......@@ -3003,7 +3003,7 @@ GNUMERIC_MAKE_COMMAND (CmdAutoFormat, cmd_autoformat);
static gboolean
cmd_autoformat_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdAutoFormat *me = CMD_AUTOFORMAT (cmd);
......@@ -3033,7 +3033,7 @@ cmd_autoformat_undo (GnumericCommand *cmd,
static gboolean
cmd_autoformat_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdAutoFormat *me = CMD_AUTOFORMAT (cmd);
......@@ -3446,7 +3446,7 @@ cmd_search_replace_update_after_action (CmdSearchReplace *me)
static gboolean
cmd_search_replace_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdSearchReplace *me = CMD_SEARCH_REPLACE (cmd);
GList *tmp;
......@@ -3484,7 +3484,7 @@ cmd_search_replace_undo (GnumericCommand *cmd,
static gboolean
cmd_search_replace_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdSearchReplace *me = CMD_SEARCH_REPLACE (cmd);
GList *tmp;
......@@ -3657,7 +3657,7 @@ cmd_search_replace_do_cell (CmdSearchReplace *me, EvalPos *ep,
static gboolean
cmd_search_replace_do (CmdSearchReplace *me,
__attribute__((unused)) Workbook *wb, Sheet *sheet,
G_GNUC_UNUSED Workbook *wb, Sheet *sheet,
gboolean test_run)
{
SearchReplace *sr = me->sr;
......@@ -3787,7 +3787,7 @@ GNUMERIC_MAKE_COMMAND (CmdColRowStdSize, cmd_colrow_std_size);
static gboolean
cmd_colrow_std_size_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdColRowStdSize *me = CMD_COLROW_STD_SIZE (cmd);
......@@ -3806,7 +3806,7 @@ cmd_colrow_std_size_undo (GnumericCommand *cmd,
static gboolean
cmd_colrow_std_size_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdColRowStdSize *me = CMD_COLROW_STD_SIZE (cmd);
......@@ -3962,7 +3962,7 @@ GNUMERIC_MAKE_COMMAND (CmdZoom, cmd_zoom);
static gboolean
cmd_zoom_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdZoom *me = CMD_ZOOM (cmd);
GSList *l;
......@@ -3983,7 +3983,7 @@ cmd_zoom_undo (GnumericCommand *cmd,
static gboolean
cmd_zoom_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdZoom *me = CMD_ZOOM (cmd);
GSList *l;
......@@ -4090,7 +4090,7 @@ cmd_object_insert_redo (GnumericCommand *cmd,
static gboolean
cmd_object_insert_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectInsert *me = CMD_OBJECT_INSERT (cmd);
......@@ -4147,7 +4147,7 @@ GNUMERIC_MAKE_COMMAND (CmdObjectDelete, cmd_object_delete);
static gboolean
cmd_object_delete_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectDelete *me = CMD_OBJECT_DELETE (cmd);
sheet_object_clear_sheet (me->so);
......@@ -4156,7 +4156,7 @@ cmd_object_delete_redo (GnumericCommand *cmd,
static gboolean
cmd_object_delete_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectDelete *me = CMD_OBJECT_DELETE (cmd);
sheet_object_set_sheet (me->so, me->cmd.sheet);
......@@ -4211,7 +4211,7 @@ GNUMERIC_MAKE_COMMAND (CmdObjectMove, cmd_object_move);
static gboolean
cmd_object_move_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectMove *me = CMD_OBJECT_MOVE (cmd);
......@@ -4304,7 +4304,7 @@ GNUMERIC_MAKE_COMMAND (CmdReorganizeSheets, cmd_reorganize_sheets);
static void
cmd_reorganize_sheets_delete_sheets (gpointer data,
__attribute__((unused)) gpointer dummy)
G_GNUC_UNUSED gpointer dummy)
{
Sheet *sheet = data;
......@@ -4348,7 +4348,7 @@ cmd_reorganize_sheets_redo (GnumericCommand *cmd, WorkbookControl *wbc)
static void
cb_slist_gdk_color_free (gpointer data,
__attribute__((unused)) gpointer user_data)
G_GNUC_UNUSED gpointer user_data)
{
if (data)
gdk_color_free (data);
......@@ -4613,7 +4613,7 @@ cmd_set_comment_apply (Sheet *sheet, CellPos *pos, char const *text)
static gboolean
cmd_set_comment_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdSetComment *me = CMD_SET_COMMENT (cmd);
......@@ -4622,7 +4622,7 @@ cmd_set_comment_undo (GnumericCommand *cmd,
static gboolean
cmd_set_comment_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdSetComment *me = CMD_SET_COMMENT (cmd);
......@@ -4835,7 +4835,7 @@ cmd_analysis_tool_finalize (GObject *cmd)
}
gboolean
cmd_analysis_tool (WorkbookControl *wbc, __attribute__((unused)) Sheet *sheet,
cmd_analysis_tool (WorkbookControl *wbc, G_GNUC_UNUSED Sheet *sheet,
data_analysis_output_t *dao, gpointer specs,
analysis_tool_engine engine)
{
......@@ -4900,7 +4900,7 @@ cmd_merge_data_delete_sheets (gpointer data, gpointer success)
static gboolean
cmd_merge_data_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdMergeData *me = CMD_MERGE_DATA (cmd);
gboolean success = TRUE;
......@@ -5096,7 +5096,7 @@ cmd_change_summary_redo (GnumericCommand *cmd, WorkbookControl *wbc)
static void
cb_change_summary_clear_sit (SummaryItem *sit,
__attribute__((unused)) gpointer ignore)
G_GNUC_UNUSED gpointer ignore)
{
summary_item_free (sit);
}
......@@ -5170,7 +5170,7 @@ GNUMERIC_MAKE_COMMAND (CmdObjectRaise, cmd_object_raise);
static gboolean
cmd_object_raise_redo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectRaise *me = CMD_OBJECT_RAISE (cmd);
switch (me->dir) {
......@@ -5192,7 +5192,7 @@ cmd_object_raise_redo (GnumericCommand *cmd,
static gboolean
cmd_object_raise_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdObjectRaise *me = CMD_OBJECT_RAISE (cmd);
if (me->changed_positions != 0)
......@@ -5381,7 +5381,7 @@ GNUMERIC_MAKE_COMMAND (CmdDefineName, cmd_define_name);
static gboolean
cmd_define_name_undo (GnumericCommand *cmd,
__attribute__((unused)) WorkbookControl *wbc)
G_GNUC_UNUSED WorkbookControl *wbc)
{
CmdDefineName *me = CMD_DEFINE_NAME (cmd);
GnmExpr const *expr;
......
......@@ -99,7 +99,7 @@ complete_start (Complete *complete, char const *text)
}
static gboolean
default_search_iteration (__attribute__((unused)) Complete *complete)
default_search_iteration (G_GNUC_UNUSED Complete *complete)
{
return FALSE;
}
......
......@@ -312,7 +312,7 @@ typedef struct {
static int
cb_tree_free (Value const *key, TreeItem *ti,
__attribute__((unused)) gpointer user_data)
G_GNUC_UNUSED gpointer user_data)
{
g_return_val_if_fail (key != NULL, FALSE);
......
......@@ -925,7 +925,7 @@ workbook_unlink_3d_dep (Dependent *dep)
/*****************************************************************************/
static void dynamic_dep_eval (__attribute__((unused)) Dependent *dep) { }
static void dynamic_dep_eval (G_GNUC_UNUSED Dependent *dep) { }
static void
dynamic_dep_debug_name (Dependent const *dep, FILE *out)
......@@ -1280,7 +1280,7 @@ typedef struct {
} search_rangedeps_closure_t;
static void
cb_search_rangedeps (gpointer key, __attribute__((unused)) gpointer value,
cb_search_rangedeps (gpointer key, G_GNUC_UNUSED gpointer value,
gpointer closure)
{
search_rangedeps_closure_t const *c = closure;
......@@ -1349,8 +1349,8 @@ cell_foreach_dep (Cell const *cell, DepFunc func, gpointer user)
}
static void
cb_recalc_all_depends (gpointer key, __attribute__((unused)) gpointer value,
__attribute__((unused)) gpointer ignore)
cb_recalc_all_depends (gpointer key, G_GNUC_UNUSED gpointer value,
G_GNUC_UNUSED gpointer ignore)
{
DependencyAny const *depany = key;
dep_collection_foreach_list (depany->deps, list,
......@@ -1358,7 +1358,7 @@ cb_recalc_all_depends (gpointer key, __attribute__((unused)) gpointer value,
}
static void
cb_range_contained_depend (gpointer key, __attribute__((unused)) gpointer value,
cb_range_contained_depend (gpointer key, G_GNUC_UNUSED gpointer value,
gpointer user)
{
DependencyRange const *deprange = key;
......@@ -1372,7 +1372,7 @@ cb_range_contained_depend (gpointer key, __attribute__((unused)) gpointer value,
static void
cb_single_contained_depend (gpointer key,
__attribute__((unused)) gpointer value,
G_GNUC_UNUSED gpointer value,
gpointer user)
{
DependencySingle const *depsingle = key;
......@@ -1543,7 +1543,7 @@ typedef struct {
static void
cb_range_contained_collect (DependencyRange const *deprange,
__attribute__((unused)) gpointer ignored,
G_GNUC_UNUSED gpointer ignored,
CollectClosure *user)
{
Range const *range = &deprange->range;
......@@ -1558,7 +1558,7 @@ cb_range_contained_collect (DependencyRange const *deprange,
static void
cb_single_contained_collect (DependencySingle const *depsingle,
__attribute__((unused)) gpointer ignored,
G_GNUC_UNUSED gpointer ignored,
CollectClosure *user)
{
if (range_contains (user->target, depsingle->pos.col, depsingle->pos.row))
......@@ -1714,7 +1714,7 @@ invalidate_refs (Dependent *dep, GnmExprRewriteInfo const *rwinfo)
* This is tightly coupled with do_deps_destroy.
*/
static void
cb_dep_hash_invalidate (__attribute__((unused)) gpointer key, gpointer value,
cb_dep_hash_invalidate (G_GNUC_UNUSED gpointer key, gpointer value,
gpointer closure)
{
GnmExprRewriteInfo const *rwinfo = closure;
......@@ -1769,7 +1769,7 @@ cb_dep_hash_invalidate (__attribute__((unused)) gpointer key, gpointer value,
}
static void
cb_name_invalidate (GnmNamedExpr *nexpr, __attribute__((unused)) gpointer value,
cb_name_invalidate (GnmNamedExpr *nexpr, G_GNUC_UNUSED gpointer value,
GnmExprRewriteInfo const *rwinfo)
{
GnmExpr const *new_expr = NULL;
......@@ -1788,7 +1788,7 @@ cb_name_invalidate (GnmNamedExpr *nexpr, __attribute__((unused)) gpointer value,
}
static void
cb_collect_deps_of_name (Dependent *dep, __attribute__((unused)) gpointer value,
cb_collect_deps_of_name (Dependent *dep, G_GNUC_UNUSED gpointer value,
GSList **accum)
{
/* grab unflagged linked depends */
......@@ -1800,7 +1800,7 @@ cb_collect_deps_of_name (Dependent *dep, __attribute__((unused)) gpointer value,
static void
cb_collect_deps_of_names (GnmNamedExpr *nexpr,
__attribute__((unused)) gpointer value,
G_GNUC_UNUSED gpointer value,
GSList **accum)
{
if (nexpr->dependents)
......@@ -2049,8 +2049,8 @@ dump_dependent_list (GSList *l)
}
static void
dump_range_dep (gpointer key, __attribute__((unused)) gpointer value,
__attribute__((unused)) gpointer closure)
dump_range_dep (gpointer key, G_GNUC_UNUSED gpointer value,
G_GNUC_UNUSED gpointer closure)
{
DependencyRange const *deprange = key;
Range const *range = &(deprange->range);
......@@ -2064,8 +2064,8 @@ dump_range_dep (gpointer key, __attribute__((unused)) gpointer value,
}
static void
dump_single_dep (gpointer key, __attribute__((unused)) gpointer value,
__attribute__((unused)) gpointer closure)
dump_single_dep (gpointer key, G_GNUC_UNUSED gpointer value,
G_GNUC_UNUSED gpointer closure)
{
DependencySingle *depsingle = key;
......
......@@ -71,8 +71,8 @@ cb_focus_on_entry (GtkWidget *widget, GtkWidget *entry)
*
**/
static void
tool_set_focus_output_range (__attribute__((unused)) GtkWidget *widget,
__attribute__((unused)) GdkEventFocus *event,
tool_set_focus_output_range (G_GNUC_UNUSED GtkWidget *widget,
G_GNUC_UNUSED GdkEventFocus *event,
GenericToolState *state)
{
gtk_toggle_button_set_active
......
......@@ -54,7 +54,7 @@ typedef GenericToolState AdvancedFilterState;
* Update the dialog widgets sensitivity
**/
static void
advanced_filter_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
advanced_filter_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
AdvancedFilterState *state)
{
Value *output_range = NULL;
......@@ -112,7 +112,7 @@ advanced_filter_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
* contain sensible data.
**/
static void
advanced_filter_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
advanced_filter_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
AdvancedFilterState *state)
{
data_analysis_output_t dao;
......
......@@ -239,7 +239,7 @@ tool_destroy (GtkObject *w, GenericToolState *state)
* Close (destroy) the dialog
**/
static void
cb_tool_cancel_clicked (__attribute__((unused)) GtkWidget *button,
cb_tool_cancel_clicked (G_GNUC_UNUSED GtkWidget *button,
GenericToolState *state)
{
gtk_widget_destroy (state->dialog);
......@@ -492,7 +492,7 @@ tool_load_selection (GenericToolState *state, gboolean allow_multiple)
* areas as first input.
**/
static void
tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
GenericToolState *state)
{
gboolean ready = FALSE;
......@@ -554,7 +554,7 @@ tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
* contain sensible data.
**/
static void
corr_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
corr_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
GenericToolState *state)
{
data_analysis_output_t *dao;
......@@ -671,7 +671,7 @@ dialog_correlation_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
cov_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
cov_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
GenericToolState *state)
{
data_analysis_output_t *dao;
......@@ -788,7 +788,7 @@ dialog_covariance_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
rank_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
rank_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
GenericToolState *state)
{
data_analysis_output_t *dao;
......@@ -877,7 +877,7 @@ dialog_ranking_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
fourier_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
fourier_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
GenericToolState *state)
{
data_analysis_output_t *dao;
......@@ -975,7 +975,7 @@ static const char *stats_group[] = {
* contain sensible data.
**/
static void
cb_desc_stat_tool_ok_clicked (__attribute__((unused)) GtkWidget *button,
cb_desc_stat_tool_ok_clicked (G_GNUC_UNUSED GtkWidget *button,
DescriptiveStatState *state)
{
data_analysis_output_t *dao;
......@@ -1026,7 +1026,7 @@ cb_desc_stat_tool_ok_clicked (__attribute__((unused)) GtkWidget *button,
* a statistic is selected.
**/
static void
desc_stat_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
desc_stat_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
DescriptiveStatState *state)
{
gboolean ready = FALSE;
......@@ -1175,7 +1175,7 @@ dialog_descriptive_stat_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
ttest_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
ttest_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
TTestState *state)
{
data_analysis_output_t *dao;
......@@ -1273,7 +1273,7 @@ ttest_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
* are the standard input (one or two ranges) and output items.
**/
static void
ttest_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
ttest_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
TTestState *state)
{
gboolean ready = FALSE;
......@@ -1420,7 +1420,7 @@ dialog_ttest_adjust_to_invocation (TTestState *state)
*
**/
static void
dialog_ttest_realized (__attribute__((unused)) GtkWidget *widget,
dialog_ttest_realized (G_GNUC_UNUSED GtkWidget *widget,
TTestState *state)
{
gtk_widget_set_usize (state->options_table,
......@@ -1559,7 +1559,7 @@ dialog_ttest_tool (WorkbookControlGUI *wbcg, Sheet *sheet, ttest_type test)
* contain sensible data.
**/
static void
ftest_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
ftest_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
FTestToolState *state)
{
data_analysis_output_t *dao;
......@@ -1603,7 +1603,7 @@ ftest_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
* are the standard input (one or two ranges) and output items.
**/
static void
ftest_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
ftest_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
FTestToolState *state)
{
gboolean ready = FALSE;
......@@ -1711,7 +1711,7 @@ dialog_ftest_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* are the standard input (one range) and output items.
**/
static void
sampling_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
sampling_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
SamplingState *state)
{
gboolean ready = FALSE;
......@@ -1759,7 +1759,7 @@ sampling_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
* contain sensible data.
**/
static void
sampling_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
sampling_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
SamplingState *state)
{
data_analysis_output_t *dao;
......@@ -1829,7 +1829,7 @@ sampling_method_toggled_cb (GtkWidget *button, SamplingState *state)
*
**/
static void
dialog_sampling_realized (__attribute__((unused)) GtkWidget *widget,
dialog_sampling_realized (G_GNUC_UNUSED GtkWidget *widget,
SamplingState *state)
{
gtk_widget_set_usize (state->options_table,
......@@ -1942,7 +1942,7 @@ dialog_sampling_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
regression_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
regression_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
RegressionToolState *state)
{
data_analysis_output_t *dao;
......@@ -2016,7 +2016,7 @@ regression_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
* an interval is given.
**/
static void
regression_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
regression_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
RegressionToolState *state)
{
gboolean ready = FALSE;
......@@ -2124,7 +2124,7 @@ dialog_regression_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
*
**/
static void
exp_smoothing_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
exp_smoothing_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
ExpSmoothToolState *state)
{
data_analysis_output_t *dao;
......@@ -2165,7 +2165,7 @@ exp_smoothing_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
* a damping factor is given.
**/
static void
exp_smoothing_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
exp_smoothing_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
ExpSmoothToolState *state)
{
gboolean ready = FALSE;
......@@ -2266,7 +2266,7 @@ dialog_exp_smoothing_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* contain sensible data.
**/
static void
average_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
average_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
AverageToolState *state)
{
data_analysis_output_t *dao;
......@@ -2307,7 +2307,7 @@ average_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
* an interval is given.
**/
static void
average_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
average_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
AverageToolState *state)
{
gboolean ready = FALSE;
......@@ -2402,7 +2402,7 @@ dialog_average_tool (WorkbookControlGUI *wbcg, Sheet *sheet)
* Update the dialog widgets sensitivity
**/
static void
histogram_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
histogram_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
HistogramToolState *state)
{
gboolean ready = FALSE;
......@@ -2460,7 +2460,7 @@ histogram_tool_update_sensitivity_cb (__attribute__((unused)) GtkWidget *dummy,
* contain sensible data.
**/
static void
histogram_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
histogram_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
HistogramToolState *state)
{
data_analysis_output_t *dao;
......@@ -2521,8 +2521,8 @@ histogram_tool_ok_clicked_cb (__attribute__((unused)) GtkWidget *button,
*
**/
static void
histogram_tool_set_predetermined (__attribute__((unused)) GtkWidget *widget,
__attribute__((unused)) GdkEventFocus *event,
histogram_tool_set_predetermined (G_GNUC_UNUSED GtkWidget *widget,
G_GNUC_UNUSED GdkEventFocus *event,
HistogramToolState *state)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (state->predetermined_button), TRUE);
......@@ -2538,7 +2538,7 @@ histogram_tool_set_predetermined (__attribute__((unused)) GtkWidget *widget,