[gthumb] Fixed saving of uris in settings
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Fixed saving of uris in settings
- Date: Wed, 25 Oct 2017 17:36:27 +0000 (UTC)
commit 414b6c250dc8a0500ee360a70b22603c2ee83397
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Oct 25 19:31:46 2017 +0200
Fixed saving of uris in settings
There's no need to replace the home path with ~
[bug #783498]
gthumb/glib-utils.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gthumb/glib-utils.c b/gthumb/glib-utils.c
index 6c28295..8dcf033 100644
--- a/gthumb/glib-utils.c
+++ b/gthumb/glib-utils.c
@@ -3211,12 +3211,7 @@ _g_settings_set_uri (GSettings *settings,
const char *key,
const char *uri)
{
- char *value;
-
- value = _g_replace (uri, g_get_home_dir (), "~");
- g_settings_set_string (settings, key, value);
-
- g_free (value);
+ g_settings_set_string (settings, key, uri);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]