[fractal/multi-account] Apply 1 suggestion(s) to 1 file(s)



commit b7823b96fbbb1ae3f704693233785a1e4eb702b1
Author: Julian Sparber <julian sparber net>
Date:   Fri Sep 3 13:12:58 2021 +0000

    Apply 1 suggestion(s) to 1 file(s)

 src/session/sidebar/account_switcher/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/session/sidebar/account_switcher/mod.rs b/src/session/sidebar/account_switcher/mod.rs
index e7ce4185..7902f867 100644
--- a/src/session/sidebar/account_switcher/mod.rs
+++ b/src/session/sidebar/account_switcher/mod.rs
@@ -115,7 +115,7 @@ impl AccountSwitcher {
         }));
 
         factory.connect_unbind(|_, list_item| {
-            list_item.set_child::<gtk::Widget>(None);
+            list_item.set_child(gtk::NONE_WIDGET);
         });
 
         entries.set_factory(Some(factory));


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