[vala] clutter-1.0: fix Stage.read_pixels binding
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] clutter-1.0: fix Stage.read_pixels binding
- Date: Sun, 25 Apr 2010 23:49:28 +0000 (UTC)
commit 42a5292e18eb62545b7186f95963d6bc9b330d38
Author: Evan Nemerson <evan coeus-group com>
Date: Sun Apr 25 16:47:35 2010 -0700
clutter-1.0: fix Stage.read_pixels binding
Fixes bug 616448.
vapi/clutter-1.0.vapi | 3 ++-
vapi/packages/clutter-1.0/clutter-1.0.metadata | 3 +++
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index d7aa954..b093aac 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -984,7 +984,8 @@ namespace Clutter {
public void hide_cursor ();
public bool is_default ();
public void queue_redraw ();
- public unowned uchar[] read_pixels (int x, int y, int width, int height);
+ [CCode (array_length = false)]
+ public uchar[] read_pixels (int x, int y, int width = -1, int height = -1);
[CCode (cname = "clutter_redraw")]
public void redraw ();
public void set_fullscreen (bool fullscreen);
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index 24ea92a..b3df426 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -338,6 +338,9 @@ clutter_stage_manager_get_default_stage hidden="1"
clutter_stage_manager_list_stages type_arguments="Stage"
clutter_stage_manager_peek_stages type_arguments="Stage"
clutter_stage_manager_set_default_stage hidden="1"
+clutter_stage_read_pixels transfer_ownership="1" no_array_length="1"
+clutter_stage_read_pixels.width default_value="-1"
+clutter_stage_read_pixels.height default_value="-1"
clutter_stage_set_key_focus.actor nullable="1"
ClutterStageStateEvent is_value_type="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]