dtappbuilder: use libXpm directly.

This commit is contained in:
Liang Chang
2021-10-17 10:03:58 -06:00
committed by Jon Trulson
parent f05a7b12c8
commit 6f30664428
6 changed files with 8 additions and 8 deletions

View File

@@ -628,7 +628,7 @@ static LibFuncRec abmfP_lrc_set_label_from_xpm_data =
" window = RootWindowOfScreen(screen);\n"
" }\n"
"\n"
" status = _DtXpmCreatePixmapFromData(\n"
" status = XpmCreatePixmapFromData(\n"
" display,\n"
" window,\n"
" xpmData,\n"

View File

@@ -70,6 +70,7 @@
#include <stdlib.h>
#include <Tt/tttk.h>
#include <X11/Intrinsic.h>
#include <X11/xpm.h>
#include <Xm/XmStrDefs.h>
#include <Xm/Xm.h>
#include <Xm/Form.h>
@@ -80,7 +81,6 @@
#include <Dt/HelpDialog.h>
#include <Dt/HelpQuickD.h>
#include <Dt/Session.h>
#include <Dt/xpm.h> /* doesn't exist in CDE, but OK for testing */
/*
@@ -906,7 +906,7 @@ dtb_set_label_from_xpm_data(
window = RootWindowOfScreen(screen);
}
status = _DtXpmCreatePixmapFromData(
status = XpmCreatePixmapFromData(
display,
window,
xpmData,