[gnome-boxes] Update & adapt to latest libgd



commit db7ba4de2ff70aed3c50e29b1150e57cd7f17ae2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Sep 4 18:10:43 2013 +0300

    Update & adapt to latest libgd

 libgd                    |    2 +-
 src/collection-view.vala |    9 +++------
 2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/libgd b/libgd
index a1f7543..62f9b8b 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit a1f754372958b6d67e4116e8b7da8ef702dd1668
+Subproject commit 62f9b8b92599b38d986bd26d5780edd400d318c9
diff --git a/src/collection-view.vala b/src/collection-view.vala
index ad12e8c..30df658 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -293,7 +293,7 @@ private class Boxes.CollectionView: Boxes.UI {
                                    typeof (Gdk.Pixbuf),
                                    typeof (long),
                                    typeof (bool),
-                                   typeof (int),
+                                   typeof (uint),
                                    typeof (CollectionItem));
         model.set_default_sort_func ((model, a, b) => {
             CollectionItem item_a, item_b;
@@ -383,13 +383,10 @@ private class Boxes.CollectionView: Boxes.UI {
             machine.set_data<uint> ("activity_timeout", 0);
         }
 
-        if (!machine.under_construction) {
-            model.set (iter, ModelColumns.PULSE, int.MAX);
-
+        if (!machine.under_construction)
             return;
-        }
 
-        var pulse = int.MIN;
+        var pulse = 1;
         model.set (iter, ModelColumns.PULSE, pulse++);
         activity_timeout = Timeout.add (150, () => {
             var machine_iter = machine.get_data<Gtk.TreeIter?> ("iter");


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