summaryrefslogtreecommitdiff
path: root/src/icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/icon.cpp')
-rw-r--r--src/icon.cpp8
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 ()
{