[vala] gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget
- Date: Sun, 10 Dec 2017 22:10:30 +0000 (UTC)
commit 8d21d10ea0e5b0e6ecfb46a308a7ba01374272ab
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Dec 10 23:07:48 2017 +0100
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 e810129..6e8f17c 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 f58b74c..ced90d6 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]