X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=blobdiff_plain;f=libchimara%2Fglkunix.c;h=13b44ec4fb91eb38b58bd55f287df7fa371826c1;hp=704ac0c8acba757550cd38488d3d09a639983b78;hb=c6e78c57fc1b323ec055bfe48c7430515be27d1c;hpb=7ef4ef1fecab7ae0f724e59f7de1315a96822152 diff --git a/libchimara/glkunix.c b/libchimara/glkunix.c index 704ac0c..13b44ec 100644 --- a/libchimara/glkunix.c +++ b/libchimara/glkunix.c @@ -12,7 +12,7 @@ extern GPrivate *glk_data_key; /** * glkunix_stream_open_pathname: * @pathname: A path to a file, in the system filename encoding. - * @usage: Bitfield with one or more of the fileusage_ constants. + * @textmode: Bitfield with one or more of the fileusage_ constants. * @rock: The new stream's rock value. * * Opens an arbitrary file, in read-only mode. Note that this function is @@ -23,7 +23,7 @@ extern GPrivate *glk_data_key; * Returns: A new stream, or %NULL if the file operation failed. */ strid_t -glkunix_stream_open_pathname(char *pathname, glui32 usage, glui32 rock) +glkunix_stream_open_pathname(char *pathname, glui32 textmode, glui32 rock) { ChimaraGlkPrivate *glk_data = g_private_get(glk_data_key);