]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Remove gedit 3 binding
authorAlistair Thomas <astavale@yahoo.co.uk>
Wed, 13 Dec 2017 15:34:52 +0000 (15:34 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 13 Dec 2017 16:44:26 +0000 (17:44 +0100)
The bindings have been upstreamed since 17 February 2014. See
https://git.gnome.org/browse/gedit/commit/?id=e16b196c32cd288bc186abff19e5a23af5f83422

https://bugzilla.gnome.org/show_bug.cgi?id=776021

vapi/Makefile.am
vapi/gedit.deps [deleted file]
vapi/gedit.vapi [deleted file]
vapi/metadata/Gedit-3.0.metadata [deleted file]

index 7933be04a09b8f3f3766bd7869cb3a51e725dd3c..5dc785a95d4becf4c37eb8723e804b1f72bb4b80 100644 (file)
@@ -65,8 +65,6 @@ dist_vapi_DATA = \
        gdu-gtk.vapi \
        gedit-2.20.vapi \
        gedit-2.20.deps \
-       gedit.vapi \
-       gedit.deps \
        gio-2.0.vapi \
        gio-unix-2.0.deps \
        gio-unix-2.0.vapi \
@@ -471,7 +469,6 @@ GENVAPI = $(VAPIGEN) $(VAPIGENFLAGS)
 METADATADIR = $(srcdir)/metadata
 PACKAGESDIR = $(srcdir)/packages
 GIRDIR = $$($(PKG_CONFIG) gobject-introspection-1.0 --variable=girdir)
-GEDIT_GIRDIR=$$($(PKG_CONFIG) gedit --variable=prefix)/share/gedit/gir-1.0
 
 .PHONY: all-bindings $(BINDINGS)
 
@@ -555,9 +552,6 @@ gdu-gtk:
 gedit-2.20:
        $(GENVAPI) --library $(srcdir)/gedit-2.20 $(PACKAGESDIR)/gedit-2.20/gedit-2.20.gi
 
-gedit:
-       $(GENVAPI) --library $(srcdir)/gedit --metadatadir $(METADATADIR) $(GEDIT_GIRDIR)/Gedit-3.0.gir
-
 gio-2.0:
        $(GENVAPI) --library $(srcdir)/gio-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/Gio-2.0-custom.vala $(GIRDIR)/Gio-2.0.gir
 
diff --git a/vapi/gedit.deps b/vapi/gedit.deps
deleted file mode 100644 (file)
index 2797e85..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-atk
-gdk-3.0
-gio-2.0
-gtk+-3.0
-gtksourceview-3.0
diff --git a/vapi/gedit.vapi b/vapi/gedit.vapi
deleted file mode 100644 (file)
index 1381525..0000000
+++ /dev/null
@@ -1,447 +0,0 @@
-/* gedit.vapi generated by vapigen, do not modify. */
-
-[CCode (cprefix = "Gedit", gir_namespace = "Gedit", gir_version = "3.0", lower_case_cprefix = "gedit_")]
-[Version (replacement = "bindings distributed with gedit", deprecated_since = "3.12")]
-namespace Gedit {
-       [CCode (cheader_filename = "gedit/gedit-app.h", type_id = "gedit_app_get_type ()")]
-       public abstract class App : Gtk.Application, GLib.ActionGroup, GLib.ActionMap {
-               [CCode (has_construct_function = false)]
-               protected App ();
-               public unowned Gedit.Window create_window (Gdk.Screen? screen);
-               public GLib.List<weak Gedit.Document> get_documents ();
-               public Gedit.LockdownMask get_lockdown ();
-               public GLib.List<weak Gedit.View> get_views ();
-               [NoWrapper]
-               public virtual string help_link_id (string name, string link_id);
-               public virtual bool process_window_event (Gedit.Window window, Gdk.Event event);
-               public virtual void set_window_title (Gedit.Window window, string title);
-               public virtual bool show_help (Gtk.Window parent, string name, string link_id);
-               public Gedit.LockdownMask lockdown { get; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-document.h", type_id = "gedit_document_get_type ()")]
-       public class Document : Gtk.SourceBuffer {
-               [CCode (has_construct_function = false)]
-               public Document ();
-               [CCode (cname = "gedit_document_save")]
-               public void do_save (Gedit.DocumentSaveFlags flags);
-               public static GLib.Quark error_quark ();
-               [Version (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 ();
-               [Version (deprecated_since = "3.10")]
-               public bool get_enable_search_highlighting ();
-               public unowned Gedit.Encoding get_encoding ();
-               public unowned Gtk.SourceLanguage get_language ();
-               public GLib.File get_location ();
-               public string get_metadata (string key);
-               public string get_mime_type ();
-               public Gedit.DocumentNewlineType get_newline_type ();
-               public bool get_readonly ();
-               [Version (deprecated_since = "3.10")]
-               public string get_search_text (uint? flags);
-               public string get_short_name_for_display ();
-               public string get_uri_for_display ();
-               public bool goto_line (int line);
-               public bool goto_line_offset (int line, int line_offset);
-               public bool is_local ();
-               public bool is_untitled ();
-               public bool is_untouched ();
-               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);
-               [Version (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);
-               [Version (deprecated_since = "3.10")]
-               public bool search_backward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end);
-               [Version (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);
-               [Version (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);
-               [Version (deprecated_since = "3.10")]
-               public void set_search_text (string? text, uint flags);
-               public void set_short_name_for_display (string? short_name);
-               [Version (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; }
-               [Version (deprecated_since = "3.10")]
-               public bool enable_search_highlighting { get; set; }
-               public Gedit.Encoding encoding { get; }
-               public GLib.File location { owned get; set; }
-               public string mime_type { owned get; }
-               [NoAccessorMethod]
-               public Gedit.DocumentNewlineType newline_type { get; set construct; }
-               [NoAccessorMethod]
-               public bool read_only { get; }
-               [NoAccessorMethod]
-               public string shortname { owned get; set; }
-               public virtual signal void cursor_moved ();
-               public virtual signal void loaded (GLib.Error error);
-               public virtual signal void loading (uint64 size, uint64 total_size);
-               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);
-               [Version (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 ()")]
-       [Compact]
-       public class Encoding {
-               public Gedit.Encoding copy ();
-               public void free ();
-               public unowned string get_charset ();
-               public static unowned Gedit.Encoding get_current ();
-               public static unowned Gedit.Encoding get_from_charset (string charset);
-               public static unowned Gedit.Encoding get_from_index (int index);
-               public unowned string get_name ();
-               public static unowned Gedit.Encoding get_utf8 ();
-               public string to_string ();
-       }
-       [CCode (cheader_filename = "gedit/gedit-encodings-combo-box.h", type_id = "gedit_encodings_combo_box_get_type ()")]
-       public class EncodingsComboBox : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public EncodingsComboBox (bool save_mode);
-               public unowned Gedit.Encoding get_selected_encoding ();
-               public void set_selected_encoding (Gedit.Encoding? encoding);
-               [NoAccessorMethod]
-               public bool save_mode { get; set construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-message.h", type_id = "gedit_message_get_type ()")]
-       public class Message : GLib.Object {
-               [CCode (has_construct_function = false)]
-               protected Message ();
-               public unowned string get_method ();
-               public unowned string get_object_path ();
-               public bool has (string propname);
-               public static bool is_valid_object_path (string? object_path);
-               public static bool type_check (GLib.Type gtype, string propname, GLib.Type value_type);
-               public static bool type_has (GLib.Type gtype, string propname);
-               public static string type_identifier (string? object_path, string? method);
-               [NoAccessorMethod]
-               public string method { owned get; set construct; }
-               [NoAccessorMethod]
-               public string object_path { owned get; set construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-message-bus.h", type_id = "gedit_message_bus_get_type ()")]
-       public class MessageBus : GLib.Object {
-               [CCode (has_construct_function = false)]
-               public MessageBus ();
-               public void block (uint id);
-               public void block_by_func (string object_path, string method, Gedit.MessageCallback callback);
-               public uint connect (string object_path, string method, owned Gedit.MessageCallback callback);
-               public void disconnect (uint id);
-               public void disconnect_by_func (string object_path, string method, Gedit.MessageCallback callback);
-               public void @foreach (Gedit.MessageBusForeach func);
-               public static unowned Gedit.MessageBus get_default ();
-               public bool is_registered (string object_path, string method);
-               public GLib.Type lookup (string object_path, string method);
-               public void register (GLib.Type message_type, string object_path, string method);
-               public void send_message (Gedit.Message message);
-               public void send_message_sync (Gedit.Message message);
-               public void unblock (uint id);
-               public void unblock_by_func (string object_path, string method, Gedit.MessageCallback callback);
-               public void unregister (string object_path, string method);
-               public void unregister_all (string object_path);
-               public virtual signal void dispatch (Gedit.Message message);
-               public virtual signal void registered (string object_path, string method);
-               public virtual signal void unregistered (string object_path, string method);
-       }
-       [CCode (cheader_filename = "gedit/gedit-panel.h", type_id = "gedit_panel_get_type ()")]
-       public class Panel : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public Panel (Gtk.Orientation orientation);
-               public bool activate_item (Gtk.Widget item);
-               public bool add_item (Gtk.Widget item, string id, string display_name, Gtk.Widget? image);
-               public bool add_item_with_stock_icon (Gtk.Widget item, string id, string display_name, string? stock_id);
-               public unowned Gtk.Widget get_active ();
-               public int get_n_items ();
-               public Gtk.Orientation get_orientation ();
-               public bool item_is_active (Gtk.Widget item);
-               public bool remove_item (Gtk.Widget item);
-               public Gtk.Orientation orientation { get; construct; }
-               public virtual signal void close ();
-               public virtual signal void focus_document ();
-               public virtual signal void item_added (Gtk.Widget item);
-               public virtual signal void item_removed (Gtk.Widget item);
-       }
-       [CCode (cheader_filename = "gedit/gedit-progress-info-bar.h", type_id = "gedit_progress_info_bar_get_type ()")]
-       public class ProgressInfoBar : Gtk.InfoBar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public ProgressInfoBar (string stock_id, string markup, bool has_cancel);
-               public void pulse ();
-               public void set_fraction (double fraction);
-               public void set_markup (string markup);
-               public void set_stock_image (string stock_id);
-               public void set_text (string text);
-               public bool has_cancel_button { construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-statusbar.h", type_id = "gedit_statusbar_get_type ()")]
-       public class Statusbar : Gtk.Statusbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public Statusbar ();
-               public void clear_overwrite ();
-               public void set_cursor_position (int line, int col);
-               public void set_overwrite (bool overwrite);
-               public void set_window_state (Gedit.WindowState state, int num_of_errors);
-       }
-       [CCode (cheader_filename = "gedit/gedit-tab.h", type_id = "gedit_tab_get_type ()")]
-       public class Tab : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
-               [CCode (has_construct_function = false)]
-               protected Tab ();
-               public bool get_auto_save_enabled ();
-               public int get_auto_save_interval ();
-               public unowned Gedit.Document get_document ();
-               public static unowned Gedit.Tab get_from_document (Gedit.Document doc);
-               public Gedit.TabState get_state ();
-               public unowned Gedit.View get_view ();
-               public void set_auto_save_enabled (bool enable);
-               public void set_auto_save_interval (int interval);
-               public void set_info_bar (Gtk.Widget info_bar);
-               [NoAccessorMethod]
-               public bool autosave { get; set; }
-               [NoAccessorMethod]
-               public int autosave_interval { get; set; }
-               [NoAccessorMethod]
-               public bool can_close { get; }
-               [NoAccessorMethod]
-               public string name { owned get; }
-               public Gedit.TabState state { get; }
-               public virtual signal void drop_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uri_list);
-       }
-       [CCode (cheader_filename = "gedit/gedit-view.h", type_id = "gedit_view_get_type ()")]
-       public class View : Gtk.SourceView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public View (Gedit.Document doc);
-               public void copy_clipboard ();
-               public void cut_clipboard ();
-               public void delete_selection ();
-               public void paste_clipboard ();
-               public void scroll_to_cursor ();
-               public void select_all ();
-               public void set_font (bool def, string font_name);
-               public virtual signal void drop_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uri_list);
-       }
-       [CCode (cheader_filename = "gedit/gedit-window.h", type_id = "gedit_window_get_type ()")]
-       public class Window : Gtk.ApplicationWindow, Atk.Implementor, GLib.ActionGroup, GLib.ActionMap, Gtk.Buildable {
-               [CCode (has_construct_function = false)]
-               protected Window ();
-               public void close_all_tabs ();
-               public void close_tab (Gedit.Tab tab);
-               public void close_tabs (GLib.List<Gedit.Tab> tabs);
-               public unowned Gedit.Tab create_tab (bool jump_to);
-               public unowned Gedit.Tab create_tab_from_location (GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos, bool create, bool jump_to);
-               public unowned Gedit.Tab create_tab_from_stream (GLib.InputStream stream, Gedit.Encoding? encoding, int line_pos, int column_pos, bool jump_to);
-               public unowned Gedit.Document get_active_document ();
-               public unowned Gedit.Tab get_active_tab ();
-               public unowned Gedit.View get_active_view ();
-               public unowned Gedit.Panel get_bottom_panel ();
-               public GLib.List<weak Gedit.Document> get_documents ();
-               public unowned Gtk.WindowGroup get_group ();
-               public unowned Gedit.MessageBus get_message_bus ();
-               public unowned Gedit.Panel get_side_panel ();
-               public Gedit.WindowState get_state ();
-               public unowned Gtk.Widget get_statusbar ();
-               public unowned Gedit.Tab get_tab_from_location (GLib.File location);
-               public unowned Gtk.UIManager get_ui_manager ();
-               public GLib.List<weak Gedit.Document> get_unsaved_documents ();
-               public GLib.List<weak Gedit.View> get_views ();
-               public void set_active_tab (Gedit.Tab tab);
-               public Gedit.WindowState state { get; }
-               public virtual signal void active_tab_changed (Gedit.Tab tab);
-               public virtual signal void active_tab_state_changed ();
-               public virtual signal void tab_added (Gedit.Tab tab);
-               public virtual signal void tab_removed (Gedit.Tab tab);
-               public virtual signal void tabs_reordered ();
-       }
-       [CCode (cheader_filename = "gedit/gedit-app-activatable.h", type_cname = "GeditAppActivatableInterface", type_id = "gedit_app_activatable_get_type ()")]
-       public interface AppActivatable : GLib.Object {
-               public abstract void activate ();
-               public abstract void deactivate ();
-               [NoAccessorMethod]
-               public abstract Gedit.App app { owned get; construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-view-activatable.h", type_cname = "GeditViewActivatableInterface", type_id = "gedit_view_activatable_get_type ()")]
-       public interface ViewActivatable : GLib.Object {
-               public abstract void activate ();
-               public abstract void deactivate ();
-               [NoAccessorMethod]
-               public abstract Gedit.View view { owned get; construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-window-activatable.h", type_cname = "GeditWindowActivatableInterface", type_id = "gedit_window_activatable_get_type ()")]
-       public interface WindowActivatable : GLib.Object {
-               public abstract void activate ();
-               public abstract void deactivate ();
-               public abstract void update_state ();
-               [NoAccessorMethod]
-               public abstract Gedit.Window window { owned get; construct; }
-       }
-       [CCode (cheader_filename = "gedit/gedit-debug.h", cprefix = "GEDIT_", type_id = "gedit_debug_section_get_type ()")]
-       [Flags]
-       public enum DebugSection {
-               NO_DEBUG,
-               DEBUG_VIEW,
-               DEBUG_SEARCH,
-               DEBUG_PRINT,
-               DEBUG_PREFS,
-               DEBUG_PLUGINS,
-               DEBUG_TAB,
-               DEBUG_DOCUMENT,
-               DEBUG_COMMANDS,
-               DEBUG_APP,
-               DEBUG_SESSION,
-               DEBUG_UTILS,
-               DEBUG_METADATA,
-               DEBUG_WINDOW,
-               DEBUG_LOADER,
-               DEBUG_SAVER,
-               DEBUG_PANEL,
-               DEBUG_DBUS
-       }
-       [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_COMPRESSION_TYPE_", type_id = "gedit_document_compression_type_get_type ()")]
-       public enum DocumentCompressionType {
-               NONE,
-               GZIP
-       }
-       [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_NEWLINE_TYPE_", type_id = "gedit_document_newline_type_get_type ()")]
-       public enum DocumentNewlineType {
-               LF,
-               CR,
-               CR_LF
-       }
-       [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_SAVE_", type_id = "gedit_document_save_flags_get_type ()")]
-       [Flags]
-       public enum DocumentSaveFlags {
-               IGNORE_MTIME,
-               IGNORE_BACKUP,
-               PRESERVE_BACKUP,
-               IGNORE_INVALID_CHARS
-       }
-       [CCode (cheader_filename = "gedit/gedit-app.h", cprefix = "GEDIT_LOCKDOWN_", type_id = "gedit_lockdown_mask_get_type ()")]
-       [Flags]
-       public enum LockdownMask {
-               COMMAND_LINE,
-               PRINTING,
-               PRINT_SETUP,
-               SAVE_TO_DISK
-       }
-       [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", type_id = "gedit_search_flags_get_type ()")]
-       [Version (deprecated_since = "3.10")]
-       [Flags]
-       public enum SearchFlags {
-               DONT_SET_FLAGS,
-               ENTIRE_WORD,
-               CASE_SENSITIVE
-       }
-       [CCode (cheader_filename = "gedit/gedit-tab.h", cprefix = "GEDIT_TAB_", type_id = "gedit_tab_state_get_type ()")]
-       public enum TabState {
-               STATE_NORMAL,
-               STATE_LOADING,
-               STATE_REVERTING,
-               STATE_SAVING,
-               STATE_PRINTING,
-               STATE_PRINT_PREVIEWING,
-               STATE_SHOWING_PRINT_PREVIEW,
-               STATE_GENERIC_NOT_EDITABLE,
-               STATE_LOADING_ERROR,
-               STATE_REVERTING_ERROR,
-               STATE_SAVING_ERROR,
-               STATE_GENERIC_ERROR,
-               STATE_CLOSING,
-               STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
-               NUM_OF_STATES
-       }
-       [CCode (cheader_filename = "gedit/gedit-window.h", cprefix = "GEDIT_WINDOW_STATE_", type_id = "gedit_window_state_get_type ()")]
-       [Flags]
-       public enum WindowState {
-               NORMAL,
-               SAVING,
-               PRINTING,
-               LOADING,
-               ERROR
-       }
-       [CCode (cheader_filename = "gedit/gedit-message-bus.h", instance_pos = 2.9)]
-       public delegate void MessageBusForeach (string object_path, string method);
-       [CCode (cheader_filename = "gedit/gedit-message-bus.h", instance_pos = 2.9)]
-       public delegate void MessageCallback (Gedit.MessageBus bus, Gedit.Message message);
-       [CCode (cheader_filename = "gedit/gedit-app.h", cname = "GEDIT_LOCKDOWN_ALL")]
-       public const int LOCKDOWN_ALL;
-       [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_ENCODING")]
-       public const string METADATA_ATTRIBUTE_ENCODING;
-       [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_LANGUAGE")]
-       public const string METADATA_ATTRIBUTE_LANGUAGE;
-       [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_POSITION")]
-       public const string METADATA_ATTRIBUTE_POSITION;
-       [CCode (cheader_filename = "gedit/gedit-commands.h")]
-       public static void commands_load_location (Gedit.Window window, GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos);
-       [CCode (cheader_filename = "gedit/gedit-commands.h")]
-       public static GLib.SList<weak Gedit.Document> commands_load_locations (Gedit.Window window, GLib.SList<GLib.File> locations, Gedit.Encoding? encoding, int line_pos, int column_pos);
-       [CCode (cheader_filename = "gedit/gedit-commands.h")]
-       public static void commands_save_all_documents (Gedit.Window window);
-       [CCode (cheader_filename = "gedit/gedit-commands.h")]
-       public static void commands_save_document (Gedit.Window window, Gedit.Document document);
-       [CCode (cheader_filename = "gedit/gedit-debug.h")]
-       public static void debug (Gedit.DebugSection section, string file, int line, string function);
-       [CCode (cheader_filename = "gedit/gedit-debug.h")]
-       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/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/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);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static bool utils_decode_uri (string uri, out string scheme, out string user, out string port, out string host, out string path);
-       [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")]
-       [Version (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);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static Gedit.DocumentCompressionType utils_get_compression_type_from_content_type (string content_type);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static void utils_get_current_viewport (Gdk.Screen screen, out int x, out int y);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static uint utils_get_current_workspace (Gdk.Screen screen);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static uint utils_get_window_workspace (Gtk.Window gtkwindow);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static bool utils_is_valid_location (GLib.File location);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static string utils_location_get_dirname_for_display (GLib.File location);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static string utils_make_canonical_uri_from_shell_arg (string str);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static string utils_make_valid_utf8 (string name);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static void utils_menu_position_under_tree_view (Gtk.Menu menu, int x, int y, bool push_in, void* user_data);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static void utils_menu_position_under_widget (Gtk.Menu menu, int x, int y, bool push_in, void* user_data);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static string utils_replace_home_dir_with_tilde (string uri);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static void utils_set_atk_name_description (Gtk.Widget widget, string name, string description);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static void utils_set_atk_relation (Gtk.Widget obj1, Gtk.Widget obj2, Atk.RelationType rel_type);
-       [CCode (cheader_filename = "gedit/gedit-utils.h")]
-       public static string utils_str_end_truncate (string string, uint truncate_length);
-       [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")]
-       [Version (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
deleted file mode 100644 (file)
index 090366b..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-Gedit deprecated_since="3.12" replacement="bindings distributed with gedit"
-
-App cheader_filename="gedit/gedit-app.h"
-AppActivatable cheader_filename="gedit/gedit-app-activatable.h"
-LockdownMask cheader_filename="gedit/gedit-app.h"
-DebugSection cheader_filename="gedit/gedit-debug.h"
-Document cheader_filename="gedit/gedit-document.h"
-DocumentCompressionType cheader_filename="gedit/gedit-document.h"
-DocumentNewlineType cheader_filename="gedit/gedit-document.h"
-DocumentSaveFlags cheader_filename="gedit/gedit-document.h"
-Encoding  cheader_filename="gedit/gedit-encodings.h"
-EncodingsComboBox cheader_filename="gedit/gedit-encodings-combo-box.h"
-Message cheader_filename="gedit/gedit-message.h"
-MessageBus cheader_filename="gedit/gedit-message-bus.h"
-// present in the gir but the header is missing
-NotebookShowTabsModeType skip=true
-Panel cheader_filename="gedit/gedit-panel.h"
-ProgressInfoBar cheader_filename="gedit/gedit-progress-info-bar.h"
-SearchFlags cheader_filename="gedit/gedit-document.h"
-Statusbar cheader_filename="gedit/gedit-statusbar.h"
-Tab cheader_filename="gedit/gedit-tab.h"
-TabState cheader_filename="gedit/gedit-tab.h"
-View cheader_filename="gedit/gedit-view.h"
-ViewActivatable cheader_filename="gedit/gedit-view-activatable.h"
-Window cheader_filename="gedit/gedit-window.h"
-WindowActivatable cheader_filename="gedit/gedit-window-activatable.h"
-WindowState cheader_filename="gedit/gedit-window.h"
-
-Document.load#signal skip // https://bugzilla.gnome.org/show_bug.cgi?id=662145
-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"
-
-LOCKDOWN_ALL cheader_filename="gedit/gedit-app.h"
-METADATA_* cheader_filename="gedit/gedit-document.h"
-
-MessageBusForeach cheader_filename="gedit/gedit-message-bus.h"
-MessageCallback cheader_filename="gedit/gedit-message-bus.h"