This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] remove Tix
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: 27 Nov 2002 11:14:40 -0800
- Subject: [patch] remove Tix
2002-11-27 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c (gdbtk_init): Don't call Tix_Init.
Don't include tix.h
* generic/gdbtk-hooks.c: Don't include tix.h.
* generic/gdbtkj-cmds.c: Don't include tix.h.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.61
diff -u -r1.61 gdbtk-cmds.c
--- generic/gdbtk-cmds.c 27 Nov 2002 15:29:53 -0000 1.61
+++ generic/gdbtk-cmds.c 27 Nov 2002 19:08:39 -0000
@@ -39,7 +39,6 @@
but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
#define HAS_STDARG 1
-#include <tix.h>
#include <itcl.h>
#include "guitcl.h"
Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.27
diff -u -r1.27 gdbtk-hooks.c
--- generic/gdbtk-hooks.c 6 Nov 2002 14:22:28 -0000 1.27
+++ generic/gdbtk-hooks.c 27 Nov 2002 19:08:40 -0000
@@ -43,7 +43,6 @@
#define HAS_STDARG 1
#include <itcl.h>
-#include <tix.h>
#include "guitcl.h"
#include "gdbtk.h"
Index: generic/gdbtk.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk.c,v
retrieving revision 1.29
diff -u -r1.29 gdbtk.c
--- generic/gdbtk.c 14 Aug 2002 15:44:24 -0000 1.29
+++ generic/gdbtk.c 27 Nov 2002 19:08:40 -0000
@@ -42,7 +42,6 @@
but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
#define HAS_STDARG 1
-#include <tix.h>
#include <itcl.h>
#include <itk.h>
#include "guitcl.h"
@@ -509,11 +508,6 @@
if (Itk_Init (gdbtk_interp) == TCL_ERROR)
error ("Itk_Init failed: %s", gdbtk_interp->result);
Tcl_StaticPackage (gdbtk_interp, "Itk", Itk_Init,
- (Tcl_PackageInitProc *) NULL);
-
- if (Tix_Init (gdbtk_interp) != TCL_OK)
- error ("Tix_Init failed: %s", gdbtk_interp->result);
- Tcl_StaticPackage (gdbtk_interp, "Tix", Tix_Init,
(Tcl_PackageInitProc *) NULL);
if (Tktable_Init (gdbtk_interp) != TCL_OK)