[vala/wip/error-gtype: 1/2] vapi: Regenerate GIR-based bindings to pick up type_id of error domains
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/error-gtype: 1/2] vapi: Regenerate GIR-based bindings to pick up type_id of error domains
- Date: Tue, 21 Jan 2020 14:21:45 +0000 (UTC)
commit 1cbc6d1410cc550dae06776cb150075988ced015
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Nov 18 21:46:30 2018 +0100
vapi: Regenerate GIR-based bindings to pick up type_id of error domains
vapi/clutter-1.0.vapi | 8 ++++----
vapi/clutter-gtk-1.0.vapi | 2 +-
vapi/gdk-3.0.vapi | 2 +-
vapi/gdk-pixbuf-2.0.vapi | 2 +-
vapi/geocode-glib-1.0.vapi | 2 +-
vapi/gio-2.0.vapi | 10 +++++-----
vapi/gnome-desktop-3.0.vapi | 2 +-
vapi/gobject-introspection-1.0.vapi | 4 ++--
vapi/gstreamer-1.0.vapi | 14 +++++++-------
vapi/gstreamer-player-1.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 14 +++++++-------
vapi/gtk4.vapi | 20 ++++++++++----------
vapi/json-glib-1.0.vapi | 6 +++---
vapi/libgsf-1.vapi | 2 +-
vapi/libpeas-1.0.vapi | 2 +-
vapi/libsoup-2.4.vapi | 10 +++++-----
vapi/packagekit-glib2.vapi | 6 +++---
vapi/polkit-gobject-1.vapi | 2 +-
vapi/poppler-glib.vapi | 2 +-
vapi/rest-0.7.vapi | 4 ++--
vapi/udisks2.vapi | 2 +-
vapi/webkit2gtk-4.0.vapi | 20 ++++++++++----------
22 files changed, 69 insertions(+), 69 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 80a1fc36a..91603c766 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -8965,13 +8965,13 @@ namespace Clutter {
Y_AXIS,
BOTH
}
- [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_IMAGE_ERROR_INVALID_")]
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_IMAGE_ERROR_INVALID_", type_id =
"clutter_image_error_get_type ()")]
[Version (since = "1.10")]
public errordomain ImageError {
DATA;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_")]
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_", type_id =
"clutter_script_error_get_type ()")]
[Version (since = "0.6")]
public errordomain ScriptError {
TYPE_FUNCTION,
@@ -8979,7 +8979,7 @@ namespace Clutter {
VALUE;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SHADER_ERROR_")]
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SHADER_ERROR_", type_id =
"clutter_shader_error_get_type ()")]
[Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public errordomain ShaderError {
NO_ASM,
@@ -8987,7 +8987,7 @@ namespace Clutter {
COMPILE;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXTURE_ERROR_")]
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_TEXTURE_ERROR_", type_id =
"clutter_texture_error_get_type ()")]
[Version (since = "0.4")]
public errordomain TextureError {
OUT_OF_MEMORY,
diff --git a/vapi/clutter-gtk-1.0.vapi b/vapi/clutter-gtk-1.0.vapi
index b7abe99c9..f3e2d30c4 100644
--- a/vapi/clutter-gtk-1.0.vapi
+++ b/vapi/clutter-gtk-1.0.vapi
@@ -41,7 +41,7 @@ namespace GtkClutter {
public Window ();
public unowned Clutter.Actor get_stage ();
}
- [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix =
"GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_")]
+ [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix =
"GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_", has_type_id = false)]
[Version (since = "1.0")]
public errordomain TextureError {
[CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 8b2bad907..d221d551a 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -6605,7 +6605,7 @@ namespace Gdk {
[CCode (cname = "GDK_INPUT_ONLY")]
INPUT_ONLY
}
- [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_")]
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_", type_id = "gdk_gl_error_get_type
()")]
[Version (since = "3.16")]
public errordomain GLError {
NOT_AVAILABLE,
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 898e50085..9728d0c33 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -301,7 +301,7 @@ namespace Gdk {
ENCODING_RLE,
ENCODING_MASK
}
- [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ERROR_")]
+ [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ERROR_", type_id =
"gdk_pixbuf_error_get_type ()")]
public errordomain PixbufError {
CORRUPT_IMAGE,
INSUFFICIENT_MEMORY,
diff --git a/vapi/geocode-glib-1.0.vapi b/vapi/geocode-glib-1.0.vapi
index 6b3e5a7c5..359a9e878 100644
--- a/vapi/geocode-glib-1.0.vapi
+++ b/vapi/geocode-glib-1.0.vapi
@@ -255,7 +255,7 @@ namespace Geocode {
BAR,
LIGHT_RAIL_STATION
}
- [CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_ERROR_")]
+ [CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_ERROR_", type_id =
"geocode_error_get_type ()")]
public errordomain Error {
PARSE,
NOT_SUPPORTED,
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 257a8ab1b..ef0eb2fd8 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -4654,7 +4654,7 @@ namespace GLib {
GZIP,
RAW
}
- [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_ERROR_")]
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_ERROR_", type_id = "g_dbus_error_get_type
()")]
[Version (since = "2.26")]
public errordomain DBusError {
FAILED,
@@ -4721,7 +4721,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static bool unregister_error (GLib.Quark error_domain, int error_code, string
dbus_error_name);
}
- [CCode (cheader_filename = "gio/gio.h", cname = "GIOErrorEnum", cprefix = "G_IO_ERROR_")]
+ [CCode (cheader_filename = "gio/gio.h", cname = "GIOErrorEnum", cprefix = "G_IO_ERROR_", type_id =
"g_io_error_enum_get_type ()")]
[GIR (name = "IOErrorEnum")]
public errordomain IOError {
FAILED,
@@ -4781,7 +4781,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_ERROR_")]
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_ERROR_", type_id =
"g_resolver_error_get_type ()")]
[Version (since = "2.22")]
public errordomain ResolverError {
NOT_FOUND,
@@ -4790,7 +4790,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_ERROR_")]
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_ERROR_", type_id =
"g_resource_error_get_type ()")]
[Version (since = "2.32")]
public errordomain ResourceError {
NOT_FOUND,
@@ -4798,7 +4798,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_")]
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_", type_id = "g_tls_error_get_type
()")]
[Version (since = "2.28")]
public errordomain TlsError {
UNAVAILABLE,
diff --git a/vapi/gnome-desktop-3.0.vapi b/vapi/gnome-desktop-3.0.vapi
index 12450b055..31d9e954a 100644
--- a/vapi/gnome-desktop-3.0.vapi
+++ b/vapi/gnome-desktop-3.0.vapi
@@ -343,7 +343,7 @@ namespace Gnome {
REFLECT_X,
REFLECT_Y
}
- [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_ERROR_")]
+ [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_ERROR_", has_type_id =
false)]
public errordomain RRError {
UNKNOWN,
NO_RANDR_EXTENSION,
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 10a0bb60f..aba6a7d7f 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -415,7 +415,7 @@ namespace GI {
MUST_NOT_OVERRIDE,
THROWS
}
- [CCode (cheader_filename = "girepository.h", cname = "GInvokeError", cprefix = "G_INVOKE_ERROR_")]
+ [CCode (cheader_filename = "girepository.h", cname = "GInvokeError", cprefix = "G_INVOKE_ERROR_",
has_type_id = false)]
[GIR (name = "nvokeError")]
public errordomain InvokeError {
FAILED,
@@ -423,7 +423,7 @@ namespace GI {
ARGUMENT_MISMATCH;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "girepository.h", cprefix = "G_IREPOSITORY_ERROR_")]
+ [CCode (cheader_filename = "girepository.h", cprefix = "G_IREPOSITORY_ERROR_", has_type_id = false)]
public errordomain RepositoryError {
TYPELIB_NOT_FOUND,
NAMESPACE_MISMATCH,
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 3c31f220c..53b0fb5e7 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -3769,7 +3769,7 @@ namespace Gst {
SINK,
SRC
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CORE_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CORE_ERROR_", type_id =
"gst_core_error_get_type ()")]
public errordomain CoreError {
FAILED,
TOO_LAZY,
@@ -3788,7 +3788,7 @@ namespace Gst {
NUM_ERRORS;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_LIBRARY_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_LIBRARY_ERROR_", type_id =
"gst_library_error_get_type ()")]
public errordomain LibraryError {
FAILED,
TOO_LAZY,
@@ -3799,7 +3799,7 @@ namespace Gst {
NUM_ERRORS;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PARSE_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PARSE_ERROR_", type_id =
"gst_parse_error_get_type ()")]
public errordomain ParseError {
SYNTAX,
NO_SUCH_ELEMENT,
@@ -3811,14 +3811,14 @@ namespace Gst {
DELAYED_LINK;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_ERROR_", type_id =
"gst_plugin_error_get_type ()")]
public errordomain PluginError {
MODULE,
DEPENDENCIES,
NAME_MISMATCH;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_RESOURCE_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_RESOURCE_ERROR_", type_id =
"gst_resource_error_get_type ()")]
public errordomain ResourceError {
FAILED,
TOO_LAZY,
@@ -3838,7 +3838,7 @@ namespace Gst {
NUM_ERRORS;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_ERROR_", type_id =
"gst_stream_error_get_type ()")]
public errordomain StreamError {
FAILED,
TOO_LAZY,
@@ -3856,7 +3856,7 @@ namespace Gst {
NUM_ERRORS;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_URI_ERROR_")]
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_URI_ERROR_", type_id = "gst_uri_error_get_type
()")]
public errordomain URIError {
UNSUPPORTED_PROTOCOL,
BAD_URI,
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index c73a30197..682ce9891 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -244,7 +244,7 @@ namespace Gst {
PLAYING;
public unowned string get_name ();
}
- [CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_ERROR_")]
+ [CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_ERROR_", type_id =
"gst_player_error_get_type ()")]
public errordomain PlayerError {
FAILED;
public unowned string get_name ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c4e5ac89e..fff9e6092 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -12174,7 +12174,7 @@ namespace Gtk {
WORD,
WORD_CHAR
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_", type_id =
"gtk_builder_error_get_type ()")]
public errordomain BuilderError {
INVALID_TYPE_FUNCTION,
UNHANDLED_TAG,
@@ -12193,7 +12193,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_", type_id =
"gtk_css_provider_error_get_type ()")]
public errordomain CssProviderError {
FAILED,
SYNTAX,
@@ -12204,7 +12204,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_", type_id =
"gtk_file_chooser_error_get_type ()")]
public errordomain FileChooserError {
NONEXISTENT,
BAD_FILENAME,
@@ -12214,14 +12214,14 @@ namespace Gtk {
[Version (since = "2.4")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_", type_id =
"gtk_icon_theme_error_get_type ()")]
public errordomain IconThemeError {
NOT_FOUND,
FAILED;
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_", type_id =
"gtk_print_error_get_type ()")]
public errordomain PrintError {
GENERAL,
INTERNAL_ERROR,
@@ -12231,7 +12231,7 @@ namespace Gtk {
[Version (since = "2.10")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_", type_id =
"gtk_recent_chooser_error_get_type ()")]
[Version (since = "2.10")]
public errordomain RecentChooserError {
NOT_FOUND,
@@ -12239,7 +12239,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_", type_id =
"gtk_recent_manager_error_get_type ()")]
[Version (since = "2.10")]
public errordomain RecentManagerError {
NOT_FOUND,
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index b8f3cfba4..4676e883a 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -5852,7 +5852,7 @@ namespace Gdk {
MAXIMIZE,
CLOSE
}
- [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_")]
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_", type_id = "gdk_gl_error_get_type
()")]
public errordomain GLError {
NOT_AVAILABLE,
UNSUPPORTED_FORMAT,
@@ -5861,7 +5861,7 @@ namespace Gdk {
LINK_FAILED;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_VULKAN_ERROR_")]
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_VULKAN_ERROR_", type_id =
"gdk_vulkan_error_get_type ()")]
public errordomain VulkanError {
UNSUPPORTED,
NOT_AVAILABLE;
@@ -6343,7 +6343,7 @@ namespace Gsk {
@2D_TRANSLATE,
IDENTITY
}
- [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SERIALIZATION_")]
+ [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SERIALIZATION_", type_id =
"gsk_serialization_error_get_type ()")]
public errordomain SerializationError {
UNSUPPORTED_FORMAT,
UNSUPPORTED_VERSION,
@@ -13597,7 +13597,7 @@ namespace Gtk {
WORD,
WORD_CHAR
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_", type_id =
"gtk_builder_error_get_type ()")]
public errordomain BuilderError {
INVALID_TYPE_FUNCTION,
UNHANDLED_TAG,
@@ -13617,7 +13617,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_", type_id
= "gtk_constraint_vfl_parser_error_get_type ()")]
public errordomain ConstraintVflParserError {
SYMBOL,
ATTRIBUTE,
@@ -13628,7 +13628,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PARSER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PARSER_ERROR_", has_type_id = false)]
public errordomain CssParserError {
FAILED,
SYNTAX,
@@ -13638,7 +13638,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_", type_id =
"gtk_file_chooser_error_get_type ()")]
public errordomain FileChooserError {
NONEXISTENT,
BAD_FILENAME,
@@ -13647,14 +13647,14 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_", type_id =
"gtk_icon_theme_error_get_type ()")]
public errordomain IconThemeError {
NOT_FOUND,
FAILED;
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_", type_id =
"gtk_print_error_get_type ()")]
public errordomain PrintError {
GENERAL,
INTERNAL_ERROR,
@@ -13663,7 +13663,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_", type_id =
"gtk_recent_manager_error_get_type ()")]
public errordomain RecentManagerError {
NOT_FOUND,
INVALID_URI,
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index b9025b514..eb13c71e1 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -347,7 +347,7 @@ namespace Json {
VALUE,
NULL
}
- [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PARSER_ERROR_")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PARSER_ERROR_", type_id =
"json_parser_error_get_type ()")]
public errordomain ParserError {
PARSE,
TRAILING_COMMA,
@@ -359,13 +359,13 @@ namespace Json {
UNKNOWN;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PATH_ERROR_INVALID_")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_PATH_ERROR_INVALID_", type_id =
"json_path_error_get_type ()")]
[Version (since = "0.14")]
public errordomain PathError {
QUERY;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_READER_ERROR_")]
+ [CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_READER_ERROR_", type_id =
"json_reader_error_get_type ()")]
[Version (since = "0.12")]
public errordomain ReaderError {
NO_ARRAY,
diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi
index 476727ef0..1ee0da837 100644
--- a/vapi/libgsf-1.vapi
+++ b/vapi/libgsf-1.vapi
@@ -615,7 +615,7 @@ namespace Gsf {
DEFLATED_BETTER,
IMPLODED_BETTER
}
- [CCode (cheader_filename = "gsf/gsf.h", cprefix = "GSF_ERROR_")]
+ [CCode (cheader_filename = "gsf/gsf.h", cprefix = "GSF_ERROR_", has_type_id = false)]
public errordomain Error {
OUT_OF_MEMORY,
INVALID_DATA;
diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi
index 75f659813..0aeffc685 100644
--- a/vapi/libpeas-1.0.vapi
+++ b/vapi/libpeas-1.0.vapi
@@ -127,7 +127,7 @@ namespace Peas {
[NoAccessorMethod]
public abstract GLib.Object object { owned get; construct; }
}
- [CCode (cheader_filename = "libpeas/peas.h", cprefix = "PEAS_PLUGIN_INFO_ERROR_")]
+ [CCode (cheader_filename = "libpeas/peas.h", cprefix = "PEAS_PLUGIN_INFO_ERROR_", has_type_id =
false)]
public errordomain PluginInfoError {
LOADING_FAILED,
LOADER_NOT_FOUND,
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 1f18cfcf4..29a7f0738 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -27,13 +27,13 @@ namespace Soup {
public static Soup.Message request_new_from_multipart (string uri, Soup.Multipart multipart);
}
namespace XMLRPC {
- [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_XMLRPC_ERROR_")]
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_XMLRPC_ERROR_", type_id =
"soup_xmlrpc_error_get_type ()")]
[GIR (name = "XMLRPCError")]
public errordomain Error {
ARGUMENTS,
RETVAL
}
- [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_XMLRPC_FAULT_")]
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_XMLRPC_FAULT_", type_id =
"soup_xmlrpc_fault_get_type ()")]
[GIR (name = "XMLRPCFault")]
public errordomain Fault {
PARSE_ERROR_NOT_WELL_FORMED,
@@ -1601,7 +1601,7 @@ namespace Soup {
CLOSING,
CLOSED
}
- [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUEST_ERROR_")]
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUEST_ERROR_", type_id =
"soup_request_error_get_type ()")]
[Version (since = "2.42")]
public errordomain RequestError {
BAD_URI,
@@ -1610,13 +1610,13 @@ namespace Soup {
ENCODING;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUESTER_ERROR_")]
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUESTER_ERROR_", type_id =
"soup_requester_error_get_type ()")]
public errordomain RequesterError {
BAD_URI,
UNSUPPORTED_URI_SCHEME;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_TLD_ERROR_")]
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_TLD_ERROR_", type_id =
"soup_tld_error_get_type ()")]
[Version (since = "2.40")]
public errordomain TLDError {
INVALID_HOSTNAME,
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 2f34cda47..51b5e5ec7 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -1764,7 +1764,7 @@ namespace Pk {
[Version (since = "0.6.11")]
public unowned string enum_to_string ();
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CLIENT_ERROR_")]
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CLIENT_ERROR_", type_id =
"pk_client_error_get_type ()")]
public errordomain ClientError {
FAILED,
FAILED_AUTH,
@@ -1780,14 +1780,14 @@ namespace Pk {
[Version (since = "0.5.2")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CONTROL_ERROR_")]
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CONTROL_ERROR_", type_id =
"pk_control_error_get_type ()")]
public errordomain ControlError {
FAILED,
CANNOT_START_DAEMON;
[Version (since = "0.5.2")]
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_OFFLINE_ERROR_")]
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_OFFLINE_ERROR_", type_id =
"pk_offline_error_get_type ()")]
public errordomain OfflineError {
FAILED,
INVALID_VALUE,
diff --git a/vapi/polkit-gobject-1.vapi b/vapi/polkit-gobject-1.vapi
index 307f173d9..f5b8d8421 100644
--- a/vapi/polkit-gobject-1.vapi
+++ b/vapi/polkit-gobject-1.vapi
@@ -208,7 +208,7 @@ namespace Polkit {
public static bool from_string (string string, Polkit.ImplicitAuthorization
out_implicit_authorization);
public unowned string to_string ();
}
- [CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_ERROR_")]
+ [CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_ERROR_", type_id =
"polkit_error_get_type ()")]
public errordomain Error {
FAILED,
CANCELLED,
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 4199ab0a0..5bbc3d81f 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -1395,7 +1395,7 @@ namespace Poppler {
DISPLAY_DOC_TITLE,
DIRECTION_RTL
}
- [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ERROR_")]
+ [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ERROR_", type_id = "poppler_error_get_type
()")]
public errordomain Error {
INVALID,
ENCRYPTED,
diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi
index d8a7d44fc..d1b632609 100644
--- a/vapi/rest-0.7.vapi
+++ b/vapi/rest-0.7.vapi
@@ -206,12 +206,12 @@ namespace Rest {
PLAINTEXT,
HMAC_SHA1
}
- [CCode (cheader_filename = "rest/rest-proxy-call.h", cprefix = "REST_PROXY_CALL_")]
+ [CCode (cheader_filename = "rest/rest-proxy-call.h", cprefix = "REST_PROXY_CALL_", type_id =
"rest_proxy_call_error_get_type ()")]
public errordomain ProxyCallError {
FAILED;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "rest/rest-proxy.h", cprefix = "REST_PROXY_ERROR_")]
+ [CCode (cheader_filename = "rest/rest-proxy.h", cprefix = "REST_PROXY_ERROR_", type_id =
"rest_proxy_error_get_type ()")]
public errordomain ProxyError {
CANCELLED,
RESOLUTION,
diff --git a/vapi/udisks2.vapi b/vapi/udisks2.vapi
index 61ea8868b..351b611ab 100644
--- a/vapi/udisks2.vapi
+++ b/vapi/udisks2.vapi
@@ -901,7 +901,7 @@ namespace UDisks {
CREATE_ONLY,
SYSTEM
}
- [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_ERROR_")]
+ [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_ERROR_", type_id =
"udisks_error_get_type ()")]
public errordomain Error {
FAILED,
CANCELLED,
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index 5b71a395f..0de47b2b5 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -1758,26 +1758,26 @@ namespace WebKit {
HSTS_CACHE,
ALL
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_DOWNLOAD_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_DOWNLOAD_ERROR_", type_id =
"webkit_download_error_get_type ()")]
public errordomain DownloadError {
NETWORK,
CANCELLED_BY_USER,
DESTINATION;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_FAVICON_DATABASE_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_FAVICON_DATABASE_ERROR_", type_id =
"webkit_favicon_database_error_get_type ()")]
public errordomain FaviconDatabaseError {
NOT_INITIALIZED,
FAVICON_NOT_FOUND,
FAVICON_UNKNOWN;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_JAVASCRIPT_ERROR_SCRIPT_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_JAVASCRIPT_ERROR_SCRIPT_", type_id
= "webkit_javascript_error_get_type ()")]
public errordomain JavascriptError {
FAILED;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_NETWORK_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_NETWORK_ERROR_", type_id =
"webkit_network_error_get_type ()")]
public errordomain NetworkError {
FAILED,
TRANSPORT,
@@ -1786,7 +1786,7 @@ namespace WebKit {
FILE_DOES_NOT_EXIST;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PLUGIN_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PLUGIN_ERROR_", type_id =
"webkit_plugin_error_get_type ()")]
public errordomain PluginError {
FAILED,
CANNOT_FIND_PLUGIN,
@@ -1796,7 +1796,7 @@ namespace WebKit {
WILL_HANDLE_LOAD;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_POLICY_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_POLICY_ERROR_", type_id =
"webkit_policy_error_get_type ()")]
public errordomain PolicyError {
FAILED,
CANNOT_SHOW_MIME_TYPE,
@@ -1805,26 +1805,26 @@ namespace WebKit {
CANNOT_USE_RESTRICTED_PORT;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PRINT_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PRINT_ERROR_", type_id =
"webkit_print_error_get_type ()")]
public errordomain PrintError {
GENERAL,
PRINTER_NOT_FOUND,
INVALID_PAGE_RANGE;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_ERROR_FAILED_TO_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_ERROR_FAILED_TO_", type_id
= "webkit_snapshot_error_get_type ()")]
public errordomain SnapshotError {
CREATE;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_CONTENT_FILTER_ERROR_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_CONTENT_FILTER_ERROR_",
type_id = "webkit_user_content_filter_error_get_type ()")]
[Version (since = "2.24")]
public errordomain UserContentFilterError {
INVALID_SOURCE,
NOT_FOUND;
public static GLib.Quark quark ();
}
- [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_MESSAGE_UNHANDLED_")]
+ [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_MESSAGE_UNHANDLED_", type_id =
"webkit_user_message_error_get_type ()")]
[Version (since = "2.28")]
public errordomain UserMessageError {
MESSAGE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]