summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2008-11-04 12:54:32 +0000
committerStefan Walter <stefw@src.gnome.org>2008-11-04 12:54:32 +0000
commit13d8981a311f3860969feea7994c09ca306d603b (patch)
treee54ba8327c0f5db897cb187d0b50cbcce281859b /common
parent938b9219b7aab82a10603f0e9bb0b660557a51f4 (diff)
Remove usage of deprecated glib stuff.
* configure.in: * gp11/tests/gp11-test.h: * common/gkr-location.c: Remove usage of deprecated glib stuff. svn path=/trunk/; revision=1362
Diffstat (limited to 'common')
-rw-r--r--common/gkr-location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gkr-location.c b/common/gkr-location.c
index f8f10174..f48a82aa 100644
--- a/common/gkr-location.c
+++ b/common/gkr-location.c
@@ -1129,7 +1129,7 @@ gkr_location_write_file (GQuark loc, const guchar *data, gssize len, GError **er
return FALSE;
}
- dirname = g_dirname (path);
+ dirname = g_path_get_dirname (path);
if (dirname && dirname[0]) {
if (g_mkdir_with_parents (dirname, 0700) < 0) {
g_set_error (err, G_FILE_ERROR, g_file_error_from_errno (errno),