diff options
author | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2008-10-14 16:57:49 +0200 |
---|---|---|
committer | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2008-10-14 16:57:49 +0200 |
commit | 43c133cfe495ac03683adb52cf77ed679be7b5e6 (patch) | |
tree | 6f24bfdfb8cc63fc1be333d4a6b02f1c52987ac9 /src/icon.cpp | |
parent | bb612a76f62e4ecfef9d90fa7d98c39b0e6c3766 (diff) | |
download | unity-window-decorator-43c133cfe495ac03683adb52cf77ed679be7b5e6.tar.gz unity-window-decorator-43c133cfe495ac03683adb52cf77ed679be7b5e6.tar.bz2 |
Made CompIcon derive from CompSize.
Diffstat (limited to 'src/icon.cpp')
-rw-r--r-- | src/icon.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/icon.cpp b/src/icon.cpp index aa17e35..0a8146b 100644 --- a/src/icon.cpp +++ b/src/icon.cpp @@ -29,7 +29,7 @@ CompIcon::CompIcon (CompScreen *screen, unsigned int width, unsigned int height) : - mSize (width, height), + CompSize (width, height), mData (new unsigned char[width * height * 4]) { } @@ -39,12 +39,6 @@ CompIcon::~CompIcon () delete mData; } -const CompSize & -CompIcon::size () const -{ - return mSize; -} - unsigned char* CompIcon::data () { |