diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-06-08 14:52:17 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-06-08 14:52:17 +0300 |
commit | d7099a4d98744481e8f7ecce4e9233e66af1fd44 (patch) | |
tree | 75edd112e2e92ae68c33f4d110789ec72255ff80 /src/settings_manager.rs | |
parent | 64bfc787cca62621963d3409befcf85f9b2c8dd9 (diff) | |
download | Furtherance-d7099a4d98744481e8f7ecce4e9233e66af1fd44.tar.zst |
Fix formatting
Diffstat (limited to 'src/settings_manager.rs')
-rwxr-xr-x | src/settings_manager.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/settings_manager.rs b/src/settings_manager.rs index 66c1092..d6ff17d 100755 --- a/src/settings_manager.rs +++ b/src/settings_manager.rs @@ -14,15 +14,14 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. -use gtk::{gio, gio::prelude::*, glib}; use crate::config; +use gtk::{gio, gio::prelude::*, glib}; pub fn get_settings() -> gio::Settings { let app_id = config::APP_ID.trim_end_matches(".Devel"); gio::Settings::new(app_id) } - pub fn bind_property<P: IsA<glib::Object>>(key: &str, object: &P, property: &str) { let settings = get_settings(); settings |