diff options
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 |