diff options
author | Arnav Singh <arnavion@gmail.com> | 2012-11-11 19:34:09 -0800 |
---|---|---|
committer | Arnav Singh <arnavion@gmail.com> | 2012-11-11 19:34:09 -0800 |
commit | ed269176919c766ead728e08663715b7f9b1c349 (patch) | |
tree | a896a6016ba8dc92c2b365d6332ce7502650610c /src/fe-gtk/menu.c | |
parent | 49d5234b39aa491747864efba1c2246c6e960b6f (diff) |
utf8-everywhere: Fixed some remaining C file I/O API calls to use the glib API.
Diffstat (limited to 'src/fe-gtk/menu.c')
-rw-r--r-- | src/fe-gtk/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |