[vala] gtk+-4.0: Make Gsk.Renderer.for_window() a static factory method
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-4.0: Make Gsk.Renderer.for_window() a static factory method
- Date: Tue, 13 Dec 2016 09:19:38 +0000 (UTC)
commit 94e130d84f0161e84f39b57e7a4a6a226a87655f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Dec 12 12:54:14 2016 +0100
gtk+-4.0: Make Gsk.Renderer.for_window() a static factory method
vapi/gtk+-4.0.vapi | 4 ++--
vapi/metadata/Gsk-4.0.metadata | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 7772605..5ede18a 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -6967,9 +6967,9 @@ namespace Gsk {
[Version (since = "3.90")]
public Gsk.RenderNode create_render_node ();
public void end_draw_frame (Gdk.DrawingContext context);
- [CCode (has_construct_function = false)]
+ [CCode (cname = "gsk_renderer_new_for_window")]
[Version (since = "3.90")]
- public Renderer.for_window (Gdk.Window window);
+ public static Gsk.Renderer? for_window (Gdk.Window window);
[Version (since = "3.90")]
public unowned Gdk.Display get_display ();
[Version (since = "3.90")]
diff --git a/vapi/metadata/Gsk-4.0.metadata b/vapi/metadata/Gsk-4.0.metadata
index cca78fd..34c86ce 100644
--- a/vapi/metadata/Gsk-4.0.metadata
+++ b/vapi/metadata/Gsk-4.0.metadata
@@ -1,5 +1,9 @@
value_* skip
+Renderer
+ // Factory method
+ .new_for_window symbol_type="function" name="for_window"
+
RenderNodeIter
.free destroys_instance
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]