summaryrefslogtreecommitdiff
path: root/glib/giochannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/giochannel.h')
-rw-r--r--glib/giochannel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/glib/giochannel.h b/glib/giochannel.h
index ec6a7c0fd..2a887993e 100644
--- a/glib/giochannel.h
+++ b/glib/giochannel.h
@@ -98,13 +98,16 @@ typedef enum
G_IO_FLAG_APPEND = 1 << 0,
G_IO_FLAG_NONBLOCK = 1 << 1,
G_IO_FLAG_IS_READABLE = 1 << 2, /* Read only flag */
- G_IO_FLAG_IS_WRITEABLE = 1 << 3, /* Read only flag */
+ G_IO_FLAG_IS_WRITABLE = 1 << 3, /* Read only flag */
G_IO_FLAG_IS_SEEKABLE = 1 << 4, /* Read only flag */
G_IO_FLAG_MASK = (1 << 5) - 1,
G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
} GIOFlags;
+/* Misspelling in enum in 2.29.10 and earlier */
+#define G_IO_FLAG_IS_WRITEABLE (G_IO_FLAG_IS_WRITABLE)
+
struct _GIOChannel
{
/*< private >*/