X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-store.c;h=904ac39d1fa05aef3af70aa2671170204daa2bb3;hb=bc632e6f82af2edb7e1c3f9feb9901deaa5038c0;hp=7e005e39237691e99d6b8136897c937c34ccbdff;hpb=56ec3543af35ae753a206142d36eb8393f7b4bb3;p=pspp-builds.git diff --git a/src/ui/gui/psppire-var-store.c b/src/ui/gui/psppire-var-store.c index 7e005e39..904ac39d 100644 --- a/src/ui/gui/psppire-var-store.c +++ b/src/ui/gui/psppire-var-store.c @@ -301,15 +301,6 @@ psppire_var_store_get_foreground (const GSheetModel *model, glong row, glong col } -const PangoFontDescription * -psppire_var_store_get_font_desc (const GSheetModel *model, - glong row, glong column) -{ - PsppireVarStore *store = PSPPIRE_VAR_STORE (model); - - return store->font_desc; -} - static gchar *get_column_title (const GSheetModel *model, gint col); static gchar *get_row_title (const GSheetModel *model, gint row); static gboolean get_row_sensitivity (const GSheetModel *model, gint row); @@ -326,7 +317,6 @@ psppire_var_store_sheet_model_init (GSheetModelIface *iface) iface->is_editable = psppire_var_store_is_editable; iface->get_foreground = psppire_var_store_get_foreground; iface->get_background = NULL; - iface->get_font_desc = psppire_var_store_get_font_desc; iface->get_cell_border = NULL; iface->get_justification = NULL; @@ -748,18 +738,6 @@ psppire_var_store_get_var_cnt (PsppireVarStore *store) } -void -psppire_var_store_set_font (PsppireVarStore *store, const PangoFontDescription *fd) -{ - g_return_if_fail (store); - g_return_if_fail (PSPPIRE_IS_VAR_STORE (store)); - - store->font_desc = fd; - - g_sheet_model_range_changed (G_SHEET_MODEL (store), -1, -1, -1, -1); -} - - static glong psppire_var_store_get_row_count (const GSheetModel * model) {