From ed269176919c766ead728e08663715b7f9b1c349 Mon Sep 17 00:00:00 2001 From: Arnav Singh Date: Sun, 11 Nov 2012 19:34:09 -0800 Subject: utf8-everywhere: Fixed some remaining C file I/O API calls to use the glib API. --- src/fe-gtk/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk') diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index b28b1a3c..3daf42c8 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -1258,7 +1258,7 @@ savebuffer_req_done (session *sess, char *file) if (!file) return; - fh = open (file, O_TRUNC | O_WRONLY | O_CREAT, 0600); + fh = g_open (file, O_TRUNC | O_WRONLY | O_CREAT, 0600); if (fh != -1) { gtk_xtext_save (GTK_XTEXT (sess->gui->xtext), fh); -- cgit 1.4.1