1
0
Fork 0
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:
Liang Chang 2021-10-17 08:56:15 -06:00 committed by Jon Trulson
parent b2ff2704cf
commit 0672e9e0cf

View file

@ -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);
} }