use shared pointer for page id string

This commit is contained in:
yggverse 2024-10-15 08:18:16 +03:00
parent 96d06c1ffb
commit e41216ab75
3 changed files with 7 additions and 5 deletions

View file

@ -26,7 +26,7 @@ pub struct Tab {
action_tab_page_navigation_reload: Arc<SimpleAction>,
action_update: Arc<SimpleAction>,
// Dynamically allocated reference index
index: Arc<RefCell<HashMap<GString, Arc<Item>>>>,
index: Arc<RefCell<HashMap<Arc<GString>, Arc<Item>>>>,
// GTK
widget: Arc<Widget>,
}