]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Dec 2017 22:07:48 +0000 (23:07 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Dec 2017 22:07:48 +0000 (23:07 +0100)
vapi/gtk+-3.0.vapi
vapi/metadata/Gtk-3.0-custom.vala

index e810129c1f7d387fc466b4d632275caa147c8336..6e8f17c74dba80f9eefb3e331345c9d51c693f43 100644 (file)
@@ -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 ();
index f58b74c9d4f515c8772de0f9c5094ae490eefd4f..ced90d6b913b497dbbf0ed8030257cfebee43814 100644 (file)
@@ -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")]