[vala] gio-2.0: make Drive and Volume get_sort_key method virtual
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: make Drive and Volume get_sort_key method virtual
- Date: Wed, 13 Jun 2012 04:56:28 +0000 (UTC)
commit f2d8b110677ec1a337d6733980e5b42ae192859d
Author: Sam Thursfield <ssssam gmail com>
Date: Tue Jun 12 21:54:15 2012 -0700
gio-2.0: make Drive and Volume get_sort_key method virtual
vapi/gio-2.0.vapi | 4 ++--
vapi/metadata/Gio-2.0.metadata | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 8f01a93..2c1b0ba 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2343,7 +2343,7 @@ namespace GLib {
public abstract GLib.Icon get_icon ();
public abstract string get_identifier (string kind);
public abstract string get_name ();
- public abstract unowned string get_sort_key ();
+ public virtual unowned string get_sort_key ();
public abstract GLib.DriveStartStopType get_start_stop_type ();
public abstract GLib.List<GLib.Volume> get_volumes ();
public abstract bool has_media ();
@@ -2630,7 +2630,7 @@ namespace GLib {
public abstract string get_identifier (string kind);
public abstract GLib.Mount get_mount ();
public abstract string get_name ();
- public abstract unowned string get_sort_key ();
+ public virtual unowned string get_sort_key ();
public abstract string get_uuid ();
[CCode (vfunc_name = "mount_fn")]
public abstract async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index fd853fb..9c6b33d 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -105,6 +105,8 @@ DBusObjectManagerClient
.name_owner nullable
DBusServer
.new_sync.observer default=null
+Drive
+ .get_sort_key#virtual_method virtual
File
.monitor_dir* throws="GLib.IOError"
.monitor_file throws="GLib.IOError"
@@ -201,6 +203,8 @@ Vfs
// TODO: should probably be a simple generic
.local_file_add_info.extra_data default=null
.local_file_add_info.free_extra_data nullable default=null
+Volume
+ .get_sort_key#virtual_method virtual
ZlibCompressor
.new.level default=-1
Converter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]