[gnome-boxes] machine: Use GLib.uuid_string_random



commit 1105885d177506c65a5597a98d4fd90654dd6c33
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Jun 26 11:13:42 2017 +0200

    machine: Use GLib.uuid_string_random
    
    Since GLib 2.52 we no longer need to depend on libuuid.
    
    The uuid_string_* symbols were introduced in the Vala
    vapi at version 0.36.3
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784204

 src/machine.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index 3b88fd7..677101a 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -406,7 +406,7 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
             config.uuid = uuid;
 
         if (config.uuid == null)
-            config.uuid = uuid_generate ();
+            config.uuid = Uuid.string_random ();
 
         config.save ();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]