summaryrefslogtreecommitdiffstats
path: root/desktop/wmakerconf/patches/patch-src_misc.c
blob: a83094e9b042b6a83351dfa5e8e53c2e22da335f (plain)
--- src/misc.c.orig	2004-12-05 01:49:32 UTC
+++ src/misc.c
@@ -482,9 +482,9 @@ copy_file (const char *dst, const char *src)
       if (dir)				/* directory is destination */
       {
 	 closedir (dir);
-	 if (streq (dst, g_dirname (src)))
+	 if (streq (dst, g_path_get_dirname (src)))
 	    return 0;
-	 dst_name = g_strconcat (dst, "/", g_basename (src), NULL);
+	 dst_name = g_strconcat (dst, "/", g_path_get_basename (src), NULL);
       }
       else
 	 dst_name = g_strdup (dst);