[vala] gio-2.0: Fix the g_app_info_launch binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gio-2.0: Fix the g_app_info_launch binding
- Date: Mon, 25 May 2009 15:57:40 -0400 (EDT)
commit 1f28eb43eeb338b2ba82d9b0db8b4a674d9764c9
Author: Mark Lee <marklee src gnome org>
Date: Fri May 22 12:00:52 2009 -0700
gio-2.0: Fix the g_app_info_launch binding
g_app_info_launch.launch_context is nullable, according to the docs.
Fixes bug 583586.
---
vapi/gio-2.0.vapi | 2 +-
vapi/packages/gio-2.0/gio-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 1b9cb92..ffdcf57 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -648,7 +648,7 @@ namespace GLib {
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_id ();
public abstract unowned string get_name ();
- public abstract bool launch (GLib.List? files, GLib.AppLaunchContext launch_context) throws GLib.Error;
+ public abstract bool launch (GLib.List? files, GLib.AppLaunchContext? launch_context) throws GLib.Error;
public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
public abstract bool launch_uris (GLib.List? uris, GLib.AppLaunchContext launch_context) throws GLib.Error;
public abstract bool remove_supports_type (string content_type) throws GLib.Error;
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 2ecc8ae..5f677d7 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -1,5 +1,6 @@
GLib cprefix="G" lower_case_cprefix="g_" cheader_filename="gio/gio.h"
g_app_info_launch.envp is_array="1"
+g_app_info_launch.launch_context nullable="1"
g_app_info_launch_default_for_uri.launch_context nullable="1"
g_app_info_launch_uris.envp is_array="1"
g_content_type_guess.data_size hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]