From: Rico Tzschichholz Date: Mon, 26 Aug 2013 07:58:34 +0000 (+0200) Subject: gedit: Update to 3.9.90 X-Git-Tag: 0.21.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31caa123371aaa4dc2114f295cf4cb59c84c41e6;p=thirdparty%2Fvala.git gedit: Update to 3.9.90 --- diff --git a/vapi/gedit.vapi b/vapi/gedit.vapi index 28e692941..b88341ed7 100644 --- a/vapi/gedit.vapi +++ b/vapi/gedit.vapi @@ -24,10 +24,12 @@ namespace Gedit { [CCode (cname = "gedit_document_save")] public void do_save (Gedit.DocumentSaveFlags flags); public static GLib.Quark error_quark (); + [Deprecated (since = "3.10")] public bool get_can_search_again (); public Gedit.DocumentCompressionType get_compression_type (); public string get_content_type (); public bool get_deleted (); + [Deprecated (since = "3.10")] public bool get_enable_search_highlighting (); public unowned Gedit.Encoding get_encoding (); public unowned Gtk.SourceLanguage get_language (); @@ -36,6 +38,7 @@ namespace Gedit { public string get_mime_type (); public Gedit.DocumentNewlineType get_newline_type (); public bool get_readonly (); + [Deprecated (since = "3.10")] public string get_search_text (uint? flags); public string get_short_name_for_display (); public string get_uri_for_display (); @@ -47,20 +50,29 @@ namespace Gedit { public virtual void load (GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos, bool create); public bool load_cancel (); public void load_stream (GLib.InputStream stream, Gedit.Encoding? encoding, int line_pos, int column_pos); + [Deprecated (since = "3.10")] public int replace_all (string find, string replace, uint flags); public void save_as (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags); + [Deprecated (since = "3.10")] public bool search_backward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end); + [Deprecated (since = "3.10")] public bool search_forward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end); public void set_content_type (string? content_type); + [Deprecated (since = "3.10")] public void set_enable_search_highlighting (bool enable); public void set_language (Gtk.SourceLanguage? lang); public void set_location (GLib.File location); + [Deprecated (since = "3.10")] public void set_search_text (string? text, uint flags); public void set_short_name_for_display (string? short_name); + [Deprecated (since = "3.10")] public bool can_search_again { get; } [NoAccessorMethod] public Gedit.DocumentCompressionType compression_type { get; set construct; } public string content_type { owned get; set; } + [NoAccessorMethod] + public bool empty_search { get; } + [Deprecated (since = "3.10")] public bool enable_search_highlighting { get; set; } public Gedit.Encoding encoding { get; } public GLib.File location { owned get; set; } @@ -77,6 +89,7 @@ namespace Gedit { public virtual signal void save (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags); public virtual signal void saved (GLib.Error error); public virtual signal void saving (uint64 size, uint64 total_size); + [Deprecated (since = "3.10")] public virtual signal void search_highlight_updated (Gtk.TextIter start, Gtk.TextIter end); } [CCode (cheader_filename = "gedit/gedit-encodings.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gedit_encoding_get_type ()")] @@ -320,6 +333,7 @@ namespace Gedit { SAVE_TO_DISK } [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", type_id = "gedit_search_flags_get_type ()")] + [Deprecated (since = "3.10")] [Flags] public enum SearchFlags { DONT_SET_FLAGS, @@ -379,9 +393,9 @@ namespace Gedit { public static void debug_init (); [CCode (cheader_filename = "gedit/gedit-debug.h")] public static void debug_plugin_message (string file, int line, string function, string message); - [CCode (cheader_filename = "Gedit-3.0.h")] + [CCode (cheader_filename = "gedit/gedit-utils.h")] public static unowned Gtk.Widget dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id); - [CCode (cheader_filename = "Gedit-3.0.h")] + [CCode (cheader_filename = "gedit/gedit-utils.h")] public static Gtk.Widget gtk_button_new_with_stock_icon (string label, string stock_id); [CCode (cheader_filename = "gedit/gedit-utils.h")] public static string utils_basename_for_display (GLib.File location); @@ -390,6 +404,7 @@ namespace Gedit { [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gedit/gedit-utils.h")] public static string[] utils_drop_get_uris (Gtk.SelectionData selection_data); [CCode (cheader_filename = "gedit/gedit-utils.h")] + [Deprecated (since = "3.10")] public static string utils_escape_search_text (string text); [CCode (cheader_filename = "gedit/gedit-utils.h")] public static string utils_escape_underscores (string text, ssize_t length); @@ -424,6 +439,7 @@ namespace Gedit { [CCode (cheader_filename = "gedit/gedit-utils.h")] public static string utils_str_middle_truncate (string string, uint truncate_length); [CCode (cheader_filename = "gedit/gedit-utils.h")] + [Deprecated (since = "3.10")] public static string utils_unescape_search_text (string text); [CCode (cheader_filename = "gedit/gedit-utils.h")] public static string utils_uri_get_dirname (string uri); diff --git a/vapi/metadata/Gedit-3.0.metadata b/vapi/metadata/Gedit-3.0.metadata index c4427bd38..c653b003c 100644 --- a/vapi/metadata/Gedit-3.0.metadata +++ b/vapi/metadata/Gedit-3.0.metadata @@ -29,6 +29,8 @@ Document.save#method name="do_save" commands_* cheader_filename="gedit/gedit-commands.h" debug* cheader_filename="gedit/gedit-debug.h" +dialog_add_button cheader_filename="gedit/gedit-utils.h" +gtk_button_new_with_stock_icon cheader_filename="gedit/gedit-utils.h" marshal_* skip=true utils_* cheader_filename="gedit/gedit-utils.h"