ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Item.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Item.pm (file contents):
Revision 1.1 by root, Sat Dec 9 02:21:25 2006 UTC vs.
Revision 1.3 by root, Sat Dec 9 21:50:00 2006 UTC

1package CFPlus::Item; 1package CFPlus::Item;
2 2
3use strict; 3use strict;
4use utf8;
5
4use Crossfire::Protocol::Constants; 6use Crossfire::Protocol::Constants;
5 7
6my $last_enter_count = 1; 8my $last_enter_count = 1;
7 9
8sub desc_string { 10sub desc_string {
68 70
69sub update_widgets { 71sub update_widgets {
70 my ($self) = @_; 72 my ($self) = @_;
71 73
72 # necessary to avoid cyclic references 74 # necessary to avoid cyclic references
73 Scalar::Util::weaken $self; 75 CFPlus::weaken $self;
74 76
75 my $button_cb = sub { 77 my $button_cb = sub {
76 my (undef, $ev, $x, $y) = @_; 78 my (undef, $ev, $x, $y) = @_;
77 79
78 my $targ = $::CONN->{player}{tag}; 80 my $targ = $::CONN->{player}{tag};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines