Removed depreated glib call
This commit is contained in:
parent
95e8d2838c
commit
b3603f76e4
@ -121,15 +121,6 @@ class PopplerPdfImage : public osgWidget::PdfImage
|
||||
foundFile = osgDB::getRealPath(foundFile);
|
||||
OSG_NOTICE<<"foundFile = "<<foundFile<<std::endl;
|
||||
|
||||
static bool gTypeInit = false;
|
||||
|
||||
if(!gTypeInit)
|
||||
{
|
||||
g_type_init();
|
||||
|
||||
gTypeInit = true;
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
std::string uri = std::string("file:///") + foundFile;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user