Commit 59240392 authored by Morten Welinder's avatar Morten Welinder

Whitespace.

parent 3b03ca2e
......@@ -177,7 +177,7 @@ cell_span_info_get_type (void)
}
/**
* cellspan_is_empty :
* cellspan_is_empty:
*
* Utility to ensure that a cell is completely empty.
* - no spans
......
......@@ -340,8 +340,8 @@ callback_function_collect (GnmEvalPos const *ep, GnmValue const *value,
return value_new_error_VALUE (ep);
break;
case VALUE_CELLRANGE :
case VALUE_ARRAY :
case VALUE_CELLRANGE:
case VALUE_ARRAY:
/* Ranges and arrays are not singleton values treat as errors */
case VALUE_ERROR:
......
......@@ -90,7 +90,7 @@ cb_value_compare (GnmValue const *a, GnmValue const *b)
case IS_LESS: return -1;
case IS_GREATER: return 1;
case TYPE_MISMATCH: return 1; /* Push time mismatches to the end */
default :
default:
g_warning ("Unknown value comparison result");
}
......@@ -287,7 +287,7 @@ tree_free (GTree *tree)
* B 1
* A 1
*
* This will be put in the tree like :
* This will be put in the tree like:
* A 2
* B 1
*
......@@ -462,11 +462,11 @@ key_list_get (GnmConsolidate *cs, gboolean is_cols)
* the region dst using the function "fd" on all the overlapping
* src regions.
*
* Example :
* Example:
* function is : SUM
* src contains : A1:B2 (4 cells containing all 1's) and A3:B4 (4 cells containing all 2's).
*
* The consolidated result will be :
* The consolidated result will be:
* 3 3
* 3 3
*
......
......@@ -344,7 +344,7 @@ dependent_types_shutdown (void)
}
/**
* dependent_register_type :
* dependent_register_type:
* @klass: A vtable
*
* Store the vtable and allocate an ID for a new class
......@@ -523,7 +523,7 @@ dependent_queue_recalc_main (GSList *work)
/**
* dependent_queue_recalc_list :
* dependent_queue_recalc_list:
* @list:
*
* Queues any elements of @list for recalc that are not already queued,
......@@ -1661,7 +1661,7 @@ gnm_cell_eval_content (GnmCell *cell)
*/
max_iteration = cell->base.sheet->workbook->iteration.max_number;
iterate :
iterate:
v = gnm_expr_top_eval (cell->base.texpr, &pos,
GNM_EXPR_EVAL_SCALAR_NON_EMPTY);
if (v == NULL)
......@@ -1735,7 +1735,7 @@ iterate :
}
/**
* dependent_eval :
* dependent_eval:
* @dep:
*/
static void
......@@ -1772,7 +1772,7 @@ gnm_cell_eval (GnmCell *cell)
/**
* cell_queue_recalc :
* cell_queue_recalc:
* @cell:
*
* Queue the cell and everything that depends on it for recalculation.
......@@ -1998,7 +1998,7 @@ typedef struct
} ExprRelocateStorage;
/**
* dependents_unrelocate_free :
* dependents_unrelocate_free:
* @info:
*
* Free the undo info associated with a dependent relocation.
......@@ -2016,7 +2016,7 @@ dependents_unrelocate_free (GSList *info)
}
/**
* dependents_unrelocate :
* dependents_unrelocate:
* @info:
*
* Apply the undo info associated with a dependent relocation.
......@@ -2850,7 +2850,7 @@ workbook_queue_volatile_recalc (Workbook *wb)
/**
* workbook_recalc :
* workbook_recalc:
* @wb:
*
* Computes all dependents in @wb that have been flaged as requiring
......@@ -2890,7 +2890,7 @@ workbook_recalc (Workbook *wb)
}
/**
* workbook_recalc_all :
* workbook_recalc_all:
* @wb:
*
* Queues all dependents for recalc and recalculates.
......@@ -3036,7 +3036,7 @@ dependent_debug_name_for_sheet (GnmDependent const *dep, Sheet *sheet,
/**
* dependent_debug_name :
* dependent_debug_name:
* @dep: The dependent we are interested in.
*
* A useful little debugging utility.
......@@ -3143,7 +3143,7 @@ dump_dynamic_dep (gpointer key, G_GNUC_UNUSED gpointer value,
}
/**
* gnm_dep_container_dump :
* gnm_dep_container_dump:
* @deps:
*
* A useful utility for checking the state of the dependency data structures.
......
......@@ -98,7 +98,7 @@ gnm_ft_category_get_templates_list (GnmFTCategory *category,
}
/**
* gnm_ft_xml_read_category :
* gnm_ft_xml_read_category:
* Open an XML file and read a GnmFTCategory
*/
static GnmFTCategory *
......
......@@ -1267,7 +1267,7 @@ function_call_with_exprs (GnmFuncEvalInfo *ei)
break;
/* case '?': handled above */
default :
default:
g_warning ("Unknown argument type '%c'", arg_type);
break;
}
......
......@@ -196,7 +196,7 @@ gnm_format_layout (PangoLayout *layout,
}
/**
* format_value_gstring :
* format_value_gstring:
* @str: append the result here.
* @format: #GOFormat.
* @value: #GnmValue to convert
......@@ -231,11 +231,11 @@ format_value_gstring (GString *str,
}
/**
* format_value_layout :
* format_value_layout:
* @layout:
* @format: #GOFormat.
* @value: #GnmValue to convert
* col_width : optional
* @col_width: optional limit on width, -1 for unlimited
* @date_conv: #GODateConventions.
*
**/
......
......@@ -358,8 +358,8 @@ gnm_pane_key_mode_sheet (GnmPane *pane, GdkEventKey *kevent,
wbcg_set_end_mode (wbcg, !end_mode);
break;
case GDK_KEY_KP_Insert :
case GDK_KEY_Insert :
case GDK_KEY_KP_Insert:
case GDK_KEY_Insert:
if (gnm_pane_guru_key (wbcg, event))
break;
if (state == GDK_CONTROL_MASK)
......@@ -2509,7 +2509,7 @@ control_point_set_cursor (SheetControlGUI const *scg, GocItem *ctrl_pt)
break;
case 8:
default :
default:
cursor = GDK_FLEUR;
}
gnm_widget_set_cursor_type (GTK_WIDGET (ctrl_pt->canvas), cursor);
......
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* gnm-sheet-slicer.c :
* gnm-sheet-slicer.c:
*
* Copyright (C) 2008-2009 Jody Goldberg (jody@gnome.org)
*
......@@ -237,7 +237,7 @@ gnm_sheet_slicer_set_range (GnmSheetSlicer *gss, GnmRange const *r)
}
/**
* gnm_sheet_slicer_overlaps_range :
* gnm_sheet_slicer_overlaps_range:
* @gss: #GnmSheetSlicer
* @r: #GnmRange
*
......@@ -251,7 +251,7 @@ gnm_sheet_slicer_overlaps_range (GnmSheetSlicer const *gss, GnmRange const *r)
}
/**
* gnm_sheet_slicer_field_header_at_pos :
* gnm_sheet_slicer_field_header_at_pos:
* @gss: #GnmSheetSlicer const
* @pos: #GnmCellPos const
*
......
......@@ -467,16 +467,16 @@ gnm_so_filled_get_property (GObject *obj, guint param_id,
case SOF_PROP_IS_OVAL:
g_value_set_boolean (value, sof->is_oval);
break;
case SOF_PROP_TEXT :
case SOF_PROP_TEXT:
g_value_set_string (value, sof->text);
break;
case SOF_PROP_MARKUP :
case SOF_PROP_MARKUP:
g_value_set_boxed (value, sof->markup);
break;
case SOF_PROP_DOCUMENT:
g_value_set_object (value, sheet_object_get_sheet (GNM_SO (obj))->workbook);
break;
default :
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, param_id, pspec);
break;
}
......
......@@ -392,7 +392,7 @@ gnm_so_line_get_property (GObject *obj, guint param_id,
case SOL_PROP_END_ARROW:
g_value_set_boxed (value, &sol->end_arrow);
break;
default :
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, param_id, pspec);
break;
}
......
......@@ -603,19 +603,19 @@ gnm_so_path_get_property (GObject *obj, guint param_id,
case SOP_PROP_PATHS:
g_value_set_boxed (value, sop->paths);
break;
case SOP_PROP_TEXT :
case SOP_PROP_TEXT:
g_value_set_string (value, sop->text);
break;
case SOP_PROP_MARKUP :
case SOP_PROP_MARKUP:
g_value_set_boxed (value, sop->markup);
break;
case SOP_PROP_VIEWBOX :
case SOP_PROP_VIEWBOX:
g_value_take_string
(value,
g_strdup_printf ("%0.0f %0.0f %0.0f %0.0f", sop->x_offset, sop->y_offset,
sop->width + sop->x_offset, sop->height + sop->y_offset));
break;
default :
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, param_id, pspec);
break;
}
......
......@@ -251,7 +251,7 @@ gnm_so_polygon_get_property (GObject *obj, guint param_id,
case SOP_PROP_DOCUMENT:
g_value_set_object (value, sheet_object_get_sheet (GNM_SO (obj))->workbook);
break;
default :
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, param_id, pspec);
break;
}
......
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-data-cache-source.c :
* go-data-cache-source.c:
*
* Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
*
......
......@@ -152,11 +152,11 @@ go_data_cache_set_property (GObject *obj, guint property_id,
GODataCache *cache = (GODataCache *)obj;
switch (property_id) {
case PROP_REFRESHED_BY :
case PROP_REFRESHED_BY:
g_free (cache->refreshed_by);
cache->refreshed_by = g_value_dup_string (value);
break;
case PROP_REFRESHED_ON :
case PROP_REFRESHED_ON:
go_val_free (cache->refreshed_on);
cache->refreshed_on = g_value_dup_boxed (value);
break;
......@@ -224,7 +224,7 @@ go_data_cache_get_source (GODataCache const *cache)
}
/**
* go_data_cache_set_source :
* go_data_cache_set_source:
* @cache: #GODataCache
* @src: #GODataCacheSource
*
......@@ -256,7 +256,7 @@ go_data_cache_add_field (GODataCache *cache, GODataCacheField *field)
}
/**
* go_data_cache_import_start :
* go_data_cache_import_start:
* @cache:#GODataCache
* @n: num records
*
......@@ -342,7 +342,7 @@ go_data_cache_set_val (GODataCache *cache,
p = go_data_cache_records_fetch_index (cache, record_num) + f->offset;
switch (f->ref_type) {
case GO_DATA_CACHE_FIELD_TYPE_NONE :
case GO_DATA_CACHE_FIELD_TYPE_NONE:
g_warning ("attempt to set a value for grouped/calculated field #%d : '%s'",
f->indx, f->name->str);
return;
......@@ -355,7 +355,7 @@ go_data_cache_set_val (GODataCache *cache,
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16 : *((guint16 *)p) = 0; break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32 : *((guint32 *)p) = 0; break;
default :
default:
g_warning ("unknown field type %d", f->ref_type);
}
go_val_free (v);
......@@ -385,7 +385,7 @@ go_data_cache_set_index (GODataCache *cache,
p = go_data_cache_records_fetch_index (cache, record_num) + f->offset;
switch (f->ref_type) {
case GO_DATA_CACHE_FIELD_TYPE_NONE :
case GO_DATA_CACHE_FIELD_TYPE_NONE:
g_warning ("attempt to get value from grouped/calculated field #%d : '%s'",
f->indx, f->name->str);
return;
......@@ -398,13 +398,13 @@ go_data_cache_set_index (GODataCache *cache,
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16 : *((guint16 *)p) = idx+1; break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32 : *((guint32 *)p) = idx+1; break;
default :
default:
g_warning ("unknown field type %d", f->ref_type);
}
}
/**
* go_data_cache_import_done :
* go_data_cache_import_done:
* @cache: #GODataCache
* @actual_records: count
*
......@@ -456,7 +456,7 @@ go_data_cache_get_index (GODataCache const *cache,
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I8 : return *(guint8 *)p - 1;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16 : return *(guint16 *)p - 1;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32 : return *(guint32 *)p - 1;
default :
default:
g_warning ("unknown field type %d", field->ref_type);
}
return -1;
......@@ -484,19 +484,19 @@ cb_go_data_cache_cmp (int const *a, int const * b,
pb = go_data_cache_records_index (info->cache, *b) + base->offset;
if (base->ref_type != GO_DATA_CACHE_FIELD_TYPE_INLINE) {
switch (base->ref_type) {
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I8 :
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I8 :
idxa = *(guint8 *)pa;
idxb = *(guint8 *)pb;
break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16 :
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16:
idxa = *(guint16 *)pa;
idxb = *(guint16 *)pb;
break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32 :
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32:
idxa = *(guint32 *)pa;
idxb = *(guint32 *)pb;
break;
default :
default:
g_assert_not_reached ();
}
#warning TODO : compare indicies directly, and pre-order the indexed values
......@@ -581,7 +581,7 @@ go_data_cache_dump (GODataCache *cache,
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16 : idx = *(guint16 *)p; break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32 : idx = *(guint32 *)p; break;
default :
default:
g_warning ("unknown field type %d", base->ref_type);
continue;
}
......
......@@ -160,7 +160,7 @@ GSF_CLASS (GODataSlicerField, go_data_slicer_field,
G_TYPE_OBJECT)
/**
* go_data_slicer_field_get_cache_field :
* go_data_slicer_field_get_cache_field:
* @dsf: #GODataSlicerField const
*
* Returns : the underlying cache field
......@@ -174,7 +174,7 @@ go_data_slicer_field_get_cache_field (GODataSlicerField const *dsf)
}
/**
* go_data_slicer_field_get_name :
* go_data_slicer_field_get_name:
* @dsf: #GODataSlicerField const
*
* If @dsf has a name return that, otherwise default to the name of the
......@@ -204,7 +204,7 @@ go_data_slicer_field_get_field_type_pos (GODataSlicerField const *dsf,
}
/**
* go_data_slicer_field_set_field_type_pos :
* go_data_slicer_field_set_field_type_pos:
* @dsf: #GODataSlicerField
* @field_type: #GODataSlicerFieldType
* @pos: >= len => append, else move ahead of @pos, -1 removes
......
......@@ -123,7 +123,7 @@ GSF_CLASS (GODataSlicer, go_data_slicer,
G_TYPE_OBJECT)
/**
* go_data_slicer_get_cache :
* go_data_slicer_get_cache:
* @ds: #GODataSlicer
*
* Does not add a reference.
......
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-val.c :
* go-val.c:
*
* Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
*
......@@ -76,7 +76,7 @@ go_val_bucketer_validate (GOValBucketer *bucketer)
}
/**
* go_val_bucketer_apply :
* go_val_bucketer_apply:
* @bucketer: #GOValBucketer
* @v: #GOVal
*
......@@ -97,9 +97,9 @@ go_val_bucketer_apply (GOValBucketer const *bucketer, GOVal const *v)
/* Time based */
if (bucketer->type <= GO_VAL_BUCKET_HOUR) {
switch (bucketer->type) {
case GO_VAL_BUCKET_SECOND :
case GO_VAL_BUCKET_SECOND:
break;
case GO_VAL_BUCKET_MINUTE :
case GO_VAL_BUCKET_MINUTE:
break;
default : g_assert_not_reached ();
}
......
......@@ -597,11 +597,11 @@ gnm_go_data_vector_load_len (GODataVector *dat)
vec->as_col = (vec->val->v_array.y > vec->val->v_array.x);
break;
}
case VALUE_ERROR :
case VALUE_ERROR:
new_len = 0;
break;
default :
default:
new_len = 1;
vec->as_col = TRUE;
}
......@@ -807,7 +807,7 @@ gnm_go_data_vector_load_values (GODataVector *dat)
break;
}
case VALUE_STRING :
case VALUE_STRING:
v = format_match_number (value_peek_string (vec->val),
NULL,
closure.date_conv);
......@@ -818,11 +818,11 @@ gnm_go_data_vector_load_values (GODataVector *dat)
}
/* fall through to errors */
case VALUE_EMPTY :
case VALUE_ERROR :
case VALUE_EMPTY:
case VALUE_ERROR:
minimum = maximum = vals[0] = go_nan;
break;
default :
default:
minimum = maximum = vals[0] = value_get_as_float (vec->val);
break;
}
......@@ -1210,12 +1210,12 @@ gnm_go_data_matrix_load_size (GODataMatrix *dat)
}
break;
case VALUE_ARRAY :
case VALUE_ARRAY:
dat->size.rows = mat->val->v_array.y;
dat->size.columns = mat->val->v_array.x;
break;
default :
default:
dat->size.rows = 1;
dat->size.columns = 1;
}
......@@ -1347,7 +1347,7 @@ gnm_go_data_matrix_load_values (GODataMatrix *dat)
minimum = maximum = vals[0] = go_nan;
break;
case VALUE_ARRAY :
case VALUE_ARRAY:
maximum = - G_MAXDOUBLE;
minimum = G_MAXDOUBLE;
for (col = 0; col < size.columns; col ++)
......@@ -1378,7 +1378,7 @@ gnm_go_data_matrix_load_values (GODataMatrix *dat)
minimum = maximum = go_nan;
break;
case VALUE_STRING :
case VALUE_STRING:
v = format_match_number (value_peek_string (mat->val),
NULL,
closure.date_conv);
......@@ -1390,11 +1390,11 @@ gnm_go_data_matrix_load_values (GODataMatrix *dat)
}
/* fall through to errors */
case VALUE_EMPTY :
case VALUE_ERROR :
case VALUE_EMPTY:
case VALUE_ERROR:
minimum = maximum = vals[0] = go_nan;
break;
default :
default:
vals[0] = value_get_as_float (mat->val);
minimum = maximum = go_nan;
break;
......
......@@ -460,7 +460,7 @@ kill_popup_menu (GtkWidget *widget, G_GNUC_UNUSED gpointer user)
}
/**
* gnumeric_popup_menu :
* gnumeric_popup_menu:
* @menu: #GtkMenu
* @event: #GdkEvent optionally NULL
*
......
......@@ -73,7 +73,7 @@ GSF_CLASS (GnmInputMsg, gnm_input_msg,
gnm_input_msg_class_init, gnm_input_msg_init, G_TYPE_OBJECT)
/**
* gnm_input_msg_new :
* gnm_input_msg_new:
* @msg:
* @title:
*
......
......@@ -343,10 +343,10 @@ icg_set_property (GObject *obj, guint property_id,
GnmIOContextGtk *icg = GNM_IO_CONTEXT_GTK (obj);
switch (property_id) {
case PROP_SHOW_SPLASH :
case PROP_SHOW_SPLASH:
icg->show_splash = g_value_get_boolean (value);
break;
case PROP_SHOW_WARNINGS :
case PROP_SHOW_WARNINGS:
icg->show_warnings = g_value_get_boolean (value);
break;
default:
......
......@@ -764,7 +764,7 @@ item_bar_distance (GocItem *item, double x, double y,
}
/**
* is_pointer_on_division :
* is_pointer_on_division:
* @ib: #GnmItemBar
* @x: in world coords
* @y: in world coords
......
......@@ -799,7 +799,7 @@ item_cursor_do_action (GnmItemCursor *ic, ActionType action)
g_warning ("Operation not yet implemented.");
break;
default :
default:
g_warning ("Invalid Operation %d.", action);
}
......@@ -1443,7 +1443,7 @@ item_cursor_set_property (GObject *obj, guint param_id,
case ITEM_CURSOR_PROP_STYLE:
ic->style = g_value_get_int (value);
break;
case ITEM_CURSOR_PROP_BUTTON :
case ITEM_CURSOR_PROP_BUTTON:
ic->drag_button = g_value_get_int (value);
break;
case ITEM_CURSOR_PROP_COLOR:
......
......@@ -1028,7 +1028,7 @@ item_grid_button_pressed (GocItem *item, int button, double x_, double y_)
case 3: scg_context_menu (scg, event, FALSE, FALSE);
break;
default :
default:
break;
}
......@@ -1117,10 +1117,10 @@ item_grid_motion (GocItem *item, double x_, double y_)
ig->last_x = x;
ig->last_y = y;
return TRUE;
case GNM_ITEM_GRID_SELECTING_CELL_RANGE :
case GNM_ITEM_GRID_SELECTING_CELL_RANGE:
slide_handler = &cb_extend_cell_range;
break;
case GNM_ITEM_GRID_SELECTING_FORMULA_RANGE :
case GNM_ITEM_GRID_SELECTING_FORMULA_RANGE:
slide_handler = &cb_extend_expr_range;
break;
default:
......@@ -1152,13 +1152,13 @@ item_grid_button_released (GocItem *item, int button, G_GNUC_UNUSED double x_, G
case GNM_ITEM_GRID_NO_SELECTION:
return TRUE;
case GNM_ITEM_GRID_SELECTING_FORMULA_RANGE :
case GNM_ITEM_GRID_SELECTING_FORMULA_RANGE:
/* Removal of this code (2 lines) */
/* should fix http://bugzilla.gnome.org/show_bug.cgi?id=63485 */
/* sheet_make_cell_visible (sheet, */
/* sheet->edit_pos.col, sheet->edit_pos.row, FALSE); */
/* Fall through */
case GNM_ITEM_GRID_SELECTING_CELL_RANGE :
case GNM_ITEM_GRID_SELECTING_CELL_RANGE:
sv_selection_simplify (scg_view (scg));
wb_view_selection_desc (
wb_control_view (scg_wbc (scg)), TRUE, NULL);
......@@ -1237,11 +1237,11 @@ item_grid_set_property (GObject *obj, guint param_id,
GnmRange const *r;
switch (param_id) {
case GNM_ITEM_GRID_PROP_SHEET_CONTROL_GUI :
case GNM_ITEM_GRID_PROP_SHEET_CONTROL_GUI:
ig->scg = g_value_get_object (value);
break;
case GNM_ITEM_GRID_PROP_BOUND :
case GNM_ITEM_GRID_PROP_BOUND:
r = g_value_get_pointer (value);
g_return_if_fail (r != NULL);
ig->bound = *r;
......
......@@ -950,7 +950,7 @@ unquote (char *dst, char const *src, int n)
}
/**
* wbref_parse :
* wbref_parse:
* @convs: #GnmConventions const
* @start:
* @wb:
......
......@@ -457,7 +457,7 @@ build_set (GnmExprList *list)
}
/**
* parse_string_as_value :
* parse_string_as_value:
*
* Try to parse the entered text as a basic value (empty, bool, int,
* gnm_float, err) if this succeeds, we store this as a GnmValue otherwise, we
......@@ -523,7 +523,7 @@ parser_simple_name (const char *str, Sheet *sheet)
}
/**
* parser_simple_val_or_name :
* parser_simple_val_or_name:
* @str : An expression with oper constant, whose value is a string.
*
* Check to see if a string is a simple value or failing that a named
......@@ -1097,7 +1097,7 @@ yylex (void)
state->ptr += 5;
p = state->ptr;
double_quote_loop :
double_quote_loop:
state->ptr = strstr (state->ptr, quotes_end);
if (!*state->ptr) {
report_err (state, g_error_new (1, PERR_MISSING_CLOSING_QUOTE,
......@@ -1475,10 +1475,10 @@ yylex (void)
case '\n': return 0;
case '{' :
case '{':
state->in_array++;
return c;
case '}' :
case '}':
state->in_array--;
return c;
......
......@@ -311,13 +311,13 @@ preview_grid_set_property (GObject *obj, guint param_id,
GnmPreviewGrid *pg = GNM_PREVIEW_GRID (obj);
switch (param_id){
case PREVIEW_GRID_PROP_RENDER_GRIDLINES :
case PREVIEW_GRID_PROP_RENDER_GRIDLINES:
pg->gridlines = g_value_get_boolean (value);
break;
case PREVIEW_GRID_PROP_DEFAULT_COL_WIDTH :
case PREVIEW_GRID_PROP_DEFAULT_COL_WIDTH:
pg->defaults.col_width = g_value_get_uint (value);
break;
case PREVIEW_GRID_PROP_DEFAULT_ROW_HEIGHT :
case PREVIEW_GRID_PROP_DEFAULT_ROW_HEIGHT:
pg->defaults.row_height = g_value_get_uint (value);
break;
case PREVIEW_GRID_PROP_DEFAULT_STYLE : {
......
......@@ -1374,7 +1374,7 @@ gnm_print_info_get_page_setup (GnmPrintInformation *pi)
}
/**
* gnm_print_info_set_page_setup :
* gnm_print_info_set_page_setup:
* @pi: #GnmPrintInformation
* @page_setup: #GtkPageSetup
*
......@@ -1429,7 +1429,7 @@ print_info_set_paper_orientation (GnmPrintInformation *pi,
}