[fractal] device: Fix ParamSpecs



commit e34feaac8956461546b5a5cb8c24e3eaeea45854
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Mon Apr 11 13:40:11 2022 +0200

    device: Fix ParamSpecs

 src/session/account_settings/devices_page/device.rs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/session/account_settings/devices_page/device.rs 
b/src/session/account_settings/devices_page/device.rs
index 609abacfc..2930a64ac 100644
--- a/src/session/account_settings/devices_page/device.rs
+++ b/src/session/account_settings/devices_page/device.rs
@@ -63,16 +63,18 @@ mod imp {
                         None,
                         glib::ParamFlags::READABLE,
                     ),
-                    glib::ParamSpecPointer::new(
+                    glib::ParamSpecBoxed::new(
                         "last-seen-ts",
                         "Last Seen Ts",
                         "The last time the device was used",
+                        glib::DateTime::static_type(),
                         glib::ParamFlags::READABLE,
                     ),
-                    glib::ParamSpecPointer::new(
+                    glib::ParamSpecBoolean::new(
                         "verified",
                         "Verified",
                         "Whether this devices is verified",
+                        false,
                         glib::ParamFlags::READABLE,
                     ),
                 ]


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