[vala/0.14] gio-2.0: fix ask-question and show-processes signals in MountOperation
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.14] gio-2.0: fix ask-question and show-processes signals in MountOperation
- Date: Wed, 30 Nov 2011 14:22:54 +0000 (UTC)
commit b9b35f8144fe9dccfc118f5f10bd8b07efb4b92c
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Sep 23 20:31:46 2011 -0700
gio-2.0: fix ask-question and show-processes signals in MountOperation
Fixes bug 659979.
vapi/gio-2.0.vapi | 4 ++--
vapi/packages/gio-2.0/gio-2.0.metadata | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 0e9e41e..c90152e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1109,10 +1109,10 @@ namespace GLib {
public string username { get; set; }
public virtual signal void aborted ();
public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
- public virtual signal void ask_question (string message, string[] choices);
+ public virtual signal void ask_question (string message, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
[HasEmitter]
public virtual signal void reply (GLib.MountOperationResult result);
- public virtual signal void show_processes (string message, GLib.Array processes, string[] choices);
+ public virtual signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
}
[CCode (cheader_filename = "gio/gio.h")]
public class NativeVolumeMonitor : GLib.VolumeMonitor {
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index e82539d..09b4bc0 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -261,6 +261,9 @@ g_mount_remount async="1"
g_mount_unmount async="1"
g_mount_unmount_with_operation async="1"
GMountOperation::reply has_emitter="1"
+GMountOperation::ask_question.choices no_array_length="1" array_null_terminated="1"
+GMountOperation::show_processes.processes type_arguments="Pid"
+GMountOperation::show_processes.choices no_array_length="1" array_null_terminated="1"
g_output_stream_splice error_types="IOError"
g_output_stream_splice_finish error_types="IOError"
g_output_stream_write virtual="1" vfunc_name="write_fn" error_types="IOError"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]