[vala/staging] gtk+-2.0, gtk+-3.0: GtkCssProviderError/GtkPrintError are errordomains
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk+-2.0, gtk+-3.0: GtkCssProviderError/GtkPrintError are errordomains
- Date: Sun, 24 Aug 2014 10:05:00 +0000 (UTC)
commit 56f58c52c999155493953434a1c205d3128a1064
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Aug 24 12:01:53 2014 +0200
gtk+-2.0, gtk+-3.0: GtkCssProviderError/GtkPrintError are errordomains
vapi/gtk+-2.0.vapi | 14 ++++----
vapi/gtk+-3.0.vapi | 50 +++++++++++++++---------------
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 +
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 3 +-
4 files changed, 35 insertions(+), 33 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index f2d5773..5ccdb30 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -7009,13 +7009,6 @@ namespace Gtk {
HORIZONTAL,
VERTICAL
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
- public enum PrintError {
- GENERAL,
- INTERNAL_ERROR,
- NOMEM,
- INVALID_FILE
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_")]
public enum PrintOperationAction {
PRINT_DIALOG,
@@ -7497,6 +7490,13 @@ namespace Gtk {
NOT_FOUND,
FAILED
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
+ public errordomain PrintError {
+ GENERAL,
+ INTERNAL_ERROR,
+ NOMEM,
+ INVALID_FILE
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
public errordomain RecentChooserError {
NOT_FOUND,
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d58468d..35f7ad4 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1704,7 +1704,7 @@ namespace Gtk {
public uint get_end_position ();
public unowned GLib.File get_file ();
public unowned Gtk.CssSection get_parent ();
- public unowned Gtk.CssSectionType get_section_type ();
+ public Gtk.CssSectionType get_section_type ();
public uint get_start_line ();
public uint get_start_position ();
}
@@ -7656,14 +7656,17 @@ namespace Gtk {
TOP_RIGHT,
BOTTOM_RIGHT
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
- public enum CssProviderError {
- FAILED,
- SYNTAX,
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")]
+ public enum CssSectionType {
+ DOCUMENT,
IMPORT,
- NAME,
- DEPRECATED,
- UNKNOWN_VALUE
+ COLOR_DEFINITION,
+ BINDING_SET,
+ RULESET,
+ SELECTOR,
+ DECLARATION,
+ VALUE,
+ KEYFRAMES
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_")]
[Flags]
@@ -8016,13 +8019,6 @@ namespace Gtk {
HORIZONTAL,
VERTICAL
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
- public enum PrintError {
- GENERAL,
- INTERNAL_ERROR,
- NOMEM,
- INVALID_FILE
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_")]
public enum PrintOperationAction {
PRINT_DIALOG,
@@ -8477,17 +8473,14 @@ namespace Gtk {
INVALID_PROPERTY,
INVALID_SIGNAL
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")]
- public errordomain CssSectionType {
- DOCUMENT,
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
+ public errordomain CssProviderError {
+ FAILED,
+ SYNTAX,
IMPORT,
- COLOR_DEFINITION,
- BINDING_SET,
- RULESET,
- SELECTOR,
- DECLARATION,
- VALUE,
- KEYFRAMES
+ NAME,
+ DEPRECATED,
+ UNKNOWN_VALUE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
public errordomain FileChooserError {
@@ -8501,6 +8494,13 @@ namespace Gtk {
NOT_FOUND,
FAILED
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
+ public errordomain PrintError {
+ GENERAL,
+ INTERNAL_ERROR,
+ NOMEM,
+ INVALID_FILE
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
public errordomain RecentChooserError {
NOT_FOUND,
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 4c23305..651dcad 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -1189,6 +1189,7 @@ gtk_rgb_to_hsv.v is_out="1"
GtkBuilderError errordomain="1"
GtkFileChooserError errordomain="1"
GtkIconThemeError errordomain="1"
+GtkPrintError errordomain="1"
GtkRecentChooserError errordomain="1"
GtkRecentManagerError errordomain="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 8a2e5b9..365b017 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1622,9 +1622,10 @@ gtk_rgb_to_hsv.v is_out="1"
// errordomains
GtkBuilderError errordomain="1"
-GtkCssSectionType errordomain="1"
+GtkCssProviderError errordomain="1"
GtkFileChooserError errordomain="1"
GtkIconThemeError errordomain="1"
+GtkPrintError errordomain="1"
GtkRecentChooserError errordomain="1"
GtkRecentManagerError errordomain="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]