gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r9531: Minor cleanups / Makefile bug


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9531: Minor cleanups / Makefile bugfix.
Date: Wed, 23 Jul 2008 22:40:19 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9531
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2008-07-23 22:40:19 +0200
message:
  Minor cleanups / Makefile bugfix.
modified:
  libbase/image.h
  testsuite/misc-ming.all/Makefile.am
    ------------------------------------------------------------
    revno: 9526.2.2
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-07-23 20:53:51 +0200
    message:
      Drop useless qualifiers, drop unnecessary forward declaration.
    modified:
      libbase/image.h
    ------------------------------------------------------------
    revno: 9526.2.3
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-07-23 21:44:29 +0200
    message:
      Add DepthLimitsTestrunner to Makefile.
    modified:
      testsuite/misc-ming.all/Makefile.am
=== modified file 'libbase/image.h'
--- a/libbase/image.h   2008-07-16 14:15:30 +0000
+++ b/libbase/image.h   2008-07-23 18:53:51 +0000
@@ -16,12 +16,7 @@
 
 // Forward declarations
 namespace jpeg { class input; }
-namespace gnash {
-    class IOChannel;
-    namespace image {
-        class alpha;
-    }    
-}
+namespace gnash { class IOChannel; }
 
 
 /// Handy image utilities for RGB surfaces.
@@ -65,22 +60,22 @@
                virtual std::auto_ptr<image_base> clone() const=0;
 
                /// Return size of this image buffer, in bytes
-               const size_t size() const { return m_size; }
+               size_t size() const { return m_size; }
 
                /// Return size in bytes of a row of this image 
-               const size_t pitch() const { return m_pitch; }
+               size_t pitch() const { return m_pitch; }
 
                /// Return size in bytes of a single pixel value
-               const size_t pixelSize() const
+               size_t pixelSize() const
                {
                        return m_pitch / m_width;
                }
 
                /// Return width of image in pixels
-               const size_t width() const { return m_width; }
+               size_t width() const { return m_width; }
 
                /// Return height of image in pixels
-               const size_t height() const { return m_height; }
+               size_t height() const { return m_height; }
 
                /// Copy image data from a buffer.
                //

=== modified file 'testsuite/misc-ming.all/Makefile.am'
--- a/testsuite/misc-ming.all/Makefile.am       2008-07-22 21:24:49 +0000
+++ b/testsuite/misc-ming.all/Makefile.am       2008-07-23 19:44:29 +0000
@@ -265,6 +265,7 @@
        loop_test7runner \
        loop_test8runner \
        loop_test9runner \
+       DepthLimitsTestrunner \
        loop_test10runner \
        shape_testrunner \
        DefineEditTextVariableNameTest-Runner \


reply via email to

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