mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
DtHelp: use libXpm directly.
This commit is contained in:
parent
b2ff2704cf
commit
0672e9e0cf
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ static char rcs_id[]="$XConsortium: Graphics.c /main/23 1996/12/06 11:12:54 cde-
|
||||||
#include <Xm/Xm.h>
|
#include <Xm/Xm.h>
|
||||||
#include <Xm/XmPrivate.h>
|
#include <Xm/XmPrivate.h>
|
||||||
#include <Dt/Dts.h>
|
#include <Dt/Dts.h>
|
||||||
#include <Dt/xpm.h>
|
#include <X11/xpm.h>
|
||||||
|
|
||||||
#include "bufioI.h"
|
#include "bufioI.h"
|
||||||
#include "Access.h"
|
#include "Access.h"
|
||||||
|
@ -1681,11 +1681,11 @@ myXpmReadFileToPixmap(
|
||||||
if (stream->type == _DtGrFILE)
|
if (stream->type == _DtGrFILE)
|
||||||
{
|
{
|
||||||
if (stream->source.file.uncompressed_filename != NULL)
|
if (stream->source.file.uncompressed_filename != NULL)
|
||||||
ErrorStatus = _DtXpmReadFileToImage(display,
|
ErrorStatus = XpmReadFileToImage(display,
|
||||||
stream->source.file.uncompressed_filename,
|
stream->source.file.uncompressed_filename,
|
||||||
imageptr, shapeimageptr, attributes);
|
imageptr, shapeimageptr, attributes);
|
||||||
else
|
else
|
||||||
ErrorStatus = _DtXpmReadFileToImage(display,
|
ErrorStatus = XpmReadFileToImage(display,
|
||||||
stream->source.file.filename,
|
stream->source.file.filename,
|
||||||
imageptr, shapeimageptr, attributes);
|
imageptr, shapeimageptr, attributes);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue