[vala/0.48] gtk4: Prefix value names of PaintableFlags with "STATIC_"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] gtk4: Prefix value names of PaintableFlags with "STATIC_"
- Date: Mon, 22 Jun 2020 07:03:02 +0000 (UTC)
commit c9f59af18c874702e4de4a38b10dcfc46f930795
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jun 17 17:03:47 2020 +0200
gtk4: Prefix value names of PaintableFlags with "STATIC_"
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1011
vapi/gtk4.vapi | 6 +++---
vapi/metadata/Gdk-4.0.metadata | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 3eb48e201..57e563239 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -5713,11 +5713,11 @@ namespace Gdk {
NONLINEAR_VIRTUAL,
UNKNOWN
}
- [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_PAINTABLE_STATIC_", type_id =
"gdk_paintable_flags_get_type ()")]
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_PAINTABLE_", type_id =
"gdk_paintable_flags_get_type ()")]
[Flags]
public enum PaintableFlags {
- SIZE,
- CONTENTS
+ STATIC_SIZE,
+ STATIC_CONTENTS
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SCROLL_", type_id =
"gdk_scroll_direction_get_type ()")]
public enum ScrollDirection {
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index 069d0c25c..894aba52c 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -18,6 +18,9 @@ Event
._get_distance skip
Paintable
.new_empty name="empty"
+PaintableFlags cprefix="GDK_PAINTABLE_"
+ .size name="STATIC_SIZE"
+ .contents name="STATIC_CONTENTS"
Surface abstract=false
Rectangle struct
.x skip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]