Removed unused return value from cell activation features
[pspp] / lib / gtksheet / gtksheet.h
index 983c5f0aa45d27ae7d9918564c3a1f87e44f7a36..4b6da2f68f9bff63d1f655bea25ebc8a40d54a07 100644 (file)
 
 G_BEGIN_DECLS
 
-
-typedef enum
-{
-  GTK_SHEET_FOREGROUND,
-  GTK_SHEET_BACKGROUND,
-  GTK_SHEET_FONT,
-  GTK_SHEET_JUSTIFICATION,
-  GTK_SHEET_BORDER,
-  GTK_SHEET_BORDER_COLOR,
-  GTK_SHEET_IS_EDITABLE,
-  GTK_SHEET_IS_VISIBLE
-} GtkSheetAttrType;
-
 /* sheet->state */
-
 enum
 {
   GTK_SHEET_NORMAL,
@@ -68,8 +54,6 @@ enum
 #define GTK_IS_SHEET(obj)       GTK_CHECK_TYPE (obj, gtk_sheet_get_type ())
 
 
-
-
 typedef struct _GtkSheetClass GtkSheetClass;
 typedef struct _GtkSheetCellAttr     GtkSheetCellAttr;
 typedef struct _GtkSheetCell GtkSheetCell;
@@ -161,14 +145,9 @@ struct _GtkSheet
   /* selected range */
   GtkSheetRange range;
 
-  /*the scrolling window and it's height and width to
+  /* the scrolling window and its height and width to
    * make things a little speedier */
   GdkWindow *sheet_window;
-  guint sheet_window_width;
-  guint sheet_window_height;
-
-  /* sheet backing pixmap */
-  GdkPixmap *pixmap;
 
   /* border shadow style */
   GtkShadowType shadow_type;
@@ -320,11 +299,9 @@ void gtk_sheet_get_visible_range (GtkSheet *sheet, GtkSheetRange *range);
 /* obvious */
 void gtk_sheet_unselect_range          (GtkSheet *sheet);
 
-/* set active cell where the entry will be displayed
- * returns FALSE if current cell can't be deactivated or
- * requested cell can't be activated */
-gboolean gtk_sheet_set_active_cell (GtkSheet *sheet,
-                                       gint row, gint column);
+/* set active cell where the entry will be displayed */
+void gtk_sheet_set_active_cell (GtkSheet *sheet,
+                               gint row, gint column);
 
 /* Sets *ROW and *COLUMN to be the coordinates of the active cell.
    ROW and/or COLUMN may be null if the caller is not interested in their
@@ -335,13 +312,6 @@ void gtk_sheet_get_active_cell (GtkSheet *sheet,
 /* get cell contents */
 gchar *gtk_sheet_cell_get_text (const GtkSheet *sheet, gint row, gint col);
 
-/* clear cell contents */
-void gtk_sheet_cell_clear      (GtkSheet *sheet, gint row, gint col);
-
-/* clear range contents. If range==NULL the whole sheet will be cleared */
-void gtk_sheet_range_clear     (GtkSheet *sheet,
-                                        const GtkSheetRange *range);
-
 
 /* get cell attributes of the given cell */
 /* TRUE means that the cell is currently allocated */
@@ -349,7 +319,7 @@ gboolean gtk_sheet_get_attributes       (const GtkSheet *sheet,
                                        gint row, gint col,
                                        GtkSheetCellAttr *attributes);
 
-void           gtk_sheet_set_model (GtkSheet *sheet,
+void gtk_sheet_set_model (GtkSheet *sheet,
                                   GSheetModel *model);
 
 GSheetModel * gtk_sheet_get_model (const GtkSheet *sheet);