]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: make Drive and Volume get_sort_key method virtual
authorSam Thursfield <ssssam@gmail.com>
Wed, 13 Jun 2012 04:54:15 +0000 (21:54 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Wed, 13 Jun 2012 04:54:15 +0000 (21:54 -0700)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 8f01a93317324355f2f3ceb4954dd38e6ee01eb8..2c1b0ba2567f7bd525a3d77ed86dcc86644414b8 100644 (file)
@@ -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;
index fd853fb6628e90c6c127106935be32fd7f53702b..9c6b33d8fcbaeb29fb6e6735f350670cc1401503 100644 (file)
@@ -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