Removing dead code;
This commit is contained in:
parent
ef58b9b8f9
commit
9d0df15e7c
@ -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)
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user