~ubuntu-branches/ubuntu/precise/xcircuit/precise

« back to all changes in this revision

Viewing changes to xcwrap.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2006-05-22 10:08:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060522100825-mk2nt6epw2dvvfaa
Tags: 3.6.24-1
* QA Upload 
* New Upstream Version (Closes: #266080, #262321)
* Update debian/copyright
* debian/{menu, install}:
  + install pixmaps to /usr/share/pixmaps/xcircuit/
* Conforms with new Standards version 3.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
extern int Tk_SimpleObjCmd();
26
26
extern int xctcl_standardaction();
 
27
extern int xctcl_action();
27
28
extern int xctcl_refresh();
28
29
extern int xctcl_library();
29
30
extern int xctcl_font();
78
79
 
79
80
static cmdstruct xc_commands[] =
80
81
{
 
82
   {"action", (void *)xctcl_action},
81
83
   {"standardaction", (void *)xctcl_standardaction},
82
84
   {"start", (void *)xctcl_start},
83
85
   {"tag", (void *)xctcl_tag},
214
216
   sprintf(version_string, "%g", PROG_VERSION);
215
217
   Tcl_SetVar(interp, "XCIRCUIT_VERSION", version_string, TCL_GLOBAL_ONLY);
216
218
 
 
219
#ifdef ASG
 
220
   /* Set a variable in Tcl indicating that the ASG module is compiled in */
 
221
   Tcl_SetVar(interp, "XCIRCUIT_ASG", "1", TCL_GLOBAL_ONLY);
 
222
#endif
 
223
 
217
224
   /* Export the namespace commands */
218
225
 
219
226
   Tcl_Eval(interp, "namespace eval xcircuit namespace export *");