[gnome-nibbles] Use even newer scores import API of libgames-support



commit e74b8d2bb7e91824d7709243319c08b81f7712c6
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Feb 13 21:15:19 2016 -0600

    Use even newer scores import API of libgames-support
    
    Turns out, most games will not want to convert categories as Nibbles
    needs to do, so this should be handled in a special constructor.

 src/gnome-nibbles.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 0613625..b3aed25 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -657,7 +657,7 @@ public class Nibbles : Gtk.Application
             window,
             category_request,
             Games.Scores.Style.PLAIN_DESCENDING,
-            new Games.Scores.DirectoryImporter (get_new_scores_key));
+            new Games.Scores.DirectoryImporter.with_convert_func (get_new_scores_key));
     }
 
     private Games.Scores.Category get_scores_category (int speed, bool fakes)


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