[pyclutter] Remove unnecessary Color overrides



commit 84b334a7fbdb9672b53b8a019c46c90bb0f34400
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 14 12:20:19 2015 +0100

    Remove unnecessary Color overrides
    
    Initializer support has improved from 2012, and now we can use it
    properly without wrappers.

 gi/overrides/Clutter.py |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/gi/overrides/Clutter.py b/gi/overrides/Clutter.py
index 55da366..aef6f52 100644
--- a/gi/overrides/Clutter.py
+++ b/gi/overrides/Clutter.py
@@ -151,24 +151,6 @@ class Color(Clutter.Color):
         return self.red != other.red or self.green != other.green or \
                 self.blue != other.blue or self.alpha != other.alpha
 
-    @classmethod
-    def from_string(cls, string):
-        self = cls()
-        Clutter.Color.from_string(self, string)
-        return self
-
-    @classmethod
-    def from_hls(cls, hue, luminance, saturation):
-        self = cls()
-        Clutter.Color.from_hls(self, hue, luminance, saturation)
-        return self
-
-    @classmethod
-    def from_pixel(cls, pixel):
-        self = cls()
-        Clutter.Color.from_pixel(self, pixel)
-        return self
-
 @giclassoverride
 class ActorBox(Clutter.ActorBox):
     def __new__(cls, *args, **kwargs):


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