From c106a63e9c053e31285b4816819e67e43f47b24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Tue, 27 Aug 2024 15:35:42 +0200 Subject: [PATCH] Synchronize the .vapi with Gala --- vapi/Meta-14.metadata | 3 +++ vapi/libmutter.vapi | 4 ++-- vapi/mutter-cogl-14.deps | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vapi/Meta-14.metadata b/vapi/Meta-14.metadata index a066790e3..0c39b96da 100644 --- a/vapi/Meta-14.metadata +++ b/vapi/Meta-14.metadata @@ -168,6 +168,9 @@ unsigned_long_hash.v type="ulong?" warning parent="Meta.Util" cheader_filename="meta/util.h" create_context parent="Meta.Context" name="new" symbol_type="constructor" cheader_filename="meta/meta-context.h" +Plugin.create_close_dialog unowned=false nullable +Plugin.create_inhibit_shortcuts_dialog unowned=false + BackgroundActor sealed BackgroundContent sealed BackgroundImage sealed diff --git a/vapi/libmutter.vapi b/vapi/libmutter.vapi index 0f420548b..c9c3584c7 100644 --- a/vapi/libmutter.vapi +++ b/vapi/libmutter.vapi @@ -690,9 +690,9 @@ namespace Meta { [NoWrapper] public virtual void confirm_display_change (); [NoWrapper] - public virtual unowned Meta.CloseDialog create_close_dialog (Meta.Window window); + public virtual Meta.CloseDialog? create_close_dialog (Meta.Window window); [NoWrapper] - public virtual unowned Meta.InhibitShortcutsDialog create_inhibit_shortcuts_dialog (Meta.Window window); + public virtual Meta.InhibitShortcutsDialog create_inhibit_shortcuts_dialog (Meta.Window window); [NoWrapper] public virtual void destroy (Meta.WindowActor actor); public void destroy_completed (Meta.WindowActor actor); diff --git a/vapi/mutter-cogl-14.deps b/vapi/mutter-cogl-14.deps index d73ec1643..06e943f94 100644 --- a/vapi/mutter-cogl-14.deps +++ b/vapi/mutter-cogl-14.deps @@ -2,3 +2,4 @@ pango glib-2.0 gio-2.0 mutter-mtk-14 +x11