1 https://www.illumos.org/issues/6519
2 https://bugzilla.gnome.org/show_bug.cgi?id=668522
4 From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
5 From: Ryan Lortie <desrt@desrt.ca>
6 Date: Mon, 12 Mar 2012 16:44:14 -0400
7 Subject: gio-types.defs: change some enums to flags
9 These flags types were originally incorrectly handled in glib as being
10 enums. That bug was fixed, but they're still enums here, leading to
11 warnings about the mismatch.
15 https://bugzilla.gnome.org/show_bug.cgi?id=668522
17 gio/gio-types.defs | 6 +++---
18 1 file changed, 3 insertions(+), 3 deletions(-)
20 diff --git a/gio/gio-types.defs b/gio/gio-types.defs
21 index 331e0bc..7eee5c8 100644
22 --- a/gio/gio-types.defs
23 +++ b/gio/gio-types.defs
28 -(define-enum MountMountFlags
29 +(define-flags MountMountFlags
31 (c-name "GMountMountFlags")
32 (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
37 -(define-enum DriveStartFlags
38 +(define-flags DriveStartFlags
40 (c-name "GDriveStartFlags")
41 (gtype-id "G_TYPE_DRIVE_START_FLAGS")
46 -(define-enum SocketMsgFlags
47 +(define-flags SocketMsgFlags
49 (c-name "GSocketMsgFlags")
50 (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")