[vala/staging: 4/4] gio-2.0: Application.set_default() is not an instance method



commit 563f1672e30cbad9b8e9203693bb2c2ce4d69cdd
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Sep 3 21:22:55 2017 +0200

    gio-2.0: Application.set_default() is not an instance method

 vapi/gio-2.0.vapi              |    2 +-
 vapi/metadata/Gio-2.0.metadata |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 96b3d9b..0abaf19 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -389,7 +389,7 @@ namespace GLib {
                public void set_action_group (GLib.ActionGroup? action_group);
                public void set_application_id (string? application_id);
                [Version (since = "2.32")]
-               public void set_default ();
+               public static void set_default (GLib.Application? application);
                public void set_flags (GLib.ApplicationFlags flags);
                public void set_inactivity_timeout (uint inactivity_timeout);
                [Version (since = "2.42")]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 6e6dc0d..bff2908 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -383,6 +383,8 @@ ActionGroup
   .get_action* nullable
   .get_action_enabled nullable=false
   .get_action_state_type unowned
+Application
+  .set_default symbol_type="function"
 AsyncReadyCallback.source_object nullable
 Converter
   .convert.inbuf nullable=false


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]