[vala] atk: update to 2.13.1~d44970bd
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] atk: update to 2.13.1~d44970bd
- Date: Sat, 17 May 2014 03:47:36 +0000 (UTC)
commit 9ec9541668b6f7a8b174d856b2bcb9c6120d1afa
Author: Evan Nemerson <evan nemerson com>
Date: Fri May 16 20:46:08 2014 -0700
atk: update to 2.13.1~d44970bd
vapi/atk.vapi | 36 +++++++++++++++++++-----------------
vapi/metadata/Atk-1.0.metadata | 6 ++++--
2 files changed, 23 insertions(+), 19 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index cc17cfb..f5d9c99 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -237,7 +237,7 @@ namespace Atk {
public bool contains_state (Atk.StateType type);
public bool contains_states ([CCode (array_length_cname = "n_types", array_length_pos = 1.1)]
Atk.StateType[] types);
public bool is_empty ();
- public Atk.StateSet or_sets (Atk.StateSet compare_set);
+ public Atk.StateSet? or_sets (Atk.StateSet compare_set);
public bool remove_state (Atk.StateType type);
public Atk.StateSet xor_sets (Atk.StateSet compare_set);
}
@@ -287,11 +287,11 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_action_get_type ()")]
public interface Action : GLib.Object {
public abstract bool do_action (int i);
- public abstract unowned string get_description (int i);
- public abstract unowned string get_keybinding (int i);
- public abstract unowned string get_localized_name (int i);
+ public abstract unowned string? get_description (int i);
+ public abstract unowned string? get_keybinding (int i);
+ public abstract unowned string? get_localized_name (int i);
public abstract int get_n_actions ();
- public abstract unowned string get_name (int i);
+ public abstract unowned string? get_name (int i);
public abstract bool set_description (int i, string desc);
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_component_get_type ()")]
@@ -308,7 +308,7 @@ namespace Atk {
[Deprecated]
public abstract void get_size (int width, int height);
public abstract bool grab_focus ();
- public abstract Atk.Object ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
+ public abstract Atk.Object? ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
[Deprecated]
public abstract void remove_focus_handler (uint handler_id);
public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType
coord_type);
@@ -319,7 +319,7 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_document_get_type ()")]
public interface Document : GLib.Object {
[CCode (vfunc_name = "get_document_attribute_value")]
- public virtual unowned string get_attribute_value (string attribute_name);
+ public virtual unowned string? get_attribute_value (string attribute_name);
[CCode (vfunc_name = "get_document_attributes")]
public virtual unowned Atk.AttributeSet get_attributes ();
public virtual int get_current_page_number ();
@@ -364,7 +364,7 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_image_get_type ()")]
public interface Image : GLib.Object {
public abstract unowned string get_image_description ();
- public abstract unowned string get_image_locale ();
+ public abstract unowned string? get_image_locale ();
public abstract void get_image_position (int x, int y, Atk.CoordType coord_type);
public abstract void get_image_size (int width, int height);
public abstract bool set_image_description (string description);
@@ -379,7 +379,7 @@ namespace Atk {
public abstract bool clear_selection ();
public abstract int get_selection_count ();
public abstract bool is_child_selected (int i);
- public abstract Atk.Object ref_selection (int i);
+ public abstract Atk.Object? ref_selection (int i);
public abstract bool remove_selection (int i);
public abstract bool select_all_selection ();
public virtual signal void selection_changed ();
@@ -389,27 +389,27 @@ namespace Atk {
public abstract unowned string get_mime_type (int i);
public abstract int get_n_mime_types ();
public abstract GLib.IOChannel get_stream (string mime_type);
- public abstract unowned string get_uri (string mime_type);
+ public abstract unowned string? get_uri (string mime_type);
}
[CCode (cheader_filename = "atk/atk.h", type_id = "atk_table_get_type ()")]
public interface Table : GLib.Object {
public abstract bool add_column_selection (int column);
public abstract bool add_row_selection (int row);
- public abstract unowned Atk.Object get_caption ();
+ public abstract unowned Atk.Object? get_caption ();
[Deprecated]
public abstract int get_column_at_index (int index_);
public abstract unowned string get_column_description (int column);
public abstract int get_column_extent_at (int row, int column);
- public abstract unowned Atk.Object get_column_header (int column);
+ public abstract unowned Atk.Object? get_column_header (int column);
[Deprecated]
public abstract int get_index_at (int row, int column);
public abstract int get_n_columns ();
public abstract int get_n_rows ();
[Deprecated]
public abstract int get_row_at_index (int index_);
- public abstract unowned string get_row_description (int row);
+ public abstract unowned string? get_row_description (int row);
public abstract int get_row_extent_at (int row, int column);
- public abstract unowned Atk.Object get_row_header (int row);
+ public abstract unowned Atk.Object? get_row_header (int row);
public abstract int get_selected_columns (int selected);
public abstract int get_selected_rows (int selected);
public abstract Atk.Object get_summary ();
@@ -468,7 +468,7 @@ namespace Atk {
public abstract void get_range_extents (int start_offset, int end_offset, Atk.CoordType
coord_type, Atk.TextRectangle rect);
public abstract Atk.AttributeSet get_run_attributes (int offset, out int start_offset, out
int end_offset);
public abstract string get_selection (int selection_num, out int start_offset, out int
end_offset);
- public abstract string get_string_at_offset (int offset, Atk.TextGranularity granularity, out
int start_offset, out int end_offset);
+ public abstract string? get_string_at_offset (int offset, Atk.TextGranularity granularity,
out int start_offset, out int end_offset);
public abstract string get_text (int start_offset, int end_offset);
[Deprecated]
public abstract string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, out
int start_offset, out int end_offset);
@@ -498,7 +498,7 @@ namespace Atk {
public abstract void get_minimum_increment (GLib.Value value);
[Deprecated]
public abstract void get_minimum_value (GLib.Value value);
- public abstract Atk.Range get_range ();
+ public abstract Atk.Range? get_range ();
public abstract GLib.SList<Atk.Range> get_sub_ranges ();
public abstract void get_value_and_text (out double value, out string text);
[Deprecated]
@@ -838,7 +838,7 @@ namespace Atk {
[CCode (cheader_filename = "atk/atk.h")]
public static unowned string get_name (Atk.TextAttribute attr);
[CCode (cheader_filename = "atk/atk.h")]
- public static unowned string get_value (Atk.TextAttribute attr, int index_);
+ public static unowned string? get_value (Atk.TextAttribute attr, int index_);
[CCode (cheader_filename = "atk/atk.h")]
public static Atk.TextAttribute register (string name);
}
@@ -916,6 +916,8 @@ namespace Atk {
public const int MICRO_VERSION;
[CCode (cheader_filename = "atk/atk.h", cname = "ATK_MINOR_VERSION")]
public const int MINOR_VERSION;
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_VERSION_MIN_REQUIRED")]
+ public const int VERSION_MIN_REQUIRED;
[CCode (cheader_filename = "atk/atk.h")]
[Deprecated (replacement = "Atk.Util.add_focus_tracker", since = "vala-0.16")]
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
diff --git a/vapi/metadata/Atk-1.0.metadata b/vapi/metadata/Atk-1.0.metadata
index 636988f..1d01c49 100644
--- a/vapi/metadata/Atk-1.0.metadata
+++ b/vapi/metadata/Atk-1.0.metadata
@@ -41,7 +41,9 @@ Role.edit_bar name="editbar"
// G-I doesn't distinguish between abstract and virtual
Document.*#virtual_method virtual
Text.get_bounded_ranges#virtual_method virtual
-Text.get_bounded_ranges array array_null_terminated unowned=false
+
+// Can't document callback fields
+Text.get_bounded_ranges#virtual_method array array_null_terminated unowned=false
// Callbacks without user data
add_focus_tracker skip=false
@@ -56,4 +58,4 @@ TextRange.content unowned=false
Attribute.* unowned=false
// Should be fixed upstream
-Implementor* skip // g-ir-scanner doesn't realize this is an interface
\ No newline at end of file
+Implementor* skip // g-ir-scanner doesn't realize this is an interface
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]