summaryrefslogtreecommitdiff
path: root/glib/giochannel.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2016-06-04 15:46:12 +0200
committerChristoph Reiter <creiter@src.gnome.org>2016-06-04 20:38:33 +0200
commit41013a01f44e9fc15ffef55eae78af2425bbd5a3 (patch)
treea2c40d19d83c4601ea21c119374b191434801f7d /glib/giochannel.c
parent7d8e98ee09885daf9f5af13ebe7f7d33d8fcfc17 (diff)
downloadglib-41013a01f44e9fc15ffef55eae78af2425bbd5a3.tar.gz
glib: Add filename type annotations
Adds the filename annotation for all file names and things which can contain file names like environment variables, argv- On Unix they can contain anything while on Windows they are always utf-8. https://bugzilla.gnome.org/show_bug.cgi?id=767245
Diffstat (limited to 'glib/giochannel.c')
-rw-r--r--glib/giochannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/giochannel.c b/glib/giochannel.c
index 1f0133697..8e9d22216 100644
--- a/glib/giochannel.c
+++ b/glib/giochannel.c
@@ -421,7 +421,7 @@ g_io_channel_seek (GIOChannel *channel,
/**
* g_io_channel_new_file:
- * @filename: A string containing the name of a file
+ * @filename: (type filename): A string containing the name of a file
* @mode: One of "r", "w", "a", "r+", "w+", "a+". These have
* the same meaning as in fopen()
* @error: A location to return an error of type %G_FILE_ERROR