Commit db1ddc6d authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Avoid "gboolean ... : 1". Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto.

2002-10-09  Morten Welinder  <terra@diku.dk>

	* src/gnumeric-graph.c (struct _GnmGraphVector): Avoid "gboolean
	... : 1".
	* src/item-bar.c (struct _ItemBar): Ditto.
	* src/item-cursor.c (struct _ItemCursor): Ditto.
	* src/formats.h (FormatCharacteristics): Ditto.
	* src/format-template.h (struct _FormatTemplate): Ditto.
	* src/sheet-private.h (struct _SheetPrivate): Ditto.
	* src/sheet-view.h (struct _SheetView): Ditto.
	* src/validation.h (struct _Validation): Ditto.
	* src/workbook-priv.h (struct _Workbook): Ditto.
	* src/expr-name.h (struct _GnmNamedExpr): Ditto.


2002-10-09  Morten Welinder  <welinder@rentec.com>

	* ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
	* ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".

etc.

2002-10-09  Morten Welinder  <terra@diku.dk>

	* api.c (w_glpk_print_lp): Fix type error.
parent dd77cd95
2002-10-09 Morten Welinder <terra@diku.dk>
* src/gnumeric-graph.c (struct _GnmGraphVector): Avoid "gboolean
... : 1".
* src/item-bar.c (struct _ItemBar): Ditto.
* src/item-cursor.c (struct _ItemCursor): Ditto.
* src/formats.h (FormatCharacteristics): Ditto.
* src/format-template.h (struct _FormatTemplate): Ditto.
* src/sheet-private.h (struct _SheetPrivate): Ditto.
* src/sheet-view.h (struct _SheetView): Ditto.
* src/validation.h (struct _Validation): Ditto.
* src/workbook-priv.h (struct _Workbook): Ditto.
* src/expr-name.h (struct _GnmNamedExpr): Ditto.
2002-10-09 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_define_name_redo) : fix ref counting.
......
2002-10-09 Morten Welinder <terra@diku.dk>
* src/gnumeric-graph.c (struct _GnmGraphVector): Avoid "gboolean
... : 1".
* src/item-bar.c (struct _ItemBar): Ditto.
* src/item-cursor.c (struct _ItemCursor): Ditto.
* src/formats.h (FormatCharacteristics): Ditto.
* src/format-template.h (struct _FormatTemplate): Ditto.
* src/sheet-private.h (struct _SheetPrivate): Ditto.
* src/sheet-view.h (struct _SheetView): Ditto.
* src/validation.h (struct _Validation): Ditto.
* src/workbook-priv.h (struct _Workbook): Ditto.
* src/expr-name.h (struct _GnmNamedExpr): Ditto.
2002-10-09 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_define_name_redo) : fix ref counting.
......
2002-10-09 Morten Welinder <terra@diku.dk>
* src/gnumeric-graph.c (struct _GnmGraphVector): Avoid "gboolean
... : 1".
* src/item-bar.c (struct _ItemBar): Ditto.
* src/item-cursor.c (struct _ItemCursor): Ditto.
* src/formats.h (FormatCharacteristics): Ditto.
* src/format-template.h (struct _FormatTemplate): Ditto.
* src/sheet-private.h (struct _SheetPrivate): Ditto.
* src/sheet-view.h (struct _SheetView): Ditto.
* src/validation.h (struct _Validation): Ditto.
* src/workbook-priv.h (struct _Workbook): Ditto.
* src/expr-name.h (struct _GnmNamedExpr): Ditto.
2002-10-09 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_define_name_redo) : fix ref counting.
......
2002-10-09 Morten Welinder <welinder@rentec.com>
* ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
* ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".
2002-10-10 Nick Lamb <njl98r@ecs.soton.ac.uk>
* plugin.xml.in: Excel 4.x had .XLW workbooks as well as .XLS
......
......@@ -26,7 +26,7 @@ struct _ExcelSheet {
ExcelWorkbook *wb;
GHashTable *shared_formulae, *tables;
gboolean freeze_panes : 1;
gboolean freeze_panes;
};
typedef struct _BiffBoundsheetData {
......
......@@ -99,8 +99,8 @@ struct _MSObj {
int excel_type;
char const *excel_type_name;
gboolean ignore_combo_in_filter : 1;
gboolean is_linked : 1;
gboolean ignore_combo_in_filter;
gboolean is_linked;
GHashTable *attrs;
};
......
2002-10-09 Morten Welinder <terra@diku.dk>
* openoffice-read.c (OOParseState): Avoid "gboolean ... : 1".
2002-10-08 Jody Goldberg <jody@gnome.org>
* openoffice-read.c (oo_style) : correctly layer parent styles but
......
......@@ -62,8 +62,8 @@ typedef struct {
ParsePos pos;
int col_inc;
gboolean simple_content : 1;
gboolean error_content : 1;
gboolean simple_content;
gboolean error_content;
GHashTable *styles;
GHashTable *formats;
MStyle *style;
......
......@@ -11,8 +11,8 @@ struct _GnmNamedExpr {
String *name;
ParsePos pos;
GHashTable *dependents;
gboolean active : 1;
gboolean builtin : 1;
unsigned char active;
unsigned char builtin;
union {
GnmExpr const *expr_tree;
FunctionArgs expr_func;
......
......@@ -75,17 +75,17 @@ struct _FormatTemplate {
char *description;
/* what to enable */
gboolean number : 1;
gboolean border : 1;
gboolean font : 1;
gboolean patterns : 1;
gboolean alignment : 1;
gboolean number;
gboolean border;
gboolean font;
gboolean patterns;
gboolean alignment;
struct {
gboolean left : 1;
gboolean right : 1;
gboolean top : 1;
gboolean bottom : 1;
gboolean left;
gboolean right;
gboolean top;
gboolean bottom;
} edges;
/* <private> */
......
......@@ -31,8 +31,8 @@ typedef struct
gint negative_fmt; /* 0 - 3 */
gint currency_symbol_index;
gint list_element;
gboolean date_has_days : 1;
gboolean date_has_months : 1;
gboolean date_has_days;
gboolean date_has_months;
} FormatCharacteristics;
FormatFamily cell_format_classify (StyleFormat const *fmt, FormatCharacteristics *info);
......
......@@ -86,7 +86,7 @@ struct _GnmGraphVector {
Value *value;
GnmGraph *graph;
int id;
gboolean is_header : 1;
gboolean is_header;
GnmGraphVector *header;
};
......
......@@ -44,9 +44,9 @@ struct _ItemBar {
GdkCursor *change_cursor;
StyleFont *normal_font, *bold_font;
GtkWidget *tip; /* Tip for scrolling */
gboolean dragging : 1;
gboolean is_col_header : 1;
gboolean has_resize_guides : 1;
gboolean dragging;
gboolean is_col_header;
gboolean has_resize_guides;
int indent, cell_width, cell_height;
int start_selection; /* Where selection started */
int colrow_being_resized;
......
......@@ -69,10 +69,10 @@ struct _ItemCursor {
int cached_x, cached_y, cached_w, cached_h;
int drag_button;
gboolean visible :1;
gboolean use_color :1;
gboolean auto_fill_handle_at_top :1;
gboolean auto_fill_handle_at_left :1;
gboolean visible;
gboolean use_color;
gboolean auto_fill_handle_at_top;
gboolean auto_fill_handle_at_left;
GdkPixmap *stipple;
GdkColor color;
......
......@@ -5,14 +5,14 @@ struct _SheetPrivate {
Range unhidden_region;
/* State of menu items */
gboolean enable_showhide_detail : 1;
unsigned char enable_showhide_detail;
gboolean recompute_visibility : 1;
gboolean recompute_spans : 1;
gboolean recompute_max_col_group : 1;
gboolean recompute_max_row_group : 1;
gboolean resize_scrollbar : 1;
gboolean resize : 1;
unsigned char recompute_visibility;
unsigned char recompute_spans;
unsigned char recompute_max_col_group;
unsigned char recompute_max_row_group;
unsigned char resize_scrollbar;
unsigned char resize;
CellPos reposition_objects;
};
......
......@@ -32,19 +32,19 @@ struct _SheetView {
CellPos unfrozen_top_left;
/* state flags */
gboolean enable_insert_rows : 1;
gboolean enable_insert_cols : 1;
gboolean enable_insert_cells : 1;
gboolean reposition_selection : 1;
unsigned char enable_insert_rows;
unsigned char enable_insert_cols;
unsigned char enable_insert_cells;
unsigned char reposition_selection;
/* TODO : these should be replaced with Dependents when we support
* format based dependents
*/
gboolean selection_content_changed : 1;
unsigned char selection_content_changed;
struct {
gboolean location;
gboolean content; /* entered content NOT value */
gboolean format;
unsigned char location;
unsigned char content; /* entered content NOT value */
unsigned char format;
} edit_pos_changed;
guint auto_expr_timer;
};
......
......@@ -42,12 +42,12 @@ struct _Validation {
String *title;
String *msg;
GnmExpr const *expr [2];
GnmExpr const *expr [2];
ValidationStyle style;
ValidationType type;
ValidationOp op;
gboolean allow_blank : 1;
gboolean use_dropdown : 1;
gboolean allow_blank;
gboolean use_dropdown;
};
Validation *validation_new (ValidationStyle style,
......
......@@ -38,9 +38,9 @@ struct _Workbook {
} iteration;
gboolean auto_recalc;
gboolean during_destruction : 1;
gboolean being_reordered : 1;
gboolean recursive_dirty_enabled : 1;
gboolean during_destruction;
gboolean being_reordered;
gboolean recursive_dirty_enabled;
};
typedef struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment