[vala] clutter-1.0: Text.position_to_coords float params are out and nullable



commit 8ef67e8fbfbfc72605c7a2b45ba9ad82ccce7a15
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Jun 18 15:25:56 2010 -0700

    clutter-1.0: Text.position_to_coords float params are out and nullable
    
    Fixes bug 621491.

 vapi/clutter-1.0.vapi                          |    2 +-
 vapi/packages/clutter-1.0/clutter-1.0.metadata |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index b093aac..ffb18fe 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -1043,7 +1043,7 @@ namespace Clutter {
 		public unowned string get_selection ();
 		public void insert_text (string text, ssize_t position);
 		public void insert_unichar (unichar wc);
-		public bool position_to_coords (int position, float x, float y, float line_height);
+		public bool position_to_coords (int position, out float? x = null, out float? y = null, out float? line_height = null);
 		public void set_attributes (Pango.AttrList attrs);
 		public void set_cursor_position (int position);
 		public void set_font_description (Pango.FontDescription font_desc);
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index b3df426..82d460e 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -369,6 +369,9 @@ clutter_text_get_single_line_mode hidden="1"
 clutter_text_get_text hidden="1"
 clutter_text_get_use_markup hidden="1"
 clutter_text_new_with_text.font_name nullable="1"
+clutter_text_position_to_coords.x is_out="1" nullable="1" transfer_ownership="1" default_value="null"
+clutter_text_position_to_coords.y is_out="1" nullable="1" transfer_ownership="1" default_value="null"
+clutter_text_position_to_coords.line_height is_out="1" transfer_ownership="1" nullable="1" default_value="null"
 clutter_text_set_activatable hidden="1"
 clutter_text_set_color hidden="1"
 clutter_text_set_cursor_color hidden="1"



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