~ricotz/plank/wayland

« back to all changes in this revision

Viewing changes to lib/Drawing/Theme.vala

  • Committer: Rico Tzschichholz
  • Date: 2016-02-15 20:11:24 UTC
  • Revision ID: ricotz@ubuntu.com-20160215201124-j166ucft9q4dk7pw
build: Drop support for gee-1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
                 */
377
377
                public static string[] get_theme_list ()
378
378
                {
379
 
#if HAVE_GEE_0_8
380
379
                        var list = new Gee.HashSet<string> ();
381
 
#else
382
 
                        var list = new Gee.HashSet<string> (str_hash, str_equal);
383
 
#endif
384
380
                        
385
381
                        list.add (DEFAULT_NAME);
386
382
                        list.add (GTK_THEME_NAME);
415
411
                        
416
412
                        var result = new Gee.ArrayList<string> ();
417
413
                        result.add_all (list);
418
 
#if HAVE_GEE_0_8
419
414
                        result.sort ();
420
 
#else
421
 
                        result.sort ((CompareFunc) strcmp);
422
 
#endif
423
415
                        
424
416
                        return result.to_array ();
425
417
                }