[glibmm/gmmproc-refactor] Don't compare self to self in TypeDetails equal().



commit e40a932e9e79ca747feb16d0dbe87becb9f265f5
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sun Jul 22 17:30:30 2012 +0200

    Don't compare self to self in TypeDetails equal().

 tools/pm/Common/TypeDetails/Container.pm |    2 +-
 tools/pm/Common/TypeDetails/Value.pm     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tools/pm/Common/TypeDetails/Container.pm b/tools/pm/Common/TypeDetails/Container.pm
index f79f672..1154bc4 100644
--- a/tools/pm/Common/TypeDetails/Container.pm
+++ b/tools/pm/Common/TypeDetails/Container.pm
@@ -107,7 +107,7 @@ sub get_string ($)
 {
   my ($self) = @_;
   my $contained_type = $self->_get_contained_type ();
-  my $sigil = self->_get_sigil ();
+  my $sigil = $self->_get_sigil ();
   my $basic_string = $self->get_basic_string ();
 
   return ($contained_type->get_string () . $sigil . ($basic_string ? ' ' . $basic_string : ''));
diff --git a/tools/pm/Common/TypeDetails/Value.pm b/tools/pm/Common/TypeDetails/Value.pm
index 672ac43..d53d1ea 100644
--- a/tools/pm/Common/TypeDetails/Value.pm
+++ b/tools/pm/Common/TypeDetails/Value.pm
@@ -215,8 +215,8 @@ sub equal ($$$)
 
   if (($flags & Common::TypeDetails::Base::BASE) == Common::TypeDetails::Base::BASE)
   {
-    my $self_base = $self->_get_base;
-    my $other_base = $self->_get_base;
+    my $self_base = $self->get_base ();
+    my $other_base = $other->get_base ();
 
     if ($self_base ne $other_base)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]