pkgconf: change to new library paths
[unleashed-userland.git] / components / python / pygobject / patches / 02-fix-warnings.patch
blob7b7872eb469c631498625c645023cf00da5066a0
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.
13 Change them to flags.
15 https://bugzilla.gnome.org/show_bug.cgi?id=668522
16 ---
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
24 @@ -526,7 +526,7 @@
28 -(define-enum MountMountFlags
29 +(define-flags MountMountFlags
30 (in-module "gio")
31 (c-name "GMountMountFlags")
32 (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
33 @@ -545,7 +545,7 @@
37 -(define-enum DriveStartFlags
38 +(define-flags DriveStartFlags
39 (in-module "gio")
40 (c-name "GDriveStartFlags")
41 (gtype-id "G_TYPE_DRIVE_START_FLAGS")
42 @@ -770,7 +770,7 @@
46 -(define-enum SocketMsgFlags
47 +(define-flags SocketMsgFlags
48 (in-module "gio")
49 (c-name "GSocketMsgFlags")
50 (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
51 --
52 cgit v0.11.2