From 8d21d10ea0e5b0e6ecfb46a308a7ba01374272ab Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 10 Dec 2017 23:07:48 +0100 Subject: [PATCH] gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget --- vapi/gtk+-3.0.vapi | 2 +- vapi/metadata/Gtk-3.0-custom.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index e810129c1..6e8f17c74 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -9298,7 +9298,7 @@ namespace Gtk { public bool use_symbolic { get; set construct; } } [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")] - public class Widget : GLib.Object, Atk.Implementor, Gtk.Buildable { + public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable { [CCode (construct_function = "gtk_widget_new", has_new_function = false)] public Widget (...); public bool activate (); diff --git a/vapi/metadata/Gtk-3.0-custom.vala b/vapi/metadata/Gtk-3.0-custom.vala index f58b74c9d..ced90d6b9 100644 --- a/vapi/metadata/Gtk-3.0-custom.vala +++ b/vapi/metadata/Gtk-3.0-custom.vala @@ -94,7 +94,7 @@ namespace Gtk { } [CCode (type_id = "gtk_widget_get_type ()")] - public class Widget : GLib.Object { + public class Widget : GLib.InitiallyUnowned { [CCode (construct_function = "gtk_widget_new", has_new_function = false)] public Widget (...); [NoWrapper, Version (deprecated = true), CCode (vfunc_name = "get_preferred_height_for_width")] -- 2.47.2