aboutsummaryrefslogtreecommitdiff
path: root/Perl/Zinc/Debug.pm
diff options
context:
space:
mode:
authoretienne2003-03-07 16:22:40 +0000
committeretienne2003-03-07 16:22:40 +0000
commit998d2a9781f76201f85f5924d9236a2cf6736840 (patch)
tree918f97663710924ce27f9f56346c9fdd8bfdcd82 /Perl/Zinc/Debug.pm
parente82e5cf6c4e3b8d56bebab98ead3c441ea84b124 (diff)
downloadtkzinc-998d2a9781f76201f85f5924d9236a2cf6736840.zip
tkzinc-998d2a9781f76201f85f5924d9236a2cf6736840.tar.gz
tkzinc-998d2a9781f76201f85f5924d9236a2cf6736840.tar.bz2
tkzinc-998d2a9781f76201f85f5924d9236a2cf6736840.tar.xz
*** empty log message ***
Diffstat (limited to 'Perl/Zinc/Debug.pm')
-rw-r--r--Perl/Zinc/Debug.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Perl/Zinc/Debug.pm b/Perl/Zinc/Debug.pm
index e346f48..84cb66e 100644
--- a/Perl/Zinc/Debug.pm
+++ b/Perl/Zinc/Debug.pm
@@ -68,15 +68,15 @@ sub BEGIN {
# save current Tk::Zinc::InitObject function; it will be invoked in
# overloaded one (see below)
$initobjectfunction = Tk::Zinc->can('InitObject');
- *Tk::Zinc::InitObject = *InitObject;
+ #*Tk::Zinc::InitObject = *ZincDebug::InitObject;
}
# Hack to capture the instance of zinc. ZincDebug functions are invoked here.
# Note that created bindings might be overloaded by the application.
-sub InitObject {
+sub Tk::Zinc::InitObject {
Tk::Widget::InitObject(@_);
- #print "Tk::Zinc::InitObject\n";
+ print "***** ZincDebug Tk::Zinc::InitObject\n";
# invoke function possibly overloaded in other modules
&$initobjectfunction(@_) if $initobjectfunction;
return unless $preload;