[vala/0.46] gtk+-3.0: Deprecated abstract methods are not required to be implemented
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.46] gtk+-3.0: Deprecated abstract methods are not required to be implemented
- Date: Mon, 22 Jun 2020 09:06:06 +0000 (UTC)
commit e07e3444265229a3fdd569c8027840a1664c1c62
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri May 22 18:31:46 2020 +0200
gtk+-3.0: Deprecated abstract methods are not required to be implemented
vapi/gtk+-3.0.vapi | 6 +++---
vapi/metadata/Gtk-3.0.metadata | 4 +++-
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 295c54d6c..a0d97c0ea 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1567,7 +1567,7 @@ namespace Gtk {
[Version (since = "2.18")]
public bool get_sensitive ();
[Version (deprecated = true, deprecated_since = "3.0", replacement = "get_preferred_size")]
- public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset,
out int y_offset, out int width, out int height);
+ public virtual void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset,
out int y_offset, out int width, out int height);
[Version (since = "3.0")]
public Gtk.StateFlags get_state (Gtk.Widget? widget, Gtk.CellRendererState cell_state);
[Version (since = "2.18")]
@@ -10760,9 +10760,9 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
public interface StyleProvider : GLib.Object {
[Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
- public abstract unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
+ public virtual unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
[Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
- public abstract Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
+ public virtual Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
[Version (since = "3.0")]
public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state,
GLib.ParamSpec pspec, ref GLib.Value value);
}
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index efc40064e..9292b9040 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -242,8 +242,10 @@ TreeModel
// Abstract vs. virtual
CellRenderer
- .get_size#virtual_method abstract
.render#virtual_method abstract
+StyleProvider
+ .get_icon_factory#virtual_method virtual
+ .get_style#virtual_method virtual
TreeModel
.iter_previous#virtual_method virtual
.ref_node#virtual_method virtual
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]