diff options
author | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2008-10-13 23:09:58 +0200 |
---|---|---|
committer | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2008-10-13 23:09:58 +0200 |
commit | 972bf04a8bb5d10c90a5cec873cd4983a21a7dc2 (patch) | |
tree | e680b25287abfb174f3aa97e2d3dbd4d309408d2 /src | |
parent | 2b86d3e6dcc1aa98249d7b9a6e78892fc60478c9 (diff) | |
download | unity-window-decorator-972bf04a8bb5d10c90a5cec873cd4983a21a7dc2.tar.gz unity-window-decorator-972bf04a8bb5d10c90a5cec873cd4983a21a7dc2.tar.bz2 |
CompIcon API cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/icon.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/icon.cpp b/src/icon.cpp index 767d983..46cd537 100644 --- a/src/icon.cpp +++ b/src/icon.cpp @@ -31,8 +31,7 @@ CompIcon::CompIcon (CompScreen *screen, unsigned int width, unsigned int height) : mWidth (width), mHeight (height), - mData (new unsigned char[width * height * 4]), - mUpdateTex (true) + mData (new unsigned char[width * height * 4]) { } @@ -42,13 +41,13 @@ CompIcon::~CompIcon () } unsigned int -CompIcon::width () +CompIcon::width () const { return mWidth; } unsigned int -CompIcon::height () +CompIcon::height () const { return mHeight; } @@ -56,6 +55,5 @@ CompIcon::height () unsigned char* CompIcon::data () { - mUpdateTex = true; return mData; } |