[vala] gio-2.0: Add ellipsis to GLib.Settings.get and GLib.Settings.set
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Add ellipsis to GLib.Settings.get and GLib.Settings.set
- Date: Sat, 17 Jul 2010 06:08:49 +0000 (UTC)
commit 47a07ef2eeea11f0b7596da008fa61110be5994f
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Jul 16 23:07:10 2010 -0700
gio-2.0: Add ellipsis to GLib.Settings.get and GLib.Settings.set
Fixes bug 623551.
vapi/gio-2.0.vapi | 6 ++++--
vapi/packages/gio-2.0/gio-2.0.metadata | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 388de46..82c5c30 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -964,7 +964,8 @@ namespace GLib {
public void bind_with_mapping (string key, void* object, string property, GLib.SettingsBindFlags flags, GLib.SettingsBindGetMapping get_mapping, GLib.SettingsBindSetMapping set_mapping, GLib.DestroyNotify destroy);
public void bind_writable (string key, void* object, string property, bool inverted);
public void delay ();
- public void @get (string key, string format);
+ [CCode (sentinel = "")]
+ public void @get (string key, string format, ...);
public bool get_boolean (string key);
public unowned GLib.Settings get_child (string name);
public double get_double (string key);
@@ -976,7 +977,8 @@ namespace GLib {
public GLib.Variant get_value (string key);
public bool is_writable (string name);
public void revert ();
- public bool @set (string key, string format);
+ [CCode (sentinel = "")]
+ public bool @set (string key, string format, ...);
public bool set_boolean (string key, bool value);
public bool set_double (string key, double value);
public bool set_enum (string key, int value);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 4e1d371..c4d71da 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -135,6 +135,8 @@ g_resolver_lookup_service transfer_ownership="1" type_arguments="SrvTarget"
g_resolver_lookup_service_finish transfer_ownership="1" type_arguments="SrvTarget"
g_seekable_truncate abstract="1" vfunc_name="truncate_fn"
g_seekable_truncate_fn hidden="1"
+g_settings_get ellipsis="1" sentinel=""
+g_settings_set ellipsis="1" sentinel=""
g_socket_create_source type_name="SocketSource" transfer_ownership="1"
g_socket_listener_add_address.source_object nullable="1"
g_socket_listener_add_inet_port.source_object nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]