background.c/h: remove unused member; correct param type
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 1 Aug 2012 20:27:24 +0000 (13:27 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 1 Aug 2012 20:27:24 +0000 (13:27 -0700)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/efl/background.cpp
src/efl/background.h

index 514ac07..e8b429f 100644 (file)
@@ -2,11 +2,10 @@
 
 using boost::filesystem::path;
 
-Background::Background(Evas_Object *parent)
+Background::Background(EvasObject& parent)
        : EvasObject::EvasObject(
                elm_bg_add(parent)
        )
-       , parent(parent)
 {
        return;
 }
index da5ae8b..6268f9e 100644 (file)
@@ -13,7 +13,7 @@
 class Background : public EvasObject
 {
 public:
-       Background(Evas_Object *parent);
+       Background(EvasObject& parent);
 
        void setColor(int, int, int);
        void setImage(const boost::filesystem::path&);
@@ -22,9 +22,6 @@ public:
        void getColor(int*, int*, int*);
        void getImage(boost::filesystem::path&);
        Elm_Bg_Option getImageOpt();
-
-private:
-       Evas_Object *parent;
 };
 
 #endif