Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
python-compizconfig
newtocinit.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File newtocinit.diff of Package python-compizconfig
diff -urN compizconfig-python-0.8.4.orig/src/compizconfig.pyx compizconfig-python-0.8.4/src/compizconfig.pyx --- compizconfig-python-0.8.4.orig/src/compizconfig.pyx 2009-10-14 04:09:12.000000000 +0200 +++ compizconfig-python-0.8.4/src/compizconfig.pyx 2011-03-18 23:54:32.000000000 +0100 @@ -583,7 +583,7 @@ cdef object extendedStrRestrictions cdef object baseStrRestrictions - def __new__ (self, Plugin plugin, name, isScreen, screenNum = 0): + def __cinit__ (self, Plugin plugin, name, isScreen, screenNum = 0): cdef CCSSettingType t cdef CCSSettingInfo * i @@ -689,7 +689,7 @@ cdef object display cdef object screens - def __new__ (self, disp, screen): + def __cinit__ (self, disp, screen): self.display = disp self.screens = screen @@ -715,7 +715,7 @@ cdef object ranking cdef object hasExtendedString - def __new__ (self, Context context, name): + def __cinit__ (self, Context context, name): self.ccsPlugin = ccsFindPlugin (context.ccsContext, name) self.context = context self.screens = [] @@ -1056,7 +1056,7 @@ cdef Context context cdef char * name - def __new__ (self, Context context, name): + def __cinit__ (self, Context context, name): self.context = context self.name = strdup (name) @@ -1078,7 +1078,7 @@ cdef Bool profileSupport cdef Bool integrationSupport - def __new__ (self, Context context, info): + def __cinit__ (self, Context context, info): self.context = context self.name = strdup (info[0]) self.shortDesc = strdup (info[1]) @@ -1122,7 +1122,7 @@ cdef int nScreens cdef Bool integration - def __new__ (self, screens = [0], plugins = [], basic_metadata = False): + def __cinit__ (self, screens = [0], plugins = [], basic_metadata = False): cdef CCSPlugin * pl cdef CCSList * pll if basic_metadata:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor