[gnome-games] Don't require Hdy.ActionRow for platform rows



commit c1aa32707d293587663dd4143172887e496d2194
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue May 12 16:13:45 2020 +0500

    Don't require Hdy.ActionRow for platform rows
    
    Since we don't care about activation anymore, just use Gtk.ListBoxRow
    there.
    
    This allows to stop requiring libhandy for plugins as well.

 src/core/platform.vala            | 2 +-
 src/dummy/dummy-platform.vala     | 2 +-
 src/generic/generic-platform.vala | 2 +-
 src/meson.build                   | 1 -
 src/retro/retro-platform.vala     | 2 +-
 5 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/core/platform.vala b/src/core/platform.vala
index 7350ca34..67bc3619 100644
--- a/src/core/platform.vala
+++ b/src/core/platform.vala
@@ -7,7 +7,7 @@ public interface Games.Platform : Object {
 
        public abstract string get_uid_prefix ();
 
-       public abstract Hdy.ActionRow get_row ();
+       public abstract Gtk.ListBoxRow get_row ();
 
        public abstract Type get_snapshot_type ();
 
diff --git a/src/dummy/dummy-platform.vala b/src/dummy/dummy-platform.vala
index 5c080482..4b75c15c 100644
--- a/src/dummy/dummy-platform.vala
+++ b/src/dummy/dummy-platform.vala
@@ -13,7 +13,7 @@ public class Games.DummyPlatform : Object, Platform {
                return "unknown";
        }
 
-       public Hdy.ActionRow get_row () {
+       public Gtk.ListBoxRow get_row () {
                var generic_row = new Hdy.ActionRow ();
                generic_row.title = _("Unknown");
                return generic_row;
diff --git a/src/generic/generic-platform.vala b/src/generic/generic-platform.vala
index e9d254e7..29befbe0 100644
--- a/src/generic/generic-platform.vala
+++ b/src/generic/generic-platform.vala
@@ -23,7 +23,7 @@ public class Games.GenericPlatform : Object, Platform {
                return uid_prefix;
        }
 
-       public Hdy.ActionRow get_row () {
+       public Gtk.ListBoxRow get_row () {
                var generic_row = new Hdy.ActionRow ();
                generic_row.title = name;
                return generic_row;
diff --git a/src/meson.build b/src/meson.build
index 8713af32..3593c691 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -242,7 +242,6 @@ plugin_dependencies = [
   gio_dep,
   glib_dep,
   gtk_dep,
-  handy_dep,
   retro_gtk_dep,
   soup_dep,
   tracker_sparql_dep,
diff --git a/src/retro/retro-platform.vala b/src/retro/retro-platform.vala
index f2bf34d1..e40bacf8 100644
--- a/src/retro/retro-platform.vala
+++ b/src/retro/retro-platform.vala
@@ -29,7 +29,7 @@ public class Games.RetroPlatform : Object, Platform {
                return mime_types;
        }
 
-       public Hdy.ActionRow get_row () {
+       public Gtk.ListBoxRow get_row () {
                return new PreferencesPagePlatformsRetroRow (this);
        }
 


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