projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unnecessary variable and consequently unreachable code.
[pspp-builds.git]
/
lib
/
gtk-contrib
/
psppire-sheet.h
diff --git
a/lib/gtk-contrib/psppire-sheet.h
b/lib/gtk-contrib/psppire-sheet.h
index 82de87bed5659a21088ab347ce10d799278c2574..db58d4bdf3ea4429dcc35637cc61df28d089ab5f 100644
(file)
--- a/
lib/gtk-contrib/psppire-sheet.h
+++ b/
lib/gtk-contrib/psppire-sheet.h
@@
-53,7
+53,7
@@
G_BEGIN_DECLS
G_BEGIN_DECLS
-/* sheet->s
tate
*/
+/* sheet->s
elect_status
*/
enum
{
PSPPIRE_SHEET_NORMAL,
enum
{
PSPPIRE_SHEET_NORMAL,
@@
-84,7
+84,6
@@
struct _PsppireSheetCellAttr
GdkColor foreground;
GdkColor background;
PsppireSheetCellBorder border;
GdkColor foreground;
GdkColor background;
PsppireSheetCellBorder border;
- gboolean is_editable;
};
struct _PsppireSheetHoverTitle
};
struct _PsppireSheetHoverTitle
@@
-113,8
+112,6
@@
struct _PsppireSheet
PsppireSheetModel *model;
PsppireSheetModel *model;
- GtkSelectionMode selection_mode;
-
/* Component colors */
GdkColor color[n_COLORS];
gboolean show_grid;
/* Component colors */
GdkColor color[n_COLORS];
gboolean show_grid;
@@
-128,18
+125,18
@@
struct _PsppireSheet
/* The type of entry_widget */
GtkType entry_type;
/* The type of entry_widget */
GtkType entry_type;
- /* expanding selection */
- PsppireSheetCell selection_cell;
-
/* global selection button */
GtkWidget *button;
/* sheet state */
/* global selection button */
GtkWidget *button;
/* sheet state */
- gint s
tate
;
+ gint s
elect_status
;
/* selected range */
PsppireSheetRange range;
/* selected range */
PsppireSheetRange range;
+ /* The space between a cell's contents and its border */
+ GtkBorder *cell_padding;
+
/* the scrolling window and its height and width to
* make things a little speedier */
GdkWindow *sheet_window;
/* the scrolling window and its height and width to
* make things a little speedier */
GdkWindow *sheet_window;
@@
-300,12
+297,6
@@
void psppire_sheet_get_active_cell (PsppireSheet *sheet,
gchar *psppire_sheet_cell_get_text (const PsppireSheet *sheet, gint row, gint col);
gchar *psppire_sheet_cell_get_text (const PsppireSheet *sheet, gint row, gint col);
-/* get cell attributes of the given cell */
-/* TRUE means that the cell is currently allocated */
-gboolean psppire_sheet_get_attributes (const PsppireSheet *sheet,
- gint row, gint col,
- PsppireSheetCellAttr *attributes);
-
void psppire_sheet_set_model (PsppireSheet *sheet,
PsppireSheetModel *model);
void psppire_sheet_set_model (PsppireSheet *sheet,
PsppireSheetModel *model);