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

@@ -52,6 +52,7 @@
#include <X11/Intrinsic.h>
#include <X11/Composite.h>
#include <X11/Shell.h>
#include <X11/xpm.h>
#include <Xm/Xm.h>
#include <Xm/CascadeB.h>
#include <Xm/ScrolledW.h>
@@ -61,7 +62,6 @@
#include "dtb_utils.h"
#include <ab_private/trav.h>
#include <ab_private/proj.h>
#include <Dt/xpm.h> /* will this be in include/Dt? */
#include "abobjP.h"

View File

@@ -103,13 +103,13 @@
#include <ctype.h>
#include <signal.h>
#include <X11/xpm.h>
#include <Xm/FileSB.h>
#include <Xm/Label.h>
#include <Xm/RowColumn.h>
#include <Xm/ToggleB.h>
#include <Dt/Dt.h>
#include <Dt/Term.h>
#include <Dt/xpm.h>
#include <Dt/Action.h>
#include <Dt/Dts.h>
#include "dt_envcontrol.h"
@@ -1339,7 +1339,7 @@ main(int argc, char **argv)
DtDbReloadNotify(reloadDB, (XtPointer) NULL);
/* Set icon pixmap, if there is one */
/* status = _DtXpmCreatePixmapFromData(XtDisplay(dtb_get_toplevel_widget()),
/* status = XpmCreatePixmapFromData(XtDisplay(dtb_get_toplevel_widget()),
DefaultRootWindow(XtDisplay(dtb_get_toplevel_widget())),
ab_pm, &xpm_pixmap, (Pixmap *)NULL, (XpmAttributes *)NULL); */
if(status == XpmSuccess)

View File

@@ -60,6 +60,7 @@
#include <X11/Composite.h>
#include <X11/Shell.h>
#include <X11/cursorfont.h>
#include <X11/xpm.h>
#include <Xm/XmAll.h>
/*
#include <Xm/Protocols.h>
@@ -83,7 +84,6 @@
#include <ab_private/ui_util.h>
#include <ab_private/objxm.h>
#include <ab_private/ab.h>
#include <Dt/xpm.h> /* will this be in include/Dt? */
#include "dtbuilder.h"
#include "dtb_utils.h"