From: Rico Tzschichholz Date: Sun, 10 Dec 2017 22:07:48 +0000 (+0100) Subject: gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget X-Git-Tag: 0.39.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d21d10ea0e5b0e6ecfb46a308a7ba01374272ab;p=thirdparty%2Fvala.git gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget --- 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")]