Removing dead code;

This commit is contained in:
Sergiotarxz 2024-11-11 12:20:44 +01:00
parent ef58b9b8f9
commit 9d0df15e7c
2 changed files with 0 additions and 13 deletions

View File

@ -9,13 +9,6 @@
FcConfig *old_system_config = NULL; FcConfig *old_system_config = NULL;
void
exd_fileformat_fontconfig__restore_system_config_c(SV *self) {
if (old_system_config != NULL) {
FcConfigSetCurrent(old_system_config);
}
}
void void
exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir) { exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir) {
if (old_system_config == NULL) { if (old_system_config == NULL) {
@ -110,8 +103,6 @@ AV * exd_fileformat_fontconfig__list_fonts_c(SV *self, char *font_dir)
void exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir) void exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir)
void exd_fileformat_fontconfig__restore_system_config_c(SV *self)
MODULE = Exd PACKAGE = Exd::Fontconfig PREFIX = exd_fontconfig_ MODULE = Exd PACKAGE = Exd::Fontconfig PREFIX = exd_fontconfig_
AV * exd_fontconfig__list_fonts_c(SV *self) AV * exd_fontconfig__list_fonts_c(SV *self)

View File

@ -22,10 +22,6 @@ sub set_current($self) {
$self->_set_current_c( '' . $dir ); $self->_set_current_c( '' . $dir );
} }
sub restore_system_config($self) {
$self->_restore_system_config_c;
}
sub list_fonts($self) { sub list_fonts($self) {
my $fonts = $self->_list_fonts_c($self->_font_dir->child('dir')); my $fonts = $self->_list_fonts_c($self->_font_dir->child('dir'));
return $fonts; return $fonts;