From 5dc3254c38d3763dbfe847087fd5aacaa0414204 Mon Sep 17 00:00:00 2001
From: Evgenii Pashkin <eapashkin@gmail.com>
Date: Thu, 1 Mar 2018 18:14:04 +0300
Subject: [PATCH 1/4] Update submodules

---
 gir       | 2 +-
 gir-files | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gir b/gir
index 6114d1c..6704a1c 160000
--- a/gir
+++ b/gir
@@ -1 +1 @@
-Subproject commit 6114d1c7e248c982fb67c73fbf1b4318675a88e6
+Subproject commit 6704a1ca3347ee044daccca5b43b595879c19238
diff --git a/gir-files b/gir-files
index 77d1f70..4740f5e 160000
--- a/gir-files
+++ b/gir-files
@@ -1 +1 @@
-Subproject commit 77d1f70a9c4804961897d64827794442becb07d5
+Subproject commit 4740f5eaf6f774b2ccc41a279158573700845d0a

From 35e8be7db223d27b539f1f0d97647eea3f0ccf96 Mon Sep 17 00:00:00 2001
From: Evgenii Pashkin <eapashkin@gmail.com>
Date: Fri, 9 Mar 2018 08:25:55 +0300
Subject: [PATCH 2/4] Ignore all C related or not portable constants

---
 conf/gir-atk.toml        |  9 +++++++++
 conf/gir-gdk-pixbuf.toml |  8 ++++++++
 conf/gir-glib.toml       | 34 ++++++++++++++++++++++++++++++++++
 conf/gir-gtk.toml        |  8 ++++++++
 4 files changed, 59 insertions(+)

diff --git a/conf/gir-atk.toml b/conf/gir-atk.toml
index bcd921f..1c2eb5b 100644
--- a/conf/gir-atk.toml
+++ b/conf/gir-atk.toml
@@ -7,3 +7,12 @@ external_libraries = [
    "GLib",
    "GObject",
 ]
+
+ignore = [
+	"Atk.BINARY_AGE",
+	"Atk.INTERFACE_AGE",
+	"Atk.MAJOR_VERSION",
+	"Atk.MICRO_VERSION",
+	"Atk.MINOR_VERSION",
+	"Atk.VERSION_MIN_REQUIRED",
+]
diff --git a/conf/gir-gdk-pixbuf.toml b/conf/gir-gdk-pixbuf.toml
index a9b618d..5a16f3f 100644
--- a/conf/gir-gdk-pixbuf.toml
+++ b/conf/gir-gdk-pixbuf.toml
@@ -9,6 +9,14 @@ external_libraries = [
    "Gio",
 ]
 
+ignore = [
+	"GdkPixbuf.PIXBUF_FEATURES_H",
+	"GdkPixbuf.PIXBUF_MAJOR",
+	"GdkPixbuf.PIXBUF_MICRO",
+	"GdkPixbuf.PIXBUF_MINOR",
+	"GdkPixbuf.PIXBUF_VERSION",
+]
+
 [[object]]
 name = "GdkPixbuf.Pixbuf"
 status = "generate"
