aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
commite5c03181ba3cd06f27e10677960575e44e7900a6 (patch)
treecfa341f7b9c46b2c7b692e11def79e72622152ab /src/main.c
parent38ad5762fb87ec8278108d4a8d06e32612e64a13 (diff)
added wrappers for C library function that take pathname arguments.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@478 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 12c7b314..61f116f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -592,7 +592,7 @@ static gint prohibit_duplicate_launch(void)
path = get_socket_name();
uxsock = fd_connect_unix(path);
if (uxsock < 0) {
- unlink(path);
+ g_unlink(path);
return fd_open_unix(path);
}
@@ -678,7 +678,7 @@ static gint lock_socket_remove(void)
gdk_input_remove(lock_socket_tag);
fd_close(lock_socket);
filename = get_socket_name();
- unlink(filename);
+ g_unlink(filename);
#endif
return 0;