X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fdictionary.c;h=79952b58140f386432851a05f41586ff10172c79;hb=a6f1c88d9d4dee24e1f79048c8a5d8274f68c405;hp=ff0587553ffa2141de5c48c015a503ee7b015a0c;hpb=9daf6d834acd26a9f3e47906773ea57777bf5399;p=pspp diff --git a/src/data/dictionary.c b/src/data/dictionary.c index ff0587553f..79952b5814 100644 --- a/src/data/dictionary.c +++ b/src/data/dictionary.c @@ -1619,44 +1619,6 @@ dict_var_changed (const struct variable *v, unsigned int what, struct variable * } -/* Called from variable.c to notify the dictionary that the variable's width - has changed */ -void -dict_var_resized (const struct variable *v, int old_width) -{ - if ( var_has_vardict (v)) - { - const struct vardict_info *vardict = var_get_vardict (v); - struct dictionary *d; - - d = vardict->dict; - - if (d->changed) d->changed (d, d->changed_data); - - invalidate_proto (d); - if ( d->callbacks && d->callbacks->var_resized ) - d->callbacks->var_resized (d, var_get_dict_index (v), old_width, - d->cb_data); - } -} - -/* Called from variable.c to notify the dictionary that the variable's display width - has changed */ -void -dict_var_display_width_changed (const struct variable *v) -{ - if ( var_has_vardict (v)) - { - const struct vardict_info *vardict = var_get_vardict (v); - struct dictionary *d; - - d = vardict->dict; - - if (d->changed) d->changed (d, d->changed_data); - if ( d->callbacks && d->callbacks->var_display_width_changed ) - d->callbacks->var_display_width_changed (d, var_get_dict_index (v), d->cb_data); - } -} /* Dictionary used to contain "internal variables". */ static struct dictionary *internal_dict;