X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgtksheet%2Fgsheetmodel.c;h=e200b300fa3f38adb60599f4cc840cc97dc22d43;hb=93fc7c42afe96222b3593a4a8c55a6c3683645eb;hp=55b22db87010dd41488d15253dd279a13335ebfc;hpb=ad1c79cd51b7ca9d0ad51d80ff916fa48ee5e893;p=pspp diff --git a/lib/gtksheet/gsheetmodel.c b/lib/gtksheet/gsheetmodel.c index 55b22db870..e200b300fa 100644 --- a/lib/gtksheet/gsheetmodel.c +++ b/lib/gtksheet/gsheetmodel.c @@ -348,27 +348,6 @@ g_sheet_model_is_editable (const GSheetModel *model, row, column); } -/** - * g_sheet_model_is_visible: - * @sheet_model: A #GSheetModel - * @row: The row - * @column: The column - * - * Returns: TRUE if the cell is visible, FALSE otherwise - **/ -gboolean -g_sheet_model_is_visible (const GSheetModel *model, - glong row, glong column) -{ - g_return_val_if_fail (G_IS_SHEET_MODEL (model), TRUE); - - if ( ! G_SHEET_MODEL_GET_IFACE (model)->is_visible ) - return TRUE; - - return G_SHEET_MODEL_GET_IFACE (model)->is_visible (model, - row, column); -} - /** * g_sheet_model_get_foreground: @@ -436,49 +415,6 @@ g_sheet_model_get_justification (const GSheetModel *model, row, column); } -/** - * g_sheet_model_get_font_desc: - * @sheet_model: A #GSheetModel - * @row: The row - * @column: The column - * - * Returns the font description of the cell at @row, @column - * Returns: the font description, or NULL on error. - **/ -const PangoFontDescription * -g_sheet_model_get_font_desc(const GSheetModel *model, - glong row, glong column) -{ - g_return_val_if_fail (G_IS_SHEET_MODEL (model), NULL); - if ( ! G_SHEET_MODEL_GET_IFACE (model)->get_font_desc) - return NULL; - - return G_SHEET_MODEL_GET_IFACE (model)->get_font_desc (model, - row, column); -} - -/** - * g_sheet_model_get_cell_border: - * @sheet_model: A #GSheetModel - * @row: The row - * @column: The column - * - * Returns the cell border of the cell at @row, @column - * Returns: the cell border, or NULL on error. - **/ -const GtkSheetCellBorder * -g_sheet_model_get_cell_border (const GSheetModel *model, - glong row, glong column) -{ - g_return_val_if_fail (G_IS_SHEET_MODEL (model), NULL); - if ( ! G_SHEET_MODEL_GET_IFACE (model)->get_cell_border) - return NULL; - - return G_SHEET_MODEL_GET_IFACE (model)->get_cell_border (model, - row, column); -} - - /** * g_sheet_model_get_column_count: