Ignore:
Timestamp:
Dec 10, 2015, 12:53:36 PM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e87e769
Parents:
00d6ed4
Message:

Se modifica el uso que se hace del paquete trycatch para evitar incompatibilidades con tcl8.6:

+ No se importan los métodos del paquete
+ Se llaman las llamadas a try haciendo uso del namespace: ::trycatach::try

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7096 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/renderpane/renderpane.tcl

    r00d6ed4 r3634546  
    44package require markupparser
    55
    6 namespace import trycatch::*
     6#(pgea) Se utilizará trycatch sin importar sus métodos
     7#(pgea) para hacer el código compatible con tcl8.6
     8# namespace import trycatch::*
    79interp alias {} prefs {} ::Notebook::prefs
    810
    … …  
    813815        }
    814816
    815         try {
     817        ::trycatch::try {
    816818            set images [LoadImage $fileName $opts(-width) $opts(-height)]
    817819        } catch -msg msg {
Note: See TracChangeset for help on using the changeset viewer.