[pyclutter/wip/introspection] cairo-texture: Change constructor to a default surface size
- From: Bastian Winkler <bwinkler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyclutter/wip/introspection] cairo-texture: Change constructor to a default surface size
- Date: Tue, 6 Dec 2011 18:24:43 +0000 (UTC)
commit 332482061525ff6b1f080b92e673df45a54a4688
Author: Bastian Winkler <buz netbuz org>
Date: Tue Dec 6 09:00:22 2011 -0600
cairo-texture: Change constructor to a default surface size
introspection/Clutter.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/introspection/Clutter.py b/introspection/Clutter.py
index 0062b42..0a5f6f9 100644
--- a/introspection/Clutter.py
+++ b/introspection/Clutter.py
@@ -700,7 +700,7 @@ __all__.append('Text')
class CairoTexture(Clutter.CairoTexture):
- def __init__(self, surface_width, surface_height, **kwargs):
+ def __init__(self, surface_width=1, surface_height=1, **kwargs):
Clutter.CairoTexture.__init__(self, surface_width=surface_width,
surface_height=surface_height, **kwargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]