GTK: Applied patch #3386384 to fix build when NLS is disabled.

Thanks to Dmitry Marakasov.
This commit is contained in:
bgk 2011-12-03 13:11:19 +00:00
parent 4aa596bd89
commit ef92bdd1ec
2 changed files with 4 additions and 4 deletions

View File

@ -87,7 +87,7 @@ Filter pvGetFilter(EFilter _eFilter, EFilterDepth _eDepth)
return astFilters[_eFilter].m_apvFunc[_eDepth];
}
char* pcsGetFilterName(const EFilter _eFilter)
const char* pcsGetFilterName(const EFilter _eFilter)
{
return gettext(astFilters[_eFilter].m_csName);
}
@ -97,7 +97,7 @@ FilterIB pvGetFilterIB(EFilterIB _eFilterIB, EFilterDepth _eDepth)
return astFiltersIB[_eFilterIB].m_apvFunc[_eDepth];
}
char* pcsGetFilterIBName(const EFilterIB _eFilterIB)
const char* pcsGetFilterIBName(const EFilterIB _eFilterIB)
{
return gettext(astFiltersIB[_eFilterIB].m_csName);
}

View File

@ -64,10 +64,10 @@ enum EFilterDepth
};
Filter pvGetFilter(EFilter _eFilter, EFilterDepth _eDepth);
char* pcsGetFilterName(const EFilter _eFilter);
const char* pcsGetFilterName(const EFilter _eFilter);
FilterIB pvGetFilterIB(EFilterIB _eFilterIB, EFilterDepth _eDepth);
char* pcsGetFilterIBName(const EFilterIB _eFilterIB);
const char* pcsGetFilterIBName(const EFilterIB _eFilterIB);
} // namespace VBA