gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r12278: Drop has_looped() from the M


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12278: Drop has_looped() from the MovieClip interface. It probably shouldn't even
Date: Tue, 29 Jun 2010 16:41:42 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12278
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2010-06-29 16:41:42 +0200
message:
  Drop has_looped() from the MovieClip interface. It probably shouldn't even
  be used internally, and we don't want external users to start using it!
modified:
  libcore/MovieClip.cpp
  libcore/MovieClip.h
=== modified file 'libcore/MovieClip.cpp'
--- a/libcore/MovieClip.cpp     2010-06-29 11:07:01 +0000
+++ b/libcore/MovieClip.cpp     2010-06-29 14:41:42 +0000
@@ -823,7 +823,7 @@
         // SWFMovieDefinition(root)
         if (_currentFrame != (size_t)prev_frame)
         {
-            if ( _currentFrame == 0 && has_looped() )
+            if (_currentFrame == 0 && _hasLooped)
             {
 #ifdef GNASH_DEBUG
                 log_debug(_("Jumping back to frame 0 of movieclip %s"),

=== modified file 'libcore/MovieClip.h'
--- a/libcore/MovieClip.h       2010-06-29 11:07:01 +0000
+++ b/libcore/MovieClip.h       2010-06-29 14:41:42 +0000
@@ -202,11 +202,6 @@
     // delegates to movie_root (possibly wrong)
     void set_background_color(const rgba& color);
 
-    bool has_looped() const
-    {
-        return _hasLooped;
-    }
-
     /// Return true if we have any mouse event handlers.
     //
     /// NOTE: this function currently does not consider


reply via email to

[Prev in Thread] Current Thread [Next in Thread]