diff --git a/conf/gir-glib.toml b/conf/gir-glib.toml
index ffe82da..b1f142d 100644
--- a/conf/gir-glib.toml
+++ b/conf/gir-glib.toml
@@ -4,8 +4,19 @@ library = "GLib"
 version = "2.0"
 min_cfg_version = "2.32"
 ignore = [
+	"GLib.ANALYZER_ANALYZING",
+	"GLib.DIR_SEPARATOR",
+	"GLib.DIR_SEPARATOR_S",
+	"GLib.GINT16_FORMAT",
+	"GLib.GINT16_MODIFIER",
+	"GLib.GINT32_FORMAT",
+	"GLib.GINT32_MODIFIER",
 	"GLib.GINT64_FORMAT",
 	"GLib.GINT64_MODIFIER",
+	"GLib.GNUC_FUNCTION",
+	"GLib.GNUC_PRETTY_FUNCTION",
+	"GLib.GUINT16_FORMAT",
+	"GLib.GUINT32_FORMAT",
 	"GLib.GUINT64_FORMAT",
 	"GLib.GUINT64_MODIFIER",
 	"GLib.GINTPTR_FORMAT",
@@ -16,14 +27,37 @@ ignore = [
 	"GLib.GSIZE_MODIFIER",
 	"GLib.GSSIZE_FORMAT",
 	"GLib.GSSIZE_MODIFIER",
+	"GLib.HAVE_GINT64",
+	"GLib.HAVE_GNUC_VARARGS",
+	"GLib.HAVE_GNUC_VISIBILITY",
+	"GLib.HAVE_GROWING_STACK",
+	"GLib.HAVE_ISO_VARARGS",
+	"GLib.MAJOR_VERSION",
+	"GLib.MAXINT8",
+	"GLib.MAXINT16",
+	"GLib.MAXINT32",
+	"GLib.MAXINT64",
+	"GLib.MAXUINT8",
+	"GLib.MAXUINT16",
+	"GLib.MAXUINT32",
+	"GLib.MAXUINT64",
+	"GLib.MICRO_VERSION",
 	"GLib.MININT8",
 	"GLib.MININT16",
 	"GLib.MININT32",
+	"GLib.MININT64",
+	"GLib.MINOR_VERSION",
+	"GLib.MODULE_SUFFIX",
+	"GLib.PID_FORMAT",
+	"GLib.POLLFD_FORMAT",
+	"GLib.SEARCHPATH_SEPARATOR",
+	"GLib.SEARCHPATH_SEPARATOR_S",
 	"GLib.SIZEOF_LONG",
 	"GLib.SIZEOF_SIZE_T",
 	"GLib.SIZEOF_SSIZE_T",
 	"GLib.SIZEOF_VOID_P",
 	"GLib.VA_COPY_AS_ARRAY",
+	"GLib.VERSION_MIN_REQUIRED",
 ]
 
 [[object]]
diff --git a/conf/gir-gtk.toml b/conf/gir-gtk.toml
index d8b593e..9339424 100644
--- a/conf/gir-gtk.toml
+++ b/conf/gir-gtk.toml
@@ -17,3 +17,11 @@ external_libraries = [
 manual = [
    "xlib.Window",
 ]
+
+ignore = [
+	"Gtk.BINARY_AGE",
+	"Gtk.INTERFACE_AGE",
+	"Gtk.MAJOR_VERSION",
+	"Gtk.MICRO_VERSION",
+	"Gtk.MINOR_VERSION",
+]

From 7a8e39cbaf0d36f1f084a2635cb8dff9fe35806f Mon Sep 17 00:00:00 2001
From: Evgenii Pashkin <eapashkin@gmail.com>
Date: Fri, 9 Mar 2018 07:07:20 +0300
Subject: [PATCH 3/4] Make GPid and GPollFD manual

---
 conf/gir-glib.toml     |  8 ++++++++
 glib-sys/src/manual.rs | 30 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 glib-sys/src/manual.rs

diff --git a/conf/gir-glib.toml b/conf/gir-glib.toml
index b1f142d..21e1ee1 100644
--- a/conf/gir-glib.toml
+++ b/conf/gir-glib.toml
@@ -125,3 +125,11 @@ status = "generate"
     [[object.function]]
     name = "new_file"
     is_windows_utf8 = true
+
+[[object]]
+name = "GLib.Pid"
+status = "manual"
+
+[[object]]
+name = "GLib.PollFD"
+status = "manual"
diff --git a/glib-sys/src/manual.rs b/glib-sys/src/manual.rs
new file mode 100644
index 0000000..38040e1
--- /dev/null
+++ b/glib-sys/src/manual.rs
@@ -0,0 +1,30 @@
+// Copyright 2013-2018, The Gtk-rs Project Developers.
+// See the COPYRIGHT file at the top-level directory of this distribution.
+// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
+
+#[allow(unused_imports)]
+use libc::{c_int, c_ushort, c_void};
+
+#[cfg(windows)]
+pub type GPid = *mut c_void;
+
+#[cfg(not(windows))]
+pub type GPid = c_int;
+
+#[repr(C)]
+#[derive(Copy, Clone)]
+#[cfg(all(windows,target_arch="x86_64"))]
+pub struct GPollFD {
+    pub fd: i64,
+    pub events: c_ushort,
+    pub revents: c_ushort,
+}
+
+#[repr(C)]
+#[derive(Copy, Clone)]
+#[cfg(not(all(windows,target_arch="x86_64")))]
+pub struct GPollFD {
+    pub fd: c_int,
+    pub events: c_ushort,
+    pub revents: c_ushort,
+}

From 1285a1d88ccf45c6579035387def6cab490d50e2 Mon Sep 17 00:00:00 2001
From: Evgenii Pashkin <eapashkin@gmail.com>
Date: Sun, 11 Mar 2018 14:03:06 +0300
Subject: [PATCH 4/4] Regen

---
 atk-sys/src/lib.rs        | 10 +----
 gdk-pixbuf-sys/src/lib.rs |  9 +----
 gdk-sys/src/lib.rs        |  8 ++--
 gio-sys/src/lib.rs        |  4 +-
 glib-sys/src/lib.rs       | 79 +++------------------------------------
 gobject-sys/src/lib.rs    |  5 +--
 gtk-sys/src/lib.rs        |  9 +----
 pango-sys/src/lib.rs      |  4 +-
 pangocairo-sys/src/lib.rs |  4 +-
 9 files changed, 24 insertions(+), 108 deletions(-)

diff --git a/atk-sys/src/lib.rs b/atk-sys/src/lib.rs
index b3097c4..69a7c06 100644
--- a/atk-sys/src/lib.rs
+++ b/atk-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -309,12 +309,6 @@ pub const ATK_VALUE_BEST: AtkValueType = 14;
 pub const ATK_VALUE_LAST_DEFINED: AtkValueType = 15;
 
 // Constants
-pub const ATK_BINARY_AGE: c_int = 22611;
-pub const ATK_INTERFACE_AGE: c_int = 1;
-pub const ATK_MAJOR_VERSION: c_int = 2;
-pub const ATK_MICRO_VERSION: c_int = 1;
-pub const ATK_MINOR_VERSION: c_int = 26;
-pub const ATK_VERSION_MIN_REQUIRED: c_int = 2;
 
 // Flags
 bitflags! {
diff --git a/gdk-pixbuf-sys/src/lib.rs b/gdk-pixbuf-sys/src/lib.rs
index 3b25722..89fbd90 100644
--- a/gdk-pixbuf-sys/src/lib.rs
+++ b/gdk-pixbuf-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -49,12 +49,7 @@ pub const GDK_PIXBUF_ROTATE_UPSIDEDOWN: GdkPixbufRotation = 180;
 pub const GDK_PIXBUF_ROTATE_CLOCKWISE: GdkPixbufRotation = 270;
 
 // Constants
-pub const GDK_PIXBUF_FEATURES_H: c_int = 1;
 pub const GDK_PIXBUF_MAGIC_NUMBER: c_int = 1197763408;
-pub const GDK_PIXBUF_MAJOR: c_int = 2;
-pub const GDK_PIXBUF_MICRO: c_int = 11;
-pub const GDK_PIXBUF_MINOR: c_int = 36;
-pub const GDK_PIXBUF_VERSION: *const c_char = b"2.36.11\0" as *const u8 as *const c_char;
 pub const GDK_PIXDATA_HEADER_LENGTH: c_int = 24;
 
 // Flags
diff --git a/gdk-sys/src/lib.rs b/gdk-sys/src/lib.rs
index c4fae56..b8d410b 100644
--- a/gdk-sys/src/lib.rs
+++ b/gdk-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -3675,7 +3675,7 @@ pub struct GdkEventTouchpadPinch {
     pub type_: GdkEventType,
     pub window: *mut GdkWindow,
     pub send_event: i8,
-    pub phase: GdkTouchpadGesturePhase,
+    pub phase: i8,
     pub n_fingers: i8,
     pub time: u32,
     pub x: c_double,
@@ -3717,7 +3717,7 @@ pub struct GdkEventTouchpadSwipe {
     pub type_: GdkEventType,
     pub window: *mut GdkWindow,
     pub send_event: i8,
-    pub phase: GdkTouchpadGesturePhase,
+    pub phase: i8,
     pub n_fingers: i8,
     pub time: u32,
     pub x: c_double,
diff --git a/gio-sys/src/lib.rs b/gio-sys/src/lib.rs
index f8f1fb2..3da91c8 100644
--- a/gio-sys/src/lib.rs
+++ b/gio-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
diff --git a/glib-sys/src/lib.rs b/glib-sys/src/lib.rs
index 7d034da..75dad3c 100644
--- a/glib-sys/src/lib.rs
+++ b/glib-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -7,6 +7,10 @@
 extern crate libc;
 #[macro_use] extern crate bitflags;
 
+mod manual;
+
+pub use manual::*;
+
 #[allow(unused_imports)]
 use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
     c_short, c_ushort, c_long, c_ulong,
@@ -28,7 +32,6 @@ pub struct Volatile<T>(T);
 pub type GDateDay = u8;
 pub type GDateYear = u16;
 pub type GMutexLocker = c_void;
-pub type GPid = c_int;
 pub type GQuark = u32;
 pub type GStrv = *mut *mut c_char;
 pub type GTime = i32;
@@ -635,7 +638,6 @@ pub const G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT: GVariantParseError
 pub const G_VARIANT_PARSE_ERROR_VALUE_EXPECTED: GVariantParseError = 17;
 
 // Constants
-pub const G_ANALYZER_ANALYZING: c_int = 1;
 pub const G_ASCII_DTOSTR_BUF_SIZE: c_int = 39;
 pub const G_BIG_ENDIAN: c_int = 4321;
 pub const G_CSET_A_2_Z: *const c_char = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\0" as *const u8 as *const c_char;
@@ -645,32 +647,7 @@ pub const G_DATALIST_FLAGS_MASK: c_int = 3;
 pub const G_DATE_BAD_DAY: c_int = 0;
 pub const G_DATE_BAD_JULIAN: c_int = 0;
 pub const G_DATE_BAD_YEAR: c_int = 0;
-pub const G_DIR_SEPARATOR: c_int = 92;
-pub const G_DIR_SEPARATOR_S: *const c_char = b"\\\0" as *const u8 as *const c_char;
 pub const G_E: c_double = 2.718282;
-pub const G_GINT16_FORMAT: *const c_char = b"hi\0" as *const u8 as *const c_char;
-pub const G_GINT16_MODIFIER: *const c_char = b"h\0" as *const u8 as *const c_char;
-pub const G_GINT32_FORMAT: *const c_char = b"i\0" as *const u8 as *const c_char;
-pub const G_GINT32_MODIFIER: *const c_char = b"\0" as *const u8 as *const c_char;
-//pub const G_GINT64_FORMAT: *const c_char = b"li\0" as *const u8 as *const c_char;
-//pub const G_GINT64_MODIFIER: *const c_char = b"l\0" as *const u8 as *const c_char;
-//pub const G_GINTPTR_FORMAT: *const c_char = b"li\0" as *const u8 as *const c_char;
-//pub const G_GINTPTR_MODIFIER: *const c_char = b"l\0" as *const u8 as *const c_char;
-pub const G_GNUC_FUNCTION: *const c_char = b"\0" as *const u8 as *const c_char;
-pub const G_GNUC_PRETTY_FUNCTION: *const c_char = b"\0" as *const u8 as *const c_char;
-//pub const G_GSIZE_FORMAT: *const c_char = b"lu\0" as *const u8 as *const c_char;
-//pub const G_GSIZE_MODIFIER: *const c_char = b"l\0" as *const u8 as *const c_char;
-//pub const G_GSSIZE_FORMAT: *const c_char = b"li\0" as *const u8 as *const c_char;
-//pub const G_GSSIZE_MODIFIER: *const c_char = b"l\0" as *const u8 as *const c_char;
-pub const G_GUINT16_FORMAT: *const c_char = b"hu\0" as *const u8 as *const c_char;
-pub const G_GUINT32_FORMAT: *const c_char = b"u\0" as *const u8 as *const c_char;
-//pub const G_GUINT64_FORMAT: *const c_char = b"lu\0" as *const u8 as *const c_char;
-//pub const G_GUINTPTR_FORMAT: *const c_char = b"lu\0" as *const u8 as *const c_char;
-pub const G_HAVE_GINT64: c_int = 1;
-pub const G_HAVE_GNUC_VARARGS: c_int = 1;
-pub const G_HAVE_GNUC_VISIBILITY: c_int = 1;
-pub const G_HAVE_GROWING_STACK: c_int = 0;
-pub const G_HAVE_ISO_VARARGS: c_int = 1;
 pub const G_HOOK_FLAG_USER_SHIFT: c_int = 4;
 pub const G_IEEE754_DOUBLE_BIAS: c_int = 1023;
 pub const G_IEEE754_FLOAT_BIAS: c_int = 127;
@@ -710,40 +687,16 @@ pub const G_LOG_2_BASE_10: c_double = 0.301030;
 pub const G_LOG_DOMAIN: c_char = 0;
 pub const G_LOG_FATAL_MASK: c_int = 0;
 pub const G_LOG_LEVEL_USER_SHIFT: c_int = 8;
-pub const GLIB_MAJOR_VERSION: c_int = 2;
-pub const G_MAXINT16: i16 = 32767;
-pub const G_MAXINT32: i32 = 2147483647;
-pub const G_MAXINT64: i64 = 9223372036854775807;
-pub const G_MAXINT8: i8 = 127;
-pub const G_MAXUINT16: u16 = 65535;
-pub const G_MAXUINT32: u32 = 4294967295;
-pub const G_MAXUINT64: u64 = 18446744073709551615;
-pub const G_MAXUINT8: u8 = 255;
-pub const GLIB_MICRO_VERSION: c_int = 1;
-//pub const G_MININT16: i16 = -32768;
-//pub const G_MININT32: i32 = -2147483648;
-pub const G_MININT64: i64 = -9223372036854775808;
-//pub const G_MININT8: i8 = -128;
-pub const GLIB_MINOR_VERSION: c_int = 54;
-pub const G_MODULE_SUFFIX: *const c_char = b"so\0" as *const u8 as *const c_char;
 pub const G_OPTION_REMAINING: *const c_char = b"\0" as *const u8 as *const c_char;
 pub const G_PDP_ENDIAN: c_int = 3412;
 pub const G_PI: c_double = 3.141593;
-pub const G_PID_FORMAT: *const c_char = b"i\0" as *const u8 as *const c_char;
 pub const G_PI_2: c_double = 1.570796;
 pub const G_PI_4: c_double = 0.785398;
-pub const G_POLLFD_FORMAT: *const c_char = b"%d\0" as *const u8 as *const c_char;
 pub const G_PRIORITY_DEFAULT: c_int = 0;
 pub const G_PRIORITY_DEFAULT_IDLE: c_int = 200;
 pub const G_PRIORITY_HIGH: c_int = -100;
 pub const G_PRIORITY_HIGH_IDLE: c_int = 100;
 pub const G_PRIORITY_LOW: c_int = 300;
-pub const G_SEARCHPATH_SEPARATOR: c_int = 59;
-pub const G_SEARCHPATH_SEPARATOR_S: *const c_char = b";\0" as *const u8 as *const c_char;
-//pub const GLIB_SIZEOF_LONG: c_int = 8;
-//pub const GLIB_SIZEOF_SIZE_T: c_int = 8;
-//pub const GLIB_SIZEOF_SSIZE_T: c_int = 8;
-//pub const GLIB_SIZEOF_VOID_P: c_int = 8;
 pub const G_SOURCE_CONTINUE: gboolean = GTRUE;
 pub const G_SOURCE_REMOVE: gboolean = GFALSE;
 pub const G_SQRT2: c_double = 1.414214;
@@ -763,8 +716,6 @@ pub const G_UNICHAR_MAX_DECOMPOSITION_LENGTH: c_int = 18;
 pub const G_URI_RESERVED_CHARS_GENERIC_DELIMITERS: *const c_char = b":/?#[]@\0" as *const u8 as *const c_char;
 pub const G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: *const c_char = b"!$&\'()*+,;=\0" as *const u8 as *const c_char;
 pub const G_USEC_PER_SEC: c_int = 1000000;
-//pub const G_VA_COPY_AS_ARRAY: c_int = 1;
-pub const GLIB_VERSION_MIN_REQUIRED: c_int = 2;
 pub const G_WIN32_MSG_HANDLE: c_int = 19981206;
 
 // Flags
@@ -1832,24 +1783,6 @@ impl ::std::fmt::Debug for GPatternSpec {
     }
 }
 
-#[repr(C)]
-#[derive(Copy, Clone)]
-pub struct GPollFD {
-    pub fd: c_int,
-    pub events: c_ushort,
-    pub revents: c_ushort,
-}
-
-impl ::std::fmt::Debug for GPollFD {
-    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
-        f.debug_struct(&format!("GPollFD @ {:?}", self as *const _))
-         .field("fd", &self.fd)
-         .field("events", &self.events)
-         .field("revents", &self.revents)
-         .finish()
-    }
-}
-
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub struct GPrivate {
diff --git a/gobject-sys/src/lib.rs b/gobject-sys/src/lib.rs
index 4c4725f..ddfb9bf 100644
--- a/gobject-sys/src/lib.rs
+++ b/gobject-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -41,7 +41,6 @@ pub const G_TYPE_VARIANT: GType = 21 << G_TYPE_FUNDAMENTAL_SHIFT;
 
 // Aliases
 pub type GSignalCMarshaller = GClosureMarshal;
-//pub type GSignalCVaMarshaller = /*Ignored*/GVaClosureMarshal;
 
 // Constants
 pub const G_PARAM_MASK: c_int = 255;
diff --git a/gtk-sys/src/lib.rs b/gtk-sys/src/lib.rs
index 1983dae..265ba55 100644
--- a/gtk-sys/src/lib.rs
+++ b/gtk-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
@@ -736,16 +736,11 @@ pub const GTK_WRAP_WORD: GtkWrapMode = 2;
 pub const GTK_WRAP_WORD_CHAR: GtkWrapMode = 3;
 
 // Constants
-pub const GTK_BINARY_AGE: c_int = 2226;
 pub const GTK_INPUT_ERROR: c_int = -1;
-pub const GTK_INTERFACE_AGE: c_int = 26;
 pub const GTK_LEVEL_BAR_OFFSET_FULL: *const c_char = b"full\0" as *const u8 as *const c_char;
 pub const GTK_LEVEL_BAR_OFFSET_HIGH: *const c_char = b"high\0" as *const u8 as *const c_char;
 pub const GTK_LEVEL_BAR_OFFSET_LOW: *const c_char = b"low\0" as *const u8 as *const c_char;
-pub const GTK_MAJOR_VERSION: c_int = 3;
 pub const GTK_MAX_COMPOSE_LEN: c_int = 7;
-pub const GTK_MICRO_VERSION: c_int = 26;
-pub const GTK_MINOR_VERSION: c_int = 22;
 pub const GTK_PAPER_NAME_A3: *const c_char = b"iso_a3\0" as *const u8 as *const c_char;
 pub const GTK_PAPER_NAME_A4: *const c_char = b"iso_a4\0" as *const u8 as *const c_char;
 pub const GTK_PAPER_NAME_A5: *const c_char = b"iso_a5\0" as *const u8 as *const c_char;
diff --git a/pango-sys/src/lib.rs b/pango-sys/src/lib.rs
index da9b215..98e1c96 100644
--- a/pango-sys/src/lib.rs
+++ b/pango-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
diff --git a/pangocairo-sys/src/lib.rs b/pangocairo-sys/src/lib.rs
index 3a1a99b..6f58509 100644
--- a/pangocairo-sys/src/lib.rs
+++ b/pangocairo-sys/src/lib.rs
@@ -1,5 +1,5 @@
-// This file was generated by gir (https://github.com/gtk-rs/gir @ 6114d1c)
-// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
+// This file was generated by gir (https://github.com/gtk-rs/gir @ 6704a1c)
+// from gir-files (https://github.com/gtk-rs/gir-files @ 4740f5e)
 // DO NOT EDIT
 
 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]